/* ==========================================================================
   FRUTALIA · CONCENTRADOS — Hoja de estilos
   --------------------------------------------------------------------------
    1. Variables            7. Encabezado de páginas     13. Pie de página
    2. Base                 8. Inicio                    14. Botón de llamada
    3. Utilidades           9. Nosotros                  15. Diálogos
    4. Botones y etiquetas 10. Catálogo                  16. Animaciones
    5. Cabecera y menú     11. Contacto                  17. Responsivo
    6. Hero de inicio      12. Llamado a la acción
   ========================================================================== */


/* 1. VARIABLES ============================================================ */
:root {
  /* Ciruela — morado principal */
  --uva-950: #120D16;
  --uva-900: #1B1321;
  --uva-800: #251B2D;
  --uva-700: #32243A;
  --uva-600: #41304C;
  --uva-500: #574465;
  --uva-300: #9A8CA3;
  --uva-100: #EAE6EC;
  --uva-50:  #F7F3F8;

  /* Miel — dorado secundario */
  --oro-700: #8E6420;
  --oro-600: #B07F2E;
  --oro-500: #C69640;
  --oro-400: #D6A94F;
  --oro-300: #E4C27C;
  --oro-100: #F5EBD4;
  --oro-50:  #FBF6EB;

  /* Verde del logo — solo acentos */
  --verde-700: #1F6B3A;
  --verde-500: #2E8B4E;
  --verde-300: #8CCB9F;

  /* Color de cada línea de producto */
  --c-concentrados: linear-gradient(160deg, #E2B55A 0%, #C8943A 100%);
  --c-jarabes: linear-gradient(160deg, #4B3858 0%, #2F2238 100%);
  --c-salsas: linear-gradient(160deg, #B95C35 0%, #8A3B22 100%);
  --c-escarchadores: linear-gradient(160deg, #6A2E48 0%, #43192C 100%);

  --marfil: #FBF9F6;
  --niebla: #F4F0F5;
  --tinta: #231A28;
  --tinta-suave: #685E6E;
  --borde: #E7E0EA;

  --grad-uva: linear-gradient(135deg, #1B1321 0%, #32243A 55%, #463552 100%);
  --grad-miel: linear-gradient(180deg, #FAF4E7 0%, #F1E2BF 100%);
  --grad-noche: linear-gradient(180deg, #1F1526 0%, #120D16 100%);

  --f-titulos: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-texto: "DM Sans", "Segoe UI", system-ui, sans-serif;

  --ancho: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --pad-sec: clamp(64px, 9vw, 112px);
  --ola-h: clamp(36px, 5vw, 76px);

  --sombra-s: 0 4px 14px -6px rgba(25, 12, 32, .22);
  --sombra-m: 0 16px 36px -20px rgba(25, 12, 32, .4);
  --sombra-l: 0 30px 60px -32px rgba(25, 12, 32, .55);

  --suave: cubic-bezier(.22, 1, .36, 1);

  /* Formas de ola para el borde superior de las secciones (se usan como máscara) */
  --ola-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V58C180 18 360 6 560 30S920 96 1120 78 1360 30 1440 22V100Z'/%3E%3C/svg%3E");
  --ola-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V30C220 70 420 96 700 70S1180 6 1440 44V100Z'/%3E%3C/svg%3E");
  --ola-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V70C160 40 300 18 480 34S820 100 1000 84 1300 20 1440 40V100Z'/%3E%3C/svg%3E");
}


/* 2. BASE ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--marfil);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--f-titulos);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 3.5vw, 4.1rem); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(1.95rem, 1.4rem + 2vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--oro-300); color: var(--uva-900); }
:focus-visible { outline: 2px solid var(--oro-400); outline-offset: 3px; border-radius: 6px; }


/* 3. UTILIDADES =========================================================== */
.contenedor { width: min(100% - var(--gutter) * 2, var(--ancho)); margin-inline: auto; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.saltar {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: #fff; color: var(--uva-800); font-weight: 700; text-decoration: none;
  box-shadow: var(--sombra-m); transition: top .2s;
}
.saltar:focus { top: 16px; }

.i {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); line-height: 1.6; }

.seccion { position: relative; isolation: isolate; overflow-x: clip; padding-block: var(--pad-sec); }

/* Borde superior en forma de ola: la sección se "monta" sobre la anterior
   y la máscara deja ver el fondo de la anterior por encima de la ola. */
.con-ola {
  --ola: var(--ola-1);
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--ola-h) * -1);
  padding-top: calc(var(--ola-h) + var(--pad-sec) * .8);
  -webkit-mask:
    var(--ola) top center / 100% var(--ola-h) no-repeat,
    linear-gradient(#000 0 0) 0 calc(var(--ola-h) - 1px) / 100% 100% no-repeat;
          mask:
    var(--ola) top center / 100% var(--ola-h) no-repeat,
    linear-gradient(#000 0 0) 0 calc(var(--ola-h) - 1px) / 100% 100% no-repeat;
}
.ola-2 { --ola: var(--ola-2); }
.ola-3 { --ola: var(--ola-3); }

/* Encabezado de sección */
.titulo-seccion {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}
.titulo-seccion .etiqueta { margin-bottom: 14px; }
.titulo-seccion .etiqueta::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.titulo-seccion h2 { margin-bottom: .25em; }
.titulo-seccion p { color: var(--tinta-suave); margin: 0; }
.titulo-seccion--claro { color: #fff; }
.titulo-seccion--claro p { color: rgba(255, 255, 255, .75); }

/* Palabras destacadas en los títulos */
.resalta { color: var(--oro-300); white-space: nowrap; }

/* Ilustraciones decorativas (trazo dorado) */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: .8;
  translate: calc(var(--mx, 0) * var(--p, 10px)) calc(var(--my, 0) * var(--p, 10px));
  transition: translate .8s var(--suave);
}

/* Patrón de puntos para fondos oscuros */
.puntos::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  pointer-events: none;
}


/* 4. BOTONES Y ETIQUETAS ================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px;
  padding: .8em 1.45em;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--f-titulos); font-weight: 600; font-size: 1rem; line-height: 1.15; letter-spacing: .01em;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .25s var(--suave);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .i { width: 1.15em; height: 1.15em; }

.btn--oro { background: var(--oro-400); color: var(--uva-900); }
.btn--oro:hover { background: var(--oro-300); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }

.btn--uva { background: var(--uva-700); color: #fff; }
.btn--uva:hover { background: var(--uva-600); box-shadow: 0 10px 22px -12px rgba(27, 19, 33, .7); }

.btn--contorno { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--contorno:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--contorno-uva { border-color: var(--uva-600); color: var(--uva-700); background: transparent; }
.btn--contorno-uva:hover { background: var(--uva-700); border-color: var(--uva-700); color: #fff; }

.btn--chico { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn--ancho { width: 100%; }

/* Etiqueta sobre los títulos: texto en mayúsculas con una línea */
.etiqueta {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--f-texto); font-weight: 700; font-size: .78rem; line-height: 1.3;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--oro-600);
}
.etiqueta::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.etiqueta--clara { color: var(--oro-300); }
.etiqueta--oscura { color: var(--uva-500); }


/* 5. CABECERA Y MENÚ ====================================================== */
.cabecera {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 16px;
  transition: background-color .35s, box-shadow .35s, padding .35s;
}
.cabecera.es-solida {
  padding-block: 8px;
  background: rgba(27, 19, 33, .92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
}
.cabecera__barra { display: flex; align-items: center; gap: 20px; }

.cabecera__logo { flex: none; border-radius: 8px; }
.cabecera__logo img { height: 60px; width: auto; transition: height .35s var(--suave); }
.es-solida .cabecera__logo img { height: 50px; }

.menu { margin-inline: auto; }
.menu__lista { display: flex; gap: 6px; }
.menu__lista a {
  position: relative;
  display: block;
  padding: .55em .95em;
  color: rgba(255, 255, 255, .82); text-decoration: none;
  font-family: var(--f-titulos); font-weight: 500; font-size: 1.02rem;
  transition: color .2s;
}
.menu__lista a::after {
  content: "";
  position: absolute; left: .95em; right: .95em; bottom: .25em; height: 2px;
  background: var(--oro-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--suave);
}
.menu__lista a:hover { color: #fff; }
.menu__lista a:hover::after, .menu__lista a[aria-current="page"]::after { transform: scaleX(1); }
.menu__lista a[aria-current="page"] { color: #fff; }
.menu__extra { display: none; }

.cabecera__acciones { display: flex; align-items: center; gap: 10px; }

.redes { display: flex; gap: 8px; }
.redes a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  transition: background-color .2s, color .2s, border-color .2s;
}
.redes a:hover { background: var(--oro-400); border-color: var(--oro-400); color: var(--uva-900); }
.redes .i { width: 18px; height: 18px; }

.hamburguesa {
  display: none;
  width: 46px; height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
  background: transparent; color: #fff;
  cursor: pointer;
}
.hamburguesa .i { width: 24px; height: 24px; }
.hamburguesa .i--cerrar, .menu-abierto .hamburguesa .i--abrir { display: none; }
.menu-abierto .hamburguesa .i--cerrar { display: block; }


/* 6. HERO DE INICIO ======================================================= */
/* Escena de estudio: pared y piso morados con luz suave, sombra de hojas
   arriba a la izquierda y la fruta a la derecha, apoyada en el piso.
   La altura la marca el texto: la fruta termina poco después de la nota. */
.hero {
  --piso: clamp(34px, 3.2vw, 50px);
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(122px, 11vw, 156px) 0 clamp(40px, 4vw, 56px);
  color: #fff;
  background:
    radial-gradient(ellipse 38% 42% at 12% 18%, rgba(120, 80, 128, .38), transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(96, 58, 104, .35), transparent 72%),
    linear-gradient(180deg, #221526 0%, #2B1A30 60%, #2E1C33 100%);
}
/* Piso */
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  height: var(--piso);
  background:
    radial-gradient(ellipse 45% 90% at 72% 10%, rgba(150, 105, 158, .26), transparent 70%),
    linear-gradient(180deg, #33203A 0%, #2F1D35 50%, #27182C 100%);
}
/* Sombra suave donde la pared se junta con el piso */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: var(--piso); z-index: -1;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(12, 6, 14, .2));
}
.hero__sombra-hojas {
  position: absolute; top: -40px; left: -60px; z-index: -1;
  width: clamp(260px, 30vw, 460px); height: auto;
  opacity: .55;
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 640px); }

.hero__etiqueta { margin-bottom: 20px; letter-spacing: .24em; font-weight: 600; font-size: .8rem; }
.hero__etiqueta::before { display: none; }

.hero__titulo {
  margin: 0 0 .45em;
  font-family: "Plus Jakarta Sans", var(--f-titulos);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.1rem + 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: #fff;
}
.hero__titulo span { display: block; color: var(--oro-400); white-space: nowrap; }

.hero__texto .lead { max-width: 34ch; margin-bottom: 0; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, .94rem + .25vw, 1.12rem); }
.hero__botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__botones .btn { min-height: 56px; padding-inline: 1.7em; font-size: 1.05rem; }

.hero__nota {
  display: flex; align-items: center; gap: 14px;
  margin: 30px 0 0;
  font-size: .95rem; color: rgba(255, 255, 255, .8);
}
.hero__nota .i { width: 26px; height: 26px; color: var(--oro-400); stroke-width: 1.5; }
.hero__nota span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .3); }

/* Fruta: abajo a la derecha, sin invadir la columna del texto */
.hero__frutas {
  position: absolute; right: 0; bottom: 0; z-index: 1;
  width: min(41vw, 700px); height: auto;
  filter: drop-shadow(-6px 18px 16px rgba(8, 3, 10, .5));
  pointer-events: none;
}

/* Celular: fondo fotográfico con la fruta abajo y el texto alineado a la
   izquierda arriba. El espacio inferior (74vw) deja ver toda la fruta. */
@media (max-width: 767px) {
  .hero {
    display: flex; flex-direction: column; justify-content: center;
    min-height: 100vh; min-height: 100svh;
    padding: 124px 0 calc(74vw + 20px);
    background: #25182A url("../img/hero/fondo-movil.jpg") center bottom / 100% auto no-repeat;
  }
  .hero::before, .hero::after, .hero__sombra-hojas, .hero__frutas { display: none; }
  .hero__etiqueta { margin-bottom: 16px; font-size: .72rem; letter-spacing: .2em; }
  .hero__titulo { font-size: clamp(2rem, 9.4vw, 2.6rem); margin-bottom: .5em; }
  .hero__texto .lead { max-width: 32ch; font-size: 1rem; }
  .hero__botones { gap: 10px; margin-top: 24px; }
  .hero__botones .btn { min-height: 48px; padding: .6em 1em; font-size: .9rem; }
  .hero__nota { margin-top: 22px; font-size: .84rem; }
  .hero__nota .i { display: none; }
  .hero__nota span { padding-left: 0; border: 0; }
}

/* 7. ENCABEZADO DE PÁGINAS INTERNAS ======================================= */
.hero-pagina {
  position: relative; isolation: isolate; overflow: clip;
  color: #fff;
  padding: clamp(128px, 14vw, 168px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(circle at 84% 34%, rgba(214, 169, 79, .18), transparent 46%),
    radial-gradient(circle at 0% 100%, rgba(106, 46, 72, .35), transparent 46%),
    var(--grad-uva);
}
.hero-pagina__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-pagina h1 { font-size: clamp(2.3rem, 1.4rem + 3.1vw, 3.8rem); margin-bottom: .4em; }
.hero-pagina .etiqueta { margin-bottom: 20px; }
.hero-pagina .lead { color: rgba(255, 255, 255, .78); max-width: 36ch; }
.hero-pagina .btn { margin-top: 20px; }

.hero-pagina__foto { position: relative; justify-self: center; width: min(100%, 460px); }
.marco-blob {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  border: 6px solid rgba(255, 255, 255, .92);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .75);
}
.marco-blob img { width: 100%; height: 100%; object-fit: cover; }
.hero-pagina__foto .deco--hoja { bottom: 6%; left: -14%; width: 26%; rotate: -12deg; --p: 14px; }
.hero-pagina__foto .deco--fresa { top: -4%; right: 2%; width: 16%; rotate: 14deg; --p: 18px; }
.hero-pagina__foto .deco--uvas { top: 2%; left: -9%; width: 18%; rotate: -14deg; --p: 16px; }
.hero-pagina__foto .deco--limon { bottom: -4%; right: 4%; width: 20%; rotate: 18deg; --p: 18px; }


/* 8. INICIO =============================================================== */

/* Líneas de producto */
.lineas { background: linear-gradient(180deg, var(--marfil) 0%, var(--niebla) 100%); }
.lineas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-top: 96px;
}
.linea-card {
  --card-texto: #fff;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 134px 24px 24px;
  border-radius: 20px;
  background: var(--card-bg);
  color: var(--card-texto);
  text-decoration: none;
  box-shadow: 0 26px 46px -30px rgba(20, 8, 26, .75);
  transition: transform .45s var(--suave), box-shadow .45s var(--suave);
}
.linea-card::before {
  content: "";
  position: absolute; right: -30%; bottom: -34%; z-index: -1;
  width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.linea-card:hover { transform: translateY(-6px); box-shadow: 0 34px 56px -30px rgba(20, 8, 26, .85); }
.linea-card--concentrados { --card-bg: var(--c-concentrados); --card-texto: var(--uva-900); }
.linea-card--jarabes { --card-bg: var(--c-jarabes); }
.linea-card--salsas { --card-bg: var(--c-salsas); }
.linea-card--escarchadores { --card-bg: var(--c-escarchadores); }

.linea-card__img {
  position: absolute; left: 0; right: 0; top: -92px;
  height: 214px;
  display: flex; justify-content: center; align-items: flex-end;
  pointer-events: none;
}
.linea-card__img img {
  height: 100%; width: auto;
  filter: drop-shadow(0 16px 14px rgba(10, 4, 14, .35));
  transition: transform .5s var(--suave);
}
.linea-card__img .pz-atras { height: 80%; z-index: 1; }
.linea-card__img .pz-frente { z-index: 2; }
.linea-card__img .pz-atras + .pz-frente,
.linea-card__img .pz-frente + .pz-atras { margin-left: -14px; }
.linea-card__img--medianos .pz-atras + .pz-frente,
.linea-card__img--medianos .pz-frente + .pz-atras { margin-left: -34px; }
.linea-card__img--anchos { height: 172px; top: -58px; }
.linea-card__img--anchos .pz-atras + .pz-frente,
.linea-card__img--anchos .pz-frente + .pz-atras { margin-left: -44px; }
.linea-card:hover .linea-card__img img { transform: translateY(-6px); }

.linea-card__num { font-family: var(--f-texto); font-weight: 700; font-size: .78rem; letter-spacing: .18em; opacity: .7; }
.linea-card h3 { font-size: 1.45rem; margin: .2em 0 .35em; }
.linea-card p { font-size: .98rem; line-height: 1.5; opacity: .88; margin-bottom: 1.1em; }
.linea-card__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--f-titulos); font-weight: 600; font-size: 1rem;
}
.linea-card__link .i { transition: transform .3s var(--suave); }
.linea-card:hover .linea-card__link .i { transform: translateX(4px); }

/* Ideal para tu negocio */
.ideal {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(214, 169, 79, .12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(106, 46, 72, .35), transparent 45%),
    var(--grad-uva);
}
.ideal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ideal__item {
  display: grid; justify-items: center; gap: 14px;
  padding: 26px 12px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--f-titulos); font-weight: 500; font-size: 1.05rem; line-height: 1.25;
  text-align: center;
  transition: transform .4s var(--suave), border-color .3s, background-color .3s;
}
.ideal__item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(214, 169, 79, .45); }
.ideal__icono {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(214, 169, 79, .14);
  border: 1px solid rgba(214, 169, 79, .35);
  color: var(--oro-300);
}
.ideal__icono .i { width: 26px; height: 26px; }

/* Trayectoria */
.trayectoria { background: linear-gradient(180deg, var(--marfil) 0%, var(--niebla) 100%); }
.trayectoria__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.trayectoria__texto .etiqueta { margin-bottom: 16px; }
.trayectoria__texto h2 { color: var(--uva-800); }
.trayectoria__texto .lead { color: var(--tinta-suave); max-width: 46ch; margin-bottom: .9em; }
.trayectoria__lista { display: grid; gap: 10px; margin: 22px 0 30px; }
.trayectoria__lista li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--uva-800); }
.trayectoria__lista .i { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--oro-100); color: var(--oro-600); stroke-width: 2.4; }
.trayectoria__media { position: relative; width: min(100%, 540px); justify-self: center; }
.trayectoria__foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: var(--sombra-l);
}
.trayectoria__foto img { width: 100%; height: 100%; object-fit: cover; }
.trayectoria__sello {
  position: absolute; left: -24px; bottom: -24px;
  display: grid; gap: 2px;
  padding: 18px 24px;
  border-radius: 16px;
  background: var(--uva-700);
  color: #fff;
  box-shadow: var(--sombra-m);
}
.trayectoria__sello strong { font-family: var(--f-titulos); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--oro-300); }
.trayectoria__sello span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.trayectoria__media .deco--limon { top: -34px; right: -26px; width: 92px; rotate: 14deg; --p: 14px; }

/* Por qué Frutalia */
.razones { background: var(--grad-miel); color: var(--tinta); overflow: clip; }
.razones__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.razones__media { position: relative; width: min(100%, 470px); justify-self: center; }
.razones__media .marco-blob { border-color: #fff; box-shadow: 0 40px 70px -36px rgba(50, 36, 58, .6); }
.razones__media .deco--uvas { top: -8%; right: -4%; width: 22%; rotate: 12deg; --p: 14px; }
.razones__media .deco--hoja { bottom: 4%; left: -12%; width: 26%; rotate: 18deg; --p: 12px; }

.razones__texto .etiqueta { margin-bottom: 16px; }
.razones__texto h2 { color: var(--uva-800); }
.razones__texto .lead { color: var(--tinta-suave); max-width: 34ch; }
.razones__lista { display: grid; gap: 12px; margin-top: 28px; }
.razon {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sombra-s);
  transition: transform .35s var(--suave), box-shadow .35s;
}
.razon:hover { transform: translateX(4px); box-shadow: var(--sombra-m); }
.razon__icono {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--uva-700);
  color: var(--oro-300);
}
.razon__icono .i { width: 24px; height: 24px; }
.razon h3 { margin: 0 0 .15em; color: var(--uva-800); font-size: 1.2rem; }
.razon p { margin: 0; color: var(--tinta-suave); font-size: .98rem; line-height: 1.45; }

/* Galería */
.galeria {
  color: #fff;
  background:
    radial-gradient(circle at 12% 30%, rgba(82, 62, 98, .35), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(214, 169, 79, .08), transparent 40%),
    var(--grad-noche);
}
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 205px);
  grid-auto-flow: dense;
  gap: 14px;
}
.galeria__item {
  position: relative;
  display: block; overflow: hidden;
  border-radius: 14px;
  background: var(--uva-800);
}
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.galeria__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21, 10, 27, .8), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.galeria__item span {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-titulos); font-weight: 500; font-size: 1rem;
  opacity: 0; translate: 0 8px;
  transition: opacity .35s, translate .35s var(--suave);
}
.galeria__item:hover img, .galeria__item:focus-visible img { transform: scale(1.05); }
.galeria__item:hover::after, .galeria__item:focus-visible::after,
.galeria__item:hover span, .galeria__item:focus-visible span { opacity: 1; translate: 0 0; }
.g-alto { grid-row: span 2; }
.g-ancho { grid-column: span 2; }


/* 9. NOSOTROS ============================================================= */

/* Historia */
.historia { background: linear-gradient(180deg, var(--marfil) 0%, var(--niebla) 100%); }
.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.historia__fotos { position: relative; width: min(100%, 520px); aspect-ratio: 1.05; justify-self: center; }
.foto-marco {
  position: absolute; overflow: hidden;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: var(--sombra-l);
}
.foto-marco img { width: 100%; height: 100%; object-fit: cover; }
.foto-marco--1 { left: 0; top: 0; width: 76%; height: 72%; rotate: -2deg; }
.foto-marco--2 { right: 0; bottom: 0; width: 58%; height: 52%; rotate: 3deg; }
.historia__texto .etiqueta { margin-bottom: 16px; }
.historia__texto h2 { color: var(--uva-800); }
.historia__texto .lead { color: var(--tinta-suave); max-width: 48ch; margin-bottom: .9em; }

/* Línea del tiempo */
.linea-tiempo {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 8vw, 88px);
}
.linea-tiempo::before {
  content: "";
  position: absolute; top: 42px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--borde);
}
.hito { position: relative; text-align: center; }
.hito__punto {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px var(--uva-100), var(--sombra-m);
  transition: transform .45s var(--suave);
}
.hito__punto img { width: 48px; height: 48px; object-fit: contain; }
.hito:hover .hito__punto { transform: translateY(-4px); }
.hito__anio {
  display: block;
  font-family: var(--f-titulos); font-weight: 600; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.01em;
  color: var(--uva-600);
}
.hito p { margin: 6px auto 0; max-width: 24ch; color: var(--tinta-suave); font-size: .98rem; line-height: 1.45; }

/* Misión y visión */
.mv { background: var(--grad-miel); overflow: clip; }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 28px); }
.mv-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(30px, 4vw, 46px);
  border-radius: 22px;
  box-shadow: 0 30px 60px -36px rgba(50, 36, 58, .6);
}
.mv-card--uva { background: linear-gradient(150deg, #463552 0%, #32243A 55%, #251B2D 100%); color: #fff; }
.mv-card--blanca { background: #fff; color: var(--tinta); }
.mv-card__icono {
  width: 60px; height: 60px; margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--oro-400); color: var(--uva-900);
}
.mv-card--blanca .mv-card__icono { background: var(--uva-700); color: var(--oro-300); }
.mv-card__icono .i { width: 28px; height: 28px; }
.mv-card h2 { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.5rem); margin-bottom: .35em; }
.mv-card--blanca h2 { color: var(--uva-800); }
.mv-card p { font-size: 1.1rem; line-height: 1.65; margin: 0; max-width: 42ch; }
.mv-card--uva p { color: rgba(255, 255, 255, .85); }
.mv-card--blanca p { color: var(--tinta-suave); }
.mv-card__deco { position: absolute; right: -38px; bottom: -40px; width: 136px; opacity: .2; z-index: -1; rotate: -14deg; }
.mv-card--blanca .mv-card__deco { opacity: .28; }

/* Valores */
.valores {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(106, 46, 72, .3), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(82, 62, 98, .4), transparent 45%),
    var(--grad-noche);
}
.valores__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.valor {
  flex: 0 1 calc((100% - 56px) / 5);
  display: grid; justify-items: center; gap: 14px;
  padding: 26px 16px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  transition: transform .4s var(--suave), background-color .3s, border-color .3s;
}
.valor:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(214, 169, 79, .45); }
.valor__icono {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(214, 169, 79, .14);
  color: var(--oro-300);
  border: 1px solid rgba(214, 169, 79, .35);
}
.valor__icono .i { width: 26px; height: 26px; }
.valor__nombre { font-family: var(--f-titulos); font-weight: 500; font-size: 1.12rem; line-height: 1.2; }


/* 10. CATÁLOGO ============================================================ */

/* Aparador del encabezado */
.aparador { position: relative; width: min(100%, 540px); aspect-ratio: 1.12; justify-self: center; }
.aparador__sol {
  position: absolute; left: 10%; right: 10%; top: 0; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #F3DDA2 0%, #E3BC66 38%, #CF9C42 72%, #B07F2E 100%);
  box-shadow: 0 0 0 18px rgba(228, 194, 124, .08), 0 0 0 40px rgba(228, 194, 124, .04);
}
.aparador__piso {
  position: absolute; left: 4%; right: 4%; bottom: 2%; height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 4, 14, .6), transparent);
}
.aparador .ap {
  position: absolute; bottom: 7%;
  width: auto;
  filter: drop-shadow(0 22px 20px rgba(10, 4, 14, .45));
  animation: flotar 7s ease-in-out infinite;
}
.aparador .ap-galon { left: 5%; height: 70%; z-index: 1; rotate: -5deg; animation-delay: -1s; }
.aparador .ap-botella { left: 36%; height: 64%; z-index: 2; animation-delay: -3s; }
.aparador .ap-vidrio { left: 52%; height: 58%; z-index: 3; rotate: 4deg; animation-delay: -2s; }
.aparador .ap-frasco { right: 2%; width: 31%; height: auto; z-index: 4; rotate: 5deg; animation-delay: -4.5s; }
.aparador .deco--naranja { top: 8%; left: -4%; width: 15%; rotate: -14deg; --p: 18px; }
.aparador .deco--fresa { top: 6%; right: -2%; width: 12%; rotate: 14deg; --p: 20px; }

/* Accesos a cada línea */
.saltos {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: clamp(40px, 6vw, 64px);
}
.saltos a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; text-decoration: none;
  font-family: var(--f-titulos); font-weight: 500; font-size: 1rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.saltos a:hover { background: #fff; border-color: #fff; color: var(--uva-800); }
.saltos img {
  width: 40px; height: 40px; padding: 4px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
}

/* Secciones de cada línea */
.linea { overflow: clip; }
.linea--concentrados { background: linear-gradient(180deg, #FAF4E7 0%, #F2E4C4 100%); color: var(--tinta); --halo: rgba(198, 150, 64, .16); }
.linea--jarabes { background: radial-gradient(circle at 78% 26%, rgba(82, 62, 98, .45), transparent 45%), linear-gradient(180deg, #2F2238 0%, #1B1321 100%); color: #fff; --halo: rgba(255, 255, 255, .07); }
.linea--salsas { background: linear-gradient(180deg, #FBF3EE 0%, #F2DDCF 100%); color: var(--tinta); --halo: rgba(185, 92, 53, .13); }
.linea--escarchadores { background: radial-gradient(circle at 20% 24%, rgba(106, 46, 72, .5), transparent 45%), linear-gradient(180deg, #43192C 0%, #240F19 100%); color: #fff; --halo: rgba(255, 255, 255, .07); }

.linea__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.linea--invertida .linea__visual { order: 2; }

.linea__visual { position: relative; width: min(100%, 500px); aspect-ratio: 1; justify-self: center; }
.linea__halo {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: var(--halo);
  box-shadow: 0 0 0 20px color-mix(in srgb, var(--halo) 50%, transparent), 0 0 0 44px color-mix(in srgb, var(--halo) 25%, transparent);
}
.linea__prod {
  position: absolute; bottom: 14%;
  width: auto;
  filter: drop-shadow(0 22px 20px rgba(10, 4, 14, .4));
  animation: flotar 7s ease-in-out infinite;
}
.linea__prod--1 { left: 12%; height: 56%; rotate: -8deg; z-index: 1; animation-delay: -1.5s; }
.linea__prod--2 { left: 50%; height: 72%; translate: -50% 0; z-index: 2; }
.linea__prod--3 { right: 12%; height: 56%; rotate: 8deg; z-index: 1; animation-delay: -3.5s; }
.linea__visual--delgados .linea__prod--1 { left: 23%; height: 62%; }
.linea__visual--delgados .linea__prod--2 { height: 78%; bottom: 11%; }
.linea__visual--delgados .linea__prod--3 { right: 23%; height: 62%; }
.linea__visual--anchos .linea__prod--1 { left: 6%; height: auto; width: 36%; bottom: 20%; }
.linea__visual--anchos .linea__prod--2 { height: auto; width: 46%; bottom: 12%; }
.linea__visual--anchos .linea__prod--3 { right: 6%; height: auto; width: 36%; bottom: 20%; }
.linea__visual .deco { width: 16%; --p: 16px; }
.linea__visual .deco--arriba { top: 4%; right: 6%; rotate: 14deg; }
.linea__visual .deco--ancha { width: 24%; top: 7%; rotate: -10deg; }

.linea__uso { position: absolute; left: -2%; bottom: -1%; z-index: 3; width: 36%; margin: 0; }
.linea--invertida .linea__uso { left: auto; right: -2%; }
.linea__uso img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--sombra-l);
}
.linea__uso figcaption {
  position: absolute; left: 50%; bottom: -12px; translate: -50% 0;
  padding: 6px 14px;
  border-radius: 8px;
  background: #fff; color: var(--uva-800);
  font-family: var(--f-titulos); font-weight: 600; font-size: .92rem; white-space: nowrap;
  box-shadow: var(--sombra-s);
}

.linea__num {
  display: block;
  font-family: var(--f-titulos); font-weight: 600; line-height: .85; letter-spacing: -.03em;
  font-size: clamp(3.5rem, 2.4rem + 4vw, 5.5rem);
  opacity: .14;
}
.linea__texto h2 { margin: .15em 0 .35em; }
.linea--concentrados .linea__texto h2, .linea--salsas .linea__texto h2 { color: var(--uva-800); }
.linea__texto > p { font-size: 1.15rem; line-height: 1.6; max-width: 36ch; }
.insignia {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--verde-500);
  background: rgba(46, 139, 78, .08);
  color: var(--verde-700);
  font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.insignia .i { width: 16px; height: 16px; }
.linea__sub {
  margin: 26px 0 12px;
  font-family: var(--f-texto); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  opacity: .65;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(35, 26, 40, .08);
  font-weight: 500; font-size: .95rem; line-height: 1.2;
}
.chips li .i { width: 15px; height: 15px; color: var(--verde-500); stroke-width: 2.2; }
.linea--jarabes .chips li, .linea--escarchadores .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.linea--jarabes .chips li .i, .linea--escarchadores .chips li .i { color: var(--oro-300); }

.nota-catalogo { margin: 0; padding: 22px 0 0; text-align: center; font-size: .9rem; color: var(--tinta-suave); }


/* 11. CONTACTO ============================================================ */
.contacto { background: linear-gradient(180deg, var(--marfil) 0%, var(--niebla) 100%); }
.contacto__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.canales { display: grid; gap: 16px; }
@media (min-width: 981px) {
  .canales { position: sticky; top: 104px; }
}
.canal {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--sombra-m);
  color: var(--tinta); text-decoration: none;
  transition: transform .4s var(--suave), box-shadow .3s;
}
a.canal:hover { transform: translateY(-3px); box-shadow: var(--sombra-l); }
.canal__icono {
  grid-row: span 2;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--uva-100); color: var(--uva-700);
}
.canal__icono .i { width: 26px; height: 26px; }
.canal--tel .canal__icono { background: var(--oro-400); color: var(--uva-900); }
.canal__titulo { font-family: var(--f-texto); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-suave); line-height: 1.3; }
.canal__dato {
  font-family: var(--f-titulos); font-weight: 600; font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); line-height: 1.2;
  color: var(--uva-800); overflow-wrap: anywhere;
}
.canal__dato a { text-decoration: none; }
.canal__acciones { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.canal--tel { background: linear-gradient(135deg, #251B2D 0%, #41304C 100%); }
.canal--tel .canal__titulo { color: rgba(255, 255, 255, .7); }
.canal--tel .canal__dato { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.canal--tel::after {
  content: "";
  position: absolute; right: -50px; top: -50px; z-index: -1;
  width: 170px; aspect-ratio: 1; border-radius: 50%;
  background: rgba(214, 169, 79, .12);
}
.canal__flecha {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-family: var(--f-titulos); font-weight: 600; color: var(--oro-300);
}
.canal .redes a { border-color: var(--borde); color: var(--uva-700); }
.canal .redes a:hover { background: var(--uva-700); border-color: var(--uva-700); color: #fff; }

.tarjeta-form {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sombra-l);
}
.tarjeta-form h2 { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.3rem); margin-bottom: .2em; color: var(--uva-800); }
.tarjeta-form > p { color: var(--tinta-suave); margin-bottom: 26px; }

/* Formularios */
.formulario { display: grid; gap: 16px; }
.campos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 6px; align-content: start; }
.campo label, .campo legend { font-weight: 700; font-size: .92rem; color: var(--uva-800); }
.campo .opcional { font-weight: 400; color: var(--tinta-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--borde);
  border-radius: 10px;
  background: #FDFCFD;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.campo select {
  appearance: none;
  padding-right: 44px;
  background: #FDFCFD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23512A63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none;
  border-color: var(--uva-500);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(82, 62, 98, .14);
}
.campo [aria-invalid="true"],
.campo [aria-invalid="true"]:focus { border-color: #C2334B; box-shadow: 0 0 0 4px rgba(194, 51, 75, .12); }
.campo__error { color: #B02A40; font-size: .86rem; font-weight: 700; }
.campo__error:empty { display: none; }

.chips-check { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-check legend { padding: 0; margin-bottom: 10px; }
.chips-check__lista { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-check label { position: relative; cursor: pointer; }
.chips-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips-check__lista span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--borde);
  border-radius: 8px;
  background: #FDFCFD;
  font-weight: 500; font-size: .95rem; line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chips-check__lista span::before {
  content: "";
  width: 15px; height: 15px;
  border-radius: 4px;
  border: 1.5px solid currentColor;
  opacity: .45;
}
.chips-check input:checked + span { background: var(--uva-700); border-color: var(--uva-700); color: #fff; }
.chips-check input:checked + span::before {
  opacity: 1; border-color: var(--oro-400);
  background: var(--oro-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F0F27' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.chips-check input:focus-visible + span { outline: 2px solid var(--oro-400); outline-offset: 2px; }

.formulario__nota { margin: 0; font-size: .88rem; color: var(--tinta-suave); text-align: center; }
.formulario__nota a { color: var(--uva-600); font-weight: 700; }

.exito { padding: 12px 0 4px; text-align: center; }
.exito__icono {
  width: 76px; height: 76px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--oro-100); color: var(--oro-700);
}
.exito__icono .i { width: 36px; height: 36px; stroke-width: 2.4; }
.exito h3 { font-size: 1.6rem; color: var(--uva-800); margin-bottom: .3em; }
.exito p { color: var(--tinta-suave); margin-bottom: .7em; }
.exito__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }


/* 12. LLAMADO A LA ACCIÓN ================================================= */
.cta { background: linear-gradient(180deg, var(--niebla) 0%, var(--marfil) 100%); }
.cta__caja {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 6vw, 72px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(214, 169, 79, .22), transparent 42%),
    linear-gradient(135deg, #251B2D 0%, #3C2C46 60%, #4B3857 100%);
  color: #fff; text-align: center;
  box-shadow: var(--sombra-l);
}
.cta__caja h2 { max-width: 20ch; margin-inline: auto; }
.cta__caja p { max-width: 52ch; margin: 0 auto; font-size: 1.15rem; color: rgba(255, 255, 255, .8); }
.cta__botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta__caja h2, .cta__caja p, .cta__botones { position: relative; z-index: 1; }
.cta__caja .deco--naranja { left: -30px; top: -28px; width: 140px; rotate: -16deg; opacity: .55; --p: 14px; }
.cta__caja .deco--hoja { right: 5%; bottom: 10%; width: 96px; rotate: -12deg; opacity: .55; --p: 16px; }


/* 13. PIE DE PÁGINA ======================================================= */
.pie {
  padding-top: clamp(56px, 7vw, 88px);
  color: rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 88% 10%, rgba(82, 62, 98, .3), transparent 38%),
    linear-gradient(180deg, #1B1321 0%, #120D16 100%);
  padding-bottom: 28px;
}
.pie__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.35fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.pie__logo { display: inline-block; margin-bottom: 14px; }
.pie__logo img { height: 80px; width: auto; }
.pie__marca p { max-width: 30ch; margin-bottom: 18px; }
.pie h2 {
  margin-bottom: 16px;
  font-family: var(--f-texto); font-size: .78rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--oro-300);
}
.pie ul { display: grid; gap: 10px; }
.pie ul a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.pie ul a:hover { color: #fff; }
.pie__contacto a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.pie__contacto .i { color: var(--oro-300); }
.pie__contacto .btn { margin-top: 18px; color: var(--uva-900); }
.pie__contacto .btn:hover { color: var(--uva-900); }
.pie__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 24px;
  font-size: .9rem;
}
.pie__base p { margin: 0; }
.pie__base a { color: var(--oro-300); font-weight: 700; text-decoration: none; }
.pie__base a:hover { text-decoration: underline; }


/* 14. BOTÓN DE LLAMADA ==================================================== */
.llamar {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center;
  height: 56px;
  border-radius: 999px;
  background: var(--oro-400);
  color: var(--uva-900); text-decoration: none;
  font-family: var(--f-titulos); font-weight: 600; font-size: 1.02rem;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
  transition: background-color .2s, transform .3s var(--suave);
}
.llamar:hover { background: var(--oro-300); transform: translateY(-2px); }
.llamar__icono { width: 56px; height: 56px; display: grid; place-items: center; flex: none; }
.llamar__icono .i { width: 24px; height: 24px; }
.llamar__texto {
  max-width: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .45s var(--suave), padding .45s var(--suave);
}
.llamar:hover .llamar__texto, .llamar:focus-visible .llamar__texto { max-width: 190px; padding-right: 20px; }


/* 15. DIÁLOGOS ============================================================ */
/* Visor de la galería */
.visor {
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0; border: 0;
  background: transparent;
  overflow: visible;
}
.visor::backdrop { background: rgba(15, 7, 20, .9); }
.visor[open] { animation: entrar .4s var(--suave); }
.visor figure { margin: 0; }
.visor img {
  width: 100%; max-height: calc(100dvh - 110px);
  object-fit: contain;
  border-radius: 14px;
}
.visor figcaption { margin-top: 14px; color: #fff; text-align: center; font-family: var(--f-titulos); font-weight: 500; font-size: 1.1rem; }
.visor__btn {
  position: absolute; top: calc(50% - 20px); translate: 0 -50%;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: #fff; color: var(--uva-800);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: background-color .2s;
}
.visor__btn:hover { background: var(--oro-300); }
.visor__btn .i { width: 24px; height: 24px; }
.visor__btn--prev { left: -25px; }
.visor__btn--next { right: -25px; }
.visor__cerrar { top: -18px; right: -18px; translate: none; }


/* 16. ANIMACIONES ========================================================= */
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes entrar {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* Aparición al hacer scroll (solo si hay JavaScript). Se usa animation con
   relleno "backwards" para que, al terminar, el elemento recupere sus propios
   efectos de hover. */
@keyframes aparecer {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.js [data-aparecer]:not(.visible) { opacity: 0; }
.js [data-aparecer].visible { animation: aparecer .9s var(--suave) var(--retraso, 0s) backwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-aparecer]:not(.visible) { opacity: 1; }
  .js [data-aparecer].visible { animation: none; }
  .deco { translate: none; }
}


/* 17. RESPONSIVO ========================================================== */
@media (max-width: 1180px) {
  .cabecera__acciones .redes { display: none; }
}

@media (max-width: 1100px) {
  .lineas__grid { grid-template-columns: repeat(2, 1fr); row-gap: 120px; }
  .valor { flex-basis: calc((100% - 28px) / 3); }
}

@media (max-width: 980px) {
  /* Menú móvil */
  .hamburguesa { display: grid; }
  .cabecera__barra { gap: 12px; }
  .cabecera__acciones { margin-left: auto; }
  .cabecera.menu-abierto { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center; gap: 36px;
    padding: 110px var(--gutter) 40px;
    background:
      radial-gradient(circle at 90% 10%, rgba(214, 169, 79, .16), transparent 40%),
      radial-gradient(circle at 0% 100%, rgba(106, 46, 72, .35), transparent 45%),
      var(--grad-uva);
    opacity: 0; visibility: hidden; translate: 0 -12px;
    transition: opacity .35s, translate .45s var(--suave), visibility .35s;
    overflow-y: auto;
  }
  .menu-abierto .menu { opacity: 1; visibility: visible; translate: 0 0; }
  .menu__lista { flex-direction: column; gap: 4px; }
  .menu__lista a { display: inline-block; font-size: clamp(1.9rem, 6.5vw, 2.4rem); font-weight: 500; padding: .2em 0; color: #fff; }
  .menu__lista a::after { left: 0; right: auto; width: 40px; bottom: .1em; }
  .menu__extra { display: grid; gap: 18px; justify-items: start; }
  .menu__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--f-titulos); font-weight: 500; font-size: 1.25rem; text-decoration: none; }
  .menu__tel .i { color: var(--oro-300); }

  /* Heroes */
  .hero-pagina__grid { grid-template-columns: 1fr; text-align: center; }
  .hero-pagina .lead { margin-inline: auto; }
  .hero-pagina__foto { width: min(100%, 400px); }
  .aparador { width: min(100%, 460px); }

  .razones__grid, .historia__grid, .trayectoria__grid { grid-template-columns: 1fr; }
  .razones__texto, .historia__texto, .trayectoria__texto { text-align: center; }
  .razones__texto .lead, .historia__texto .lead, .historia__texto p, .trayectoria__texto .lead { margin-inline: auto; }
  .trayectoria__media { order: -1; }
  .ideal__grid { grid-template-columns: repeat(3, 1fr); }
  .razon { text-align: left; }

  .linea__grid { grid-template-columns: 1fr; }
  .linea--invertida .linea__visual { order: 0; }
  .linea__visual { width: min(100%, 440px); }
  .linea__texto { text-align: center; }
  .linea__texto > p { margin-inline: auto; }
  .chips { justify-content: center; }

  .contacto__grid { grid-template-columns: 1fr; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .mv__grid { grid-template-columns: 1fr; }

  .linea-tiempo { grid-template-columns: 1fr; gap: 22px; max-width: 460px; margin-inline: auto; }
  .linea-tiempo::before { top: 20px; bottom: 20px; left: 41px; right: auto; width: 2px; height: auto; }
  .hito { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 20px; text-align: left; }
  .hito__punto { grid-row: span 2; margin: 0; }
  .hito p { margin: 2px 0 0; }

  .galeria__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 36vw, 200px); gap: 10px; }
  .galeria__item span { opacity: 1; translate: 0 0; font-size: .95rem; }
  .galeria__item::after { opacity: .9; }

  .cta__caja .deco--naranja { width: 96px; left: -26px; top: -24px; }
  .cta__caja .deco--hoja { width: 64px; right: 4%; bottom: 4%; }
}

@media (max-width: 640px) {
  .cabecera__logo img { height: 50px; }
  .es-solida .cabecera__logo img { height: 44px; }
  .cabecera__acciones .btn { display: none; }

  .lineas__grid { grid-template-columns: 1fr; row-gap: 18px; padding-top: 24px; }
  .linea-card { padding: 24px 46% 22px 22px; }
  .linea-card::before { right: -20%; bottom: -60%; width: 70%; }
  .linea-card__img, .linea-card__img--anchos { top: auto; bottom: 18px; left: auto; right: 4%; width: 44%; height: 76%; }
  .linea-card__img--anchos { height: 58%; }
  .linea-card h3 { font-size: 1.3rem; }

  .valor { flex-basis: calc((100% - 14px) / 2); }
  .ideal__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ideal__item { padding: 20px 10px 18px; font-size: 1rem; }
  .trayectoria__sello { left: -8px; bottom: -18px; padding: 14px 18px; }
  .trayectoria__sello strong { font-size: 1.6rem; }
  .trayectoria__media .deco--limon { right: -8px; width: 70px; }
  .campos-2 { grid-template-columns: 1fr; }
  .pie__grid { grid-template-columns: 1fr; gap: 32px; }
  .pie__base { flex-direction: column; }


  .visor__btn--prev { left: 8px; }
  .visor__btn--next { right: 8px; }
  .visor__cerrar { top: 8px; right: 8px; }

  .llamar { right: 14px; bottom: 14px; height: 54px; }
  .llamar__icono { width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .cta__botones .btn { width: 100%; }
}
