/* ==========================================================
   DMC USA - Digital Marketing Company USA
   Base stylesheet. CSS variables hold all brand colors.
   ========================================================== */

:root {
  --navy: #0B1220;
  --navy-2: #111C2E;
  --blue: #2563EB;
  --blue-bright: #3B82F6;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --ink: #111827;
  --muted: #64748B;
  --border: #E2E8F0;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 20px 50px rgba(11, 18, 32, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; color: var(--navy); line-height: 1.2; }

/* Accessible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--navy-2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font);
  color: var(--white);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.logo span { color: var(--blue-bright); }
.logo:hover { text-decoration: none; opacity: 0.85; }
.site-footer .logo { color: var(--white); }

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.primary-nav > ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.primary-nav > ul > li { position: relative; }

nav.primary-nav a.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
}

nav.primary-nav a.nav-link:hover,
nav.primary-nav li.active > a.nav-link {
  color: var(--white);
  text-decoration: none;
}

.has-dropdown > a::after {
  content: " \25BE";
  font-size: 11px;
  color: #64748b;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px 0;
  margin-top: 14px;
  list-style: none;
  max-height: 70vh;
  overflow-y: auto;
}

/* Desktop: show on hover OR open class */
@media (min-width: 721px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown.open .dropdown { display: block; }
}
/* Mobile: show only via JS .open class (handled in mobile media block below) */

.dropdown li a {
  display: block;
  padding: 8px 20px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
}
.dropdown li a:hover { background: var(--bg-light); text-decoration: none; color: var(--blue); }
.dropdown li.dropdown-heading {
  padding: 10px 20px 4px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.dropdown li.dropdown-heading:first-child { padding-top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: 2px solid transparent;
  font-family: var(--font);
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--navy); }
.btn-outline:hover { background: var(--bg-light); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.wa-icon { width: 18px; height: 18px; }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero { background: var(--white); padding: 84px 0 56px; }
.hero .container { max-width: 800px; text-align: center; }
.hero h1 { font-size: 46px; line-height: 1.14; margin: 0 0 20px; letter-spacing: -0.02em; color: var(--navy); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 auto 32px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Page header for interior pages */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 54px 0 48px;
}
.page-hero .eyebrow {
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero h1 { font-size: 33px; margin: 0 0 14px; letter-spacing: -0.02em; color: var(--white); }
.page-hero p.lead { font-size: 17.5px; color: #cbd5e1; max-width: 720px; margin: 0 0 22px; }
.page-hero .hero-actions { justify-content: flex-start; }
.breadcrumbs { font-size: 13.5px; color: #94a3b8; margin-bottom: 16px; }
.breadcrumbs a { color: #94a3b8; }
.breadcrumbs a:hover { color: var(--white); }

/* ---------- Sections ---------- */

section { padding: 66px 0; }
.section-soft { background: var(--bg-light); }
.section-navy { background: var(--navy); color: var(--white); }

.eyebrow-sm { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 10px; }

h2.section-title { font-size: 29px; margin: 0 0 12px; letter-spacing: -0.02em; }
p.section-sub { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0 0 40px; }
.section-navy p.section-sub { color: #cbd5e1; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

article.content h2 { font-size: 25px; margin: 42px 0 14px; letter-spacing: -0.01em; }
article.content h3 { font-size: 19.5px; margin: 26px 0 10px; }
article.content p { margin: 0 0 16px; color: var(--ink); }
article.content ul, article.content ol { margin: 0 0 18px; padding-left: 22px; }
article.content li { margin-bottom: 8px; }
article.content strong { color: var(--navy); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 18.5px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card a.card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; }

.icon-badge {
  width: 42px; height: 42px; border-radius: 9px;
  background: rgba(37, 99, 235, 0.08); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin-bottom: 14px;
}

/* Dominant service cards (SEO / Web Development) */
.dominant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.dominant-card { background: var(--navy); color: var(--white); border-radius: 18px; padding: 44px; box-shadow: var(--shadow-lg); }
.dominant-card.alt { background: var(--blue); }
.dominant-card .eyebrow-sm { color: #93c5fd; }
.dominant-card.alt .eyebrow-sm { color: #dbeafe; }
.dominant-card h3 { color: var(--white); font-size: 25px; margin: 0 0 12px; }
.dominant-card p { color: #cbd5e1; font-size: 16px; margin: 0 0 26px; }
.dominant-card.alt p { color: #dbeafe; }
.dominant-card a.card-link-lg { color: var(--white); font-weight: 700; font-size: 15.5px; display: inline-flex; align-items: center; gap: 6px; }

/* Secondary services pill row */
.secondary-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.secondary-service { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.secondary-service:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; box-shadow: var(--shadow); }

/* Why us - numbered */
.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-us-item .num { font-size: 15px; font-weight: 800; color: var(--blue-bright); margin-bottom: 14px; }
.why-us-item h3 { font-size: 18px; margin: 0 0 10px; color: var(--white); }
.why-us-item p { color: #cbd5e1; font-size: 15px; margin: 0; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-item { text-align: center; }
.process-item .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-light); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--blue); margin: 0 auto 14px;
}
.process-item h3 { font-size: 16.5px; margin: 0 0 8px; }
.process-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* Value prop */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Locations */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.location-pill { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; font-weight: 600; color: var(--navy); font-size: 15px; text-align: center; }
.location-pill:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; box-shadow: var(--shadow); }

table.compare { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
table.compare th, table.compare td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; }
table.compare th { background: var(--bg-light); font-weight: 700; color: var(--navy); }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; color: var(--muted); }

.cta-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); text-align: center; padding: 58px 0; }
.cta-band h2 { margin: 0 0 12px; font-size: 29px; color: var(--white); }
.cta-band p { color: #cbd5e1; margin: 0 auto 26px; font-size: 16.5px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.form-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--white);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--blue); }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.placeholder-note {
  background: #fff7ed; border: 1px solid #fdba74; border-radius: var(--radius);
  padding: 16px 20px; font-size: 14.5px; color: #9a3412; margin: 20px 0;
}

/* ---------- Footer ---------- */

footer.site-footer { background: var(--navy); color: #cbd5e1; padding: 56px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #94a3b8; }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { color: #94a3b8; max-width: 280px; }
.footer-wa { display: inline-block; color: var(--whatsapp); font-weight: 700; margin: 10px 0 6px; }
.footer-wa:hover { color: #34e37f; }
.footer-email a { color: #94a3b8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #64748b; font-size: 13.5px;
}
.footer-bottom a { color: #64748b; }

/* ---------- Floating WhatsApp button ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 300;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 15px;
}
.whatsapp-float:hover { background: var(--whatsapp-dark); text-decoration: none; }
.whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .dominant-grid { grid-template-columns: 1fr; }
  .secondary-services { grid-template-columns: repeat(3, 1fr); }
  .why-us-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  nav.primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-2); border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-direction: column; align-items: stretch; padding: 10px 24px 20px; display: none;
  }
  nav.primary-nav.open { display: flex; }
  nav.primary-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .dropdown { position: static; box-shadow: none; margin-top: 4px; display: none; border: none; background: transparent; }
  .dropdown li a { color: #cbd5e1; }
  .dropdown li a:hover { background: rgba(255,255,255,0.06); color: var(--white); }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: block; }
  .nav-cta { margin-top: 12px; }
  .hero h1 { font-size: 30px; }
  .grid-3, .grid-4, .grid-2, .value-grid, .secondary-services, .why-us-grid, .process-grid, .locations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float .wa-float-label { display: none; }
  .whatsapp-float { padding: 14px; }
  .page-hero .hero-actions { justify-content: flex-start; }
}

/* ============================================================
   DMC USA — UI/UX FIXES
   ============================================================ */

/* ── 1. Fix article content — center it, full readable width ── */
article.content {
  max-width: 860px;
  margin: 0 auto;
}
article.content h2 { font-size: 26px; margin: 48px 0 16px; letter-spacing: -0.01em; }
article.content h3 { font-size: 20px; margin: 30px 0 12px; }
article.content p  { margin: 0 0 18px; font-size: 16.5px; line-height: 1.75; color: var(--ink); }
article.content ul,
article.content ol { margin: 0 0 20px; padding-left: 24px; }
article.content li { margin-bottom: 10px; font-size: 16px; line-height: 1.65; }
article.content a  { color: var(--blue); font-weight: 500; }

/* ── 2. Page hero — wider, better hierarchy ─────────────────── */
.page-hero { padding: 60px 0 52px; }
.page-hero .container { max-width: 860px; }
.page-hero h1 {
  font-size: clamp(28px, 3.8vw, 40px);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-hero p.lead {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 0 26px;
  line-height: 1.7;
}
.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 12px;
  display: block;
}
.breadcrumbs { margin-bottom: 20px; font-size: 13px; color: #64748b; }
.breadcrumbs a { color: #64748b; }
.breadcrumbs a:hover { color: #94a3b8; }

/* ── 3. FAQ — styled details/summary ───────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }

details.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.15s;
}
details.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: #c7d7f0;
}
details.faq-item summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.45;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
details.faq-item[open] summary::after {
  content: '\00D7';
  color: var(--muted);
}
details.faq-item summary:hover { background: var(--bg-light); }
.faq-body {
  padding: 0 22px 20px;
  border-top: 1px solid var(--border);
}
.faq-body p {
  margin: 16px 0 0;
  font-size: 15.5px;
  color: #374151;
  line-height: 1.75;
}
.faq-body a { color: var(--blue); font-weight: 500; }

/* ── 4. Process grid — bigger numbers, better spacing ───────── */
.process-grid { gap: 24px; align-items: start; }
.process-item .num {
  width: 52px;
  height: 52px;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.1) 0%, rgba(37,99,235,.06) 100%);
  border: 1.5px solid rgba(37,99,235,.2);
  color: var(--blue);
  border-radius: 14px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.process-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.process-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── 5. Section layout fixes ────────────────────────────────── */
p.section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 44px;
}
.center p.section-sub,
.center > p.section-sub { margin-left: auto; margin-right: auto; }

/* ── 6. Card improvements ───────────────────────────────────── */
.card { padding: 28px; }
.card h3 { font-size: 18px; margin: 0 0 10px; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.65; }
span.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
}
a.card:hover span.card-link { text-decoration: underline; }

/* ── 7. Floating WhatsApp button ────────────────────────────── */
.wa-float-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
}
.wa-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: background 0.15s, transform 0.15s;
}
.wa-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.07);
  text-decoration: none;
}
.wa-float .wa-icon { width: 28px; height: 28px; }

/* ── 8. Why-us grid on dark section ─────────────────────────── */
.why-us-grid { gap: 40px; }
.why-us-item .num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-bright);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(59,130,246,.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.why-us-item h3 { font-size: 17px; margin: 0 0 10px; }
.why-us-item p { font-size: 14.5px; line-height: 1.7; }

/* ── 9. Dominant cards ───────────────────────────────────────── */
.dominant-card { padding: 48px 44px; border-radius: 20px; }
.dominant-card h3 { font-size: 26px; line-height: 1.2; margin: 0 0 14px; }
.dominant-card p { font-size: 16px; line-height: 1.7; margin: 0 0 28px; }

/* ── 10. Secondary services row ──────────────────────────────── */
.secondary-service { padding: 18px 14px; font-size: 14px; border-radius: 10px; }

/* ── 11. Footer — fix column count mismatch ──────────────────── */
.footer-grid { grid-template-columns: 1.6fr repeat(5, 1fr); }

/* ── 12. Location page grid ──────────────────────────────────── */
.grid-4 { gap: 18px; }

/* ── 13. CTA band refinements ────────────────────────────────── */
.section-navy { padding: 72px 0; }
.section-navy h2 { font-size: clamp(24px,3vw,34px); line-height: 1.2; }

/* ── 14. Mobile fixes ────────────────────────────────────────── */
@media (max-width: 720px) {
  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p.lead { font-size: 16px; }
  article.content h2 { font-size: 22px; margin-top: 36px; }
  article.content p { font-size: 15.5px; }
  details.faq-item summary { font-size: 15px; padding: 16px 18px; }
  .faq-body { padding: 0 18px 18px; }
  .faq-body p { font-size: 15px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .dominant-card { padding: 32px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .wa-float-wrap { bottom: 18px; right: 18px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16.5px; }
  section { padding: 52px 0; }
  .section-navy { padding: 52px 0; }
  .card { padding: 22px; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  details.faq-item summary { font-size: 14.5px; }
}

/* ── Fix: WA float button blocks content on mobile ──────────── */
@media (max-width: 720px) {
  .wa-float-wrap { bottom: 14px; right: 14px; }
  .wa-float { width: 50px; height: 50px; }
  .wa-float .wa-icon { width: 24px; height: 24px; }
  /* Ensure enough bottom padding on pages so float doesn't cover CTA */
  body { padding-bottom: 0; }
}

/* ── Nav overflow fix ─────────────────────────────────────── */
nav.primary-nav > ul { gap: 18px; }
nav.primary-nav a.nav-link { font-size: 14px; white-space: nowrap; }
.nav-wrap { gap: 16px; }
.btn.nav-cta { padding: 10px 18px; font-size: 14px; }

/* Tighten at mid-screen before mobile breakpoint kicks in */
@media (max-width: 1160px) {
  nav.primary-nav > ul { gap: 12px; }
  nav.primary-nav a.nav-link { font-size: 13.5px; }
  .btn.nav-cta { padding: 9px 14px; font-size: 13.5px; }
  .nav-wrap { padding: 14px 18px; }
}

@media (max-width: 1000px) {
  nav.primary-nav > ul { gap: 8px; }
  nav.primary-nav a.nav-link { font-size: 13px; }
  .btn.nav-cta { padding: 9px 12px; font-size: 13px; }
}

/* ── Mobile nav dropdown — accordion fix ─────────────────────
   Problem: dropdown uses position:static which is correct, but
   needs explicit open/close control tied to .open class only.
   Default display:none, shown only when parent has .open       */
@media (max-width: 720px) {
  .has-dropdown .dropdown {
    display: none;
    padding: 4px 0 8px 14px;
    border-left: 2px solid rgba(255,255,255,0.12);
    margin: 4px 0 8px;
  }
  .has-dropdown.open .dropdown {
    display: block;
  }
  .has-dropdown.open > a.nav-link {
    color: var(--white);
  }
  /* Dropdown links in mobile */
  .dropdown li a {
    color: #94a3b8;
    font-size: 14px;
    padding: 7px 10px;
    border-radius: 6px;
  }
  .dropdown li a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--white);
  }
  /* Arrow indicator on mobile dropdown parent */
  .has-dropdown > a.nav-link::after {
    content: " ▾";
    font-size: 12px;
    transition: transform 0.2s;
    display: inline-block;
  }
  .has-dropdown.open > a.nav-link::after {
    transform: rotate(180deg);
  }
  /* Make sure nav items stack cleanly */
  nav.primary-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 2px 0;
  }
  nav.primary-nav > ul > li:last-child { border-bottom: none; }
}
