/* NEXO PYME · hoja de estilos única. Tokens y criterios: .claude/skills/nexo-web-calidad/SKILL.md */

@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/work-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-latin.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-cyrillic.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --navy: #1c2b4a;
  --navy-hover: #35507f;
  --bg: #f7f6f3;
  --bg-alt: #efece4;
  --surface: #ffffff;
  --surface-warm: #fdfcfa;
  --border: #e4e1da;
  --border-strong: #d8d4ca;
  --input-border: #857f72;
  --text: #22242a;
  --text-body: #4a4d55;
  --text-muted: #5b5f68;
  --gold: #7a5f30;
  --on-navy: #f0efe9;
  --on-navy-muted: #c9d0dd;
  --wa: #1a7f4b;
  --wa-hover: #146b3e;
  --font-head: 'Work Sans', 'Source Sans 3', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 64px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); font-weight: 700; margin: 0; text-wrap: pretty; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 2px var(--surface-warm); }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 10000;
  background: var(--navy); color: var(--surface-warm); padding: 12px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--surface-warm); }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.3;
  padding: 16px 32px; background: var(--navy); color: var(--surface-warm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { color: var(--surface-warm); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28, 43, 74, 0.35); }
.btn--small { padding: 13px 26px; font-size: 0.9375rem; }
.btn--light { background: var(--surface-warm); color: var(--navy); }
.btn--light:hover { color: var(--navy); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.link-arrow {
  color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}
.link-arrow:hover { color: var(--navy-hover); border-color: var(--navy-hover); padding-left: 4px; }

/* ---------- Cabecera y navegación ---------- */
.site-header { position: relative; z-index: 100; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 22px; padding-bottom: 22px;
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 88px; width: auto; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-strong); color: var(--navy);
  font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem;
  min-height: 44px; padding: 8px 14px;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  text-decoration: none; color: #3d4048; font-family: var(--font-body);
  font-size: 1rem; font-weight: 500; display: inline-block; padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy); }
.nav-link[aria-current="page"] { font-weight: 600; }
.lang-switch { display: flex; gap: 2px; border-left: 1px solid var(--border-strong); padding-left: 16px; list-style: none; margin: 0; }
.lang-switch a {
  display: inline-block; text-decoration: none; padding: 6px 8px; min-width: 24px; text-align: center;
  font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] {
  color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}

/* ---------- Secciones ---------- */
.kicker {
  font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--text-body); }
.section { padding-top: 96px; padding-bottom: 96px; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 2.25rem; margin-bottom: 16px; }
.section-head p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.6; }
.section-title { font-size: 2.25rem; text-align: center; margin-bottom: 56px; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 88px; }
.hero h1 { font-size: 3.25rem; line-height: 1.12; margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 520px; }
.actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.media { width: 100%; object-fit: cover; background: var(--bg-alt); }
.media--hero { height: 420px; }
.media--split { height: 380px; }
.media--about { height: 420px; }

.stats { background: var(--navy); padding: 36px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; margin: 0 auto; }
.stats__grid li {
  font-family: var(--font-head); color: var(--on-navy); font-size: 1.0625rem; font-weight: 600; text-align: center;
}
.stats__grid li + li { border-left: 1px solid var(--navy-hover); padding-left: 24px; }

.card-grid { display: grid; gap: 2px; background: var(--border); list-style: none; margin: 0; padding: 0; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); padding: 36px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55; }
.center { text-align: center; margin-top: 40px; }
.card--link { position: relative; display: flex; flex-direction: column; transition: background 0.2s ease, box-shadow 0.2s ease; }
.card--link h3 a { color: inherit; text-decoration: none; }
.card--link h3 a::after { content: ''; position: absolute; inset: 0; }
.card--link h3 a:focus-visible { outline: none; box-shadow: none; }
.card--link:focus-within { outline: 2px solid var(--navy); outline-offset: -2px; }
.card--link:hover { background: var(--surface-warm); box-shadow: inset 0 -3px 0 var(--gold); }
.card--link p { flex: 1; }
.card__more { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.card--link:hover .card__more { text-decoration: underline; text-underline-offset: 3px; }
.service-row { scroll-margin-top: 24px; }
.service-row:target { box-shadow: inset 4px 0 0 var(--gold); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0; }
.steps__num { font-family: var(--font-head); font-size: 2.75rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; line-height: 1.1; }
.steps h3 { font-size: 1.125rem; margin-bottom: 10px; }
.steps p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.55; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: 2rem; margin-bottom: 20px; }
.split p { font-size: 1.0625rem; line-height: 1.65; color: var(--text-body); margin-bottom: 20px; }
.split p:last-of-type { margin-bottom: 28px; }

.cta-band { padding: 80px 0; text-align: center; background: var(--navy); }
.cta-band h2 { font-size: 2rem; color: var(--surface-warm); margin-bottom: 20px; }
.cta-band p { font-size: 1.0625rem; color: var(--on-navy-muted); margin-bottom: 32px; }
.cta-band__phone { margin: 28px 0 0; font-size: 0.9375rem; color: var(--on-navy-muted); line-height: 1.7; }
.cta-band__phone a { color: var(--surface-warm); font-weight: 600; white-space: nowrap; }
.cta-band__phone a:hover { color: var(--surface-warm); text-decoration-thickness: 2px; }
.cta-band__phone span { font-size: 0.875rem; }
.cta-band :focus-visible { outline-color: var(--surface-warm); box-shadow: 0 0 0 2px var(--navy); }

.page-head { padding-top: 56px; padding-bottom: 40px; }
.page-head h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; max-width: 780px; }
.page-head .lead { font-size: 1.125rem; max-width: 680px; }

.service-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); list-style: none; margin: 0 0 96px; padding: 0; }
.service-row { background: var(--surface); padding: 40px; display: grid; grid-template-columns: 80px 1fr; gap: 24px; }
.service-row__num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1.2; }
.service-row h2 { font-size: 1.3125rem; margin-bottom: 10px; }
.service-row p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; max-width: 720px; }
.service-row .service-row__highlight {
  margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--gold); background: var(--bg-alt);
  color: var(--navy); font-weight: 600; font-size: 0.9375rem;
}

.about { padding-top: 56px; padding-bottom: 96px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about h1 { font-size: 2.625rem; line-height: 1.15; margin-bottom: 24px; }
.about p { font-size: 1.0625rem; line-height: 1.65; color: var(--text-body); }
.about p + p { margin-top: 20px; }
.values .card { padding: 40px; }
.values .card h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.values .card p { line-height: 1.6; }

/* ---------- Contacto ---------- */
.contact-head { padding-top: 56px; padding-bottom: 24px; }
.contact-head h1 { font-size: 2.625rem; line-height: 1.15; margin-bottom: 20px; max-width: 680px; }
.contact-head .lead { font-size: 1.0625rem; max-width: 600px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; padding-top: 40px; padding-bottom: 96px; }
.form { display: flex; flex-direction: column; gap: 20px; background: var(--surface); padding: 40px; border: 1px solid var(--border); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__note { font-size: 0.8125rem; color: var(--text-muted); }
.form label:not(.check) { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; font-family: var(--font-head); }
.field {
  width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid var(--input-border); background: var(--surface); color: var(--text); border-radius: 0;
}
.field:focus { border-color: var(--navy); }
.field[aria-invalid="true"] { border-color: #b3261e; }
textarea.field { resize: vertical; min-height: 130px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; color: var(--text-body); line-height: 1.5; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy); }
.form__legal { font-size: 0.78125rem; color: var(--text-muted); line-height: 1.55; }
.form__error { color: #b3261e; font-size: 0.8125rem; margin-top: 6px; }
.form__status { font-size: 0.9375rem; padding: 12px 16px; }
.form__status:empty { display: none; }
.form__status--ok { background: #e7f3ec; color: #145a36; }
.form__status--error { background: #fbeceb; color: #8c1d18; }
.form .btn { align-self: flex-start; }
.form .btn[disabled] { opacity: 0.7; cursor: wait; transform: none; box-shadow: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.info-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); margin: 0; }
.info-list > div { background: var(--surface); padding: 32px; }
.info-list dt { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.info-list dd { margin: 0; font-size: 0.9375rem; color: var(--text-body); line-height: 1.6; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* ---------- Páginas legales ---------- */
.legal-page { padding-top: 56px; padding-bottom: 96px; }
.legal-page h1 { font-size: 2.625rem; line-height: 1.15; margin-bottom: 12px; }
.legal-page__date { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 8px; }
.legal-page__notice { font-size: 0.9375rem; color: var(--navy); background: var(--bg-alt); padding: 12px 16px; margin-top: 16px; }
.legal h2 { font-size: 1.3125rem; margin: 40px 0 14px; }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; color: var(--text-body); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 0.9375rem; background: var(--surface); }
.legal th, .legal td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--text-body); }
.legal th { background: var(--bg-alt); color: var(--navy); font-family: var(--font-head); font-weight: 600; }

/* ---------- 404 ---------- */
.not-found { padding-top: 80px; padding-bottom: 120px; text-align: center; }
.not-found h1 { font-size: 2.625rem; margin-bottom: 16px; }
.not-found p { color: var(--text-body); margin-bottom: 32px; }

/* ---------- Pie ---------- */
.site-footer { padding-top: 56px; padding-bottom: 40px; }
.site-footer__top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  border-bottom: 1px solid var(--border); padding-bottom: 36px; margin-bottom: 24px;
}
.site-footer__brand img { height: 76px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { font-size: 0.875rem; color: var(--text-muted); max-width: 280px; line-height: 1.6; }
.site-footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.site-footer h2 { font-size: 0.875rem; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; color: var(--text-muted); }
.site-footer ul .nav-link { font-size: 0.875rem; padding: 2px 0; }
.site-footer address { font-style: normal; }
.site-footer__hours { font-size: 0.8125rem; color: var(--text-muted); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.site-footer__bottom p { font-size: 0.8125rem; color: var(--text-muted); }
.site-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a { font-size: 0.8125rem; color: var(--text-muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Widget de WhatsApp ---------- */
.wa { position: fixed; right: 28px; bottom: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa[hidden] { display: none; }
.wa__launcher {
  cursor: pointer; border: none; padding: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(26, 127, 75, 0.45); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa__launcher:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(26, 127, 75, 0.6); }
.wa__panel {
  width: 340px; max-width: calc(100vw - 48px); height: 460px; max-height: calc(100vh - 120px);
  background: var(--surface-warm); border-radius: 14px; box-shadow: 0 18px 48px rgba(28, 43, 74, 0.28);
  overflow: hidden; display: flex; flex-direction: column;
}
.wa__panel[hidden] { display: none; }
.wa__head { background: var(--navy); padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.wa__avatar { width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa__title { flex: 1; }
.wa__name { color: var(--surface-warm); font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; }
.wa__status { color: #9fb0cc; font-size: 0.78125rem; }
.wa__close {
  cursor: pointer; border: none; background: transparent; color: var(--on-navy-muted);
  font-size: 1.5rem; line-height: 1; width: 44px; height: 44px; margin-right: -10px;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
}
.wa__close:focus-visible { outline-color: var(--surface-warm); box-shadow: none; }
.wa__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: #f3f1ec; }
.wa__msg { max-width: 85%; padding: 11px 14px; font-size: 0.875rem; line-height: 1.5; }
.wa__msg--bot { align-self: flex-start; background: var(--surface-warm); color: var(--text); border-radius: 12px 12px 12px 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.wa__msg--user { align-self: flex-end; background: var(--navy); color: var(--surface-warm); border-radius: 12px 12px 2px 12px; }
.wa__foot { padding: 14px 16px; background: var(--surface-warm); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.wa__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.wa__topics[hidden] { display: none; }
.wa__topic {
  cursor: pointer; border: none; font-family: inherit; background: var(--bg-alt); color: var(--navy);
  font-size: 0.8125rem; font-weight: 600; padding: 9px 12px; min-height: 36px; border-radius: 16px;
  transition: background 0.2s ease;
}
.wa__topic:hover { background: #e0dccf; }
.wa__cta {
  text-decoration: none; background: var(--wa); color: #fff; padding: 12px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.90625rem;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s ease;
}
.wa__cta:hover { background: var(--wa-hover); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav, .site-nav__list { gap: 20px; }
}

@media (max-width: 960px) {
  :root { --gutter: 28px; }
  .hero, .split, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .split > :first-child, .about-grid > :first-child { order: 2; }
  .card-grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .stats__grid li + li { border-left: none; padding-left: 0; }
  .values .card-grid--3 { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 56px 1fr; padding: 28px; }
  .hero h1 { font-size: 2.5rem; }

  /* Menú móvil (solo con JavaScript; sin JS el menú se muestra completo) */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(28, 43, 74, 0.12); padding: 8px var(--gutter) 24px;
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.0625rem; }
  .js .lang-switch { border-left: none; padding: 16px 0; }
  .js .lang-switch a { padding: 10px 12px; font-size: 0.9375rem; }
  .js .site-nav .btn { text-align: center; }
  .site-header__logo img { height: 64px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .card-grid--3, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .hero h1 { font-size: 2rem; }
  .page-head h1, .contact-head h1, .about h1, .legal-page h1, .not-found h1 { font-size: 1.875rem; }
  .section-head h2, .section-title { font-size: 1.75rem; }
  .split h2, .cta-band h2 { font-size: 1.625rem; }
  .media--hero, .media--split, .media--about { height: 260px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .card, .values .card { padding: 28px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .wa { right: 16px; bottom: 16px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-top: none; }
  .legal tr { border-top: 1px solid var(--border); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .wa, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; }
}
