/* Cascade order is intentional: foundations first, reusable components last. */
@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; }
  h1, h2, h3, p { margin-top: 0; }
  button, input, select, textarea { font: inherit; }
  button { cursor: pointer; }
  img, video, svg:not(.icon) { max-width: 100%; }
  [hidden] { display: none !important; }
}

@layer tokens {
  :root {
    --ink: #101c30;
    --ink-soft: #18263d;
    --ink-muted: #2d3a4f;
    --paper: #f7f5f1;
    --white: #fff;
    --red: #df3027;
    --red-dark: #ba241e;
    --red-wash: #fff1ef;
    --text: #172235;
    --muted: #647084;
    --line: #d7dce3;
    --font-heading: "Manrope", "PT Sans", sans-serif;
    --font-body: "PT Sans", "Manrope", sans-serif;
    --h1: clamp(2.25rem, 7vw, 5rem);
    --h2: clamp(1.8rem, 4.5vw, 3rem);
    --h3: 1.15rem;
    --radius-card: 3px;
    --radius-button: 2px;
    --shadow-card: 0 14px 35px rgba(16, 28, 48, .13);
    --space-1: .5rem;
    --space-2: .875rem;
    --space-3: 1.25rem;
    --space-4: 1.75rem;
    --space-5: clamp(2rem, 5vw, 3.5rem);
    --space-6: clamp(3.25rem, 8vw, 5.5rem);
    --space-7: clamp(4rem, 9vw, 6rem);
    --space-8: clamp(5rem, 10vw, 7rem);
    --space-9: clamp(6rem, 12vw, 8rem);
    --z-actions: 25; --z-header: 30; --z-drawer: 40;
    --shell: 1180px;
    --grid-gap: 1.25rem;
    --icon-xs: 16px;
    --icon-sm: 18px;
    --icon-md: 20px;
    --icon-lg: 24px;
    --icon-xl: 32px;
    --icon-2xl: 48px;
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
  body {
    min-width: 320px;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  body.menu-open { overflow: hidden; }
  h1, h2, h3 { color: var(--ink); font-family: var(--font-heading); line-height: 1.1; }
  h1 { margin-bottom: var(--space-3); font-size: var(--h1); letter-spacing: -.045em; }
  h2 { margin-bottom: var(--space-3); font-size: var(--h2); letter-spacing: -.035em; }
  h3 { margin-bottom: var(--space-2); font-size: var(--h3); }
  a { color: inherit; text-decoration: none; }
  button, input, select, textarea { font-size: max(16px, 1rem); }
  textarea { resize: vertical; }
  :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
}

@layer layout {
  .shell { width: min(calc(100% - 2 * clamp(1rem, 4vw, 2rem)), var(--shell)); margin-inline: auto; }
  .narrow { max-width: 760px; }
  .hero-grid, .quiz-layout, .split-section { display: grid; gap: var(--space-4); }
  .hero-grid > *, .quiz-layout > *, .split-section > *, .steps-grid > *, .procedure-grid > *, .benefit-grid > *, .team-grid > *, .contact-grid > *, .field-grid > *, .choice-grid > *, .footer-grid > * { min-width: 0; }
  .hero-grid { gap: var(--space-5); padding-block: var(--space-6); }
  .quiz-section, .content-section, .final-cta { padding-block: var(--space-6); }
  .steps-grid, .procedure-grid, .benefit-grid, .team-grid, .contact-grid { display: grid; gap: var(--grid-gap); }
  .field-grid, .choice-grid { display: grid; gap: .7rem; }
  .split-section { align-items: center; }
  .footer-grid { display: grid; gap: 1.75rem; }

  @media (min-width: 480px) {
    .choice-grid, .segmented, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 768px) {
    .field-grid, .steps-grid, .procedure-grid, .benefit-grid, .team-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  }
  @media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.25fr .75fr; min-height: 480px; align-items: center; }
    .quiz-layout { grid-template-columns: .75fr 1.25fr; align-items: start; }
    .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .procedure-grid, .benefit-grid, .team-grid, .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.35fr .8fr 1fr 1.3fr; }
  }
  @media (min-width: 1280px) {
    .shell { width: min(calc(100% - 4rem), var(--shell)); }
  }
}

@layer components {
  /* Header, navigation and persistent mobile actions */
  .site-header { position: sticky; top: 0; z-index: var(--z-header); border-bottom: 2px solid var(--red); background: rgba(16, 28, 48, .97); box-shadow: 0 5px 17px rgba(0, 0, 0, .16); }
  .header-row { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: .5rem; }
  .brand { display: inline-flex; align-items: center; gap: .45rem; color: var(--white); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
  .brand-mark { display: inline-grid; width: 27px; height: 31px; flex: none; place-items: center; clip-path: polygon(50% 0, 100% 15%, 100% 72%, 50% 100%, 0 72%, 0 15%); border: 1px solid var(--white); color: var(--white); font-size: .9rem; font-weight: 800; }
  .brand-red { color: var(--red); }
  .brand small { display: none; color: #bbc5d2; font-family: var(--font-body); font-size: .54rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .site-nav, .header-phone, .button.header-cta { display: none; }
  .site-nav { align-items: center; gap: 1rem; color: #d8dee7; font-size: .9rem; }
  .header-tools { display: flex; align-items: center; gap: .4rem; }
  .header-phone { align-items: center; color: var(--white); font-family: var(--font-heading); font-size: .84rem; font-weight: 700; white-space: nowrap; }
  .language-switch { display: flex; width: max-content; border: 1px solid #526075; padding: 2px; }
  .language-switch a { display: grid; min-height: 32px; place-items: center; padding: .25rem .38rem; color: #d5dce6; font-size: .68rem; white-space: nowrap; }
  .language-switch .is-current { background: var(--red); color: var(--white); }
  .nav-toggle { display: inline-grid; width: 44px; height: 44px; flex: none; place-items: center; border: 0; background: transparent; color: var(--white); }
  .nav-toggle .icon { --icon-size: var(--icon-lg); }
  .mobile-drawer { position: fixed; inset: 0 0 0 auto; z-index: var(--z-drawer); width: min(90vw, 360px); height: 100vh; height: 100dvh; overflow-y: auto; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: -16px 0 35px rgba(0, 0, 0, .3); }
  .mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
  .mobile-drawer nav { display: grid; border-top: 1px solid #526075; }
  .mobile-drawer nav a { display: flex; min-height: 52px; align-items: center; border-bottom: 1px solid #526075; color: var(--white); font-family: var(--font-heading); font-weight: 700; }
  .mobile-drawer .language-switch { margin-top: 1.5rem; }
  .mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: var(--z-actions); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid #334158; background: rgba(11, 20, 35, .98); box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); }
  .mobile-actions a { display: grid; min-height: 44px; place-items: center; align-content: center; gap: 1px; color: var(--white); font-family: var(--font-heading); font-size: .62rem; font-weight: 700; line-height: 1.2; text-align: center; }
  .mobile-actions .icon { --icon-size: 22px; color: var(--red); }

  .button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--red); border-radius: var(--radius-button); background: var(--red); color: var(--white); padding: .62rem 1.05rem; font-family: var(--font-heading); font-size: .8rem; font-weight: 800; letter-spacing: .01em; text-align: center; transition: background-color .2s, border-color .2s, color .2s; }
  .button-small { min-height: 36px; padding: .4rem .6rem; font-size: .65rem; }
  .button-ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
  .button:disabled { cursor: wait; opacity: .7; }

  /* Hero and content sections */
  .hero { overflow: hidden; border-bottom: 4px solid var(--red); background: var(--ink); color: var(--white); }
  .hero h1 { color: var(--white); }
  .hero-text { max-width: 575px; color: #d5dce6; font-size: 1.1rem; }
  .eyebrow { color: var(--red); font-family: var(--font-heading); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .hero-note { display: flex; align-items: center; gap: .5rem; margin: .85rem 0 0; color: #b9c4d3; font-size: .87rem; }
  .hero-note .icon { color: var(--red); }
  .hero-panel { position: relative; min-height: 228px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .36); background: linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015)); padding: 1.75rem; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .025); }
  .hero-panel::after { position: absolute; right: -65px; bottom: -90px; width: 240px; height: 240px; border: 34px solid rgba(223, 48, 39, .82); border-radius: 50%; content: ""; }
  .legal-line { width: 50px; height: 4px; margin-bottom: 2.3rem; background: var(--red); }
  .panel-kicker { color: var(--white); font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
  .hero-panel p:not(.panel-kicker) { position: relative; z-index: 1; margin: .65rem 0; font-family: var(--font-heading); font-weight: 700; }
  .quiz-section, .team-preview { background: var(--white); }
  .section-heading { margin-bottom: var(--space-4); }
  .section-heading p:not(.eyebrow) { max-width: 590px; margin-bottom: 0; color: var(--muted); }
  .section-heading.centered p:not(.eyebrow) { margin-inline: auto; }
  .section-ink { background: var(--ink); }
  .section-ink h2, .section-ink h3 { color: var(--white); }
  .page-hero { padding: var(--space-6) 0 var(--space-5); border-bottom: 4px solid var(--red); background: var(--ink); }
  .page-hero h1 { color: var(--white); }
  .page-hero p:not(.eyebrow) { color: #d2d9e3; font-size: 1.12rem; }
  .copy-block { font-size: 1.1rem; }
  .prose h2 { margin-top: 2rem; font-size: 1.5rem; }
  .not-found { display: grid; min-height: 60vh; min-height: 60dvh; place-items: center; padding-block: var(--space-6); }
  .final-cta { background: var(--red); color: var(--white); }
  .final-cta h2, .final-cta p { color: var(--white); }
  .final-cta .button { border-color: var(--ink); background: var(--ink); }

  /* Quiz and contact forms, including JS-generated states */
  .quiz-card, .contact-form-card { min-width: 0; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 20px; background: linear-gradient(145deg, var(--white), var(--paper)); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow-card); }
  .section-ink .contact-form-card h2 { color: var(--ink); }
  .quiz-card .button, .contact-form-card .button { min-height: 56px; }
  .quiz-reassurance, .quiz-hint { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; }
  .quiz-reassurance .icon { color: var(--red); }
  .choice-card { transition: transform .2s, border-color .2s, background-color .2s, box-shadow .2s; }
  .choice-card strong, .choice-card small { display: block; }
  .choice-card small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
  .choice-card:has(input:checked) { box-shadow: 0 0 0 2px rgba(223, 48, 39, .14); }
  @media (hover: hover) { .choice-card:hover { transform: translateY(-2px); } }
  @media (max-width: 479px) { .quiz-actions, .quiz-actions .button, .contact-form-card .button, #booking-submit, #booking-button { width: 100%; } }
  .quiz-progress-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; color: var(--muted); font-family: var(--font-heading); font-size: .75rem; font-weight: 700; }
  .progress-track { height: 6px; overflow: hidden; background: #d8dde4; }
  .progress-track span { display: block; width: 20%; height: 100%; background: var(--red); transition: width .3s ease; }
  #quiz-content { padding: 1.5rem 0 1.1rem; }
  #quiz-content.step-enter { animation: step-in .24s ease-out; }
  #quiz-content > h3 { font-size: 1.4rem; }
  #quiz-content > .choice-grid { margin-bottom: 1rem; }
  .field-label, fieldset { display: block; min-width: 0; margin: 0 0 1rem; border: 0; padding: 0; color: var(--ink); font-family: var(--font-heading); font-size: .83rem; font-weight: 800; }
  legend { max-width: 100%; margin-bottom: .6rem; padding: 0; }
  .input-shell { display: flex; min-height: 54px; align-items: center; gap: .6rem; margin-top: .35rem; border: 1px solid #b6bfcb; border-radius: var(--radius-card); background: var(--white); padding: 0 .8rem; color: var(--muted); box-shadow: 0 2px 5px rgba(16, 28, 48, .04); }
  .input-shell:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(223, 48, 39, .18); }
  .input-shell:has([aria-invalid="true"]) { border-color: #b51f1a; }
  .input-shell input, .input-shell textarea { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); padding: .75rem 0; }
  .textarea-shell { align-items: flex-start; padding-top: .7rem; }
  .textarea-shell textarea { min-height: 110px; }
  .phone-prefix { flex: none; padding-right: .6rem; border-right: 1px solid var(--line); color: var(--ink); font-family: var(--font-heading); font-size: 1rem; white-space: nowrap; }
  .phone-national { letter-spacing: .03em; }
  .field-error { display: block; min-height: 1.15em; padding-top: .25rem; color: #b51f1a; font-size: .78rem; font-weight: 700; }
  .segmented { display: grid; gap: .4rem; }
  .segment, .choice-card { position: relative; border: 1px solid #cfd5dd; background: var(--white); color: var(--text); font-family: var(--font-body); cursor: pointer; }
  .segment { display: grid; min-height: 50px; place-items: center; border-radius: 999px; padding: .45rem .75rem; font-size: .9rem; text-align: center; }
  .segment input, .choice-card input, .consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .segment:has(input:checked) { border-color: var(--red); background: var(--red); color: var(--white); box-shadow: 0 5px 13px rgba(223, 48, 39, .2); }
  .segment:has(input:focus-visible), .choice-card:has(input:focus-visible), .consent input:focus-visible + .consent-box { outline: 3px solid var(--red); outline-offset: 3px; }
  .choice-card { display: flex; min-height: 80px; align-items: center; gap: .75rem; border-radius: var(--radius-card); padding: .8rem; font-size: .95rem; font-weight: 400; }
  .choice-card:has(input:checked) { border-color: var(--red); background: var(--red-wash); }
  .choice-check { display: none; flex: none; margin-left: auto; color: var(--red); }
  .choice-check .icon { --icon-size: var(--icon-md); }
  .choice-card:has(input:checked) .choice-check { display: block; }
  .consent { position: relative; display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); font-size: .86rem; cursor: pointer; }
  .consent-box { display: grid; width: 20px; height: 20px; flex: none; place-items: center; margin-top: .15rem; border: 1px solid #aab4c2; border-radius: 2px; color: transparent; }
  .consent input:checked + .consent-box { border-color: var(--red); background: var(--red); color: var(--white); }
  .consent a { color: var(--red-dark); text-decoration: underline; }
  .honeypot { position: absolute; left: -10000px; }
  .quiz-actions { display: flex; justify-content: space-between; gap: .75rem; }
  .quiz-actions .button { flex: 1; }
  .form-error, .form-success { min-height: 1.4em; margin: .5rem 0; font-size: .87rem; font-weight: 700; }
  .form-error { color: #b51f1a; }
  .form-success { color: #167442; }
  .is-loading { position: relative; color: transparent !important; pointer-events: none; }
  .is-loading::after { position: absolute; width: 17px; height: 17px; border: 2px solid var(--white); border-right-color: transparent; border-radius: 50%; content: ""; animation: spin .7s linear infinite; }
  .result-card, .received-card { border-left: 4px solid var(--red); background: var(--white); padding: 1.25rem; }
  .result-card h3, .received-card h3 { font-size: 1.55rem; }
  .result-note, .disclaimer { background: var(--red-wash); padding: .8rem; color: #5d2825; font-size: .88rem; }
  .success-mark { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: .75rem; border-radius: 50%; background: var(--red); color: var(--white); animation: check-in .35s ease-out; }

  /* Cards, tiles and supporting content */
  .icon-badge { display: grid; width: var(--badge-size, 56px); height: var(--badge-size, 56px); flex: none; place-items: center; border-radius: var(--radius-badge, 16px); background: var(--accent-soft, var(--red-wash)); color: var(--accent, var(--red)); }
  .icon-badge .icon { --icon-size: 28px; }
  .choice-card .icon-badge { --badge-size: 56px; }
  .choice-card .icon-badge .icon { --icon-size: 28px; }
  .step-card { border-top: 3px solid var(--red); background: var(--white); padding: 1.25rem; box-shadow: 0 5px 14px rgba(16, 28, 48, .07); }
  .step-card > span:not(.icon-badge), .procedure-number { color: var(--red); font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; }
  .step-card > .icon-badge { margin-bottom: .6rem; }
  .step-card p, .procedure-card p, .team-card p, .contact-card p { margin-bottom: 0; color: var(--muted); }
  .procedure-card { min-height: 210px; border: 1px solid #445066; border-top: 4px solid var(--red); background: var(--ink-soft); padding: 1.4rem; }
  .procedure-card p { color: #d2d9e4; }
  .procedure-icon { display: grid; width: 56px; height: 56px; place-items: center; margin: 1rem 0; border-radius: var(--radius-badge, 16px); background: rgba(223, 48, 39, .14); color: var(--red); }
  .procedure-icon .icon { --icon-size: 28px; }
  .procedure-card.bordered { border-color: var(--line); border-top-color: var(--red); background: var(--white); }
  .procedure-card.bordered h2 { font-size: 1.35rem; }
  .procedure-card.bordered p { color: var(--muted); }
  .benefit { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid var(--line); padding: .7rem 0; color: var(--ink); font-family: var(--font-heading); font-weight: 700; }
  .team-placeholder { display: grid; min-height: 205px; place-content: center; justify-items: center; background: var(--ink); color: var(--white); text-align: center; box-shadow: var(--shadow-card); }
  .team-placeholder .brand-mark { width: 45px; height: 52px; font-size: 1.3rem; }
  .team-placeholder p { color: #ced5df; }
  .text-link { color: var(--red-dark); font-family: var(--font-heading); font-size: .85rem; font-weight: 800; text-decoration: underline; }
  .faq-item { border-bottom: 1px solid #526075; padding: 1rem 0; }
  .faq-item summary { position: relative; padding-right: 1.5rem; color: var(--white); cursor: pointer; font-family: var(--font-heading); font-weight: 700; list-style: none; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { position: absolute; right: 0; color: var(--red); font-size: 1.35rem; content: "+"; }
  .faq-item[open] summary::after { content: "−"; }
  .faq-item p { margin: .85rem 0 0; color: #d1d8e2; }
  .values-card { border-top: 4px solid var(--red); background: var(--white); padding: 1.5rem; box-shadow: var(--shadow-card); }
  .values-card ul { margin-bottom: 0; padding-left: 1.15rem; }
  .values-card li { margin: .65rem 0; }
  .team-card, .contact-card { min-width: 0; border: 1px solid var(--line); border-top: 4px solid var(--red); background: var(--white); padding: 1.35rem; }
  .team-card h2 { font-size: 1.35rem; }
  .team-avatar { display: grid; width: 60px; height: 60px; place-items: center; margin-bottom: 1rem; background: var(--ink); color: var(--white); font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
  .contact-label { display: block; margin-bottom: .35rem; color: var(--red); font-family: var(--font-heading); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .contact-card > a, .contact-card > p { display: flex; align-items: flex-start; gap: .5rem; }
  .contact-card > a { color: var(--ink); font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; }
  .map-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
  .map-links a { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; border: 1px solid var(--line); padding: .35rem .55rem; color: var(--ink); font-size: .78rem; font-weight: 700; }
  .map-links .icon { --icon-size: var(--icon-sm); }

  /* Footer reserves room for the fixed action bar on small screens. */
  .site-footer { padding: 2.5rem 0 calc(6.5rem + env(safe-area-inset-bottom)); background: #0b1423; color: #c4ceda; }
  .footer-brand { font-size: 1.45rem; }
  .site-footer p { margin: .45rem 0 0; color: #aeb9c8; font-size: .88rem; }
  .footer-section { display: grid; align-content: start; gap: .55rem; min-width: 0; }
  .footer-section h2 { margin: 0 0 .25rem; color: var(--white); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
  .footer-section a, .footer-contacts > p { display: flex; align-items: flex-start; gap: .5rem; }
  .footer-contacts > p { margin: 0; }
  .footer-contacts .icon { --icon-size: var(--icon-md); color: var(--red); }
  .socials { display: flex; gap: .55rem; margin-top: 1rem; }
  .socials a { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #526075; color: var(--white); }
  .socials .icon { --icon-size: 22px; }
  .site-footer .map-links a { border-color: #526075; color: var(--white); }
  .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 2rem; border-top: 1px solid #334158; padding-top: 1.25rem; color: #aeb9c8; font-size: .78rem; }
  .footer-bottom .language-switch { margin-left: auto; }

  /* Standalone admin pages */
  .admin-body { min-height: 100vh; min-height: 100dvh; background: var(--paper); }
  .admin-login { display: grid; min-height: 100vh; min-height: 100dvh; place-items: center; padding: 1rem; }
  .admin-card { width: min(100%, 410px); border-top: 4px solid var(--red); background: var(--white); padding: 2rem; box-shadow: var(--shadow-card); }
  .admin-card .brand { margin-bottom: 1.5rem; color: var(--ink); }
  .admin-card h1 { font-size: var(--h2); }
  .admin-card label { display: block; margin-bottom: 1rem; font-family: var(--font-heading); font-weight: 700; }
  .admin-card input:not([type="hidden"]), .admin-filters input:not([type="hidden"]), .admin-filters select, .lead-form select, .lead-form textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #b6bfcb; border-radius: var(--radius-card); background: var(--white); padding: .55rem .7rem; color: var(--text); }
  .admin-card label input { display: block; margin-top: .35rem; }
  .admin-card .button { width: 100%; }
  .admin-shell { width: min(calc(100% - 2rem), 1450px); margin-inline: auto; padding: 1.5rem 0; }
  .admin-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
  .admin-header .brand { color: var(--ink); }
  .admin-header nav { display: flex; flex-wrap: wrap; gap: .5rem; }
  .admin-filters { display: grid; gap: .65rem; margin-bottom: 1.25rem; }
  .admin-table-wrap { overflow-x: auto; background: var(--white); box-shadow: var(--shadow-card); }
  .admin-table-wrap table { width: 100%; min-width: 980px; border-collapse: collapse; }
  .admin-table-wrap th, .admin-table-wrap td { border-bottom: 1px solid var(--line); padding: .8rem; vertical-align: top; text-align: left; }
  .admin-table-wrap th { background: var(--ink); color: var(--white); font-family: var(--font-heading); font-size: .77rem; text-transform: uppercase; }
  .admin-table-wrap td { font-size: .9rem; }
  .lead-form { display: grid; min-width: 220px; gap: .45rem; }
  .lead-form textarea { min-height: 70px; }
  .lead-form pre { max-width: 300px; overflow: auto; white-space: pre-wrap; font-size: .72rem; }

  @keyframes step-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes check-in { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

  @media (max-width: 479px) {
    .header-tools > .language-switch { display: none; }
    .icon-badge { --badge-size: 48px; }
    .icon-badge .icon { --icon-size: var(--icon-lg); }
  }
  @media (min-width: 480px) {
    .procedure-icon { width: 64px; height: 64px; }
    .procedure-icon .icon { --icon-size: 32px; }
  }
  @media (min-width: 768px) {
    .button.header-cta { display: inline-flex; }
    .admin-filters { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) auto auto; }
  }
  @media (min-width: 1024px) {
    .site-nav { display: flex; }
    .nav-toggle { display: none; }
    .mobile-actions { display: none; }
    .site-footer { padding-bottom: 2.5rem; }
  }
  @media (min-width: 1280px) {
    .brand small { display: inline-flex; }
    .header-phone { display: inline-flex; }
  }
  @media (hover: hover) {
    .button:hover { border-color: var(--red-dark); background: var(--red-dark); }
    .button-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
    .site-nav a:hover, .site-footer a:hover { color: var(--white); }
    .choice-card:hover, .segment:hover { border-color: var(--red); }
    .socials a:hover { border-color: var(--red); color: var(--red); }
    .final-cta .button:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
  }
}

@layer utilities {
  .centered { text-align: center; }
  .icon { display: inline-block; width: var(--icon-size, var(--icon-md)); height: var(--icon-size, var(--icon-md)); flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .icon--fill { fill: currentColor; stroke: none; }
  .icon--xs { --icon-size: var(--icon-xs); }
  .icon--sm { --icon-size: var(--icon-sm); }
  .icon--lg { --icon-size: var(--icon-lg); }
  .icon--xl { --icon-size: var(--icon-xl); }
  .icon--2xl { --icon-size: var(--icon-2xl); }
  .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
  }
}
