*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b2a;
  --navy-mid:  #162436;
  --navy-light:#1e3452;
  --gold:      #c9a84c;
  --gold-light:#e2c47a;
  --cream:     #f5f0e8;
  --white:     #ffffff;
  --text-muted:#8a9bb0;
  --border:    rgba(201,168,76,0.18);
  --green:     #4caf7d;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(13,27,42,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: 0.02em; white-space: nowrap; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; padding: 0 0.8rem; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 0.45rem 1.1rem !important; border-radius: 3px; margin-left: 0.5rem; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(13,27,42,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 1.5rem 5%; flex-direction: column; z-index: 99; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s; }
.nav-mobile a:hover { color: var(--gold-light); }
.nav-mobile a.mobile-cta { color: var(--gold); font-weight: 500; border-bottom: none; margin-top: 0.5rem; }

/* PAGE WRAPPER */
.page-content { position: relative; z-index: 1; padding-top: 68px; min-height: 100vh; display: flex; flex-direction: column; }

/* BREADCRUMB */
.breadcrumb { padding: 1rem 5%; font-size: 0.78rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.4rem; }

/* SECTION */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 5%; }
.section-tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); font-weight: 300; max-width: 540px; font-size: 1rem; margin-bottom: 2.5rem; }
.section-alt { background: var(--navy-mid); }

/* BUTTONS */
.btn-primary { background: var(--gold); color: var(--navy); padding: 0.85rem 2rem; border-radius: 3px; text-decoration: none; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--border); color: var(--cream); padding: 0.85rem 2rem; border-radius: 3px; text-decoration: none; font-weight: 400; font-size: 0.9rem; letter-spacing: 0.04em; transition: border-color 0.2s, color 0.2s, transform 0.2s; display: inline-block; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-1px); }
.btn-green { background: var(--green); color: var(--white); padding: 0.85rem 2rem; border-radius: 3px; text-decoration: none; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; transition: opacity 0.2s, transform 0.2s; display: inline-block; }
.btn-green:hover { opacity: 0.88; transform: translateY(-1px); }

/* DIVIDER */
.divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }

/* CLIENTS */
.clients { padding: 3.5rem 5%; text-align: center; }
.clients-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2rem; }
.clients-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 2.5rem; max-width: 900px; margin: 0 auto; }
.clients-grid img { height: 26px; filter: grayscale(1) brightness(1.8) contrast(0.8); opacity: 0.5; transition: opacity 0.3s, filter 0.3s; }
.clients-grid img:hover { opacity: 0.9; filter: grayscale(0) brightness(1) contrast(1); }

/* TESTIMONIAL CARDS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.testimonial-card { background: var(--navy); border: 1px solid var(--border); border-radius: 6px; padding: 1.75rem; transition: border-color 0.3s, transform 0.3s; }
.testimonial-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.testimonial-stars { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.88rem; color: var(--cream); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; font-family: 'Playfair Display', serif; }
.testimonial-author { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-author strong { color: var(--cream); display: block; font-style: normal; font-family: 'DM Sans', sans-serif; margin-bottom: 0.1rem; }

/* FOOTER */
footer { position: relative; z-index: 1; background: var(--navy-mid); border-top: 1px solid var(--border); padding: 2rem 5%; margin-top: auto; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select { background: var(--navy-mid); border: 1px solid var(--border); border-radius: 4px; padding: 0.8rem 1rem; color: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; transition: border-color 0.2s; outline: none; resize: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; }
.form-submit { background: var(--gold); color: var(--navy); border: none; padding: 0.9rem 2rem; border-radius: 3px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background 0.2s; align-self: flex-start; letter-spacing: 0.04em; }
.form-submit:hover { background: var(--gold-light); }
.form-status { display: none; padding: 0.9rem 1.25rem; border-radius: 4px; font-size: 0.875rem; margin-top: 0.5rem; }
.form-status.success { display: block; background: rgba(100,200,120,0.1); border: 1px solid rgba(100,200,120,0.3); color: #7dd896; }
.form-status.error { display: block; background: rgba(220,80,80,0.1); border: 1px solid rgba(220,80,80,0.3); color: #e88; }

/* FAQ ACCORDION */
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--navy-mid); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(201,168,76,0.4); }
.faq-question { padding: 1.25rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 500; color: var(--cream); font-size: 0.95rem; user-select: none; }
.faq-question:hover { color: var(--gold-light); }
.faq-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; font-weight: 300; }
.faq-answer code { background: var(--navy-light); color: var(--gold-light); padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.85rem; }
.faq-item.open .faq-answer { display: block; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease both; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
