/* ==========================================================================
   Oleb | One Legal Boutique — styles.css
   --------------------------------------------------------------------------
   The single stylesheet of the static oleblegal.com rebuild.
   Every value is taken from the live site (its compiled Tailwind v4 CSS,
   computed styles at 390 px and 1440 px, and full-page screenshots), then
   rewritten as plain, maintainable CSS. Markup contract: _build/COMPONENTS.md.
   JS hooks (classes/attributes toggled by js/main.js) are marked "JS:".

   Contents
   1. Fonts
   2. Design tokens
   3. Reset & base
   4. Layout
   5. Components
      5.1  Skip link
      5.2  Buttons & text links
      5.3  Site header & desktop navigation
      5.4  Mobile navigation
      5.5  Section typography (section title, title, lead, signature)
      5.6  Hero
      5.7  Image frames & mobile peek strip
      5.8  Section parts (about, why, services, contact)
      5.9  "Nuestra esencia" pills
      5.10 Service cards
      5.11 Consent-gated embeds (calendar, map)
      5.12 Contact form
      5.13 Contact details
      5.14 FAQ accordion
      5.15 Site footer
      5.16 Cookie banner
      5.17 Legal pages (prose, tables)
      5.18 Scroll reveal
      5.19 Error page (404)
      5.20 Service pages
   6. Utilities
   7. Responsive rules, reduced motion, print

   Breakpoints (mobile-first, min-width):
     25.0625rem  401px   small phones and up      (live: <=400 rules)
     40.0625rem  641px   large phones / tablets    (live: <=640 rules)
     48rem       768px   md: desktop navigation
     64rem      1024px   lg: two-column layouts
     90.0625rem 1441px   wide screens             (live: >=1441 rules)
   ========================================================================== */


/* ==========================================================================
   1. Fonts
   Spectral, self-hosted (latin + latin-ext subsets). Only the faces the site
   renders are declared: 400, 500, 600, 700 and 400 italic. Bold / semibold
   italics are synthesised from 400 italic, exactly as on the live site.
   ========================================================================== */

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-400-normal.woff2") format("woff2");
  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: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-500-normal.woff2") format("woff2");
  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: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-600-normal.woff2") format("woff2");
  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: "Spectral";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-700-normal.woff2") format("woff2");
  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: "Spectral";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/spectral-latin-400-italic.woff2") format("woff2");
  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;
}


/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
  /* ---- Colour: brand palette ------------------------------------------- */
  --color-plum: #3a242b;        /* headings, dark sections, footer, banner */
  --color-copper: #af6e41;      /* accent text, primary buttons, borders   */
  --color-sand: #ecebe8;        /* page background, light text on plum     */
  --color-ink: #0a0a0a;         /* running body copy                        */
  --color-white: #fff;          /* popovers, mobile menu, legal header     */

  /* ---- Colour: neutrals & system --------------------------------------- */
  --color-border: #e5e5e5;      /* card outline, FAQ dividers, menu edge   */
  --color-muted: #737373;       /* FAQ chevrons                            */
  --color-ring: #a1a1a1;        /* focus ring base                         */
  --color-error: #fb2c36;       /* invalid field border (live red-500)     */
  --color-error-text: #c10007;  /* error messages (red-700, AA on sand)    */

  /* ---- Colour: alpha tints --------------------------------------------- */
  --color-plum-05: rgb(58 36 43 / 0.05);
  --color-plum-10: rgb(58 36 43 / 0.1);
  --color-plum-20: rgb(58 36 43 / 0.2);
  --color-plum-40: rgb(58 36 43 / 0.4);
  --color-plum-50: rgb(58 36 43 / 0.5);
  --color-plum-60: rgb(58 36 43 / 0.6);
  --color-plum-70: rgb(58 36 43 / 0.7);
  --color-copper-10: rgb(175 110 65 / 0.1);
  --color-copper-20: rgb(175 110 65 / 0.2);
  --color-error-20: rgb(251 44 54 / 0.2);
  --color-overlay: rgb(0 0 0 / 0.1);

  /* ---- Colour: semantic roles ------------------------------------------ */
  --color-bg-page: var(--color-sand);
  --color-bg-surface: var(--color-white);
  --color-bg-dark: var(--color-plum);
  --color-text: var(--color-ink);
  --color-text-on-dark: var(--color-sand);
  --color-heading: var(--color-plum);
  --color-impact: var(--color-copper);
  --color-button-bg: var(--color-copper);
  --color-button-text: var(--color-sand);
  --color-focus: var(--color-copper);

  /* ---- Typography ------------------------------------------------------ */
  --font-serif: "Spectral", Georgia, "Times New Roman", serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Fixed sizes */
  --fs-xs: 0.75rem;              /* 12 — legal small print, consent text   */
  --fs-sm: 0.875rem;             /* 14 — labels, cards, tables, banner     */
  --fs-base: 1rem;               /* 16 — body copy, buttons, FAQ           */
  --fs-lg: 1.125rem;             /* 18 — legal section headings           */
  --fs-xl: 1.25rem;              /* 20 — navigation links                  */
  --fs-card-subtitle: 0.9625rem; /* 15.4 — service card subtitle          */

  /* Fluid sizes: exact live values at 390 px (min) and 1440 px (max). */
  --fs-card-title: clamp(0.9625rem, 0.93rem + 0.1333vw, 1.05rem);  /* 15.4 → 16.8 */
  --fs-lead: clamp(1.1rem, 1.0629rem + 0.1524vw, 1.2rem);          /* 17.6 → 19.2 */
  --fs-title: clamp(1.3rem, 1.2629rem + 0.1524vw, 1.4rem);         /* 20.8 → 22.4 */
  --fs-hero-subtitle: var(--fs-title);                             /* 22.4       */
  --fs-section: clamp(1.8rem, 1.7257rem + 0.3048vw, 2rem);         /* 28.8 → 32   */
  --fs-display: clamp(2.6rem, 2.4514rem + 0.6095vw, 3rem);         /* 41.6 → 48   */

  --lh-tight: 1.25;      /* hero title          */
  --lh-base: 1.5;        /* everything else     */
  --lh-relaxed: 1.625;   /* form small print    */
  --lh-xs: 1.3333;       /* 16 / 12             */
  --lh-sm: 1.428571;     /* 20 / 14 (cards too) */
  --lh-lg: 1.5556;       /* 28 / 18             */
  --lh-xl: 1.4;          /* 28 / 20             */

  /* ---- Spacing (4 px grid, Tailwind steps used by the live site) ------- */
  --space-1: 0.25rem;    /*   4 */
  --space-2: 0.5rem;     /*   8 */
  --space-3: 0.75rem;    /*  12 */
  --space-4: 1rem;       /*  16 */
  --space-5: 1.25rem;    /*  20 */
  --space-6: 1.5rem;     /*  24 */
  --space-8: 2rem;       /*  32 */
  --space-10: 2.5rem;    /*  40 */
  --space-14: 3.5rem;    /*  56 */
  --space-15: 3.75rem;   /*  60 */
  --space-16: 4rem;      /*  64 */
  --space-20: 5rem;      /*  80 */
  --space-25: 6.25rem;   /* 100 */

  /* ---- Radii ----------------------------------------------------------- */
  --radius-lg: 0.625rem;   /* 10 — buttons, nav links, FAQ card, tables */
  --radius-xl: 0.875rem;   /* 14 — inputs, textarea, pill popover       */
  --radius-2xl: 1.125rem;  /* 18 — images, service cards, embeds         */
  --radius-full: 9999px;   /* pills, cookie buttons                      */

  /* ---- Shadows --------------------------------------------------------- */
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-card-inset: inset 4px 4px 8px rgb(0 0 0 / 0.1), inset -4px -4px 8px rgb(255 255 255 / 0.8);
  --shadow-ring: 0 0 0 3px rgb(161 161 161 / 0.5);
  --shadow-ring-error: 0 0 0 3px var(--color-error-20);

  /* ---- Layout ---------------------------------------------------------- */
  --container-max: 87.5rem;    /* 1400 */
  --gutter: 1.8rem;            /* 28.8 up to 640 px · 60 to 1440 px · 24 above */
  --scroll-offset: 4.375rem;   /* 70 — anchor offset under the fixed header */
  --measure-hero: 42rem;       /* 672 — hero title            */
  --measure-text: 36rem;       /* 576 — hero subtitle, "why"  */
  --measure-about: 32rem;      /* 512 — "about" text column   */
  --logo-w: 6.25rem;           /* 100 — 120 × 64 from lg      */

  /* ---- Motion ---------------------------------------------------------- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;      /* hover, colour changes        */
  --dur-base: 300ms;      /* cards, chevrons, menu close  */
  --dur-sheet: 500ms;     /* mobile menu open             */
  --dur-slow: 1000ms;     /* peek strip                   */
  --dur-reveal: 700ms;    /* scroll reveal                */

  /* ---- Layers ---------------------------------------------------------- */
  --z-raised: 10;
  --z-header: 50;
  --z-nav: 60;
  --z-banner: 999;
  --z-skip: 1000;
}


/* ==========================================================================
   3. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;
  font-family: var(--font-serif);
  line-height: var(--lh-base);
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--color-bg-page);
  color: var(--color-text);
  font-size: var(--fs-base);
}

/* JS: main.js adds .nav-open while the mobile menu is open. */
body.nav-open {
  overflow: hidden;
}

/* JS: while the cookie banner is visible, keep the page end reachable. */
html.cookie-banner-open body {
  padding-bottom: var(--cookie-banner-height, 0px);
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

p, h1, h2, h3, h4, h5, h6, li, dd {
  overflow-wrap: break-word;
}

b,
strong {
  font-weight: var(--fw-bold);
}

ul,
ol,
menu {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img, svg, video, canvas, picture, iframe {
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

::placeholder {
  opacity: 1;
  color: var(--color-plum-40);
}

table {
  border-collapse: collapse;
  text-indent: 0;
}

address {
  font-style: normal;
}

/* The hidden attribute always wins (disclosure panels, banner, notes). */
[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

::selection {
  background-color: var(--color-copper);
  color: var(--color-white);
}

/* Anchor targets clear the fixed header (live: 70px). */
section[id],
[data-anchor] {
  scroll-margin-top: var(--scroll-offset);
}

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


/* ==========================================================================
   4. Layout
   ========================================================================== */

/* ---- Container (live .page-container) ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Home sections -------------------------------------------------------
   Each section reads three custom properties. The values per breakpoint
   are the live site's (see section 7 for the overrides).               */
.section {
  display: flow-root;
  margin-top: var(--section-mt, 0);
  padding-top: var(--section-pt, 0);
  padding-bottom: var(--section-pb, 0);
}

.section--about    { --section-mt: 5rem;     --section-pb: 1.25rem; }
.section--why      { --section-mt: 5rem;     --section-pb: 0.3125rem; }
.section--schedule { --section-pb: 0.3125rem; }
.section--contact  { --section-mt: 1.875rem; --section-pt: 3.75rem; --section-pb: 1.25rem; }

/* Services: sand-texture background with the live 55 % sand wash on top. */
.section--services {
  --section-mt: 2.5rem;
  --section-pt: 3.75rem;
  --section-pb: 1.25rem;
  position: relative;
  background: var(--color-bg-page) url("../assets/img/textura-arena-768.webp") center / cover no-repeat;
}

.section--services::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-sand);
  opacity: 0.55;
  pointer-events: none;
}

.section--services > * {
  position: relative;
  z-index: 1;
}

/* FAQ: dark plum band, at least one viewport tall, content centred. */
.section--faq {
  --section-pt: 3.75rem;
  --section-pb: 3.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

/* ---- Split: the two-column layout of about / why / services / schedule /
   contact. A single column below lg, a two-column grid from lg.          */
.split {
  display: flex;
  flex-direction: column;
  gap: var(--split-gap, var(--space-8));
}

.split--about    { --split-gap: var(--space-15); }  /* 60 */
.split--why      { --split-gap: var(--space-8); }   /* 32 */
.split--services { --split-gap: var(--space-14); }  /* 56 */
.split--schedule { --split-gap: var(--space-8); }   /* 32 */
.split--contact  { --split-gap: var(--space-16); }  /* 64 */

.split__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.split__media {
  min-width: 0;
}

/* Column shown from lg only (about / why photos). */
.split__media--lg {
  display: none;
}

/* Column content pushed to the end from lg (contact: office photo). */
.split__media--end {
  display: flex;
  justify-content: center;
}


/* ==========================================================================
   5. Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   5.1 Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: var(--z-skip);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  background-color: var(--color-plum);
  color: var(--color-sand);
  font-weight: var(--fw-medium);
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  outline-color: var(--color-copper);
}


/* --------------------------------------------------------------------------
   5.2 Buttons & text links
   -------------------------------------------------------------------------- */

/* Primary button: copper, sand text, shadow-lg → shadow-xl on hover,
   1px press on active, 50 % opacity when disabled. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: fit-content;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition:
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
}

.btn:hover {
  box-shadow: var(--shadow-xl);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* JS: aria-busy="true" while the contact form is sending. */
.btn[aria-busy="true"] {
  cursor: progress;
}

/* Hero variant: plum with a 1px copper edge and white text. */
.btn--dark {
  border: 1px solid var(--color-copper);
  background-color: var(--color-plum);
  color: var(--color-white);
}

/* Inline text link (privacy link, legal links, "Volver al inicio"). */
.link {
  color: var(--color-impact);
  text-decoration: underline;
  transition: color var(--dur-fast) var(--ease);
}

.link:hover {
  color: var(--color-heading);
}


/* --------------------------------------------------------------------------
   5.3 Site header & desktop navigation
   -------------------------------------------------------------------------- */

/* Home: fixed, transparent over the hero, sand once scrolled.
   JS: main.js toggles .is-scrolled on [data-header] when scrollY > 10. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: transparent;
  transition: background-color var(--dur-fast) var(--ease);
}

.site-header.is-scrolled {
  background-color: var(--color-bg-page);
}

/* Legal pages: header in the flow on a white band. */
.site-header--static,
.site-header--static.is-scrolled {
  position: relative;
  background-color: var(--color-bg-surface);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  transition: opacity var(--dur-fast) var(--ease);
}

.site-header__logo img {
  width: var(--logo-w);
  height: auto;
  object-fit: contain;
}

/* Quick contact icons, phone header only (hidden from md). */
.site-header__quick {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Desktop navigation row (shown from md). */
.site-header__nav {
  display: none;
  align-items: center;
}

/* Hamburger (hidden from md). JS: [data-nav-toggle] with aria-expanded. */
.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: var(--color-heading);
  transition: background-color var(--dur-fast) var(--ease);
}

.site-header__toggle:hover {
  background-color: var(--color-plum-10);
}

/* Hamburger → kruis: "boring" variant uit Hamburgers v1.2.1
   (https://github.com/jonsuh/hamburgers, © Jonathan Suh, MIT-licentie),
   aangepast aan de Oleb-tokens. JS: main.js zet .is-active als het menu open is. */
.hamburger {
  padding: var(--space-3) var(--space-2);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamburger-box {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 1.3125rem;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -0.09375rem;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  width: 2rem;
  height: 0.1875rem;
  border-radius: 0.1875rem;
  background-color: currentColor;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before { top: -0.5625rem; }
.hamburger-inner::after  { bottom: -0.5625rem; }

/* Boring: direct omschakelen, zonder animatie */
.hamburger--boring.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger--boring.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.hamburger--boring.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Desktop text links */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-lg);
  color: var(--color-heading);
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease);
}

.site-nav__link:hover {
  background-color: var(--color-plum-10);
}

/* "Servicios" dropdown (desktop nav): opens on hover and on keyboard focus,
   no JS. A small caret marks the item; an invisible bridge (::after) keeps
   the menu open while the pointer moves down to it. */
.site-nav__item--sub {
  position: relative;
}

.site-nav__item--sub > .site-nav__link::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin: -0.2rem 0 0 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.site-nav__item--sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.site-subnav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  z-index: 10;
  min-width: 17rem;
  padding: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background-color: var(--color-bg-surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.25rem);
  transition:
    opacity var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    visibility 0s linear var(--dur-fast);
}

.site-nav__item--sub:hover .site-subnav,
.site-nav__item--sub:focus-within .site-subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.site-subnav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  color: var(--color-impact);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease);
}

.site-subnav__link:hover,
.site-subnav__link:focus-visible {
  background-color: var(--color-plum-10);
}

.site-subnav__link[aria-current="page"] {
  background-color: var(--color-plum-10);
  font-weight: var(--fw-semibold);
}

/* Social / contact icon list (header and mobile header) */
.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-header__nav .social-links {
  margin-left: var(--space-3);
}

.social-links__link {
  display: block;
  border-radius: 0.25rem;
  transition: opacity var(--dur-fast) var(--ease);
}

.social-links__link:hover {
  opacity: 0.75;
}

.social-links__icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mail icon is 28px in the phone header (live w-7). */
.site-header__quick .social-links__link--mail .social-links__icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* Language switch: flag linking to the counterpart page. */
.lang-switch {
  display: block;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  transition: opacity var(--dur-fast) var(--ease);
}

.lang-switch:hover {
  opacity: 0.75;
}

.lang-switch img {
  width: 1.5rem;
  height: 1.5rem;
}

.site-header__nav .lang-switch {
  margin-left: var(--space-3);
}


/* --------------------------------------------------------------------------
   5.4 Mobile navigation (off-canvas sheet from the right)
   JS: the panel (#id from the toggle's aria-controls) gets .is-open;
   links and [data-nav-close] inside it close the menu; Esc closes it.
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav);
  visibility: hidden;
  transition: visibility 0s linear var(--dur-base);
}

.mobile-nav.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}

.mobile-nav__sheet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 75%;
  max-width: 24rem;
  padding: 5.3125rem var(--space-6) var(--space-8);   /* first link where live has it */
  overflow-y: auto;
  overscroll-behavior: contain;
  border-left: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(10%);
  transition:
    transform var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease);
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
  transition-duration: var(--dur-sheet);
}

.mobile-nav.is-open .mobile-nav__sheet {
  opacity: 1;
  transform: none;
  transition-duration: var(--dur-sheet);
}

.mobile-nav__close {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-lg);
  transition: background-color var(--dur-fast) var(--ease);
}

.mobile-nav__close:hover {
  background-color: var(--color-plum-10);
}

.mobile-nav__close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav__link {
  display: block;
  padding: 0.625rem;
  border-radius: var(--radius-lg);
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: var(--fw-medium);
  transition: background-color var(--dur-fast) var(--ease);
}

.mobile-nav__link:hover {
  background-color: var(--color-plum-10);
}

/* Phone menu: the services listed under "Servicios", smaller and in copper. */
.mobile-subnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(-1 * var(--space-2)) 0 var(--space-2);
}

.mobile-subnav__link {
  display: block;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-lg);
  color: var(--color-impact);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  text-align: center;
}

.mobile-subnav__link:hover,
.mobile-subnav__link[aria-current="page"] {
  background-color: var(--color-plum-10);
}


/* --------------------------------------------------------------------------
   5.5 Section typography
   -------------------------------------------------------------------------- */

/* Upper-case section label ("SOBRE OLEB", "SERVICIOS", page titles). */
.section-title {
  margin-bottom: var(--space-5);
  color: var(--color-heading);
  font-size: var(--fs-section);
  line-height: var(--lh-base);
  font-weight: var(--fw-bold);
  text-align: center;
}

.section-title--light {
  color: var(--color-text-on-dark);
}

/* Label offsets per section (live values; changed in section 7). */
.section--services .section-title { margin-top: var(--space-5); }   /* ≤ 400px */
.section--schedule .section-title,
.section--faq .section-title      { margin-top: var(--space-10); }  /* ≤ 1440px */
.section--faq .section-title      { margin-bottom: 0; }             /* ≤ 640px */

/* Bold plum statement under the label (live .mainTitle h2). */
.title {
  margin-bottom: var(--space-2);
  color: var(--color-heading);
  font-size: var(--fs-title);
  line-height: var(--lh-base);
  font-weight: var(--fw-bold);
  text-align: left;
}

/* Copper semibold supporting line (live .main h3.text-impact). */
.lead {
  max-width: var(--measure-hero);
  margin-bottom: var(--space-2);
  color: var(--color-impact);
  font-size: var(--fs-lead);
  line-height: var(--lh-base);
  font-weight: var(--fw-semibold);
}

/* Hidden up to 640px, like the live site. */
.lead--hide-sm {
  display: none;
}

/* "One Legal Boutique" sign-off that closes every section. */
.signature {
  margin-top: var(--space-6);
  color: var(--color-heading);
  font-size: var(--fs-lead);
  line-height: var(--lh-base);
  font-weight: var(--fw-bold);
  text-align: center;
}

.section--about .signature    { margin-top: var(--space-8); }
.section--services .signature { margin-top: 0; }


/* --------------------------------------------------------------------------
   5.6 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--color-bg-page);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 20%;
  transform: scale(1.004);        /* hides the 1px dark edge baked into the photo */
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero__title {
  max-width: var(--measure-hero);
  margin-top: 12.5rem;            /* 200px on phones (live) */
  margin-bottom: var(--space-6);
  color: var(--color-heading);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  text-align: center;
}

.hero__subtitle {
  display: none;                   /* shown from 641px */
  max-width: var(--measure-text);
  color: var(--color-heading);
  font-size: var(--fs-hero-subtitle);
  line-height: var(--lh-base);
  text-align: justify;
}

.hero__actions {
  display: flex;
  justify-content: center;
  max-width: var(--measure-text);
  margin-top: var(--space-8);
}

/* Bottom sign-off: centred on phones, 60px from the right edge from lg. */
.signature--hero {
  position: absolute;
  bottom: var(--space-6);
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0;
  text-align: center;
}

/* Service pages: "QUÉ HACEMOS" / "WHAT WE DO" and its copper line, centred
   at every width. */
.service-page [aria-labelledby="scope-title"] .section-title,
.service-page [aria-labelledby="scope-title"] .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Keyword line above the hero slogan (the page's h1). */
.hero__eyebrow {
  max-width: var(--measure-hero);
  margin: 12.5rem 0 var(--space-3);  /* takes over the slogan's phone offset */
  color: var(--color-impact);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.hero__eyebrow + .hero__title { margin-top: 0; }

/* María's photo next to her description: above it (centred, max 448px) on
   phones/tablets, in the left column from lg. */
.founder__photo {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

/* Founder block (María Torroba Moreno), inside "¿Por qué Oleb?": right of
   her photo from lg, under it on smaller screens. */
.founder {
  max-width: 48rem;
  scroll-margin-top: var(--scroll-offset);
}

.founder__role {
  max-width: none;
  margin-bottom: var(--space-5);   /* same gap as under the name */
  text-align: center;   /* name and role stay centred at every width */
}

/* Justified like the about/why columns. */
.founder__body {
  text-align: justify;
}

.founder__body > p {
  margin-bottom: var(--space-5);
}

.founder__facts {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.founder__facts li {
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-copper);
}

.founder__more {
  margin-top: var(--space-6);
}

/* Recognition band under the hero (Best Lawyers, text only, no link). */
.recognition {
  padding-block: var(--space-8);
  border-block: 1px solid var(--color-copper);
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  text-align: center;
}

.recognition__eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--color-impact);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Phones: one line per part, no separator. */
.recognition__eyebrow > span:not(.recognition__sep) { display: block; }
.recognition__sep { display: none; }

.recognition__text {
  max-width: 48rem;
  margin: 0 auto;
  font-size: var(--fs-lead);
  line-height: var(--lh-base);
}


/* --------------------------------------------------------------------------
   5.7 Image frames & mobile peek strip
   -------------------------------------------------------------------------- */
.frame {
  display: block;
  width: 100%;
  border-radius: var(--radius-2xl);
  object-fit: cover;
}

.frame--tall   { max-height: 37.5rem; }     /* 600px cap (about, why) */
.frame--top    { object-position: top; }    /* keep faces in view      */
.frame--office { max-width: 30rem; }        /* 480px office building   */

/* Phones/tablets: the column photo in full (uncropped), centred and capped
   at 448px wide so it never fills a whole tablet screen. Hidden from lg,
   where the large column photo takes over. */
.peek {
  max-width: 28rem;
  margin: var(--space-6) auto 0;
  overflow: hidden;
  border-radius: var(--radius-2xl);
}

.peek img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}


/* --------------------------------------------------------------------------
   5.8 Section parts
   -------------------------------------------------------------------------- */

/* About: justified text column, CTA centred in the column. */
.about__body {
  text-align: justify;
}

.about__actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

/* Why: justified intro, "Nuestra esencia:" label, pills, CTA. */
.why__body {
  text-align: justify;
}

.why__body > p:first-child {
  margin-top: var(--space-2);
}

.why__body > p + p {
  margin-top: var(--space-4);
}

.why__label {
  margin-top: var(--space-10);
  font-weight: var(--fw-bold);
  text-align: center;
}

.why__actions {
  display: flex;
  justify-content: center;
  max-width: var(--measure-text);
  margin-top: var(--space-6);
}

/* Services: intro column + card column. */
.services__intro {
  display: flex;
  flex-direction: column;
}

.services__title {
  text-align: center;
}

.services__actions {
  display: flex;
  justify-content: center;
}

.services__cards {
  margin-top: var(--space-6);
}

/* Contact: info column (label · intro · details) + office photo. */
.contact__info {
  gap: var(--space-8);
}

.contact__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact__intro p {
  color: var(--color-heading);
  text-align: justify;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}


/* --------------------------------------------------------------------------
   5.9 "Nuestra esencia" pills
   JS: button[data-disclosure] in a [data-disclosure-item]; .is-open on the
   item; single-open via [data-disclosure-group="single"] on .pills.
   -------------------------------------------------------------------------- */
.pills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  margin-block: var(--space-4);
}

.pill {
  position: relative;
  width: 100%;
}

.pill__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-impact);
  border-radius: var(--radius-full);
  color: var(--color-impact);
  font-weight: var(--fw-medium);
  transition:
    color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.pill__toggle:hover {
  background-color: var(--color-copper-10);
}

.pill__toggle[aria-expanded="true"] {
  background-color: var(--color-impact);
  color: var(--color-white);
}

/* "+" when closed, "✕" when open — no extra markup or copy needed. */
.pill__icon {
  margin-left: var(--space-2);
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
}

.pill__icon::before {
  content: "+";
}

.pill__toggle[aria-expanded="true"] .pill__icon::before {
  content: "\2715";
}

/* In flow on phones; a 256px popover under the pill from lg. */
.pill__panel {
  margin-top: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-copper-20);
  border-radius: var(--radius-xl);
  background-color: var(--color-bg-surface);
  color: var(--color-ink);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  box-shadow: var(--shadow-sm);
}


/* --------------------------------------------------------------------------
   5.10 Service cards (pressed "neumorphic" tiles on the sand texture)
   JS: button[data-disclosure] toggles .service-card__panel; .is-open on
   the [data-disclosure-item] card.
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  margin: 0.9375rem 0 3.125rem;   /* 15px 0 50px up to 640px (live) */
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 2.5rem;
  padding: var(--space-4);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background-color: var(--color-bg-page);
  color: var(--color-ink);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  box-shadow: var(--shadow-card-inset);
  transition:
    border-color var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}

.service-card:hover,
.service-card.is-open {
  border-color: var(--color-impact);
}

.service-card__heading {
  padding-inline: var(--space-4);
}

.service-card__toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.service-card__titles {
  display: block;
}

.service-card__title {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-heading);
  font-size: var(--fs-card-title);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.service-card__subtitle {
  display: none;                   /* shown from 641px */
  color: var(--color-impact);
  font-size: var(--fs-card-subtitle);
  font-weight: var(--fw-regular);
}

.service-card__chevron {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-impact);
  transition: transform var(--dur-base) var(--ease);
}

.service-card__toggle[aria-expanded="true"] .service-card__chevron {
  transform: rotate(180deg);
}

.service-card__panel {
  padding-inline: var(--space-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

.service-card__text {
  padding-top: var(--space-4);
}


/* --------------------------------------------------------------------------
   5.11 Consent-gated embeds (booking calendar, Google Maps)
   JS: [data-consent-embed] gets an <iframe class="consent-embed__frame">
   after cookies are accepted (.is-loaded, then .is-ready on load); the
   placeholder <p> is hidden meanwhile.
   -------------------------------------------------------------------------- */
.consent-embed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--embed-height, 25rem);
  overflow: hidden;
  border: 1px solid var(--color-copper-20);
  border-radius: var(--radius-2xl);
}

.consent-embed--calendar { --embed-height: 25rem; }      /* 400px placeholder */
.consent-embed--calendar.is-loaded { --embed-height: 37.5rem; } /* 600px calendar */
.consent-embed--map { --embed-height: 12.5rem; }         /* 200px */

.consent-embed.is-ready {
  border-color: transparent;
}

.consent-embed__placeholder {
  padding-inline: var(--space-6);
  color: var(--color-plum-60);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  text-align: center;
}

.consent-embed__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* --------------------------------------------------------------------------
   5.12 Contact form
   JS hooks: aria-invalid on fields, p.form-error after a field,
   [data-recaptcha] (.is-active / .is-invalid, .recaptcha-note,
   .recaptcha-widget), [data-form-status] (data-state="success|error"),
   form.is-sent / .has-error, aria-busy on the submit button.
   -------------------------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.field__label {
  color: var(--color-heading);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: var(--fw-medium);
}

.field__optional {
  color: var(--color-plum-40);
  font-weight: var(--fw-regular);
}

.field__input,
.field__textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-plum-20);
  border-radius: var(--radius-xl);
  background-color: transparent;
  color: var(--color-heading);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  outline: none;
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

/* 32px high; 16px text on phones (no iOS zoom), 14px from md. */
.field__input {
  height: 2rem;
}

.field__textarea {
  resize: none;
}

.field__input:focus,
.field__textarea:focus {
  border-color: var(--color-impact);
}

.field__input:focus-visible,
.field__textarea:focus-visible {
  outline: none;
  box-shadow: var(--shadow-ring);
}

.field__input[aria-invalid="true"],
.field__textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

.field__input[aria-invalid="true"]:focus-visible,
.field__textarea[aria-invalid="true"]:focus-visible {
  box-shadow: var(--shadow-ring-error);
}

.field__input:disabled,
.field__textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Inline error message (JS creates p.form-error, or reuse [data-error-for]). */
.form-error {
  color: var(--color-error-text);
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
}

/* Data-protection small print */
.form-legal {
  color: var(--color-plum-50);
  font-size: var(--fs-xs);
  line-height: var(--lh-relaxed);
}

/* Privacy checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.checkbox__input {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: var(--space-1);
  accent-color: var(--color-copper);
  cursor: pointer;
}

.checkbox__input[aria-invalid="true"] {
  outline: 1px solid var(--color-error);
  outline-offset: 1px;
}

.checkbox__text {
  color: var(--color-plum-70);
  font-size: var(--fs-xs);
  line-height: var(--lh-relaxed);
}

/* reCAPTCHA slot: reserves the widget's 78px; shows a note until consent. */
.recaptcha {
  display: flex;
  align-items: center;
  min-height: 4.875rem;
}

.recaptcha-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.recaptcha-note .consent-embed__placeholder,
.recaptcha-note p {
  padding-inline: 0;
  color: var(--color-plum-60);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  text-align: left;
}

.recaptcha-note__accept {
  padding: 0.375rem var(--space-4);
  border-radius: var(--radius-full);
  background-color: var(--color-copper);
  color: var(--color-sand);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  transition: opacity var(--dur-fast) var(--ease);
}

.recaptcha-note__accept:hover {
  opacity: 0.9;
}

.recaptcha-widget {
  min-height: 4.875rem;
}

.recaptcha.is-invalid .recaptcha-widget {
  border-radius: 3px;
  outline: 1px solid var(--color-error);
  outline-offset: 2px;
}

/* Status (aria-live). Empty → takes no space. */
.form-status {
  color: var(--color-plum-70);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

.form-status:empty {
  display: none;
}

/* Programmatic focus target after a successful send. */
.form-status:focus {
  outline: none;
}

.form-status[data-state="success"],
.form-status.is-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6);
  border: 1px solid var(--color-copper-20);
  border-radius: var(--radius-2xl);
  color: var(--color-heading);
  text-align: center;
}

.form-status[data-state="error"],
.form-status.is-error {
  color: var(--color-error-text);
}

.form-status a {
  text-decoration: underline;
}

.form-status__title {
  color: var(--color-heading);
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: var(--fw-bold);
}

.form-status__again {
  margin-top: var(--space-1);
  color: var(--color-impact);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  text-decoration: underline;
}

.form-status__again:hover {
  color: var(--color-heading);
}

/* After a successful send, show only the confirmation (it carries
   the "Enviar otro mensaje" button that brings the fields back). */
.contact-form.is-sent:has(.form-status__again) > :not(.form-status) {
  display: none;
}


/* --------------------------------------------------------------------------
   5.13 Contact details (address, hours, mail & WhatsApp links)
   -------------------------------------------------------------------------- */
.contact-address {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-heading);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-list__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
  color: var(--color-heading);
  transition: opacity var(--dur-fast) var(--ease);
}

.contact-list__link:hover {
  opacity: 0.7;
}

.contact-list__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}


/* --------------------------------------------------------------------------
   5.14 FAQ accordion (sand card on the plum band)
   JS: single-open group; the first item starts open inside #faqs.
   -------------------------------------------------------------------------- */
.faq {
  margin-top: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-page);
  color: var(--color-heading);
}

.faq__item:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.faq__heading {
  display: flex;
}

.faq__trigger {
  display: flex;
  flex: 1;
  align-items: flex-start;
  justify-content: space-between;
  padding-block: 0.625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: var(--fw-medium);
  text-align: left;
}

.faq__question {
  font-weight: var(--fw-bold);
}

.faq__chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  color: var(--color-muted);
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease);
}

.faq__trigger[aria-expanded="true"] .faq__chevron {
  transform: rotate(180deg);
}

.faq__panel {
  overflow: hidden;
}

.faq__answer {
  padding-bottom: var(--space-4);
  text-align: justify;
}


/* --------------------------------------------------------------------------
   5.15 Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: var(--space-2);
  padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-3);
}

.site-footer__link {
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.site-footer__link:hover {
  text-decoration: underline;
}

/* Dark surfaces: focus outline in sand for contrast. */
.site-footer :focus-visible,
.section--faq :focus-visible,
.cookie-banner :focus-visible {
  outline-color: var(--color-sand);
}

.section--faq .faq :focus-visible {
  outline-color: var(--color-copper);
}


/* --------------------------------------------------------------------------
   5.16 Cookie banner
   JS: [data-cookie-banner] starts [hidden]; shown until a choice exists.
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-banner);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-8);
  padding-bottom: max(var(--space-4), env(safe-area-inset-bottom));
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  animation: cookie-banner-in var(--dur-base) var(--ease-out);
}

.cookie-banner__text {
  flex: 1 0 min(18.75rem, 100%);    /* live: flex 1 0 300px */
  font-size: var(--fs-sm);
  line-height: 1.5rem;
}

.cookie-banner__link {
  color: var(--color-copper);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner__btn {
  flex: 0 0 auto;
  margin: 0.9375rem;               /* 15px (live) */
  padding: var(--space-2) var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--color-sand);
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  transition:
    background-color var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
}

.cookie-banner__btn--accept {
  background-color: var(--color-copper);
}

.cookie-banner__btn--accept:hover {
  opacity: 0.9;
}

.cookie-banner__btn--reject {
  border-color: var(--color-sand);
  background-color: transparent;
}

.cookie-banner__btn--reject:hover {
  background-color: rgb(236 235 232 / 0.1);
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
}


/* --------------------------------------------------------------------------
   5.17 Legal pages (privacidad, cookies, aviso legal)
   -------------------------------------------------------------------------- */
.legal {
  padding-block: var(--space-10);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  color: var(--color-heading);
}

.prose__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.prose h2,
.prose__heading {
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-copper-20);
  color: var(--color-heading);
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: var(--fw-bold);
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: disc inside;
}

/* Long-item list (privacy 1.7 "Destinatarios"): 8px between items. */
.prose .prose__list--spaced {
  gap: var(--space-2);
}

.prose a:not([class]) {
  color: var(--color-impact);
  text-decoration: underline;
}

.prose a:not([class]):hover {
  color: var(--color-heading);
}

.legal__back {
  margin-top: var(--space-8);
}

/* Data tables (scroll sideways on narrow screens). */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-copper-20);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

.table th,
.table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
}

.table thead tr {
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.table th {
  font-weight: var(--fw-semibold);
}

.table td {
  border-top: 1px solid var(--color-copper-10);
}

.table tbody tr:nth-child(odd) {
  background-color: var(--color-bg-page);
}

.table tbody tr:nth-child(even) {
  background-color: var(--color-plum-05);
}


/* --------------------------------------------------------------------------
   5.18 Scroll reveal (live: framer-motion fade + 30px rise)
   Hidden only when <html> has .js. JS adds .is-visible (and applies
   data-reveal-delay itself). Variants: data-reveal="left" | "fade".
   Put data-reveal on wrappers, not on buttons or cards themselves.
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}

.js [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(1.875rem);
}

.js [data-reveal="left"]:not(.is-visible) {
  transform: translateX(-1.875rem);
}

.js [data-reveal="fade"]:not(.is-visible) {
  transform: none;
}


/* --------------------------------------------------------------------------
   5.19 Error page (404.html): centred code, title, text and a way home.
   body.page-error is a column, so the footer sits at the bottom of the
   viewport even though the page is short.
   -------------------------------------------------------------------------- */
.page-error {
  display: flex;
  flex-direction: column;
}

.error-page {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-20);
  color: var(--color-heading);
  text-align: center;
}

.error-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.error-page__code {
  color: var(--color-impact);
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
}

.error-page .error-page__title {
  margin: 0;
  text-align: center;
}

.error-page__text {
  max-width: var(--measure-text);
}

.error-page .btn {
  margin-top: var(--space-4);
}


/* --------------------------------------------------------------------------
   5.20 Service pages (derecho-societario.html, en/corporate-law.html)
   Reuse .section, .split, .section-title, .title, .lead, .btn, .frame,
   .pills and .faq; only the parts below are new.
   -------------------------------------------------------------------------- */
.service-page .section {
  --section-mt: 0;
  --section-pt: var(--space-10);
  --section-pb: var(--space-10);
}

.service-page .section--faq { min-height: 0; }

/* Breadcrumb under the static header. */
.breadcrumb {
  padding-top: var(--space-6);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--color-plum-70);
}

.breadcrumb li:not(:last-child)::after {
  content: "\203A";
  margin-left: var(--space-2);
  color: var(--color-impact);
}

.breadcrumb a {
  color: var(--color-impact);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-heading);
  text-decoration: underline;
}

/* Hero: title block with the card subtitle and two CTAs. */
.service-hero__title {
  text-transform: uppercase;
}

.service-hero__subtitle {
  margin-bottom: var(--space-4);
}

.service-hero__actions,
.service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* "Qué hacemos": static (non-collapsible) tiles in the service-card look. */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background-color: var(--color-bg-page);
  color: var(--color-ink);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  box-shadow: var(--shadow-card-inset);
  transition: border-color var(--dur-base) var(--ease);
}

.feature-card:hover {
  border-color: var(--color-impact);
}

.feature-card__title {
  color: var(--color-heading);
  font-size: var(--fs-card-title);
  line-height: var(--lh-base);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

/* "Para quién": a centred block of pills. */
.service-audience .title {
  text-align: center;
}

.service-audience .pills {
  justify-content: center;
}

/* FAQ on the sand page: outline it like the cards. */
.service-page .faq {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card-inset);
}

/* "Cómo trabajamos": numbered steps on the plum band. */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
  counter-reset: step;
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-copper);
}

.steps__num {
  color: var(--color-impact);
  font-size: var(--fs-section);
  line-height: 1;
  font-weight: var(--fw-bold);
}

.steps__title {
  color: var(--color-text-on-dark);
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: var(--fw-bold);
}

.steps__text {
  color: var(--color-text-on-dark);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  opacity: 0.85;
}

/* Closing call to action. */
.service-cta {
  text-align: center;
}

.service-cta .title {
  text-align: center;
}

.service-cta .lead {
  margin-inline: auto;
}

.service-cta__actions {
  justify-content: center;
  align-items: center;
}

.service-page .service-cta .signature {
  margin-top: var(--space-8);
  text-align: center;
}

/* Home card: "Más información" link inside the open panel. */
.service-card__more {
  padding-top: var(--space-3);
}

@media (min-width: 40.0625rem) {
  .feature-grid,
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .service-page .section {
    --section-pt: var(--space-16);
    --section-pb: var(--space-16);
  }

  .service-hero { align-items: center; }

  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
  .steps        { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .service-cta .section-title,
  .service-audience .section-title { text-align: center; }
}


/* ==========================================================================
   6. Utilities
   ========================================================================== */

.u-text-center  { text-align: center; }
.u-text-justify { text-align: justify; }

/* Hidden up to 640px / below lg (block-level elements). See section 7. */
.u-hide-sm       { display: none; }
.u-hide-below-lg { display: none; }


/* ==========================================================================
   7. Responsive rules (mobile-first), reduced motion, print
   ========================================================================== */

/* ---- Very small phones (< 360px): keep the phone header on one line ---- */
@media (max-width: 22.4375rem) {
  .site-header__logo img { width: 5.5rem; }
  .site-header__quick    { gap: 0.625rem; }

  .recaptcha-widget {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

/* ---- ≥ 401px ------------------------------------------------------------ */
@media (min-width: 25.0625rem) {
  /* Section rhythm */
  .section--about,
  .section--services { --section-pb: 0.3125rem; }
  .section--contact  { --section-pb: 3.75rem; }

  .section--services .section-title { margin-top: 0; }
}

/* ---- ≥ 641px ------------------------------------------------------------ */
@media (min-width: 40.0625rem) {
  :root {
    --gutter: 3.75rem;
  }

  /* Section rhythm */
  .section--about,
  .section--why,
  .section--schedule { --section-pb: 3.4375rem; }
  .section--services { --section-pb: 3.75rem; }
  .section--contact  { --section-mt: 0; }

  .section--faq .section-title { margin-bottom: var(--space-5); }

  /* Hero */
  .hero__title    { margin-top: 0; }
  .hero__eyebrow  { margin-top: 0; }
  .hero__subtitle { display: block; }

  /* Recognition band: eyebrow on one line */
  .recognition__eyebrow > span:not(.recognition__sep) { display: inline; }
  .recognition__sep { display: inline; }

  /* Copy hidden on phones */
  .lead--hide-sm          { display: block; }
  .service-card__subtitle { display: block; }
  .u-hide-sm              { display: revert; }

  /* Services */
  .service-grid { margin: 0; }
}

/* ---- ≥ 768px (md) -------------------------------------------------------- */
@media (min-width: 48rem) {
  /* Header: desktop navigation replaces the phone header. Links and icon
     gaps are slightly tighter until lg so the row never overflows. */
  .site-header__quick,
  .site-header__toggle { display: none; }

  .site-header__nav { display: flex; }

  .site-nav__link {
    padding-inline: var(--space-2);
    font-size: var(--fs-lg);
  }

  .site-header__nav .social-links { gap: var(--space-2); margin-left: var(--space-2); }
  .site-header__nav .lang-switch  { margin-left: var(--space-2); }

  .site-header__nav .social-links__link--mail .social-links__icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .site-header__nav .social-links__link--whatsapp .social-links__icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .mobile-nav { display: none; }

  /* Hero */
  .hero__bg    { object-position: center; }
  .hero__title,
  .hero__eyebrow { text-align: left; }

  /* Form: 14px input text from md (live md:text-sm) */
  .field__input {
    font-size: var(--fs-sm);
    line-height: var(--lh-sm);
  }

  /* Services */
  .service-card { min-height: 5.625rem; }   /* 90px */

  .section--services {
    background-image: url("../assets/img/textura-arena-1366.webp");
  }
}

@media (min-resolution: 2dppx) {
  .section--services {
    background-image: url("../assets/img/textura-arena-1366.webp");
  }
}

/* ---- ≥ 1024px (lg) ------------------------------------------------------- */
@media (min-width: 64rem) {
  :root {
    --logo-w: 7.5rem;
  }

  /* Header at full size */
  .site-header__logo img { height: 4rem; }

  .site-nav__link {
    padding-inline: 0.625rem;
    font-size: var(--fs-xl);
  }

  .site-header__nav .social-links { gap: var(--space-3); margin-left: var(--space-3); }
  .site-header__nav .lang-switch  { margin-left: var(--space-3); }

  .site-header__nav .social-links__link--mail .social-links__icon,
  .site-header__nav .social-links__link--whatsapp .social-links__icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  /* Two-column splits */
  .split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .split--services {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    margin-top: var(--space-10);
  }

  .split__media--lg  { display: block; }
  .split__media--end { justify-content: flex-end; }

  /* Typography alignment */
  .section-title   { text-align: start; }
  .services__title { text-align: left; }
  .founder .section-title { text-align: center; }

  /* Second row of "¿Por qué Oleb?": María's photo (left) next to her
     description (right), under the section text and the essence photo. */
  .split--why .founder__photo { grid-column: 1; grid-row: 2; max-width: none; margin: 0; }
  .split--why .founder        { grid-column: 2; grid-row: 2; }

  .signature {
    margin-top: var(--space-3);
    text-align: right;
  }

  .section--about .signature    { margin-top: 0; }
  .section--services .signature { margin-top: 0; }
  .section--schedule .signature { margin-top: var(--space-6); }

  .signature--hero {
    left: auto;
    right: var(--space-15);
    margin-top: 0;
  }

  /* About / Why */
  .about__body {
    max-width: var(--measure-about);
    margin-top: var(--space-10);
  }

  .why__body { max-width: var(--measure-text); }

  .peek { display: none; }

  .u-hide-below-lg { display: revert; }

  /* Pills: a centred wrapping row; panel becomes a popover */
  .pills {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pill { width: auto; }

  .pill__toggle {
    justify-content: space-between;
    width: auto;
  }

  .pill__panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: var(--z-raised);
    width: 16rem;
    margin-top: var(--space-2);
  }

  /* Services */
  .services__actions { margin-top: var(--space-5); }
  .services__cards   { margin-top: 0; }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-4);
  }

  /* A card left alone on the last row spans the full row (the 7th card,
     "Asesoramiento mercantil recurrente", closes the grid as a band). */
  .service-grid > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
  .service-grid > :last-child:nth-child(3n + 1) .service-card { min-height: 0; }

  /* Band content centred: title block in the middle, chevron kept at the
     right (a matching left padding keeps the text truly centred). */
  .service-grid > :last-child:nth-child(3n + 1) .service-card__toggle { text-align: center; }
  .service-grid > :last-child:nth-child(3n + 1) .service-card__titles { flex: 1; padding-left: 1.5rem; }
  .service-grid > :last-child:nth-child(3n + 1) .service-card__panel { text-align: center; }

  .service-card { min-height: 11.25rem; }   /* 180px */

  /* FAQ */
  .faq { padding: var(--space-8); }

  /* Footer */
  .site-footer__inner {
    display: flex;
    justify-content: space-between;
  }

  .site-footer__links {
    flex-direction: row;
    gap: var(--space-6);
    margin-top: 0;
  }
}

/* ---- ≥ 1441px (wide screens: the live site's larger scale) ------------- */
@media (min-width: 90.0625rem) {
  :root {
    --gutter: 1.5rem;
    --fs-display: 4rem;            /* 64   */
    --fs-section: 2.2rem;          /* 35.2 */
    --fs-title: 2rem;              /* 32   */
    --fs-hero-subtitle: 1.5rem;    /* 24   */
    --fs-lead: 1.5rem;             /* 24   */
    --fs-card-title: 1.3125rem;    /* 21   */
    --fs-card-subtitle: 0.875rem;  /* 14   */
  }

  .section--about,
  .section--services,
  .section--schedule,
  .section--contact {
    --section-mt: 0;
    --section-pt: 6.25rem;
    --section-pb: 6.25rem;
  }

  .section--why {
    --section-mt: 0;
    --section-pt: 2.5rem;
    --section-pb: 2.5rem;
  }

  .section--faq {
    --section-pt: 0;
    --section-pb: 0;
  }

  .section--schedule .section-title,
  .section--faq .section-title {
    margin-top: 0;
  }
}

/* ---- Reduced motion ------------------------------------------------------ */
/* ---- Design-aanpassingen uit het canvas (2026-10-13), ≥ 768px ------------- */
@media (min-width: 48rem) {
  /* Hero: vaste hoogte 840px, knop links */
  .hero { min-height: 52.5rem; }
  .hero__actions {
    justify-content: flex-start;
    margin-top: var(--space-6);
  }

  /* Sectietitels zonder marge eronder */
  .section--about .section-title,
  .section--why .section-title,
  .section--services .section-title,
  .section--contact .section-title { margin-bottom: 0; }

  /* CTA-knoppen links uitgelijnd */
  .about__actions,
  .services__actions { justify-content: flex-start; }
  /* Why-CTA gecentreerd onder de pills, op dezelfde as als "Nuestra esencia:" */
  .why__actions { max-width: none; }
  .about__actions    { margin-top: var(--space-4); }
  .services__actions { margin-top: var(--space-4); }

  /* Servicekolommen verticaal gecentreerd */
  .split--services { align-items: center; }
}

/* ---- Mobiel: foto bovenaan in Sobre Oleb en ¿Por qué Oleb? (uit het canvas) */
@media (max-width: 47.9375rem) {
  .split--about .split__media--lg,
  .split--why .split__media--lg {
    display: block;
    order: -1;
  }

  .split--about .peek,
  .split--why .peek { display: none; }

  /* Servicios: links uitgelijnd zoals in het design, met lucht boven de knop */
  .section--services .section-title,
  .services__title { text-align: left; }

  .services__actions {
    justify-content: flex-start;
    margin-top: var(--space-6);
  }
}

/* ---- Mobiel menu klapt uit onder de header (2026-10-13) ------------------ */
/* Header (logo, iconen, hamburger/kruis) blijft boven het open menu. */
body.nav-open .site-header {
  z-index: calc(var(--z-nav) + 1);
  background-color: var(--color-bg-surface);
}

body.nav-open .site-header--static {
  position: sticky;
  top: 0;
}

.mobile-nav__sheet {
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  justify-content: center;          /* links verticaal in het midden */
  padding-bottom: 5.3125rem;        /* gelijk aan de bovenruimte: echt gecentreerd */
  border-left: 0;
  transform: translateY(-1.5rem);
}

/* Links gecentreerd met meer ruimte (uit het canvas) */
.mobile-nav__list { align-items: center; }
.mobile-nav__link { padding: var(--space-4); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0s;
    --dur-base: 0s;
    --dur-sheet: 0s;
    --dur-slow: 0s;
    --dur-reveal: 0s;
  }

  html {
    scroll-behavior: auto;
  }

  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .cookie-banner {
    animation: none;
  }
}

/* ---- Print --------------------------------------------------------------- */
@media print {
  .site-header {
    position: static;
    background: none;
  }

  .site-header__toggle,
  .mobile-nav,
  .cookie-banner,
  .skip-link {
    display: none;
  }

  .js [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
