/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-400-normal-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Manrope-400-normal-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-500-normal-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Manrope-500-normal-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600-normal-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600-normal-latin.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-700-normal-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-700-normal-latin.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: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Outfit-400-normal-latin-ext.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: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Outfit-400-normal-latin.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: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Outfit-500-normal-latin-ext.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: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Outfit-500-normal-latin.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: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Outfit-600-normal-latin-ext.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: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Outfit-600-normal-latin.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: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Outfit-700-normal-latin-ext.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: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Outfit-700-normal-latin.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: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-italic-latin-ext.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: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-italic-latin.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: 'Roboto Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-italic-latin-ext.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: 'Roboto Mono';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-italic-latin.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-normal-latin-ext.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-400-normal-latin.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/RobotoMono-500-normal-latin-ext.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/RobotoMono-500-normal-latin.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-normal-latin-ext.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/RobotoMono-600-normal-latin.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/RobotoMono-700-normal-latin-ext.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: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/RobotoMono-700-normal-latin.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;
}

/* ============================================================
   Caja y Arte — armatucaja.info
   Chocolatería artesanal · Puebla, México
   ============================================================ */

:root {
  interpolate-size: allow-keywords;

  --bg: #EFF3F6;
  --surface: #FFFFFF;
  --surface-2: #F6F8FA;
  --surface-3: #E4EAF0;
  --ink: #1C2733;
  --ink-soft: #5A6875;
  --ink-faint: #8B98A4;
  --accent: #7B4BE0;
  --accent-deep: #5A2FB8;
  --accent-2: #F2A93B;
  --accent-2-deep: #C97F16;
  --line: #DCE3EA;
  --line-strong: #BFC9D3;
  --cacao: #4A2C1B;

  --header-h: 76px;
  --radius: 14px;
  --radius-lg: 20px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-2: cubic-bezier(.4,0,.2,1);

  --shadow-sm: 0 2px 10px -6px rgba(28,39,51,.28);
  --shadow-md: 0 14px 34px -22px rgba(28,39,51,.42);
  --shadow-accent: 0 18px 40px -24px rgba(123,75,224,.55);

  --font-h: 'Outfit', 'Trebuchet MS', sans-serif;
  --font-b: 'Manrope', 'Segoe UI', sans-serif;
  --font-m: 'Roboto Mono', 'Consolas', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 12% -4%, rgba(123,75,224,.10), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(242,169,59,.12), transparent 38%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.06;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.16rem, 1.7vw, 1.42rem); }
h4 { font-size: 1.03rem; }

p { margin: 0 0 1.05em; color: var(--ink-soft); }
p strong { color: var(--ink); font-weight: 700; }

a { color: var(--accent); text-decoration: none; transition: color 200ms var(--ease-2); }
a:hover { color: var(--accent-deep); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 56px);
}

a[href^="mailto:"], a[href^="tel:"] { word-break: break-word; overflow-wrap: anywhere; }

.section { padding: clamp(56px, 8vw, 118px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }

.eyebrow {
  font-family: var(--font-b);
  font-weight: 700;
  font-size: .715rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent-2);
  flex: 0 0 26px;
}
.eyebrow--plain::before { display: none; }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.16rem); max-width: 62ch; }
.small-print { font-size: .8rem; color: var(--ink-faint); line-height: 1.6; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: 12px 18px; z-index: 9999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------- Header ---------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(239, 243, 246, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease, border-color 240ms ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.18);
  border-bottom-color: var(--line);
  height: 66px;
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 62%, var(--cacao) 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-accent);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name {
  font-family: var(--font-h); font-weight: 700;
  font-size: 1.06rem; letter-spacing: -0.02em; line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-b); font-weight: 600;
  font-size: .59rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 4px;
}

.nav-desktop { display: none; align-items: center; gap: 26px; }
.nav-desktop a {
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: .89rem;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent-2);
  transition: right 260ms var(--ease);
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a:hover::after, .nav-desktop a.is-active::after { right: 0; }
.nav-desktop a.is-active { color: var(--accent); }

.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-b); font-weight: 700; font-size: .88rem;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: background 220ms var(--ease-2), color 220ms var(--ease-2),
              transform 220ms var(--ease), box-shadow 260ms var(--ease), border-color 220ms;
  text-align: center;
}
.nav-desktop .nav-cta::after { display: none; }

.btn-primary, .nav-cta {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover, .btn-primary:focus-visible,
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--ink); color: #fff;
  transform: translateY(-2px);
}
.btn-primary::after {
  content: "→";
  font-family: var(--font-m);
  transition: transform 240ms var(--ease);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface); color: var(--ink);
  border-color: var(--ink); transform: translateY(-2px);
}
.btn-amber { background: var(--accent-2); color: #2A1B05; box-shadow: 0 16px 34px -22px rgba(242,169,59,.9); }
.btn-amber:hover, .btn-amber:focus-visible { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--wide { width: 100%; }

.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 280ms var(--ease), opacity 200ms;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------------- Drawer ---------------- */

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: #FFFFFF;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 18px) 26px 30px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.drawer.is-open { transform: translateX(0); }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  font-family: var(--font-h); font-weight: 700;
  font-size: 1.28rem; letter-spacing: -0.02em;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.drawer nav a:hover, .drawer nav a.is-active { color: var(--accent); }
.drawer .nav-cta { margin-top: 24px; width: 100%; }
.drawer-foot {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-soft);
}
.drawer-foot a { display: block; margin-bottom: 6px; overflow-wrap: anywhere; }

/* ---------------- Main / Hero ---------------- */

main { padding-top: var(--header-h); }
main section[id], #form { scroll-margin-top: calc(var(--header-h) + 16px); }

.hero { padding: clamp(24px, 4vw, 54px) 0 clamp(40px, 6vw, 84px); }

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cacao);
  aspect-ratio: 16 / 9;
  max-width: 100%;
  box-shadow: 0 40px 90px -50px rgba(28,39,51,.65);
  clip-path: inset(100% 0 0 0);
  animation: maskUp 1000ms var(--ease) 120ms forwards;
}
@keyframes maskUp {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.hero-frame img.hero-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: slowZoom 18s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,39,51,.10) 0%, rgba(28,39,51,.18) 42%, rgba(20,15,12,.88) 100%);
}
.hero-overlay {
  position: absolute; z-index: 2;
  left: clamp(18px, 3.4vw, 48px);
  right: clamp(18px, 3.4vw, 48px);
  bottom: clamp(18px, 3vw, 42px);
  max-width: 780px;
}
.hero-overlay .eyebrow { color: var(--accent-2); }
.hero-overlay .eyebrow::before { background: var(--accent-2); }
.hero-overlay h1 { color: #fff; margin-bottom: .28em; }
.hero-sub {
  color: rgba(255,255,255,.86);
  font-size: clamp(.96rem, 1.35vw, 1.12rem);
  max-width: 55ch;
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-badge {
  position: absolute; z-index: 2;
  top: clamp(14px, 2.4vw, 26px); left: clamp(18px, 3.4vw, 48px);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-family: var(--font-m); font-weight: 500; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  backdrop-filter: blur(2px);
}
.hero-badge i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.7);} }

/* trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px 8px 11px;
  font-size: .795rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), border-color 220ms;
}
.trust-badge:hover { transform: translateY(-2px); border-color: var(--accent); }
.trust-badge svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 16px; }

/* stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.stat .num {
  font-family: var(--font-h); font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--ink);
}
.stat .num span { color: var(--accent); }
.stat .lbl { font-size: .8rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------------- Section head ---------------- */

.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head--split {
  max-width: none;
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.15fr .85fr; gap: 46px; }
}

/* ---------------- Configurador ---------------- */

.config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
@media (min-width: 1024px) {
  .config-grid { grid-template-columns: 60% 40%; }
  .config-grid > * { min-width: 0; }
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: .0;
  transition: opacity 300ms;
}
.step:focus-within::before { opacity: 1; }

.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.step-num {
  font-family: var(--font-m); font-weight: 500; font-size: .72rem;
  color: var(--accent);
  border: 1px solid rgba(123,75,224,.32);
  background: rgba(123,75,224,.07);
  border-radius: 6px; padding: 3px 8px;
  letter-spacing: .06em;
  flex: none;
}
.step-head h3 { margin: 0; }
.step > p { font-size: .9rem; margin-bottom: 18px; }

/* size cards */
.size-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .size-row { grid-template-columns: 1fr; } }

.size-card { position: relative; cursor: pointer; }
.size-card input { position: absolute; opacity: 0; pointer-events: none; }
.size-card .inner {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  background: var(--surface-2);
  transition: border-color 220ms var(--ease-2), background 220ms, transform 220ms var(--ease), box-shadow 260ms;
  min-width: 0;
}
.size-card:hover .inner { transform: translateY(-3px); border-color: var(--line-strong); }
.size-card input:checked + .inner {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--shadow-accent);
}
.size-card input:focus-visible + .inner { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-card .pieces {
  font-family: var(--font-h); font-weight: 700; font-size: 1.6rem;
  letter-spacing: -0.03em; line-height: 1;
}
.size-card .pieces em { font-style: normal; font-size: .82rem; color: var(--ink-soft); font-family: var(--font-b); font-weight: 600; }
.size-card .grid-hint { display: flex; gap: 2px; margin: 11px 0 12px; }
.size-card .grid-hint i {
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--line-strong);
  transition: background 240ms;
}
.size-card input:checked + .inner .grid-hint i { background: var(--accent-2); }
.size-card .price { font-family: var(--font-m); font-weight: 500; font-size: .92rem; color: var(--ink); }

/* fillings picker */
.cap-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 11px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  margin-bottom: 16px;
}
.cap-bar .cap-text { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.cap-bar .cap-count { font-family: var(--font-m); font-weight: 500; color: var(--ink); }
.cap-bar.is-full { border-color: var(--accent-2); background: rgba(242,169,59,.1); }
.cap-track { flex: 1 1 120px; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; min-width: 90px; }
.cap-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 380ms var(--ease); }

.fill-list { display: grid; gap: 8px; }
.fill-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 220ms, background 220ms, transform 220ms var(--ease);
  min-width: 0;
}
.fill-row:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.fill-row.has-count { border-color: var(--accent); background: rgba(123,75,224,.045); }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px var(--line-strong), inset 0 -3px 6px rgba(0,0,0,.28);
  position: relative; overflow: hidden;
}
.swatch::after {
  content: ""; position: absolute; top: -40%; left: -60%;
  width: 55%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: rotate(18deg);
}
.fill-row:hover .swatch::after { animation: sheen 900ms var(--ease-2); }
@keyframes sheen { from { left: -60%; } to { left: 140%; } }

.fill-meta { min-width: 0; }
.fill-meta .nm {
  font-weight: 700; font-size: .89rem; color: var(--ink);
  overflow-wrap: break-word; word-break: keep-all;
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.fill-meta .ds { font-size: .765rem; color: var(--ink-faint); line-height: 1.45; }
.tag-prem {
  font-family: var(--font-m); font-weight: 500;
  font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(242,169,59,.18); color: var(--accent-2-deep);
  border: 1px solid rgba(242,169,59,.4);
  padding: 1px 6px; border-radius: 5px;
}

.counter { display: flex; align-items: center; gap: 2px; }
.counter button {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
  font-size: 1.05rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background 180ms, color 180ms, transform 160ms var(--ease), border-color 180ms;
}
.counter button:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.06); }
.counter button:active:not(:disabled) { transform: scale(.94); }
.counter button:disabled { opacity: .32; cursor: not-allowed; }
.counter output {
  font-family: var(--font-m); font-weight: 500; font-size: .95rem;
  min-width: 30px; text-align: center; color: var(--ink);
}

/* packaging */
.opt-list { display: grid; gap: 10px; }
.opt {
  position: relative; cursor: pointer;
  display: block;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; background: var(--surface-2);
  transition: border-color 220ms, background 220ms, transform 220ms var(--ease);
  min-width: 0;
}
.opt:hover .inner { transform: translateY(-2px); border-color: var(--line-strong); }
.opt input:checked + .inner { border-color: var(--accent); background: #fff; box-shadow: var(--shadow-accent); }
.opt input:focus-visible + .inner { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .ico { width: 34px; height: 34px; color: var(--accent); flex: none; }
.opt .ico svg { width: 100%; height: 100%; }
.opt .t { font-weight: 700; font-size: .92rem; }
.opt .d { font-size: .775rem; color: var(--ink-faint); line-height: 1.45; }
.opt .p { font-family: var(--font-m); font-weight: 500; font-size: .85rem; color: var(--accent-2-deep); white-space: nowrap; }

.addon {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  margin-top: 10px; padding: 14px 16px;
  border: 1.5px dashed var(--line-strong); border-radius: 12px;
  background: var(--surface-2);
  cursor: pointer;
}
.addon:hover { border-color: var(--accent); }
.addon .t { font-weight: 700; font-size: .9rem; }
.addon .d { font-size: .775rem; color: var(--ink-faint); }
.addon .p { font-family: var(--font-m); font-weight: 500; font-size: .85rem; color: var(--accent-2-deep); white-space: nowrap; }

/* dedicatoria */
.ded-wrap { position: relative; }
.ded-wrap textarea {
  width: 100%; min-height: 104px; resize: vertical;
  font-family: var(--font-b); font-size: .95rem; line-height: 1.6;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 200ms, background 200ms;
}
.ded-wrap textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.ded-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.ded-foot .cnt { font-family: var(--font-m); font-weight: 500; font-size: .74rem; color: var(--ink-faint); }
.ded-preview {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(123,75,224,.03) 0 6px, transparent 6px 12px),
    var(--surface-2);
  padding: 20px 18px; text-align: center;
}
.ded-preview .cap {
  font-family: var(--font-m); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px;
}
.ded-preview .txt {
  font-family: var(--font-h); font-weight: 700; font-size: 1.06rem;
  letter-spacing: -0.015em; color: var(--ink);
  overflow-wrap: break-word;
}

/* ---------------- Resumen (sticky) ---------------- */

.summary-col { position: relative; }
@media (min-width: 1024px) {
  .summary-col { position: sticky; top: calc(var(--header-h) + 20px); }
}

.summary {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ribbon-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .5;
}
.ribbon-svg path { stroke-dasharray: 6 5; animation: ribbonRun 14s linear infinite; }
@keyframes ribbonRun { to { stroke-dashoffset: -220; } }

.summary > * { position: relative; z-index: 1; }
.summary h3 { font-size: 1.16rem; margin-bottom: 3px; }
.summary .sum-note { font-size: .77rem; color: var(--ink-faint); margin-bottom: 18px; }

/* cenital box svg */
.box-stage {
  border-radius: 14px;
  background: linear-gradient(160deg, #F3F6F9, #E3E9EF);
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 8px;
}
.box-svg { width: 100%; height: auto; display: block; overflow: visible; }
.box-svg .cell-bg { fill: #FBFCFD; stroke: var(--line-strong); stroke-width: 1; }
.box-svg .bombon { cursor: pointer; transform-box: fill-box; transform-origin: center; }
.box-svg .bombon circle.body { stroke: rgba(255,255,255,.85); stroke-width: 1.6; }
.box-svg .bombon circle.shine { fill: rgba(255,255,255,.30); }
.box-svg .bombon.pop { animation: popScale 460ms var(--ease); }
@keyframes popScale {
  0%   { transform: scale(.1); opacity: 0; }
  62%  { transform: scale(1.16); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.box-svg .bombon:hover { transform: scale(1.12); }
.box-svg .lid { fill: none; stroke: var(--cacao); stroke-width: 2; opacity: .55; }
.box-caption {
  min-height: 36px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: .78rem; color: var(--ink-soft);
  padding: 4px 6px; margin-bottom: 14px;
  transition: color 200ms;
}
.box-caption strong { color: var(--ink); }

.sum-lines { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 9px; }
.sum-line {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: baseline;
  font-size: .855rem;
}
.sum-line .k { color: var(--ink-soft); min-width: 0; overflow-wrap: break-word; }
.sum-line .v { font-family: var(--font-m); font-weight: 500; color: var(--ink); white-space: nowrap; }
.sum-line.is-muted .k, .sum-line.is-muted .v { color: var(--ink-faint); }

.total-block {
  margin-top: 18px; padding-top: 16px;
  border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
}
.total-block .lbl {
  font-family: var(--font-h); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em;
}
.total-block .lbl span { display: block; font-family: var(--font-b); font-weight: 400; font-size: .7rem; color: var(--ink-faint); letter-spacing: 0; }
#total-value {
  font-family: var(--font-m); font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-block;
}
#total-value.tick { animation: tickPulse 420ms var(--ease-2); }
@keyframes tickPulse {
  0%   { transform: translateY(0) scale(1); color: var(--ink); }
  30%  { transform: translateY(-4px) scale(1.045); color: var(--accent); }
  100% { transform: translateY(0) scale(1); color: var(--ink); }
}
.summary .btn { margin-top: 18px; }
.summary .disclaimer { margin-top: 12px; font-size: .715rem; color: var(--ink-faint); text-align: center; line-height: 1.5; }

.mini-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mini-badges span {
  font-size: .69rem; font-weight: 600; color: var(--ink-soft);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
}

/* ---------------- Rellenos editorial grid ---------------- */

.rellenos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px) { .rellenos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .rellenos-grid { grid-template-columns: repeat(4, 1fr); } }

.relleno {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 300ms var(--ease), border-color 220ms;
  min-width: 0;
}
.relleno:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -28px rgba(123,75,224,.6); border-color: var(--accent); }
.relleno::after {
  content: ""; position: absolute; right: -30px; bottom: -30px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--chip, var(--accent));
  opacity: .13;
  transition: transform 420ms var(--ease), opacity 300ms;
}
.relleno:hover::after { transform: scale(1.28); opacity: .2; }
.relleno .disc {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--chip);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.32), 0 4px 10px -4px rgba(0,0,0,.4);
  margin-bottom: 12px;
}
.relleno h4 { margin: 0 0 6px; font-size: .95rem; overflow-wrap: break-word; word-break: keep-all; }
.relleno p { font-size: .77rem; margin: 0; color: var(--ink-faint); line-height: 1.5; }
.relleno .flag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-m); font-size: .58rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2-deep);
}
.relleno--wide { grid-column: span 2; }
@media (min-width: 700px) { .relleno--tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; } }

/* ---------------- Empresas ---------------- */

.empresas {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 64px);
  position: relative;
  overflow: hidden;
}
.empresas::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .55;
  pointer-events: none;
}
.empresas > * { position: relative; }
.empresas h2, .empresas h3, .empresas h4 { color: #fff; }
.empresas p { color: rgba(255,255,255,.7); }
.empresas .eyebrow { color: var(--accent-2); }

.empresas-split {
  display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3vw, 52px); align-items: start;
}
@media (min-width: 960px) { .empresas-split { grid-template-columns: 1.05fr .95fr; } }
.empresas-split > * { min-width: 0; }

.vol-list { display: grid; gap: 14px; margin-top: 8px; }
.vol-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.13);
}
.vol-item .ico { width: 26px; height: 26px; color: var(--accent-2); grid-row: span 2; }
.vol-item h4 { margin: 0 0 3px; font-size: .95rem; }
.vol-item p { margin: 0; font-size: .82rem; }

/* ---------------- Entregas timeline ---------------- */

.timeline { display: grid; gap: 0; margin-top: 12px; }
.tl-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.tl-item:first-child { border-top: 1px solid var(--line); }
.tl-mark {
  font-family: var(--font-m); font-weight: 500; font-size: .74rem;
  color: var(--accent);
  width: clamp(56px, 8vw, 96px);
  padding-top: 5px;
  letter-spacing: .04em;
}
.tl-body { min-width: 0; }
.tl-body h3 { margin: 0 0 8px; }
.tl-body p { margin: 0 0 6px; }
.tl-body .incl { font-size: .78rem; color: var(--ink-faint); }
.tl-item:hover .tl-mark { color: var(--accent-2-deep); }

.cover-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; margin-top: 28px;
}
.cover-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
  transition: transform 240ms var(--ease), border-color 220ms;
  min-width: 0;
}
.cover-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.cover-card .z { font-weight: 700; font-size: .93rem; margin-bottom: 4px; }
.cover-card .t { font-family: var(--font-m); font-weight: 500; font-size: .78rem; color: var(--accent); }
.cover-card .c { font-size: .75rem; color: var(--ink-faint); margin-top: 6px; }

/* ---------------- CTA band ---------------- */

.cta-band {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 44px); align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 48px);
  box-shadow: var(--shadow-md);
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.35fr .65fr; } }
.cta-band > * { min-width: 0; }
.cta-band h2 { margin-bottom: .35em; }
.cta-band > div > p:last-child { margin-bottom: 0; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-actions .small-print { margin: 0; }
@media (min-width: 860px) { .cta-actions { justify-items: end; text-align: right; } }

/* ---------------- Forms ---------------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.span-2 { grid-column: 1 / -1; }
.field > span.lbl { font-size: .78rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.field > span.lbl em { font-style: normal; font-weight: 400; color: var(--ink-faint); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-b); font-size: .95rem; color: var(--ink);
  background: var(--surface-2);
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  border-radius: 8px 8px 0 0;
  padding: 12px 14px;
  transition: border-color 200ms, background 200ms;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--accent); background: #fff;
}
.field .hint { font-size: .72rem; color: var(--ink-faint); }

.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.field.consent {
  flex-direction: row; align-items: flex-start; gap: 10px;
  grid-column: 1 / -1;
  font-size: .83rem; color: var(--ink-soft);
}
.field.consent label { display: contents; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------------- Contact cards ---------------- */

.channel-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.channel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px;
  transition: transform 260ms var(--ease), box-shadow 300ms var(--ease), border-color 220ms;
  min-width: 0;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.channel .ic {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(123,75,224,.1); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px;
  transition: transform 240ms var(--ease-2), background 240ms;
}
.channel:hover .ic { transform: scale(1.08); background: var(--accent); color: #fff; }
.channel .ic svg { width: 22px; height: 22px; }
.channel h3 { font-size: 1rem; margin-bottom: 4px; }
.channel .val { font-weight: 700; color: var(--ink); font-size: .93rem; overflow-wrap: anywhere; display: inline-block; }
.channel a.val:hover { color: var(--accent); }
.channel .sub { font-size: .77rem; color: var(--ink-faint); margin-top: 6px; }

.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.hour-card {
  display: flex; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
  font-size: .84rem;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
.hour-card .d { font-weight: 700; }
.hour-card .h { font-family: var(--font-m); font-weight: 500; font-size: .78rem; color: var(--ink-soft); white-space: nowrap; }
.hour-card.today { border-color: var(--accent); background: rgba(123,75,224,.05); }

/* ---------------- Team / testimonials / pricing ---------------- */

.team-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 780px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 300ms;
  min-width: 0;
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.person .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.person:hover .ph img { transform: scale(1.05); }
.person .bd { padding: 18px 20px 22px; }
.person h3 { margin-bottom: 2px; font-size: 1.06rem; }
.person .role { font-family: var(--font-m); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.person p { font-size: .82rem; margin: 0; }

.quotes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: 4px 14px 14px 4px;
  padding: 22px 24px;
  min-width: 0;
}
.quote.q-big { padding: clamp(24px, 3vw, 40px); }
.quote.q-big p { font-family: var(--font-h); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -0.015em; color: var(--ink); line-height: 1.34; }
.quote p { font-size: .89rem; }
.quote .who { font-size: .76rem; color: var(--ink-faint); font-weight: 700; margin-top: 12px; }
.quote .who em { font-style: normal; color: var(--accent); }

.manifesto {
  padding: clamp(30px, 5vw, 70px) 0;
  text-align: center;
}
.manifesto blockquote {
  margin: 0 auto; max-width: 20ch;
  font-family: var(--font-h); font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.035em;
}
.manifesto blockquote span { color: var(--accent); }
.manifesto cite { display: block; margin-top: 22px; font-style: normal; font-size: .8rem; color: var(--ink-faint); letter-spacing: .1em; text-transform: uppercase; }

.plans { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px 28px;
  display: flex; flex-direction: column;
  transition: transform 260ms var(--ease), box-shadow 300ms, border-color 220ms;
  min-width: 0;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow-accent); }
.plan .nm { font-family: var(--font-h); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.plan .pr { font-family: var(--font-m); font-weight: 500; font-size: 1.5rem; color: var(--accent); margin: 8px 0 4px; }
.plan .pr small { font-family: var(--font-b); font-size: .72rem; color: var(--ink-faint); display: block; font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.plan li { font-size: .82rem; color: var(--ink-soft); display: grid; grid-template-columns: 16px 1fr; gap: 9px; align-items: start; }
.plan li::before {
  content: ""; width: 15px; height: 15px; margin-top: 3px;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B4BE0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E");
}
.plan li.no { color: var(--ink-faint); }
.plan li.no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6ada2' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.plan .kicker { font-family: var(--font-m); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2-deep); margin-bottom: 10px; }
.plan .btn { margin-top: auto; }
.plan .sp { margin-top: 18px; }

/* notes / news */
.notes { display: grid; gap: 10px; }
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.note time { font-family: var(--font-m); font-weight: 500; font-size: .72rem; color: var(--accent); white-space: nowrap; }
.note p { margin: 0; font-size: .86rem; }
.note strong { color: var(--ink); }

/* ---------------- FAQ ---------------- */

.faq { display: grid; gap: 10px; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
details.faq-item[open] { border-color: var(--accent); }
details.faq-item > summary {
  list-style: none; cursor: pointer;
  padding: 18px clamp(18px, 3vw, 28px);
  font-family: var(--font-h); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.015em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "+"; font-family: var(--font-m); font-size: 1.2rem; color: var(--accent);
  transition: transform 300ms var(--ease-2); flex: none;
}
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item > .body {
  height: 0;
  padding: 0 clamp(18px, 3vw, 28px);
  overflow: hidden;
  transition: height 360ms var(--ease-2), padding-block-end 360ms var(--ease-2);
}
details.faq-item[open] > .body { height: auto; padding-block-end: 26px; }
details.faq-item > .body p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { details.faq-item > .body { transition: none; } }

/* ---------------- Tables ---------------- */

.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line, rgba(0,0,0,0.12));
  border-radius: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table { border-collapse: collapse; background: var(--surface); font-size: .86rem; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-h); font-weight: 700; font-size: .8rem; letter-spacing: .02em; background: var(--surface-2); }
td { color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: 0; }
.empresas .table-scroll { border-color: rgba(255,255,255,.16); }
.empresas table { background: transparent; }
.empresas th { background: rgba(255,255,255,.06); color: #fff; border-bottom-color: rgba(255,255,255,.14); }
.empresas td { color: rgba(255,255,255,.75); border-bottom-color: rgba(255,255,255,.1); }

/* ---------------- Prose (legal pages) ---------------- */

.prose { max-width: 750px; line-height: 1.72; }
.prose h2 { margin-top: 1.9em; margin-bottom: .6em; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }
.prose h3 { margin-top: 1.5em; margin-bottom: .5em; line-height: 1.3; }
.prose > *:first-child { margin-top: 0; }
.prose p { line-height: 1.72; margin-bottom: 1.15em; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 20px; margin-bottom: 1.15em; }
.prose li { margin-bottom: 7px; line-height: 1.68; }
.prose a { overflow-wrap: anywhere; }

.page-hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(26px, 3vw, 46px);
  min-height: 240px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; right: clamp(-24px, 2vw, 24px); top: -14px;
  width: clamp(150px, 20vw, 220px); height: clamp(180px, 24vw, 260px);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' fill='none' stroke='%237B4BE0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M50 8c17 7 27 27 27 52s-10 45-27 52c-17-7-27-27-27-52S33 15 50 8z'/%3E%3Cpath d='M50 8v104M36 15c-5 30-5 60 0 90M64 15c5 30 5 60 0 90'/%3E%3C/svg%3E");
  opacity: .09; transform: rotate(11deg);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); }
.page-hero p { max-width: 60ch; margin-bottom: 0; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.66);
  padding: clamp(44px, 5vw, 76px) 0 28px;
  margin-top: clamp(40px, 6vw, 90px);
}
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-b); font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent-2); }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .855rem; }
.footer-grid p { font-size: .86rem; color: rgba(255,255,255,.6); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: rgba(255,255,255,.45); }
.foot-contact { font-size: .855rem; display: grid; gap: 7px; }
.foot-contact a { overflow-wrap: anywhere; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: .76rem; color: rgba(255,255,255,.5);
}
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-badges span {
  font-size: .68rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.72);
  border-radius: 999px; padding: 4px 10px;
}

/* ---------------- Cookie banner ---------------- */

.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
@media (min-width: 900px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }
.cookie-banner h2 { font-size: 1.02rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .8rem; margin-bottom: 14px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions button {
  min-height: 44px;
  font-family: var(--font-b); font-weight: 700; font-size: .8rem;
  border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink);
  transition: background 200ms, color 200ms, border-color 200ms, transform 180ms var(--ease);
}
.cookie-actions button:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.cookie-actions button[data-consent="accept"] {
  background: var(--accent); color: #fff; border-color: var(--accent);
  grid-column: 1 / -1;
}
.cookie-actions button[data-consent="accept"]:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.cookie-panel { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cookie-panel.is-open { display: block; }
.cookie-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.cookie-toggle:last-of-type { border-bottom: 0; }
.cookie-toggle span small { display: block; font-size: .7rem; color: var(--ink-faint); }
.cookie-toggle input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; width: 18px; height: 18px; accent-color: var(--accent); }
.cookie-panel .btn { margin-top: 12px; width: 100%; }

/* ---------------- Reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-frame { animation: none; clip-path: none; }
  .hero-frame img.hero-poster { animation: none; }
  .ribbon-svg path, .hero-badge i { animation: none; }
  .box-svg .bombon.pop { animation: none; }
  #total-value.tick { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------------- 404 ---------------- */

.err-wrap { text-align: center; padding: clamp(60px, 12vw, 150px) 0; }
.err-code {
  font-family: var(--font-h); font-weight: 700;
  font-size: clamp(5rem, 18vw, 12rem); line-height: .86;
  letter-spacing: -0.06em; color: var(--ink);
}
.err-code span { color: var(--accent); }

/* ---------------- Responsive touch-ups ---------------- */

@media (max-width: 640px) {
  body { font-size: 15.8px; }
  .step { padding: 18px; }
  .summary { padding: 18px; }
  .channel { padding: 18px; }
  .channel .ic { width: 40px; height: 40px; }
  .channel .ic svg { width: 18px; height: 18px; }
  .relleno { padding: 15px 14px; }
  .relleno .disc { width: 26px; height: 26px; }
  .relleno--wide { grid-column: span 2; }
  .plan { padding: 20px 18px 22px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-mark { padding-top: 0; }
  .quote { padding: 18px; }
  .fill-row { grid-template-columns: 22px 1fr auto; gap: 9px; padding: 9px 10px; }
  .swatch { width: 22px; height: 22px; }
  .counter button { width: 30px; height: 30px; }
  .cookie-banner { padding: 17px 18px; }
  .hero-badge { display: none; }
}
@media (max-width: 400px) {
  .hero-actions .btn { width: 100%; }
  .cookie-actions { grid-template-columns: 1fr; }
}

.long-text { overflow-wrap: anywhere; word-break: break-word; }

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}
