/* =========================================================
   BATIDOS FLAVORS — Hoja de estilos
   Solo HTML + CSS · Animaciones nativas (sin JavaScript)
   Paleta: rosa magenta + crema + rosa suave (identidad Flavors)
   ========================================================= */

/* ---------- Tokens de diseño ---------- */
:root {
  --pink:        #e6147f;   /* rosa magenta del logo */
  --pink-deep:   #b11464;   /* frambuesa / borde       */
  --pink-soft:   #ffd9ec;   /* rosa pastel             */
  --pink-bg:     #fff2f8;   /* fondo rosado muy claro  */
  --cream:       #fbe7a1;   /* crema del logo          */
  --cream-soft:  #fff6d6;   /* crema claro             */
  --plum:        #3a2230;   /* texto principal         */
  --plum-soft:   #6c5360;   /* texto secundario        */
  --white:       #ffffff;

  --grad-hot:  linear-gradient(120deg, #ff4fa3 0%, #e6147f 45%, #b11464 100%);
  --grad-soft: linear-gradient(135deg, #fff6d6 0%, #ffe3f0 100%);

  --shadow-sm: 0 6px 18px rgba(177, 20, 100, .12);
  --shadow-md: 0 18px 40px rgba(177, 20, 100, .18);
  --shadow-lg: 0 30px 70px rgba(177, 20, 100, .26);

  --radius:    22px;
  --radius-lg: 34px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--plum);
  background: var(--pink-bg);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; }

.script { font-family: var(--script); font-weight: 700; letter-spacing: 0; }

/* =========================================================
   FONDO DECORATIVO GLOBAL (blobs + grano)
   ========================================================= */
.bg-decor { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  animation: drift 22s var(--ease) infinite alternate;
}
.blob--1 { width: 46vw; height: 46vw; top: -14vw; left: -10vw; background: #ffb3d6; }
.blob--2 { width: 40vw; height: 40vw; bottom: -16vw; right: -8vw; background: #ffe39c; animation-delay: -6s; }
.blob--3 { width: 32vw; height: 32vw; top: 38%; left: 55%; background: #ff7fb8; opacity: .35; animation-delay: -12s; }
.grain {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 1px 1px, #b11464 1px, transparent 0);
  background-size: 4px 4px;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(4vw, 3vw) scale(1.15); }
}

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(255, 242, 248, .72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(230, 20, 127, .12);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 46px;
  height: 46px;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: cover;
  filter: drop-shadow(0 4px 8px rgba(177, 20, 100, .3));
  animation: pop-in .8s var(--ease) both;
}
.logo-mark img, .logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.lm-bg    { fill: var(--cream); }
.lm-ring  { fill: none; stroke: var(--pink); stroke-width: 6; }
.lm-cup   { fill: #f6d98a; stroke: var(--pink-deep); stroke-width: 1.5; }
.lm-lid   { fill: #fff3c9; stroke: var(--pink-deep); stroke-width: 1.2; }
.lm-straw { fill: var(--pink); }
.lm-eye   { fill: var(--plum); }
.lm-smile { fill: none; stroke: var(--plum); stroke-width: 1.8; stroke-linecap: round; }

.nav__brand-txt { font-weight: 700; font-size: 1.32rem; letter-spacing: -.03em; color: var(--plum); }
.nav__brand-txt strong { color: var(--pink); font-weight: 800; }

.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__menu a {
  font-weight: 500; font-size: .96rem; padding: .5rem .85rem; border-radius: 100px;
  color: var(--plum-soft); transition: color .25s, background .25s;
}
.nav__menu a:hover { color: var(--pink); background: rgba(230,20,127,.08); }
.nav__menu a.is-active { color: var(--pink); background: rgba(230,20,127,.1); font-weight: 600; }
.nav__cta.is-active { color: #fff !important; }
.nav__cta {
  background: var(--grad-hot); color: #fff !important; font-weight: 600 !important;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s !important;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--grad-hot) !important; }

/* Menú móvil (checkbox hack, sin JS) */
.nav__check, .nav__burger { display: none; }
.nav__burger { width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center; background: rgba(230,20,127,.08); }
.nav__burger span { width: 20px; height: 2px; background: var(--pink); border-radius: 2px; transition: .3s var(--ease); }

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-weight: 600; font-size: 1rem; padding: .85rem 1.6rem; border-radius: 100px;
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s; will-change: transform;
}
.btn--solid { background: var(--grad-hot); color: #fff; box-shadow: var(--shadow-md); }
.btn--solid:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--pink-deep); border: 1.5px solid var(--pink-soft); }
.btn--ghost:hover { transform: translateY(-3px); background: #fff; border-color: var(--pink); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.4rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(255,121,184,.55), transparent 60%),
    radial-gradient(45% 55% at 82% 18%, rgba(251,231,161,.7), transparent 60%),
    radial-gradient(50% 60% at 65% 85%, rgba(255,79,163,.4), transparent 60%);
  animation: meshmove 16s ease-in-out infinite alternate;
}
@keyframes meshmove { 0%{transform:translate3d(0,0,0) scale(1);} 100%{transform:translate3d(-2%,2%,0) scale(1.08);} }

.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.5rem, 4vw, 3rem);
}

.pill {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .85rem;
  background: rgba(255,255,255,.8); color: var(--pink-deep); padding: .45rem .95rem; border-radius: 100px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(230,20,127,.14); margin-bottom: 1.1rem;
}
.hero__title { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; }
.hero__title span { display: block; }
.hero__title .script { color: var(--pink); font-size: 1.18em; line-height: .9; margin-top: .1em; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--plum-soft); max-width: 30rem; margin: 1.3rem 0 1.9rem; }
.hero__lead strong { color: var(--pink-deep); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__stats { list-style: none; display: flex; gap: 2rem; margin-top: 2.4rem; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-size: 1.7rem; font-weight: 800; color: var(--pink); }
.hero__stats span { font-size: .82rem; color: var(--plum-soft); text-transform: uppercase; letter-spacing: .05em; }

/* --- Arte del hero: vaso flotante --- */
.hero__art { display: grid; place-items: center; }
.cup-stage { position: relative; width: min(420px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.cup-glow {
  position: absolute; inset: 6%; border-radius: 50%; background: var(--grad-hot); opacity: .9;
  filter: blur(2px); box-shadow: var(--shadow-lg); animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.04);} }
.cup-photo {
  position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--cream);
  border: 8px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; animation: floaty 6s ease-in-out infinite;
}
.hero__logo-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
.cup-emoji { font-size: 6rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); }
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(-1deg);} 50%{transform:translateY(-16px) rotate(1deg);} }

.float-chip {
  position: absolute; background: #fff; color: var(--plum); font-weight: 600; font-size: .85rem;
  padding: .5rem .9rem; border-radius: 100px; box-shadow: var(--shadow-md); animation: floaty 5s ease-in-out infinite;
}
.chip-a { top: 6%; left: -4%; animation-delay: -1s; }
.chip-b { top: 44%; right: -8%; animation-delay: -2.5s; }
.chip-c { bottom: 6%; left: 4%; animation-delay: -3.8s; }

.sparkle { position: absolute; color: #fff; font-size: 1.4rem; opacity: .9; animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 12%; right: 16%; }
.s2 { bottom: 20%; right: 8%; animation-delay: -1s; font-size: 1rem; }
.s3 { top: 30%; left: 6%; animation-delay: -2s; font-size: 1.7rem; }
@keyframes twinkle { 0%,100%{opacity:.2; transform:scale(.7);} 50%{opacity:1; transform:scale(1.1);} }

/* Indicador de scroll */
.scroll-hint { position: absolute; left: 50%; bottom: 1.2rem; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(230,20,127,.4); border-radius: 100px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-hint span { width: 5px; height: 9px; background: var(--pink); border-radius: 4px; animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0%{transform:translateY(0); opacity:1;} 70%{transform:translateY(12px); opacity:0;} 100%{opacity:0;} }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--grad-hot); color: #fff; padding: .9rem 0; overflow: hidden; white-space: nowrap;
  box-shadow: var(--shadow-md); transform: rotate(-1.2deg) scale(1.02); margin: 1rem 0; }
.marquee__track { display: inline-flex; animation: scrollx 26s linear infinite; }
.marquee__track span { font-family: var(--script); font-size: 1.5rem; font-weight: 700; padding-right: 1rem; }
@keyframes scrollx { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* =========================================================
   ESTRUCTURA DE SECCIONES
   ========================================================= */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2.4rem); }
.section__head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section__head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
.section__head .script { color: var(--pink); }
.section__sub { color: var(--plum-soft); margin-top: .9rem; font-size: 1.05rem; }
.section__sub a { color: var(--pink); font-weight: 600; }

.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink); background: rgba(230,20,127,.1); padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1rem; }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.2); }

/* =========================================================
   NOSOTROS & CARRUSEL (Puro CSS, 0% JS)
   ========================================================= */
.nosotros { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nosotros__media { position: relative; }
.media-card {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--grad-soft);
}

/* --- Carrusel automático puro CSS --- */
.carousel {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grad-soft);
}
.carousel__track {
  display: flex;
  width: 500%;
  height: 100%;
  will-change: transform;
  -webkit-animation: carouselSlide 12s cubic-bezier(.77, 0, .175, 1) infinite;
  animation: carouselSlide 12s cubic-bezier(.77, 0, .175, 1) infinite;
}
.carousel:hover .carousel__track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.carousel__slide {
  width: 20%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Sombreado inferior para legibilidad */
.carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26%;
  background: linear-gradient(to top, rgba(58, 34, 48, .35), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Indicadores visuales sincronizados */
.carousel__indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  padding: 6px 14px;
  background: rgba(58, 34, 48, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: all .35s var(--ease);
}
.carousel__dot:nth-child(1) { animation: dotActive1 12s infinite; }
.carousel__dot:nth-child(2) { animation: dotActive2 12s infinite; }
.carousel__dot:nth-child(3) { animation: dotActive3 12s infinite; }
.carousel__dot:nth-child(4) { animation: dotActive4 12s infinite; }

@keyframes dotActive1 {
  0%, 20%, 98%, 100% { background: #fff; width: 22px; border-radius: 10px; }
  25%, 94% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
}
@keyframes dotActive2 {
  0%, 20% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
  25%, 45% { background: #fff; width: 22px; border-radius: 10px; }
  49%, 100% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
}
@keyframes dotActive3 {
  0%, 45% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
  50%, 70% { background: #fff; width: 22px; border-radius: 10px; }
  74%, 100% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
}
@keyframes dotActive4 {
  0%, 70% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
  75%, 95% { background: #fff; width: 22px; border-radius: 10px; }
  98%, 100% { background: rgba(255,255,255,.45); width: 8px; border-radius: 50%; }
}

@-webkit-keyframes carouselSlide {
  0%, 20%   { -webkit-transform: translateX(0); transform: translateX(0); }
  25%, 45%  { -webkit-transform: translateX(-20%); transform: translateX(-20%); }
  50%, 70%  { -webkit-transform: translateX(-40%); transform: translateX(-40%); }
  75%, 95%  { -webkit-transform: translateX(-60%); transform: translateX(-60%); }
  100%      { -webkit-transform: translateX(-80%); transform: translateX(-80%); }
}
@keyframes carouselSlide {
  0%, 20%   { -webkit-transform: translateX(0); transform: translateX(0); }
  25%, 45%  { -webkit-transform: translateX(-20%); transform: translateX(-20%); }
  50%, 70%  { -webkit-transform: translateX(-40%); transform: translateX(-40%); }
  75%, 95%  { -webkit-transform: translateX(-60%); transform: translateX(-60%); }
  100%      { -webkit-transform: translateX(-80%); transform: translateX(-80%); }
}

.media-emoji { font-size: 5rem; filter: drop-shadow(0 8px 14px rgba(0,0,0,.15)); }
.badge-float { position: absolute; right: -10px; bottom: 26px; background: #fff; border-radius: 18px;
  padding: .9rem 1.2rem; box-shadow: var(--shadow-md); display: grid; z-index: 10; }
.badge-float b { color: var(--pink); font-size: 1.05rem; }
.badge-float span { font-size: .82rem; color: var(--plum-soft); }

.nosotros__copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.nosotros__copy p {
  color: var(--plum-soft);
  margin-bottom: 1.2rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.checks { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--grad-hot); color: #fff; font-size: .8rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }

/* =========================================================
   MENÚ / TARJETAS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s; will-change: transform;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card__img {
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #fff0f7 55%, #ffd6eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 20, 127, .08);
}
.card__img img {
  width: 100%;
  height: 100%;
  transition: transform .5s var(--ease);
}
.card__img img[src*=".png"], .card__img img[src$=".png"] {
  object-fit: contain;
  padding: 14px;
  filter: drop-shadow(0 10px 16px rgba(177, 20, 100, .18));
}
.card__img img:not([src*=".png"]) {
  object-fit: cover;
  padding: 0;
  filter: none;
}
.card:hover .card__img img { transform: scale(1.08); }
.card__img span { font-size: 3.2rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,.18)); }
.card__body { padding: 1.3rem 1.4rem 1.6rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--pink-deep); background: var(--pink-soft); padding: .3rem .7rem; border-radius: 100px; margin-bottom: .7rem; }
.card__body h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.card__body p { color: var(--plum-soft); font-size: .95rem; }
.menu__cta { text-align: center; margin-top: clamp(2rem, 5vw, 3.2rem); }

/* =========================================================
   INGREDIENTES / FEATURES
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.feature { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; border: 1px solid rgba(230,20,127,.06); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature__ic { font-size: 2.6rem; width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 22px;
  display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(230,20,127,.1); }
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature p { color: var(--plum-soft); font-size: .92rem; }

/* =========================================================
   GALERÍA (mosaico)
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 1.1rem;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--img) center / cover no-repeat, var(--grad-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hot);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.g-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem .85rem;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  background: linear-gradient(to top, rgba(58,34,48,.88) 0%, rgba(58,34,48,.4) 65%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: .4s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.g-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.g-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}
.g-item:hover::after {
  opacity: .25;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative;
  border-top: 4px solid var(--pink); transition: transform .35s var(--ease); }
.quote:hover { transform: translateY(-6px); }
.quote::before { content: "\201C"; font-family: var(--script); font-size: 4.5rem; color: var(--pink-soft); position: absolute; top: .2rem; right: 1.2rem; line-height: 1; }
.quote p { font-size: 1.05rem; color: var(--plum); margin-bottom: 1rem; }
.quote footer { font-weight: 600; color: var(--pink-deep); font-size: .92rem; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto__card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--grad-hot); color: #fff; }
.contacto__copy { padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.contacto__copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-bottom: .9rem; }
.contacto__copy > p { color: rgba(255,255,255,.9); margin-bottom: 1.6rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.ci {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  line-height: 1;
  font-size: 1.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #fff;
  flex-shrink: 0;
  transition: transform .25s var(--ease), background .25s;
}
.ci svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
  margin: auto;
}
.contact-list li:hover .ci {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.32);
}
.contact-list b { display: block; font-size: .98rem; font-weight: 700; line-height: 1.25; margin-bottom: .15rem; }
.contact-list li > div span, .contact-list li > div a { display: block; color: rgba(255,255,255,.9); font-size: .92rem; line-height: 1.35; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.contacto__actions .btn--solid { background: #fff; color: var(--pink-deep); }
.contacto__actions .btn--solid:hover { background: var(--cream-soft); }
.contacto__map { min-height: 340px; background: #fff; }
.contacto__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--plum); color: rgba(255,255,255,.78); margin-top: 2rem; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2.4rem) 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 2.2rem;
  align-items: start;
}

/* Columna académica */
.footer__uni-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.footer__uni-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__uni-text p {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.footer__uni-text strong {
  color: #fff;
  font-weight: 700;
}
.footer__team h4 {
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.footer__team p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}
.footer__tutor {
  margin-top: 0.45rem;
  color: #ffb3d6 !important;
}

/* Columna de la marca (en el medio) */
.footer__brand .nav__brand-txt { color: #fff; }
.footer__brand .nav__brand-txt strong { color: #ff7fb8; }
.footer__brand p { margin-top: .8rem; font-size: .92rem; max-width: 22rem; }

/* Columna síguenos */
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer__social { display: grid; gap: .55rem; align-content: start; }
.footer__social a { font-size: .92rem; transition: color .25s; width: max-content; }
.footer__social a:hover { color: #ff7fb8; }
.footer__loc { font-size: .88rem; margin-top: .4rem; line-height: 1.5; }

/* Base inferior */
.footer__base {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.3rem clamp(1rem, 4vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
/* =========================================================
   BANNER DE SUBPÁGINA
   ========================================================= */
.page-banner { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.4rem) clamp(2.5rem, 5vw, 4rem); text-align: center; }
.page-banner .hero__mesh { inset: -30% -10% auto -10%; height: 180%; }
.page-banner__inner { max-width: 48rem; margin: 0 auto; position: relative; }
.page-banner h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
.page-banner h1 .script { color: var(--pink); }
.page-banner p { color: var(--plum-soft); font-size: 1.08rem; margin-top: .9rem; }
.crumbs { font-size: .85rem; color: var(--plum-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--pink); font-weight: 600; }
.crumbs span { opacity: .5; margin: 0 .35rem; }

/* =========================================================
   LISTA DE PRECIOS / MENÚ
   ========================================================= */
.price-block { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.4rem) clamp(2rem, 5vw, 3rem); }
.price-cat { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.price-cat__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.price-cat__head .ic { font-size: 1.8rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--grad-soft); box-shadow: var(--shadow-sm); }
.price-cat__head h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.price-cat__head p { font-size: .9rem; color: var(--plum-soft); }
.price-list { display: grid; gap: .2rem; background: #fff; border-radius: var(--radius); padding: .8rem 1.4rem; box-shadow: var(--shadow-sm); }
.price-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1rem; padding: .95rem .2rem; border-bottom: 1px dashed rgba(230,20,127,.16); transition: background .25s; border-radius: 10px; }
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: rgba(255,217,236,.3); }
.price-row__name b { font-weight: 600; font-size: 1.06rem; }
.price-row__name p { font-size: .88rem; color: var(--plum-soft); }
.price-row__tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pink-deep); background: var(--pink-soft); padding: .15rem .55rem; border-radius: 100px; margin-left: .5rem; vertical-align: middle; }
.price-row__val { font-weight: 800; color: var(--pink); font-size: 1.15rem; white-space: nowrap; }
.price-note { text-align: center; color: var(--plum-soft); font-size: .9rem; margin-top: 1.5rem; background: rgba(255,255,255,.6); border: 1px dashed rgba(230,20,127,.2); border-radius: 14px; padding: .9rem 1.2rem; }

/* =========================================================
   ANIMACIONES DE ENTRADA
   ========================================================= */
@keyframes pop-in   { from{opacity:0; transform:scale(.6) translateY(8px);} to{opacity:1; transform:none;} }
@keyframes rise     { from{opacity:0; transform:translateY(26px);} to{opacity:1; transform:none;} }

/* Hero: revelado escalonado al cargar */
.reveal { opacity: 0; animation: rise .9s var(--ease) forwards; }
.d1{animation-delay:.05s} .d2{animation-delay:.18s} .d3{animation-delay:.32s}
.d4{animation-delay:.5s} .d5{animation-delay:.66s} .d6{animation-delay:.8s}

/* Revelado al hacer scroll — Scroll-driven animations nativas seguras */
.reveal-up { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .reveal-up {
    animation: rise .85s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}

/* Respeto a preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .nosotros { grid-template-columns: 1fr; }
  .nosotros__media { max-width: 420px; margin: 0 auto; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .contacto__card { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Menú hamburguesa */
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,242,248,.97); backdrop-filter: blur(16px); padding: 1rem;
    gap: .3rem; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .4s var(--ease);
  }
  .nav__check:checked ~ .nav__menu { transform: translateY(0); }
  .nav__menu a { padding: .9rem 1rem; text-align: center; }

  .cards, .quotes, .feature-grid, .gallery, .footer__inner { grid-template-columns: 1fr; }
  .g-tall, .g-wide { grid-row: auto; grid-column: auto; }
  .gallery { grid-auto-rows: 220px; }
  .hero__stats { gap: 1.3rem; }
  .marquee__track span { font-size: 1.2rem; }
  .footer__base { flex-direction: column; }
}
