/* ==========================================================================
   RESUA Descartables SRL — Estilos globales
   Paleta institucional: bordó #590000
   ========================================================================== */

:root {
  /* Marca */
  --brand: #590000;
  --brand-600: #6e0b0b;
  --brand-800: #3d0000;
  --brand-900: #260000;
  --brand-50: #fbf6f5;
  --brand-100: #f5ebe9;
  --brand-200: #ead7d3;
  --blush: #f3c9c2;          /* acento sobre fondos oscuros */

  /* Neutros */
  --ink: #1d1515;
  --ink-soft: #4a3f3f;
  --muted: #6b5f5f;
  --line: #e4d8d5;
  --surface: #ffffff;
  --bg: #ffffff;

  --wa: #1f9d55;             /* WhatsApp (accesible sobre blanco) */

  /* Tipografía */
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaciado (escala 8pt) */
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 6rem; --s-8: 8rem;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(38, 0, 0, .06), 0 2px 8px rgba(38, 0, 0, .05);
  --shadow: 0 10px 30px -10px rgba(38, 0, 0, .25);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  color-scheme: light;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--blush); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--brand); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--compact { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--brand-100); }
.section--dark { background: var(--brand-800); color: #fff; }
.section--brand { background: var(--brand); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: skewX(-8deg) rotate(-4deg); border-radius: 2px; }
.on-dark .eyebrow, .section--dark .eyebrow, .section--brand .eyebrow, .cta-band .eyebrow, .post-cta .eyebrow { color: var(--blush); }

.display { font-size: clamp(2.75rem, 7.2vw, 6.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: .98; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.75rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.lead { font-size: clamp(1.25rem, 2.3vw, 2rem); line-height: 1.35; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.muted { color: var(--muted); }
.on-dark .muted, .section--dark .muted { color: #e8d4d0; }

/* "Barrilete Resua": forma inclinada inspirada en el logo para destacar una palabra */
.barrilete {
  display: inline-block; background: var(--brand); color: #fff;
  padding: .02em .22em .08em; margin-inline: -.04em;
  border-radius: .16em .22em .14em .3em;
  transform: rotate(-3deg) skewX(-3deg);
}
.hero .barrilete { background: var(--brand); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.35rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:hover { --btn-bg: var(--brand-800); --btn-bd: var(--brand-800); }
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--brand); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--blush); --btn-bd: var(--blush); --btn-fg: var(--brand-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: var(--brand); }
.btn--ghost:hover { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.6); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--brand); --btn-bd: #fff; }
.btn--wa { --btn-bg: var(--wa); --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: #17803f; --btn-bd: #17803f; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--brand);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link-arrow:hover { text-decoration-thickness: 2.5px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 132px; height: auto; }

.main-nav ul { display: flex; gap: .25rem; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .9rem;
  text-decoration: none; font-weight: 500; font-size: .975rem; color: var(--ink-soft); border-radius: var(--radius-sm);
  position: relative; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-100); }
.main-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 6px; height: 2px; background: var(--brand); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions .btn { min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }

.menu-toggle {
  display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem;
  background: var(--brand); color: #fff; border: 0; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
}

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--brand-800); color: #fff;
  display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  overflow-y: auto;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: calc(var(--header-h) - 1rem); }
.mobile-menu__top img { width: 120px; }
.mobile-menu nav { margin-top: 2rem; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0;
  font-family: var(--font-display); font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 600; letter-spacing: -.02em;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.15);
}
.mobile-menu nav a[aria-current="page"] { color: var(--blush); }
.mobile-menu__contact { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #f3e3e0; min-height: 44px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden; background: var(--brand-900);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: brightness(.55) saturate(.8); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(38,0,0,.55) 0%, rgba(38,0,0,.1) 35%, rgba(38,0,0,.55) 70%, rgba(38,0,0,.92) 100%),
    linear-gradient(90deg, rgba(89,0,0,.55) 0%, rgba(89,0,0,0) 60%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 2.5rem; }
.hero__title { max-width: 14ch; }
.hero__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__sub { max-width: 34ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: #f6e7e4; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.quick-contact {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .6rem .6rem 1.1rem;
  background: rgba(38,0,0,.55); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.quick-contact span { font-weight: 600; font-size: .95rem; margin-right: .25rem; }
.quick-contact a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: #fff; color: var(--brand); transition: background-color var(--dur-fast) ease;
}
.quick-contact a:hover { background: var(--blush); }

/* ---------- Hero interior (páginas) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(3rem, 7vw, 5rem); background: var(--brand-100); overflow: hidden; }
.page-hero--image { color: #fff; background: var(--brand-900); isolation: isolate; min-height: 62svh; display: flex; align-items: flex-end; }
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(38,0,0,.75), rgba(38,0,0,.35) 55%, rgba(38,0,0,0)), linear-gradient(180deg, rgba(38,0,0,.5), rgba(38,0,0,.25) 40%, rgba(38,0,0,.9)); }
.page-hero .container { position: relative; }
/* Trama de descartables en línea (blog) */
.form-note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.form-note a { color: var(--brand); text-underline-offset: 3px; }

.page-hero--trama {background-image: url("../assets/img/trama-descartables.svg"); background-size: 520px; background-position: center top; }
.page-hero__title { font-size: clamp(2.5rem, 6.5vw, 5.5rem); font-weight: 700; letter-spacing: -.035em; max-width: 16ch; margin-top: 1rem; }
.page-hero__lead { margin-top: 1.5rem; max-width: 52ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.page-hero--image .page-hero__lead { color: #f6e7e4; }
.breadcrumb { display: flex; gap: .5rem; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: inherit; text-underline-offset: 3px; }
.page-hero--image .breadcrumb { color: #f0dcd8; }

/* ---------- Intro (home) ---------- */
.intro { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.intro__aside { border-top: 1px solid var(--brand-200); padding-top: 1.5rem; }
.intro__aside h2 { font-size: 1.125rem; letter-spacing: -.01em; }
.intro__aside p { margin-top: .4rem; color: var(--ink-soft); }
.intro__aside a { color: var(--brand); text-underline-offset: 3px; }
.intro__cta { margin-top: 1.75rem; }
@media (min-width: 960px) {
  .intro { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
  .intro__aside { border-top: 0; border-left: 1px solid var(--brand-200); padding: 0 0 0 2rem; position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Lista de productos con vista previa ---------- */
.products-explorer { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.products-explorer__grid { display: grid; grid-template-columns: 1fr; }
.products-explorer__intro { padding-block: 3rem 2rem; }
.products-explorer__intro p { color: var(--ink-soft); max-width: 36ch; margin-block: 1rem 1.75rem; }
.products-explorer__list { padding-block: 1rem 3rem; }
.product-link {
  display: flex; align-items: center; gap: 1rem; width: 100%; padding: .9rem 0;
  font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 2.125rem); font-weight: 500; letter-spacing: -.02em;
  color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line);
  transition: color var(--dur-fast) ease;
}
.product-link__thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.product-link__label { flex: 1; }
.product-link .icon { opacity: .6; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease; }
.product-link:hover, .product-link.is-active { color: var(--brand); }
.product-link:hover .icon, .product-link.is-active .icon { opacity: 1; transform: translateX(4px); }
.product-link.is-active .product-link__label::before { content: ""; display: inline-block; width: .3em; height: .3em; margin-right: .35em; background: var(--brand); vertical-align: .25em; border-radius: 2px; transform: rotate(-6deg); }

.products-preview { display: none; }

@media (min-width: 1024px) {
  .products-explorer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.1fr); }
  .products-explorer__intro { padding: 5rem 2.5rem 5rem 0; border-right: 1px dashed var(--brand-200); }
  .products-explorer__list { padding: 5rem 2.5rem; border-right: 1px dashed var(--brand-200); }
  .product-link { border-bottom: 0; padding: .55rem 0; }
  .product-link__thumb { display: none; }
  .product-link .icon { opacity: 0; }
  .products-preview { display: block; padding: 2.5rem 0 2.5rem 2.5rem; }
  .products-preview__card {
    position: sticky; top: calc(var(--header-h) + 1.5rem);
    background: var(--brand-100); border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column; min-height: 520px;
  }
  .products-preview__media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
  .products-preview__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  .products-preview__media img.is-active { opacity: 1; transform: none; }
  .products-preview__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
  .products-preview__body h3 { font-size: 1.375rem; }
  .products-preview__body p { color: var(--ink-soft); font-size: 1rem; }
  .products-preview__body .link-arrow { margin-top: auto; }
}

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.15); }
.stat { padding: 2.5rem 1rem 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,.15); min-width: 0; container-type: inline-size; }
.stat:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid rgba(255,255,255,.15); }
.stat:nth-child(even) { padding-left: 1.5rem; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 7vw, 5rem); font-size: clamp(2.25rem, 27cqi, 6rem); white-space: nowrap; line-height: 1; letter-spacing: -.04em; color: var(--blush); font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .45em; margin-left: .08em; letter-spacing: -.02em; }
.stat__label { margin-top: .75rem; max-width: 22ch; color: #f3e3e0; }
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 3rem 2rem; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 0; }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
}
.stats-head { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 960px) { .stats-head { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- Tarjetas de valor ---------- */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .feature-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } .feature-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.section--dark .feature { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.feature__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; transform: rotate(-3deg); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.feature p { color: var(--ink-soft); font-size: 1rem; }
.section--dark .feature p { color: #ead6d2; }
.feature .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.tag { display: inline-flex; padding: .3rem .65rem; border-radius: 999px; background: var(--brand-100); color: var(--brand); font-size: .8125rem; font-weight: 600; }

/* ---------- Bloque de servicios con acordeón ---------- */
.services { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .services { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4rem; align-items: start; } }
.services__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand); aspect-ratio: 4 / 5; }
.services__visual img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .55; }
.services__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(38,0,0,.85)); }
.services__visual figcaption { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.75rem; z-index: 1; color: #fff; font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 500; line-height: 1.2; letter-spacing: -.015em; }
@media (min-width: 960px) { .services__visual { position: sticky; top: calc(var(--header-h) + 2rem); } }

.accordion { border-top: 1px solid var(--brand-200); }
.accordion details { border-bottom: 1px solid var(--brand-200); }
.accordion summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 500; letter-spacing: -.015em;
  min-height: 44px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion__sign { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: grid; place-items: center; transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.accordion summary:hover .accordion__sign { background: var(--brand); color: #fff; }
.accordion details[open] .accordion__sign { transform: rotate(45deg); background: var(--brand); color: #fff; }
.accordion__body { padding: 0 0 1.6rem calc(40px + 1rem); color: var(--ink-soft); max-width: 60ch; }
.accordion__body p + p { margin-top: .75rem; }
.accordion__body ul { display: grid; gap: .4rem; margin-top: .75rem; }
.accordion__body li { position: relative; padding-left: 1.1rem; }
.accordion__body li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--brand); border-radius: 1px; transform: rotate(-8deg); }
.services__note { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .services__note { grid-template-columns: 1fr 1fr; } }

/* ---------- Pasos numerados ---------- */
.steps-head { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 960px) { .steps-head { grid-template-columns: 1fr 1.4fr; align-items: end; } }
.steps { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.step { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 1.75rem 1.75rem; background: #fff; transition: background-color var(--dur) ease; }
.step p { flex: 1; }
.step__media { margin: 1.5rem 0 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--brand-100); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.step:hover .step__media, .step:focus-within .step__media, .step.is-touched .step__media { transform: scale(1.04); box-shadow: var(--shadow); }
.step:hover .step__media img, .step:focus-within .step__media img, .step.is-touched .step__media img { transform: scale(1.08); }
.step.is-touched { background: var(--brand-50); }
.step.is-touched .step__num { background: var(--brand); color: #fff; }
.step:hover { background: var(--brand-50); }
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-left: -1.75rem; margin-bottom: 1.75rem;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; background: var(--brand-100); color: var(--brand);
  transition: background-color var(--dur) ease, color var(--dur) ease;
}
.step:first-child .step__num, .step:hover .step__num { background: var(--brand); color: #fff; }
.step h3 { font-size: 1.25rem; margin-bottom: .6rem; letter-spacing: -.01em; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--brand); font-variant-numeric: tabular-nums; }
.timeline__item h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: .6rem; letter-spacing: -.01em; }
.timeline__item p { color: var(--ink-soft); max-width: 62ch; }
.timeline__item figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-100); }
.timeline__item figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .timeline__item { grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
  .timeline__item--noimg { grid-template-columns: 220px minmax(0, 1fr) 280px; }
}
.timeline__item--now .timeline__year { display: inline-block; background: var(--brand); color: #fff; padding: .05em .25em .1em; border-radius: .14em .2em .12em .26em; transform: rotate(-3deg); font-size: clamp(2rem, 4.5vw, 3.25rem); }

/* Mini-timeline home */
.mini-timeline { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--brand-200); }
@media (min-width: 720px) { .mini-timeline { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1100px) { .mini-timeline { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.mini-timeline b.barrilete { display: inline-block; color: #fff; font-size: 1.75rem; margin-bottom: .9rem; }
.mini-timeline li { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--brand-200); }
@media (min-width: 1100px) { .mini-timeline li { border-bottom: 0; border-right: 1px solid var(--brand-200); padding: 2rem 1.5rem; } .mini-timeline li:first-child { padding-left: 0; } .mini-timeline li:last-child { border-right: 0; } }
.mini-timeline b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--brand); letter-spacing: -.03em; line-height: 1; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.mini-timeline span { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Split image + texto ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } .split--rev > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--brand-100); }
.split__media img, .split__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.split__media--portrait { aspect-ratio: 4 / 5; }
.split__body > * + * { margin-top: 1.25rem; }
.split__body p { color: var(--ink-soft); }
.section--dark .split__body p { color: #ead6d2; }
.checklist { display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { color: var(--brand); margin-top: .2em; }
.section--dark .checklist .icon { color: var(--blush); }

/* ---------- Catálogo de productos ---------- */
.catalog { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .catalog { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .catalog { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur) ease, border-color var(--dur) ease; scroll-margin-top: calc(var(--header-h) + 16px); }
.product-card:hover { box-shadow: var(--shadow); border-color: var(--brand-200); }
.product-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--brand-100); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.product-card__kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.product-card h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.product-card p { color: var(--ink-soft); font-size: 1rem; }
.product-card ul { display: grid; gap: .35rem; font-size: .975rem; color: var(--ink-soft); }
.product-card ul li { position: relative; padding-left: 1rem; }
.product-card ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--brand); border-radius: 1px; }
.product-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.product-card--feature { background: var(--brand); color: #fff; border-color: var(--brand); }
.product-card--feature .product-card__kicker { color: var(--blush); }
.product-card--feature p, .product-card--feature ul { color: #f3e3e0; }
.product-card--feature ul li::before { background: var(--blush); }
.product-card--feature .link-arrow { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--brand-200); background: #fff; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem; transition: all var(--dur-fast) ease; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Bloque de impresión (colores) ---------- */
.ink-strip { display: flex; gap: 6px; margin-top: 1.5rem; }
.ink-strip span { flex: 1; height: 10px; border-radius: 3px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 2rem; isolation: isolate; }
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 55%; aspect-ratio: 1.2;
  background: var(--brand-600); border-radius: 18% 26% 22% 34%; transform: rotate(-8deg);
}
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 50ch; color: #f6e7e4; font-size: 1.125rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: end; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
a.contact-card:hover { border-color: var(--brand); background: var(--brand-50); }
.contact-card__icon { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand); }
.contact-card__label { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { display: block; font-weight: 600; font-size: 1.0625rem; margin-top: .15rem; overflow-wrap: anywhere; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1.5px solid #cdbebb; border-radius: var(--radius-sm); background: #fff;
  font-size: 1rem; transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(89,0,0,.15); }
.field .hint { font-size: .875rem; color: var(--muted); }
.field .error { display: none; align-items: center; gap: .35rem; font-size: .875rem; color: #a30d0d; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a30d0d; }
.field.has-error .error { display: flex; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; border: 1.5px solid #cdbebb; border-radius: 999px; font-weight: 500; cursor: pointer; transition: all var(--dur-fast) ease; }
.radio-row input { accent-color: var(--brand); width: 18px; height: 18px; min-height: 0; }
.radio-row label:has(input:checked) { border-color: var(--brand); background: var(--brand-100); color: var(--brand); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-status { font-weight: 500; }
.form-status.is-success { color: #1b6e3c; }
.form-status.is-error { color: #a30d0d; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.branches { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .branches { grid-template-columns: 1fr 1fr; } }
.branch { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.branch__map { aspect-ratio: 16 / 10; background: var(--brand-100); }
.branch__map iframe { width: 100%; height: 100%; border: 0; }
.branch__body { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: .75rem; }
.branch__body h3 { font-size: 1.375rem; }
.branch__row { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); }
.branch__row .icon { color: var(--brand); margin-top: .2em; }
.placeholder-note { font-size: .8125rem; color: var(--muted); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: #f0dcd8; padding-top: clamp(4rem, 8vw, 6rem); }
.footer-top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; font-size: .975rem; color: #e3c9c4; }
.footer-col h2 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--blush); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .25rem; }
.footer-col a { display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; text-decoration: none; color: #f6e7e4; transition: color var(--dur-fast) ease; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col address { font-style: normal; display: grid; gap: .6rem; }
.footer-col address span { display: flex; gap: .55rem; align-items: flex-start; }
.footer-col .icon { color: var(--blush); }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.socials a:hover { background: #fff; color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 1.5rem 2rem; font-size: .875rem; color: #d6b9b3; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem; height: 56px; padding: 0 1.25rem 0 1rem; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast) ease;
}
.wa-float:hover { background: #17803f; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
@media (max-width: 600px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.footer-col address + h2 { margin-top: 1.75rem; }

/* Locales + fábrica en contacto */
@media (min-width: 1100px) { .branches--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.branch--factory { border-color: var(--brand); }
.branch--factory .branch__body h3 { color: var(--brand); }

/* ---------- Blog: listado ---------- */
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: box-shadow var(--dur) ease, border-color var(--dur) ease; }
.post-card:hover { box-shadow: var(--shadow); border-color: var(--brand-200); }
.post-card__media { aspect-ratio: 40 / 21; overflow: hidden; background: var(--brand-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card h2, .post-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
.post-card p { color: var(--ink-soft); font-size: 1rem; }
.post-card .link-arrow { margin-top: auto; padding-top: .4rem; }
.post-card--featured { background: var(--brand); border-color: var(--brand); color: #fff; }
.post-card--featured p { color: #f3e3e0; }
.post-card--featured .post-meta { color: var(--blush); }
.post-card--featured .link-arrow { color: #fff; }
@media (min-width: 760px) {
  .post-card--featured { grid-column: 1 / -1; flex-direction: row; }
  .post-card--featured .post-card__media { flex: 1.25; aspect-ratio: auto; min-height: 340px; }
  .post-card--featured .post-card__body { flex: 1; padding: 2.5rem; justify-content: center; }
  .post-card--featured h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
}
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .875rem; color: var(--muted); font-weight: 500; }
.post-meta .tag { font-size: .75rem; }

/* ---------- Blog: artículo ---------- */
.article-hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(2rem, 4vw, 3rem); background: var(--brand-100); }
.article-hero h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 700; letter-spacing: -.035em; max-width: 20ch; margin-top: 1rem; }
.article-hero .lead-sm { margin-top: 1.25rem; max-width: 60ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.article-hero .post-meta { margin-top: 1.5rem; }
.article-cover { margin: 0; margin-top: clamp(-1rem, -2vw, 0rem); }
.article-cover img { width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; border-radius: var(--radius-lg); background: var(--brand-100); }
.article-layout { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 4rem; } }
.article-aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1024px) { .article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; }
.aside-card h2 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--brand); margin-bottom: .9rem; }
.aside-card--brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.aside-card--brand h2 { color: var(--blush); }
.aside-card--brand p { color: #f3e3e0; font-size: .975rem; margin-bottom: 1rem; }
.toc { display: grid; gap: .25rem; font-size: .95rem; }
.toc a { display: block; padding: .3rem 0; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.025em; line-height: 1.15; margin-top: 2.75rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.25rem; letter-spacing: -.015em; margin-top: 2rem; }
.prose a { color: var(--brand); font-weight: 500; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 7px; height: 7px; background: var(--brand); border-radius: 2px; transform: rotate(-8deg); }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose strong { font-weight: 600; }
.prose .callout { background: var(--brand-100); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.35rem; }
.prose .callout p + p { margin-top: .5rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .975rem; line-height: 1.45; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; }
.prose tbody tr:nth-child(even) { background: var(--brand-50); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; color: var(--brand); }

/* CTA al final del artículo */
.post-cta { margin-top: 3rem; background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); position: relative; overflow: hidden; isolation: isolate; }
.post-cta::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -40%; width: 55%; aspect-ratio: 1.2; background: var(--brand-600); border-radius: 18% 26% 22% 34%; transform: rotate(-8deg); }
.post-cta h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); letter-spacing: -.025em; max-width: 22ch; }
.post-cta p { margin-top: .75rem; color: #f6e7e4; max-width: 52ch; }
.post-cta .cta-band__actions { margin-top: 1.5rem; }

/* Compartir */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.share__label { font-weight: 600; margin-right: .25rem; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--brand-200); background: #fff; color: var(--ink-soft); font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); }
.share .share--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.share .share--wa:hover { background: #17803f; border-color: #17803f; color: #fff; }
.aside-card .share { margin: 0; padding: 0; border: 0; }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 80ms; }
.js .reveal[data-delay="2"] { transition-delay: 160ms; }
.js .reveal[data-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}

/* ---------- Responsive header ---------- */
.main-nav a, .header-actions .btn { white-space: nowrap; }
@media (max-width: 1179px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { width: 116px; }
}

/* Utilidades */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.max-60 { max-width: 60ch; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; } }
