/* ============================================================
   DSWTaxFin — main.css
   Navy #0B1F3A · Gold #B8922A · Cream #FAFAF7
   Fonts: Playfair Display (serif) · Inter (sans)
   ============================================================ */

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

:root {
  --navy:        #0B1F3A;
  --navy2:       #122847;
  --navy-light:  #1A3560;
  --gold:        #B8922A;
  --gold-light:  #D4A94A;
  --gold-pale:   #FBF5E9;
  --gold-dim:    rgba(184,146,42,0.12);
  --cream:       #FAFAF7;
  --white:       #FFFFFF;
  --border:      rgba(11,31,58,0.1);
  --border-gold: rgba(184,146,42,0.25);
  --text:        #0B1F3A;
  --text-mid:    #3D5170;
  --text-muted:  #6B7C96;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', sans-serif;
}

html  { scroll-behavior: smooth; }
body  { font-family: var(--sans); background: var(--white); color: var(--text); font-size: 15px; line-height: 1.7; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { color: inherit; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 76px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(11,31,58,0.06);
}
.nav-logo { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important; color: #fff !important;
  padding: 10px 24px; border-radius: 3px;
  font-size: 12px !important; font-weight: 600 !important;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy2) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: 0.3s; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 5vw 80px; position: relative; overflow: hidden;
  background: var(--white);
}
.hero-left { position: relative; z-index: 2; max-width: 580px; }
.hero-right {
  position: absolute; right: 0; top: 0; bottom: 0; width: 44%;
  background: var(--navy);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-right-inner { padding: 60px 60px 60px 80px; }
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px; padding: 8px 16px;
  background: var(--gold-pale); border: 1px solid var(--border-gold); border-radius: 2px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.02em;
  color: var(--navy); margin-bottom: 24px;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero-sub { font-size: 17px; font-weight: 300; color: var(--text-mid); line-height: 1.8; max-width: 460px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-stat-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 24px 28px; margin-bottom: 16px;
}
.hero-stat-card:last-child { margin-bottom: 0; }
.hero-stat-num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--gold-light); line-height: 1; display: block; margin-bottom: 6px; }
.hero-stat-label { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--navy); color: #fff;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 36px; border-radius: 3px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--navy); color: var(--navy);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 3px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 36px; border-radius: 3px; text-decoration: none;
  transition: background 0.2s; white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); }

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-strip { background: var(--navy); padding: 16px 0; overflow: hidden; border-top: 3px solid var(--gold); }
.marquee-inner { display: flex; animation: marquee 30s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); padding: 0 32px; white-space: nowrap;
  display: flex; align-items: center; gap: 32px;
}
.marquee-item::after { content: '·'; color: var(--gold); font-size: 18px; }

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust { background: var(--white); padding: 64px 5vw; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.trust-item { background: var(--white); padding: 36px 28px; text-align: center; }
.trust-num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 6px; line-height: 1; }
.trust-num span { font-size: 24px; color: var(--gold); }
.trust-label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ── SECTION COMMON ──────────────────────────────────────────── */
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }
.section-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.12; color: var(--navy); margin-bottom: 14px; }
.section-title em { font-style: italic; font-weight: 400; }
.section-desc { font-size: 16px; color: var(--text-muted); font-weight: 300; line-height: 1.8; max-width: 560px; }
.section-header { margin-bottom: 56px; }

/* ── SERVICES ────────────────────────────────────────────────── */
.services { background: var(--cream); padding: 100px 5vw; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc-card {
  background: var(--white); padding: 44px 36px;
  position: relative; overflow: hidden; transition: background 0.25s; cursor: default;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left;
}
.svc-card:hover { background: var(--gold-pale); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-num { font-family: var(--serif); font-size: 52px; font-weight: 700; color: rgba(11,31,58,0.06); line-height: 1; display: block; margin-bottom: 12px; }
.svc-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 20px; }
.svc-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
.svc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; font-weight: 300; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.svc-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--navy); background: rgba(11,31,58,0.06); padding: 4px 10px; border-radius: 2px; }

/* ── CLIENTS ─────────────────────────────────────────────────── */
.clients { background: var(--navy); padding: 100px 5vw; }
.clients .section-label { color: var(--gold-light); }
.clients .section-label::before { background: var(--gold-light); }
.clients .section-title { color: #fff; }
.clients .section-desc { color: rgba(255,255,255,0.5); }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.client-card {
  border: 1px solid rgba(255,255,255,0.08); padding: 40px 32px; border-radius: 4px;
  transition: border-color 0.25s, background 0.25s; position: relative; overflow: hidden;
}
.client-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left;
}
.client-card:hover { border-color: rgba(184,146,42,0.4); background: rgba(184,146,42,0.05); }
.client-card:hover::after { transform: scaleX(1); }
.client-type { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.client-name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.client-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; font-weight: 300; margin-bottom: 24px; }
.client-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.client-list li { font-size: 13px; color: rgba(255,255,255,0.55); display: flex; align-items: flex-start; gap: 12px; font-weight: 300; }
.client-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 7px; }

/* ── INTERNATIONAL ───────────────────────────────────────────── */
.intl { background: var(--white); padding: 100px 5vw; }
.intl-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intl-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.region-card {
  border: 1px solid var(--border); padding: 24px 20px; border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.region-card:hover { border-color: var(--border-gold); background: var(--gold-pale); }
.region-flag { font-size: 22px; margin-bottom: 10px; display: block; }
.region-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.region-detail { font-size: 12px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
.intl-features { display: flex; flex-direction: column; border: 1px solid var(--border); }
.intl-feat { padding: 28px 32px; border-bottom: 1px solid var(--border); display: flex; gap: 20px; align-items: flex-start; transition: background 0.2s; }
.intl-feat:last-child { border-bottom: none; }
.intl-feat:hover { background: var(--cream); }
.intl-feat-num { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--gold); flex-shrink: 0; min-width: 28px; }
.intl-feat-title { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.intl-feat-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.intl-tp-callout { margin-top: 20px; background: var(--navy); border-radius: 4px; padding: 32px 28px; }
.intl-tp-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.intl-tp-quote { font-family: var(--serif); font-size: 20px; font-weight: 400; color: #fff; line-height: 1.4; font-style: italic; }
.intl-tp-link { display: inline-block; margin-top: 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(184,146,42,0.4); padding-bottom: 3px; }

/* ── CTA STRIP ───────────────────────────────────────────────── */
.cta-strip { background: var(--navy); padding: 64px 5vw; border-top: 3px solid var(--gold); }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; max-width: 1100px; }

/* ── CONTACT / CTA SECTION ───────────────────────────────────── */
.cta-section {
  background: var(--gold-pale); border-top: 1px solid var(--border-gold);
  padding: 100px 5vw;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cta-left .section-title { margin-top: 14px; }
.cta-left > p { font-size: 16px; color: var(--text-muted); font-weight: 300; margin-top: 16px; line-height: 1.8; }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-icon { width: 40px; height: 40px; background: var(--navy); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-row a { font-size: 14px; color: var(--navy); font-weight: 500; text-decoration: none; }
.contact-row p { font-size: 14px; color: var(--navy); font-weight: 400; }

/* ── CONTACT FORM ────────────────────────────────────────────── */
.cta-form { background: var(--white); border: 1px solid var(--border); padding: 44px 40px; border-radius: 4px; }
.cta-form h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border); border-radius: 3px;
  padding: 11px 14px; font-family: var(--sans); font-size: 14px;
  color: var(--text); background: var(--cream);
  transition: border-color 0.2s; width: 100%; outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); background: var(--white); }
.form-field textarea { height: 90px; resize: none; }
.form-submit {
  width: 100%; background: var(--navy); color: #fff;
  border: none; border-radius: 3px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px; cursor: pointer; transition: background 0.2s; margin-top: 6px;
}
.form-submit:hover { background: var(--navy2); }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.form-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.form-msg { padding: 12px 16px; border-radius: 3px; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.form-msg--success { background: #EDFAF0; color: #1B6B35; border: 1px solid #A3DDB4; }
.form-msg--error   { background: #FEF0F0; color: #9B2020; border: 1px solid #EDAAAA; }

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-values { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }
.about-value { display: flex; gap: 20px; align-items: flex-start; padding: 24px 28px; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.about-value:last-child { border-bottom: none; }
.about-value:hover { background: var(--gold-pale); }
.about-value-num { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold); flex-shrink: 0; min-width: 28px; }
.about-value-title { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.about-value-desc { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.65; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--navy); padding: 72px 5vw 0; }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 16px; display: block; }
.footer-logo span { color: var(--gold-light); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.75; font-weight: 300; max-width: 240px; margin-bottom: 24px; }
.footer-email a { font-size: 13px; color: var(--gold-light); text-decoration: none; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); font-weight: 300; }
.footer-accred { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.accred-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(184,146,42,0.3); padding: 5px 10px; border-radius: 2px; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge    { animation: fadeUp 0.6s ease both; }
.hero-title    { animation: fadeUp 0.6s ease 0.1s both; }
.hero-sub      { animation: fadeUp 0.6s ease 0.2s both; }
.hero-actions  { animation: fadeUp 0.6s ease 0.3s both; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-right { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid    { grid-template-columns: repeat(2,1fr); }
  .clients-grid  { grid-template-columns: 1fr; }
  .intl-inner    { grid-template-columns: 1fr; }
  .cta-section   { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 5vw 32px; border-bottom: 1px solid var(--border); gap: 20px; }
  nav.open .nav-links { display: flex; }
  .nav-burger { display: flex; }
  .nav-cta { padding: 8px 0 !important; border-radius: 0 !important; background: none !important; color: var(--navy) !important; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .intl-regions  { grid-template-columns: 1fr 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
}

/* ── SCROLL FADE-UP (applied by main.js) ─────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
