/* =========================================================
   CNC Group Advisory — stylesheet
   No external fonts or libraries: everything here is local,
   which keeps Largest Contentful Paint fast (good for SEO).
   ========================================================= */

:root {
  /* Sampled directly from the LL Chai & Co. logo artwork:
     #36678F mid steel blue (dominant), #0F304F deep navy (dark facet and
     wordmark), #CBDAE1 pale blue (light facets). No warm tones in the mark,
     so none in the palette. */
  --ink:          #0F304F;   /* deep navy   — headings, buttons, dark bands */
  --ink-soft:     #1C4A72;   /* hover state for the above                  */
  --accent:       #36678F;   /* mid steel blue — links, icons, highlights  */
  --accent-soft:  #DCE6ED;   /* pale blue — icon chips and tints           */

  --body:       #42556A;
  --muted:      #6B8097;
  --line:       #DBE3EA;
  --bg:         #F6F9FB;
  --surface:    #ffffff;
  --surface-2:  #EBF1F5;
  --wa:         #36678F;   /* WhatsApp buttons, in the brand blue */
  --wa-dark:    #2B5375;

  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 1px 2px rgba(15,48,79,.06), 0 10px 30px rgba(15,48,79,.08);
  --shadow-lg:  0 24px 60px rgba(15,48,79,.16);

  --max:        1160px;
  --gutter:     22px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Times New Roman", Times, "Liberation Serif", Tinos, "Nimbus Roman", serif;
  font-size: 18.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.22rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #cfe0e3; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.lead { font-size: 1.12rem; color: var(--body); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--ink-soft); color: #fff; }

.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn--accent:hover { background: #a9761f; color: #fff; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: var(--shadow); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
/* On the dark band the blue button loses contrast, so it inverts. */
.cta-band .btn--wa { background: #fff; color: var(--ink); }
.cta-band .btn--wa:hover { background: #e8eef4; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

.btn--lg { padding: 1em 1.9em; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246,249,251,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: block;
  object-fit: contain;
}
/* The mark's darkest facet would vanish against the navy footer, so it sits
   on a white tile there. */
.site-footer .brand__mark {
  background: #fff;
  border-radius: 9px;
  padding: 4px;
  width: 44px;
  height: 44px;
}
.brand__name { font-weight: 700; color: var(--ink); font-size: 1.1rem; line-height: 1.15; letter-spacing: .01em; }
.brand__reg { font-weight: 600; font-size: .86em; color: var(--muted); white-space: nowrap; }
.brand__tag { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: .5em .72em;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Services dropdown ---------- */

.nav-item { position: relative; display: flex; }

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .5em .72em;
  border: 0;
  border-radius: 7px;
  background: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.nav-sub-toggle:hover { background: var(--surface-2); }
.nav-sub-toggle.is-current { color: var(--accent); }
.nav-sub-toggle .caret { width: 14px; height: 14px; flex: none; transition: transform .15s ease; }
.nav-sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  min-width: 264px;
  margin: 6px 0 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.nav-sub.is-open { display: block; }
.nav-sub li + li { margin-top: 2px; }
.nav-sub a {
  display: block;
  padding: .6em .75em;
  border-radius: 6px;
  font-size: .96rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-sub a:hover { background: var(--surface-2); color: var(--ink); }
.nav-sub a[aria-current="page"] { color: var(--accent); font-weight: 650; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  font-weight: 650;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Figures ---------- */

.figure {
  margin: 1.8em 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.figure img { width: 100%; height: auto; display: block; }
.figcaption, .figure figcaption {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}
.usp .figure { background: #fff; margin-bottom: 0; }

@media (max-width: 640px) {
  .figure { padding: 12px; }
  /* the diagrams are wide by nature — allow a horizontal scroll rather than
     shrinking the type to an unreadable size */
  .figure img { min-width: 520px; }
  .figure { overflow-x: auto; }
}

/* ---------- Offer panel ---------- */

.usp {
  background: var(--accent-soft);
  border: 1px solid #c4d4e0;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 1.8em;
}
.usp__tag {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .36em .8em;
  border-radius: 999px;
  margin-bottom: .9em;
}
.usp h2 { margin-top: 0 !important; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.usp ol {
  margin: 1.1em 0 0;
  padding-left: 1.3em;
  columns: 2;
  column-gap: 34px;
}
.usp ol li { margin-bottom: .55em; break-inside: avoid; font-size: .97rem; }
.usp__note { font-size: .92rem; color: var(--muted); margin-top: 1.2em; }

@media (max-width: 760px) {
  .usp ol { columns: 1; }
  .usp { padding: 22px; }
}

/* ---------- Language switch ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
  flex: none;
}
.lang-switch a {
  padding: .42em .78em;
  font-size: .88rem;
  font-weight: 650;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
}
.lang-switch a:hover { color: var(--ink); background: var(--surface-2); }
.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}
.lang-switch a + a { border-left: 1px solid var(--line); }

/* ---------- Chinese typography ----------
   The Latin stack has no Chinese faces, and the tight heading tracking
   that suits English looks cramped in Han characters. */

:lang(zh), [lang^="zh"] {
  font-family: "Times New Roman", Times, "Songti SC", SimSun,
               "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;
}
[lang^="zh"] h1, [lang^="zh"] h2, [lang^="zh"] h3, [lang^="zh"] h4 {
  letter-spacing: 0;
  line-height: 1.35;
}
[lang^="zh"] body, [lang^="zh"] p, [lang^="zh"] li { line-height: 1.85; }
[lang^="zh"] .eyebrow { letter-spacing: .08em; }
[lang^="zh"] .hero__sub, [lang^="zh"] .lead { max-width: 40em; }

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

.hero {
  padding-block: clamp(48px, 7vw, 84px);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(54,103,143,.16), transparent 60%),
    radial-gradient(700px 380px at 0% 0%, rgba(15,48,79,.07), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
/* Hero with no side card: one column, held to a readable measure. */
.hero-grid--solo { grid-template-columns: 1fr; max-width: 46rem; }
.hero-grid--solo .hero__sub { max-width: none; }

.hero h1 { margin-bottom: .45em; }
.hero h1 span { color: var(--accent); }

.hero__sub { font-size: 1.13rem; max-width: 54ch; margin-bottom: 1.6em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hero__points li {
  display: flex; align-items: flex-start; gap: .6em;
  font-size: .97rem; font-weight: 550; color: var(--ink);
}
.hero__points svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }


.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: .38em;
  letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .72em .85em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(54,103,143,.2);
}
.form-fineprint { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Trust strip ---------- */

.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-block: 26px;
}
.trust__item { text-align: center; padding-inline: 10px; }
.trust__num { font-size: 1.65rem; font-weight: 750; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.trust__label { font-size: .84rem; color: var(--muted); margin-top: 3px; }

/* ---------- Cards / grids ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--ink);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .96rem; }
.card__link {
  margin-top: auto;
  padding-top: 14px;
  font-size: .92rem;
  font-weight: 650;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.card__link:hover { gap: .65em; color: var(--accent); }

.card--flat { box-shadow: none; background: transparent; border-color: transparent; padding: 0; }

/* Feature list */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; font-size: .98rem; }
.checklist svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.section--ink .checklist svg { color: var(--accent); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-size: 1.5rem;
  font-weight: 750;
  color: var(--accent);
  letter-spacing: -.02em;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35em; }
.step p { font-size: .94rem; }


/* Testimonials */
.quote-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.quote-block p { font-size: 1rem; color: var(--ink); }
.quote-block cite { display: block; margin-top: 14px; font-style: normal; font-size: .88rem; color: var(--muted); }
.quote-block cite strong { color: var(--ink); display: block; font-size: .94rem; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 0;
  font-weight: 650;
  font-size: 1.03rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 32px 20px 0; font-size: .98rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #cfe0e3; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(44px, 6vw, 68px);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { max-width: 52ch; margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Breadcrumbs */
.crumbs { font-size: .86rem; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin-inline: .45em; opacity: .6; }

/* Page header (inner pages) */
.page-head { padding-block: clamp(34px, 5vw, 58px) clamp(30px, 4vw, 46px); }
.page-head p.lead { max-width: 62ch; }

/* Prose (service/about body copy) */
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.15em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }

.layout-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}
.sidebar-card h3 { font-size: 1.1rem; }
.sidebar-card p { font-size: .93rem; }
.sidebar-card .btn { margin-top: 6px; }
.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li + li { border-top: 1px solid var(--line); }
.sidebar-links a {
  display: block;
  padding: .72em 0;
  font-size: .95rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink);
}
.sidebar-links a:hover { color: var(--accent); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-list a { text-decoration: none; }
.map-figure { margin: 0; }
.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: .93rem;
  color: var(--muted);
}
@media (max-width: 520px) {
  .map-embed { aspect-ratio: 4 / 3; }
  .map-caption { flex-direction: column; align-items: flex-start; }
}

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

.site-footer {
  background: #0B2540;
  color: #A9BDD2;
  padding-block: 56px 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}
.site-footer h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
.site-footer a { color: #A9BDD2; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #859AB2; }
.footer-nap { font-style: normal; line-height: 1.8; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: #859AB2;
}

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

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  background: var(--wa);
  color: #fff;
  font-weight: 650;
  font-size: .95rem;
  text-decoration: none;
  padding: .8em 1.15em;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(15,48,79,.28);
  transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-2px); color: #fff; }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* ---------- Accessibility ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .7em 1.1em;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(54,103,143,.6); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .layout-split { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The phone number is the first thing to drop when the header gets tight.
   Raised to 1280px when the brand wording grew to include the firm number. */
@media (max-width: 1280px) {
  .header-phone { display: none; }
}

@media (max-width: 1080px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 18px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .75em .6em; font-size: 1rem; }
  .nav-item { display: block; width: 100%; }
  .nav-sub-toggle { width: 100%; justify-content: space-between; padding: .75em .6em; font-size: 1rem; }
  .nav-sub {
    position: static;
    min-width: 0;
    margin: 0 0 6px;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    border-left: 2px solid var(--line);
    box-shadow: none;
  }
  .nav-sub a { padding: .6em .6em; }
  .nav-toggle { display: inline-flex; order: 3; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .header-cta .btn { padding: .7em 1.05em; font-size: .9rem; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }

  /* Phone widths: let the brand shrink, and reduce the header WhatsApp
     button to its icon (the floating button carries the label instead). */
  .header-inner { gap: 10px; }
  .brand { min-width: 0; }
  .brand__tag { display: none; }
  .brand__name { font-size: .95rem; line-height: 1.2; }
  /* the firm number moves onto its own line rather than squeezing the header */
  .brand__reg { display: block; font-size: .74rem; font-weight: 500; }
  .header-cta .btn--wa { font-size: 0; gap: 0; padding: .75em .85em; }
  .header-cta .btn--wa svg { width: 20px; height: 20px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .wa-float span { display: none; }
  .wa-float { padding: .85em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
