/* Florecer y Gozar — hoja de estilos
   Concepto: un jardín junto al río. Rosa empolvado y marfil como tierra fértil, vino y cacao
   como raíz; el verde salvia solo aparece en lo que crece. El agua fluye en el hero y en la cita. */
:root {
  --blush: #fbebe1;      /* fondo principal (el del sitio actual) */
  --ivory: #f9f8f1;      /* fondo alterno */
  --petal: #f3d9cc;      /* rosa intermedio */
  --rose: #d9a294;       /* pétalo */
  --wine: #582a2f;       /* texto y acento principal */
  --wine-d: #3d1c21;     /* bloques oscuros */
  --cocoa: #744f39;      /* raíz, detalles */
  --sage: #9aa985;       /* hojas */
  --sage-d: #6f805d;
  --ink: #212023;
  --muted: #7a5a52;
  --line: rgba(88, 42, 47, .14);
  --wa: #25d366;
  --shadow: 0 26px 50px -30px rgba(61, 28, 33, .55);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.08rem + .55vw, 1.55rem);
  --step-2: clamp(1.55rem, 1.25rem + 1.3vw, 2.35rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.8vw, 4rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: var(--step-0); line-height: 1.7; color: var(--ink); background: var(--blush); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 144; line-height: 1.08; margin: 0; text-wrap: balance; color: var(--wine); letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 1rem; }
.eyebrow { font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--cocoa); display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 1.4em; height: 1.4em; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22V11M12 11C7 11 4 8 4 3c5 0 8 3 8 8zm0 0c0-5 3-8 8-8 0 5-3 8-8 8z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22V11M12 11C7 11 4 8 4 3c5 0 8 3 8 8zm0 0c0-5 3-8 8-8 0 5-3 8-8 8z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.55em; border-radius: 999px; font: 600 var(--step--1)/1 var(--body); letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 1.5px solid var(--wine); background: var(--wine); color: var(--ivory); position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), color .4s; box-shadow: 0 14px 28px -16px rgba(88, 42, 47, .8); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--rose); transform: scale(0); transition: transform .55s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--wine-d); }
.btn:hover::before { transform: scale(1.05); }
.btn--ghost { background: transparent; color: var(--wine); box-shadow: none; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.link { font-weight: 600; color: var(--wine); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link span { transition: transform .4s var(--ease); }
.link:hover span { transform: translateX(5px); }

/* Encabezado */
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--sage), var(--rose), var(--wine)); transform-origin: left; transform: scaleX(0); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, box-shadow .4s, color .4s; color: var(--ivory); }
.site-header.is-scrolled { background: rgba(251, 235, 225, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(61, 28, 33, .4); color: var(--wine); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 80px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand b { display: block; font-family: var(--display); font-weight: 500; letter-spacing: .08em; font-size: clamp(.98rem, .9rem + .4vw, 1.2rem); line-height: 1.1; }
.brand small { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.logo-mark { width: 52px; height: 52px; flex: none; border-radius: 50%; box-shadow: 0 4px 14px rgba(61,28,33,.18); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.site-footer .logo-mark { width: 84px; height: 84px; }
@media (max-width: 520px) { .logo-mark { width: 44px; height: 44px; } }
.header-actions { order: 3; display: flex; align-items: center; gap: .4rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .4em; padding: .5em .9em; border-radius: 999px; border: 1.5px solid currentColor; font: 600 .76rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.lang-switch:hover { background: var(--rose); color: var(--wine-d); border-color: var(--rose); }
.lang-switch svg { width: 1.1em; height: 1.1em; }
.lang-short { display: none; }
.nav { order: 2; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a:not(.btn) { text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; padding-block: .3em; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: .8em 1.2em; }
.site-header:not(.is-scrolled) .nav .btn { background: var(--ivory); color: var(--wine); border-color: var(--ivory); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; color: inherit; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-open .site-header { color: var(--wine); }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1.6rem; background: var(--blush); color: var(--wine); clip-path: circle(0% at calc(100% - 38px) 40px); transition: clip-path .7s var(--ease); }
  .nav a:not(.btn) { font-family: var(--display); font-size: var(--step-2); }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 38px) 40px); }
  .site-header:not(.is-scrolled) .nav .btn { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
}
@media (max-width: 520px) { .lang-long { display: none; } .lang-short { display: inline; } .brand small { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--ivory); background: var(--wine-d); padding-block: calc(80px + 3rem) 9rem; }
.hero-bg { position: absolute; inset: -12% 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: breathe 22s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.12) translateX(-2%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(61, 28, 33, .82) 0%, rgba(88, 42, 47, .45) 55%, rgba(217, 162, 148, .15) 100%); }
.petals { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { display: grid; gap: 1.5rem; }
.hero .eyebrow { color: var(--petal); }
.hero h1 { color: var(--ivory); font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.6rem); font-weight: 300; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--rose); font-weight: 400; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; }
.hero-lead { max-width: 48ch; font-size: var(--step-1); line-height: 1.55; font-weight: 300; color: #f6e8e1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero .btn { background: var(--ivory); color: var(--wine); border-color: var(--ivory); }
.hero .btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(249, 248, 241, .7); }
.hero-note { display: inline-flex; align-items: center; gap: .5em; font-size: var(--step--1); color: var(--petal); letter-spacing: .04em; }
.hero-note svg { width: 1.1em; height: 1.1em; }
.river { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 130px); }
.river path { animation: flow 14s linear infinite; }
.river .w1 { fill: var(--petal); opacity: .35; animation-duration: 18s; }
.river .w2 { fill: var(--rose); opacity: .45; animation-duration: 12s; animation-direction: reverse; }
.river .w3 { fill: var(--wine); }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(-720px); } }

/* Franja */
.ticker { background: var(--wine); color: var(--petal); padding-block: 1.1rem; overflow: hidden; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span { font-family: var(--display); font-style: italic; font-weight: 300; font-size: var(--step-2); white-space: nowrap; padding-inline: 1.3rem; display: inline-flex; align-items: center; gap: 2.6rem; }
.ticker-track span::after { content: "✿"; font-style: normal; font-size: .55em; color: var(--rose); }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-3); max-width: 17ch; }
.section-head p { max-width: 42ch; color: var(--muted); }

/* Nosotros */
.about { background: var(--ivory); }
.about .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.collage { position: relative; padding-bottom: 14%; min-width: 0; }
.frame { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 200px 200px var(--radius) var(--radius); background: linear-gradient(160deg, var(--petal), var(--rose)); }
.frame img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.frame--small { position: absolute; right: -4%; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: 50%; outline: 10px solid var(--ivory); box-shadow: var(--shadow); z-index: 2; }
.leaf-float { position: absolute; width: 46px; height: 46px; z-index: 3; background: var(--sage); border-radius: 0 70% 0 70%; animation: sway 6s ease-in-out infinite; }
.lf1 { top: 8%; right: 6%; }
.lf2 { bottom: 30%; left: -3%; width: 30px; height: 30px; background: var(--rose); animation-delay: -2s; }
@keyframes sway { 50% { transform: translateY(-12px) rotate(14deg); } }
.about-copy { display: grid; gap: 1.4rem; min-width: 0; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy p { color: var(--muted); max-width: 58ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .6rem; }
.pillars div { background: var(--blush); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: .3rem; align-content: start; }
.pillars h3 { font-size: var(--step-1); }
.pillars p { font-size: var(--step--1); line-height: 1.5; }
@media (max-width: 880px) { .about .wrap { grid-template-columns: 1fr; } .pillars { grid-template-columns: 1fr; } .frame { aspect-ratio: 1; } }

/* Ciclo (planta que crece) */
.cycle { background: var(--blush); position: relative; }
.cycle-pin { padding-block: clamp(4rem, 8vw, 6rem); }
.cycle-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cycle-copy { display: grid; gap: 1.4rem; min-width: 0; }
.cycle-copy h2 { font-size: var(--step-3); max-width: 18ch; }
.stages { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; }
.stages li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: .9rem 1rem; border-radius: 16px; transition: background .5s, opacity .5s; opacity: .45; }
.stages li.on { opacity: 1; }
.stages li.current { background: var(--ivory); box-shadow: var(--shadow); }
.st-num { font-family: var(--display); font-size: 1.5rem; color: var(--rose); font-variant-numeric: tabular-nums; }
.stages h3 { font-size: var(--step-1); }
.stages p { color: var(--muted); font-size: .96rem; }
.plant-wrap { display: grid; place-items: center; min-width: 0; }
.plant { width: min(100%, 360px); height: auto; overflow: visible; }
.plant .stem { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--g, 1)); }
.plant .roots path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--r, 1)); }
.plant .leaf, .plant .flower, .plant .fruits circle { transform-box: fill-box; transition: transform .8s var(--ease), opacity .6s; }
.plant .l1, .plant .l3 { transform-origin: 100% 50%; }
.plant .l2, .plant .l4 { transform-origin: 0% 50%; }
.plant .flower { transform-origin: 50% 100%; }
.plant .fruits circle { transform-origin: center; }
.plant .leaf:not(.on), .plant .flower:not(.on), .plant .fruits circle:not(.on) { transform: scale(0); opacity: 0; }
.plant .flower.on .petal { animation: bloom 4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.plant .p-r { animation-delay: -1s !important; }
@keyframes bloom { to { transform: rotate(-4deg) scale(1.04); } }
.cycle.is-pinned { height: 340vh; }
.cycle.is-pinned .cycle-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-block: 80px 0; }
@media (max-width: 880px) {
  .cycle-inner { grid-template-columns: 1fr; }
  .plant-wrap { order: -1; }
  .plant { width: min(60%, 220px); }
  .cycle.is-pinned .cycle-pin { align-items: start; padding-top: 90px; }
  .cycle.is-pinned .stages li:not(.current) { display: none; }
}

/* Programas */
.programs { background: var(--ivory); }
.prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.prog { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--blush); border-radius: var(--radius); overflow: hidden; min-width: 0; transition: transform .5s var(--ease), box-shadow .5s; }
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prog-img { margin: 0; position: relative; min-height: 240px; overflow: hidden; background: linear-gradient(160deg, var(--sage), var(--rose)); }
.prog-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prog:hover .prog-img img { transform: scale(1.07); }
.prog-body { padding: clamp(1.4rem, 2.5vw, 2rem); display: grid; gap: .8rem; align-content: center; min-width: 0; }
.prog-body h3 { font-size: var(--step-2); }
.prog-body p { color: var(--muted); }
@media (max-width: 980px) { .prog-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .prog { grid-template-columns: 1fr; } .prog-img { min-height: 200px; } }

/* Galería */
.gallery { background: var(--wine-d); color: var(--petal); padding-block: clamp(3rem, 7vw, 6rem); }
.gallery h2 { color: var(--ivory); font-size: var(--step-3); max-width: 20ch; }
.gallery .eyebrow { color: var(--rose); }
.gallery-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1rem; }
.gallery-track::-webkit-scrollbar { display: none; }
.g-card { margin: 0; flex: none; width: clamp(240px, 24vw, 360px); scroll-snap-align: start; display: grid; gap: .9rem; }
.g-card:nth-child(even) { padding-top: clamp(1.5rem, 5vw, 4rem); }
.g-img { aspect-ratio: 3 / 4; border-radius: 180px 180px var(--radius) var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--cocoa), var(--wine)); max-width: 100%; }
.g-card:nth-child(3n) .g-img { border-radius: var(--radius) var(--radius) 180px 180px; }
.g-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.g-card:hover .g-img img { transform: scale(1); }
.g-card figcaption { display: grid; gap: .2rem; font-size: .93rem; line-height: 1.5; }
.g-card figcaption span { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--ivory); }
.gallery.is-pinned { padding-block: 0; }
.gallery.is-pinned .gallery-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.gallery.is-pinned .gallery-track { overflow: visible; width: max-content; will-change: transform; scroll-snap-type: none; }

/* Proceso */
.process { background: var(--blush); }
.process .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.process-intro { position: sticky; top: 120px; align-self: start; display: grid; gap: 1.3rem; min-width: 0; }
.process-intro h2 { font-size: var(--step-3); }
.process-intro p { color: var(--muted); max-width: 44ch; }
.steps { list-style: none; margin: 0; padding: 0 0 0 3.4rem; position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 1.15rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.steps .rail { counter-increment: none; list-style: none; position: absolute; left: 1.15rem; top: .4rem; width: 2px; height: calc(100% - .8rem); background: linear-gradient(var(--sage), var(--rose), var(--wine)); transform-origin: top; transform: scaleY(0); }
.steps li:not(.rail) { position: relative; display: grid; gap: .5rem; counter-increment: s; min-width: 0; }
.steps li:not(.rail)::before { content: counter(s); position: absolute; left: -3.4rem; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; font-family: var(--display); background: var(--ivory); color: var(--wine); border: 2px solid var(--rose); border-radius: 50% 50% 50% 8%; transition: background .4s, color .4s; }
.steps li.done::before { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.steps h3 { font-size: var(--step-2); }
.steps p { color: var(--muted); max-width: 50ch; }
@media (max-width: 880px) { .process .wrap { grid-template-columns: 1fr; } .process-intro { position: static; } }

/* Cita */
.statement { overflow: hidden; isolation: isolate; background: var(--wine-d); }
.statement-bg { position: absolute; inset: -20% 0; z-index: -2; }
.statement-bg img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(61, 28, 33, .88), rgba(88, 42, 47, .45)); }
.statement blockquote { margin: 0; max-width: 22ch; }
.statement blockquote p { font-family: var(--display); font-weight: 300; font-size: var(--step-3); line-height: 1.15; color: var(--ivory); }
.statement .w { opacity: .22; transition: opacity .3s; }
.statement .w.on { opacity: 1; }
.statement cite { display: block; margin-top: 1.6rem; font-style: normal; letter-spacing: .22em; text-transform: uppercase; font-size: var(--step--1); color: var(--rose); }

/* Contacto */
.contact { background: var(--ivory); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); }
.contact h2 { font-size: var(--step-3); }
.contact-info { display: grid; gap: 1.8rem; align-content: start; min-width: 0; }
.contact-list { display: grid; gap: .8rem; }
.contact-item { display: grid; grid-template-columns: 2.8rem 1fr; gap: .9rem; align-items: center; background: var(--blush); border-radius: 18px; padding: 1rem 1.2rem; }
.contact-item svg { width: 26px; height: 26px; color: var(--wine); }
.contact-item .label { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--cocoa); font-weight: 600; }
.contact-item .value { font-family: var(--display); font-size: var(--step-1); color: var(--wine); line-height: 1.3; overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; }
.form { display: grid; gap: 1rem; background: var(--blush); border-radius: calc(var(--radius) + 8px); padding: clamp(1.4rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); min-width: 0; }
.form h3 { font-size: var(--step-2); }
.form > p { color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--cocoa); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--ivory); border: 1.5px solid transparent; border-radius: 14px; padding: .75rem .95rem; transition: border-color .3s; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--step--1); color: var(--muted); line-height: 1.5; }
.consent input { margin-top: .25rem; accent-color: var(--wine); width: 1rem; height: 1rem; flex: none; }
.consent a { color: var(--wine); font-weight: 600; }
.form .btn { justify-self: start; }
.form-note { min-height: 1.4em; font-size: var(--step--1); color: var(--wine); font-weight: 600; }
@media (max-width: 880px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Pie */
.site-footer { background: var(--wine-d); color: var(--petal); padding-block: 3.5rem 2.2rem; font-size: var(--step--1); }
.site-footer .wrap { display: grid; gap: 2.2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: center; }
.brand--light { color: var(--ivory); margin-right: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { border-top: 1px solid rgba(243, 217, 204, .18); padding-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; opacity: .8; }

/* Flotantes */
.wa-float { position: fixed; right: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: .6rem; padding: .85rem; border-radius: 999px; background: var(--wa); color: var(--ink); text-decoration: none; box-shadow: 0 14px 30px -10px rgba(33, 32, 35, .45); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .9rem; transition: max-width .5s var(--ease); }
.wa-float:hover span { max-width: 12rem; padding-right: .3rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.cookie { position: fixed; left: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + env(safe-area-inset-bottom, 0px)); z-index: 45; max-width: min(420px, calc(100% - 110px)); background: var(--ivory); color: var(--ink); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); font-size: var(--step--1); line-height: 1.5; display: grid; gap: .8rem; }
.cookie a { color: var(--wine); font-weight: 600; }
.cookie button { justify-self: start; font: 600 .78rem/1 var(--body); background: var(--wine); color: var(--ivory); border: 0; padding: .8em 1.3em; border-radius: 999px; cursor: pointer; }

/* Entradas animadas */
.anim [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-reveal].in { opacity: 1; transform: none; }
.anim .hero h1 .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.anim body.loaded .hero h1 .line > span { transform: none; }
.anim [data-wipe] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-wipe].in { clip-path: inset(0 0 0 0); }

/* Aviso de privacidad */
.legal-hero { padding-block: calc(80px + clamp(2.5rem, 6vw, 5rem)) clamp(2rem, 4vw, 3rem); background: var(--wine-d); color: var(--petal); }
.legal-hero h1 { color: var(--ivory); font-size: var(--step-3); margin-top: 1rem; }
.legal-hero .eyebrow { color: var(--rose); }
.legal-hero p { margin-top: 1rem; }
.legal .wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 5rem); }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: .5rem; font-size: var(--step--1); }
.toc a { text-decoration: none; color: var(--muted); padding-left: .9rem; border-left: 2px solid var(--line); line-height: 1.4; }
.toc a:hover { color: var(--wine); border-color: var(--rose); }
.legal-body { max-width: 72ch; display: grid; gap: 1.1rem; min-width: 0; }
.legal-body h2 { font-size: var(--step-2); margin-top: 2rem; scroll-margin-top: 100px; }
.legal-body h3 { font-family: var(--body); font-weight: 600; font-size: var(--step-0); }
.legal-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-body .box { background: var(--ivory); border-radius: 18px; padding: 1.3rem 1.4rem; border-left: 4px solid var(--rose); }
.legal-body .note { font-size: var(--step--1); color: var(--muted); font-style: italic; }
.pendiente { background: #fff1b8; padding: 0 .3em; font-weight: 600; }
.site-header.solid { background: rgba(251, 235, 225, .92); color: var(--wine); }
@media (max-width: 880px) { .legal .wrap { grid-template-columns: 1fr; } .toc { position: static; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
