/* =========================================================================
   Clínica Podològica — Sara Burgueño i Sebastián Pineda
   Stylesheet: clinical teal system + 3 switchable directions (a / b / c)
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --accent-h: 250;                                   /* hue for derived tints */
  --accent:        #05386b;
  --accent-deep:   #042848;
  --accent-soft:   #c5d3e3;
  --accent-tint:   #eef2f8;
  --accent-contrast: #ffffff;

  --bg:        oklch(0.985 0.004 200);
  --surface:   #ffffff;
  --surface-2: oklch(0.975 0.006 200);
  --ink:       oklch(0.26 0.018 210);
  --ink-soft:  oklch(0.44 0.015 210);
  --muted:     oklch(0.58 0.012 210);
  --line:      oklch(0.91 0.006 210);
  --line-soft: oklch(0.945 0.005 210);

  --font-head: "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --head-weight: 700;
  --head-spacing: -0.015em;
  --head-style: normal;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --header-h: 86px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-pad: clamp(64px, 9vw, 128px);

  --shadow-sm: 0 1px 2px oklch(0.4 0.02 210 / 0.06), 0 2px 8px oklch(0.4 0.02 210 / 0.05);
  --shadow-md: 0 10px 30px oklch(0.4 0.03 210 / 0.10), 0 2px 8px oklch(0.4 0.02 210 / 0.05);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Direction B — editorial / warm serif headings */
:root[data-direction="b"] {
  --font-head: "Newsreader", Georgia, serif;
  --font-body: "Mulish", system-ui, sans-serif;
  --head-weight: 500;
  --head-spacing: -0.01em;
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --bg: oklch(0.985 0.006 90);
}

/* Direction C — modern / confident grotesk */
:root[data-direction="c"] {
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --head-weight: 600;
  --head-spacing: -0.02em;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing);
  font-style: var(--head-style);
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
p { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "/";
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 16px; }
.section-head p { color: var(--ink-soft); font-size: clamp(17px, 2vw, 19px); margin-top: 18px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--accent-deep); border-color: var(--accent-soft); }
.btn-ghost:hover { background: var(--accent-tint); border-color: var(--accent); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); background: oklch(0.99 0.004 200 / 0.92); backdrop-filter: saturate(140%) blur(12px); }
/* Transparent over the photo banner at the top — light text for legibility */
.site-header:not(.scrolled) .brand b,
.site-header:not(.scrolled) .nav-links a,
.site-header:not(.scrolled) .nav-phone { color: #fff; }
.site-header:not(.scrolled) .brand span { color: rgba(255,255,255,0.72); }
.site-header:not(.scrolled) .nav-phone svg { color: #fff; }
.site-header:not(.scrolled) .nav-links a::after { background: #fff; }
.site-header:not(.scrolled) .nav-links a:hover { color: #fff; }
.site-header:not(.scrolled) .nav-toggle { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.site-header:not(.scrolled) .nav-toggle span, .site-header:not(.scrolled) .nav-toggle span::before, .site-header:not(.scrolled) .nav-toggle span::after { background: #fff; }
.nav { display: grid; grid-template-columns: minmax(176px, auto) minmax(0, 1fr) auto; align-items: center; column-gap: clamp(20px, 2vw, 24px); height: var(--header-h); }
.brand { grid-column: 1; display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }
.brand .mark {
  width: 42px; height: 42px; flex: none;
  background: transparent;
}
.site-header .brand .mark,
.footer-brand .brand .mark { width: 52px; height: 52px; border-radius: 10px; }
.brand b { display: block; max-width: 12ch; font-size: 18px; line-height: 1.1; }
.brand span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); font-family: var(--font-body); text-transform: uppercase; }
.nav-links { grid-column: 2; justify-self: end; display: flex; align-items: center; gap: clamp(22px, 2.2vw, 28px); min-width: 0; }
.nav-links a { font-size: 15.5px; font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.28s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; min-width: max-content; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent); }
.nav-social { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-social-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-deep); font-size: 14px; font-weight: 700; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease); }
.nav-social-btn:hover { transform: translateY(-2px); border-color: var(--accent-soft); background: var(--accent-tint); }
.nav-social-btn svg { width: 16px; height: 16px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Compact tap-to-call button + in-menu CTA (mobile only; hidden on desktop) */
.nav-call { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; background: var(--accent); color: #fff; flex: none; }
.nav-call svg { width: 19px; height: 19px; }
.site-header:not(.scrolled) .nav-call { background: #fff; color: var(--accent-deep); }
.site-header:not(.scrolled) .nav-social-btn { background: #fff; border-color: rgba(255,255,255,0.65); color: var(--accent-deep); }
.nav-menu-cta { display: none; }

/* ---- Hero (full-bleed parallax banner) --------------------------------- */
.hero { position: relative; overflow: hidden; min-height: 90vh; display: flex; align-items: center; margin-top: calc((var(--header-h) + 1px) * -1); }
.hero-banner { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--accent-deep); }
.hero-img { position: absolute; left: 0; top: -20%; width: 100%; height: 140%; display: block; will-change: transform; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(102deg, rgba(2,20,40,0.86) 0%, rgba(3,26,52,0.62) 42%, rgba(4,40,72,0.30) 100%),
    linear-gradient(0deg, rgba(2,16,34,0.55) 0%, rgba(2,16,34,0) 45%); }
.hero-content {
  position: relative; z-index: 2;
  width: min(100%, 760px);
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(120px, 16vh, 200px);
  color: #fff;
  pointer-events: none;
}
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-kicker { margin-bottom: 22px; color: #fff; }
.hero .eyebrow {
  color: #fff;
}
.hero .eyebrow::before {
  color: var(--accent-soft);
}
.hero h1 { font-size: clamp(42px, 6.8vw, 80px); color: #fff; }
.hero h1 .accent { color: var(--accent-soft); }
.hero-lead { font-size: clamp(18px, 2.2vw, 21px); color: rgba(255,255,255,0.88); margin-top: 24px; max-width: 46ch; overflow-wrap: break-word; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-actions .btn-primary { background: #fff; color: var(--accent-deep); }
.hero-actions .btn-primary:hover { background: var(--accent-tint); }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 44px); margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.22); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--font-head); font-size: clamp(26px, 3vw, 32px); color: #fff; }
.hero-trust small { font-size: 13.5px; color: rgba(255,255,255,0.78); font-weight: 600; }

/* Direction-specific hero treatments */
:root[data-direction="b"] .hero h1 { font-style: italic; }
:root[data-direction="b"] .hero h1 .accent { font-style: normal; }

/* ---- Qui som / team ----------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 36px); }
.team-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; gap: 22px; align-items: center; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.team-card image-slot { width: 132px; height: 156px; flex: none; }
.team-card h3 { font-size: 22px; }
.team-card .role { color: var(--accent-deep); font-weight: 700; font-size: 14.5px; margin-top: 4px; }
.team-card .col { font-size: 14px; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 7px; }
.team-card .col svg { width: 15px; height: 15px; color: var(--accent); }
.team-card .bio { font-size: 15px; color: var(--ink-soft); margin-top: 12px; }

/* ---- Services ----------------------------------------------------------- */
.services { background: var(--surface-2); border-block: 1px solid var(--line); }
:root[data-direction="b"] .services { background: var(--accent-tint); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc-card { background: var(--surface); padding: 34px 30px; transition: background 0.3s var(--ease); position: relative; }
.svc-card:hover { background: var(--accent-tint); }
.svc-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.svc-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; margin: 16px 0 18px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.svc-icon svg { width: 24px; height: 24px; }
.svc-card:hover .svc-icon { background: var(--accent); color: #fff; }
.svc-card h3 { font-size: 20px; }
.svc-card p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }

/* ---- Hours / why-us ----------------------------------------------------- */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.hours-card {
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 4%, #fff), var(--surface) 46%);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.hours-card .eyebrow {
  color: var(--accent-deep);
}
.hours-card .eyebrow::before {
  color: var(--accent);
}
.hours-card h2 { color: var(--ink); font-size: clamp(26px, 3.4vw, 36px); margin-top: 14px; }
.hours-list { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 700; font-size: 16.5px; }
.hours-row .time { font-variant-numeric: tabular-nums; color: var(--accent-deep); font-size: 16px; font-weight: 700; text-align: right; white-space: nowrap; }
.hours-row.closed .day,
.hours-row.closed .time { color: var(--muted); }
.hours-note {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--accent) 5%, #fff);
  font-size: 14px;
  color: var(--ink-soft);
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
}
.hours-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.hours-note-text { min-width: 0; }
.hours-note-phone { color: var(--accent-deep); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 0.18em; }

.why-list { display: flex; flex-direction: column; gap: 8px; }
.why-item { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); transition: background 0.3s var(--ease); }
.why-item:hover { background: var(--accent-tint); }
.why-item .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; }
.why-item .ico svg { width: 23px; height: 23px; }
.why-item h3 { font-size: 18px; }
.why-item p { font-size: 15px; color: var(--ink-soft); margin-top: 5px; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: none; padding: 26px 4px; text-align: left; color: var(--ink); }
.faq-q span { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(18px, 2.2vw, 21px); letter-spacing: var(--head-spacing); }
.faq-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent-deep); border-radius: 2px; transition: transform 0.3s var(--ease), background 0.3s; }
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after { width: 2px; height: 13px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.35s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-soft); font-size: 16.5px; max-width: 68ch; }

/* ---- Contact ------------------------------------------------------------ */
.contact { background: var(--surface-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.contact-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.contact-card .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card .label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card .value { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 3px; overflow-wrap: anywhere; }
.contact-card .sub { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.social-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 14px; border-radius: 999px; background: var(--accent-deep); color: #fff; font-size: 14px; font-weight: 700; }
.social-btn:hover { background: var(--accent); }
.social-btn svg { width: 17px; height: 17px; flex: none; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; box-shadow: var(--shadow-sm); height: 100%; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(0.2) contrast(1.02); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--accent-deep); color: rgba(255,255,255,0.82); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer-brand .brand b { color: #fff; }
.footer-brand .brand span { color: var(--accent-soft); }
.footer-brand p { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,0.72); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; color: rgba(255,255,255,0.82); padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,0.58); }

/* ---- Reveal animation --------------------------------------------------- */
/* Hidden state only applies once JS confirms it's running (html.js); without
   JS, or if anything fails, content stays fully visible. */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
:root[data-motion="off"] [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
/* Escape hatch: if the document timeline is frozen (non-painting/throttled
   frames can't interpolate the reveal transition), show everything instantly. */
html.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 940px) {
  .nav { gap: 10px; }
  .nav-links, .nav-phone, .nav-social, .nav-cta-btn { display: none; }
  .nav-toggle { display: grid; }
  .nav-call { display: grid; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 24px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 15px 4px; font-size: 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink) !important; }
  .nav-links.open .nav-menu-cta { display: inline-flex; justify-content: center; width: 100%; margin-top: 14px; border-bottom: none; color: #fff !important; padding: 15px 20px; }
  .hours-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 941px) and (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav-links { gap: 22px; }
  .nav-social { gap: 6px; }
  .nav-social-btn { width: 40px; padding-inline: 0; justify-content: center; }
  .nav-social-btn span { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .brand b { font-size: 16px; }
  .team-grid, .svc-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 560px) {
  .hero { min-height: 86vh; }
  .hero-content { flex: 0 0 100%; width: 100%; max-width: 100%; margin-inline: 0; padding-block: 104px 60px; }
  .hero-lead { max-width: 32ch; text-wrap: wrap; }
  .hero-actions, .hero-trust { max-width: 340px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; max-width: 100%; min-width: 0; justify-content: center; }
  .hero-trust { gap: 18px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .section-head { max-width: 340px; margin-bottom: 32px; }
  .section-head p { text-wrap: wrap; }
}
@media (max-width: 360px) {
  .hero-lead { max-width: 29ch; }
  .hero-actions, .hero-trust { max-width: 280px; }
  .social-buttons { grid-template-columns: 1fr; }
}
