/* =========================================================
   El Picoteo — styles
   Palette taken from the brand mark (red / cream / charcoal / sage / olive)
   ========================================================= */

:root {
  /* brand palette */
  --red:        #C8202C;
  --red-700:    #A2161F;
  --red-900:    #6E1417;
  --cream:      #F4E7C6;
  --cream-soft: #FBF5E8;
  --paper:      #FFFDF8;
  --charcoal:   #2B2622;
  --ink:        #211D1A;
  --sage:       #9FAC6E;
  --olive:      #6E7B3D;
  --muted:      #877C6F;
  --line:       #E9DEC6;

  /* semantic */
  --bg:         var(--cream-soft);
  --surface:    var(--paper);
  --text:       var(--ink);
  --text-soft:  #5C534B;

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Nunito Sans", system-ui, -apple-system, sans-serif;
  --brand:   "Fredoka", var(--body);

  /* shape & motion */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 2px 10px rgba(43, 38, 34, .06);
  --shadow:    0 14px 40px -18px rgba(43, 38, 34, .28);
  --shadow-lg: 0 30px 70px -28px rgba(43, 38, 34, .42);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1140px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-700); }
html { scrollbar-width: thin; scrollbar-color: var(--red) var(--cream); }

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- shared type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--charcoal); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.32rem; font-weight: 600; }
em { font-style: italic; color: var(--red); }

.kicker {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--olive);
  margin-bottom: .7rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-head__sub { color: var(--text-soft); margin-top: .8rem; font-size: 1.06rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --bg: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-weight: 700; font-size: .98rem;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
  line-height: 1;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200,32,44,.7); }
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(200,32,44,.75); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--sm { padding: .6em 1.15em; font-size: .9rem; }
.btn--lg { padding: 1.05em 2em; font-size: 1.05rem; }
.btn:active { transform: translateY(0) scale(.98); }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 14px 0;
}
.nav.is-scrolled {
  background: rgba(251, 245, 232, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* brand lockup */
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__word {
  font-family: var(--brand); font-weight: 600; font-size: 1.65rem;
  letter-spacing: .04em; color: var(--charcoal); line-height: 1;
  text-transform: uppercase;
}
.nav.is-scrolled .brand__word { color: var(--charcoal); }
.brand__mark { position: relative; width: 42px; height: 42px; display: inline-block; color: var(--charcoal); }
.brand__mark--sm { width: 34px; height: 34px; }
.brand__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand__ring circle { fill: none; stroke: currentColor; stroke-width: 4; }
.brand__bird { position: absolute; left: 34%; top: -34%; width: 78%; height: 78%; color: var(--charcoal); }

/* real logo image (assets/logo.png) — injected by JS when present */
.brand__logo { height: 40px; width: auto; display: block; }
.footer__brand .brand__logo { height: 44px; }
.brand.has-logo .brand__mark,
.brand.has-logo .brand__word { display: none; }
/* logo only visible when scrolled (is-scrolled state) */
.nav:not(.is-scrolled) .brand__logo { display: none; }
.nav.is-scrolled .brand__logo { background: rgba(251, 245, 232, .82); padding: 6px 8px; border-radius: 6px; }

/* hero (transparent) nav state: white text */
.nav:not(.is-scrolled) .brand__word,
.nav:not(.is-scrolled) .brand__mark,
.nav:not(.is-scrolled) .brand__bird { color: #fff; }
.nav:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,.92); }

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a { font-weight: 600; font-size: .98rem; color: var(--charcoal); position: relative; transition: color .2s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--red); transition: width .28s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--red); color: #fff !important; padding: .58em 1.25em; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(200,32,44,.7);
}
.nav__cta:hover { background: var(--red-700); }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav__burger span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; margin: 4px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav:not(.is-scrolled) .nav__burger { color: #fff; }
.nav.is-scrolled .nav__burger { color: var(--charcoal); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -4%;
  background:
    radial-gradient(38% 50% at 22% 32%, rgba(200,32,44,.40), transparent 70%),
    radial-gradient(40% 46% at 78% 26%, rgba(158,172,110,.45), transparent 72%),
    radial-gradient(50% 55% at 64% 78%, rgba(110,123,61,.40), transparent 72%),
    radial-gradient(46% 50% at 30% 80%, rgba(244,231,198,.55), transparent 70%),
    linear-gradient(120deg, #2b2622, #3a322b 50%, #241f1b);
  filter: blur(34px) saturate(1.15);
  transform: scale(1.08);
  z-index: -2;
}
/* if a real photo is provided, JS swaps in .hero__bg--photo with background-image */
.hero__bg--photo { filter: blur(6px) saturate(1.05) brightness(.78); background-size: cover; background-position: center; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 30% 10%, transparent 30%, rgba(20,16,14,.55) 100%),
    linear-gradient(180deg, rgba(20,16,14,.30), rgba(20,16,14,.55));
}
.hero__content { position: relative; max-width: 760px; }
.hero__eyebrow {
  display: inline-block; color: #fff; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; font-size: .78rem;
  background: rgba(200,32,44,.85); padding: .5em 1em; border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero__title {
  color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; margin-top: 1.1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title em { color: #FBE7BE; }
.hero__lead { color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 2vw, 1.3rem); margin-top: 1.3rem; max-width: 560px; }
.hero__slogan {
  font-family: var(--display); font-style: italic; font-size: 1.5rem; color: #FBE7BE;
  margin-top: 1.1rem; letter-spacing: .01em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; display: grid; place-items: start center; padding-top: 7px; z-index: 2; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0%{ opacity:0; transform: translateY(-4px);} 40%{opacity:1;} 80%,100%{ opacity:0; transform: translateY(12px);} }

/* =========================================================
   Strip (value props)
   ========================================================= */
.strip { background: var(--charcoal); color: var(--cream); }
.strip__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 22px; flex-wrap: wrap; }
.strip__item { display: flex; flex-direction: column; align-items: center; gap: .15rem; flex: 1; min-width: 120px; text-align: center; }
.strip__num { font-family: var(--display); font-size: 1.6rem; color: #fff; line-height: 1; }
.strip__txt { font-size: .82rem; letter-spacing: .04em; color: rgba(244,231,198,.78); }
.strip__sep { width: 1px; height: 34px; background: rgba(244,231,198,.22); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: clamp(4rem, 9vw, 7.5rem) 0; background: var(--cream-soft); }
.faq__list {
  max-width: 780px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: .9rem;
}
.faq__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq__item summary {
  cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600;
  font-size: 1.08rem; color: var(--text); display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--cream); color: var(--red); font-size: 1.3rem;
  font-weight: 700; transition: transform .25s var(--ease), background .25s;
}
.faq__item[open] summary::after { content: "–"; transform: rotate(180deg); background: var(--red); color: #fff; }
.faq__answer { padding-top: .8rem; color: var(--text-soft); }
.faq__answer p:empty::before { content: "Próximamente."; font-style: italic; color: var(--muted); }

/* =========================================================
   Story
   ========================================================= */
.story { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.story__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__media { position: relative; }
.story__media .ph { aspect-ratio: 4/5; }
.story__badge {
  position: absolute; right: -16px; bottom: -16px;
  background: var(--red); color: #fff; border-radius: 50%;
  width: 122px; height: 122px; display: grid; place-content: center; text-align: center;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  box-shadow: var(--shadow); transform: rotate(-8deg);
  border: 3px dashed rgba(255,255,255,.5);
}
.story__badge strong { display: block; font-family: var(--display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; margin: 2px 0; }
.story__text h2 { margin-bottom: 1.1rem; }
.story__text p { color: var(--text-soft); margin-bottom: 1.1rem; max-width: 56ch; }
.story__quote {
  font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--charcoal);
  border-left: 4px solid var(--sage); padding-left: 1.1rem; margin: 1.6rem 0 2rem;
}

/* =========================================================
   Placeholder media (swap with real photos)
   ========================================================= */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 12%, rgba(244,231,198,.65), transparent 55%),
    radial-gradient(120% 120% at 85% 90%, rgba(200,32,44,.20), transparent 55%),
    linear-gradient(150deg, #efe2c2, #e6d3a9 60%, #ddc79a);
  box-shadow: inset 0 0 0 1px rgba(110,123,61,.10);
  display: grid; place-items: center;
}
.ph__bird { width: 42%; height: 42%; color: rgba(110,123,61,.28); }
.ph--tall { border-radius: var(--r-xl); }
.ph--soon { background: repeating-linear-gradient(135deg, #f1e7cf, #f1e7cf 14px, #ede0c2 14px, #ede0c2 28px); }
.ph--soon .ph__bird { color: rgba(135,124,111,.3); }
/* when JS finds a real image it adds .has-img and sets --img */
.ph.has-img { background-image: var(--img); background-size: cover; background-position: center; }
.ph.has-img .ph__bird { display: none; }

/* =========================================================
   Catalog
   ========================================================= */
.catalog { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); background: linear-gradient(180deg, var(--bg), #f6ecd8); }

/* video */
.video {
  position: relative; max-width: 920px; margin: 0 auto 3rem; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: var(--charcoal);
}
.video__el { width: 100%; height: 100%; object-fit: cover; }
.video__el::-webkit-media-controls-start-playback-button { display: none; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(200,32,44,.92); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), background .25s;
}
.video__play svg { width: 38px; height: 38px; fill: #fff; margin-left: 4px; }
.video__play:hover { transform: scale(1.07); background: var(--red); }
.video.is-playing .video__play { display: none; }
.video__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem .9rem;
  color: #fff; font-size: .92rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(20,16,14,.7)); pointer-events: none;
}

/* toggle */
.toggle {
  position: relative; display: inline-flex; gap: 4px; margin: 0 auto 2.4rem;
  background: #efe3c8; padding: 6px; border-radius: 999px; left: 50%; transform: translateX(-50%);
  box-shadow: inset 0 1px 3px rgba(110,123,61,.18);
}
.toggle__btn {
  position: relative; z-index: 1; border: 0; cursor: pointer; background: none;
  font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--text-soft);
  padding: .7em 1.8em; border-radius: 999px; transition: color .3s var(--ease); min-width: 130px;
}
.toggle__btn.is-active { color: #fff; }
.toggle__pill {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(25% - 6px);
  background: var(--red); border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(200,32,44,.7);
  transition: transform .35s var(--ease);
}
.toggle[data-active="pasabocas"] .toggle__pill { transform: translateX(calc(100% + 4px)); }
.toggle[data-active="eventos"] .toggle__pill { transform: translateX(calc(200% + 8px)); }
.toggle[data-active="regalos"] .toggle__pill { transform: translateX(calc(300% + 12px)); }

/* panels + grid */
.panel { animation: fadeUp .5s var(--ease) both; }
.panel[hidden] { display: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* pasabocas note */
.pasabocas-note {
  text-align: center; font-size: .85rem; color: var(--muted);
  font-style: italic; margin-bottom: 1.2rem;
}

/* regalos flyer banner */
.regalos-flyer {
  width: 100%; max-width: 480px; margin: 0 auto 2rem;
  aspect-ratio: 3/4; border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}

.card {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4/3; }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(43,38,34,.82); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; padding: .4em .8em; border-radius: 999px; backdrop-filter: blur(4px);
}
.card__body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__name { color: var(--charcoal); }
.card__desc { color: var(--text-soft); font-size: .92rem; line-height: 1.5; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .3rem; }
.price { font-family: var(--display); font-size: 1.35rem; color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.price--muted { font-size: 1rem; color: var(--muted); font-style: italic; }
.card--soon { opacity: .92; }
.card--soon .card__name { color: var(--muted); }

/* =========================================================
   Testimonios
   ========================================================= */
.testimonios { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--surface); }
.testimonios .section-head { margin-bottom: 3rem; }
.testimonios__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonio {
  background: #fff; border-radius: var(--r-lg); padding: 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .8rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonio:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonio__stars { font-size: 1.2rem; color: var(--red); letter-spacing: 2px; }
.testimonio__text { color: var(--text-soft); font-style: italic; line-height: 1.6; flex: 1; }
.testimonio__author { color: var(--charcoal); font-weight: 600; font-size: .9rem; margin-top: .4rem; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; border: 2px dashed rgba(255,255,255,.18);
}
.cta::before { width: 320px; height: 320px; top: -140px; left: -100px; }
.cta::after { width: 240px; height: 240px; bottom: -120px; right: -60px; }
.cta__inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta__mark { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.14); margin-bottom: 1.2rem; }
.cta__mark svg { width: 44px; height: 44px; color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); margin-top: .8rem; font-size: 1.1rem; }
.cta .btn--primary { background: #fff; color: var(--red); box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.cta .btn--primary:hover { background: #FBE7BE; color: var(--red-900); }

/* CTA info row */
.cta__info {
  list-style: none; margin: 2rem auto 0; padding: 0; max-width: 760px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.cta__info li {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; color: #fff; font-size: .92rem; line-height: 1.35;
}
.cta__info-ico { font-size: 1.8rem; line-height: 1; }
@media (max-width: 720px) {
  .cta__info { grid-template-columns: repeat(2, 1fr); }
}

/* CTA form */
.cta__form {
  margin: 2rem auto 0; max-width: 560px; text-align: left;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border-radius: var(--r-lg); padding: 1.4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
}
.cta .field { display: flex; flex-direction: column; gap: .35rem; }
.cta .field--full { grid-column: 1 / -1; }
.cta .field label { font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.cta .field input,
.cta .field select,
.cta .field textarea {
  width: 100%; font-family: var(--body); font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 12px;
  padding: .7em .85em; transition: border .2s, box-shadow .2s;
}
.cta .field textarea { resize: vertical; min-height: 52px; }
.cta .field input::placeholder,
.cta .field textarea::placeholder { color: #9a8f82; }
.cta .field input:focus,
.cta .field select:focus,
.cta .field textarea:focus {
  outline: none; border-color: #FBE7BE; box-shadow: 0 0 0 4px rgba(251,231,190,.3);
}
.cta__submit { grid-column: 1 / -1; width: 100%; margin-top: .3rem; }
.cta__note { grid-column: 1 / -1; text-align: center; font-size: .82rem; color: rgba(255,255,255,.85); margin: 0; }
.cta__note.is-error { color: #FFE08A; font-weight: 700; }

.cta__phones { margin-top: 1.5rem; font-weight: 700; letter-spacing: .03em; display: flex; gap: .8rem; justify-content: center; align-items: center; }
.cta__phones .ico { display: inline-block; }
.cta__phones a:hover { text-decoration: underline; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--charcoal); color: var(--cream); padding: 3rem 0 2.2rem; }
.footer__inner { text-align: center; display: grid; gap: .9rem; justify-items: center; }
.footer__brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; }
.footer__brand .brand__logo { filter: none !important; }
.footer__brand .brand__word { color: #fff; }
.footer__brand .brand__mark, .footer__brand .brand__bird { color: #fff; }
.footer__tag { color: rgba(244,231,198,.78); font-style: italic; font-family: var(--display); }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; margin-top: .3rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--cream); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__links .ico { width: 1.1em; height: 1.1em; }
.footer__copy { color: rgba(244,231,198,.5); font-size: .82rem; margin-top: .4rem; }

/* =========================================================
   Floating action buttons
   ========================================================= */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab__btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; position: relative;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.fab__btn .ico { width: 30px; height: 30px; }
.fab__btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-lg); }
.fab__btn:active { transform: scale(.96); }
.fab__btn--wa { background: #25D366; }
.fab__btn--wa:hover { background: #1ebe5a; }
.fab__btn--ig { background: radial-gradient(circle at 28% 105%, #fdf497 0%, #fd5949 38%, #d6249f 62%, #285AEB 95%); }
.fab__btn--ig:hover { filter: brightness(1.06); }
.fab__btn--ig .ico { width: 28px; height: 28px; }
.fab__btn--bot { background: var(--charcoal); }
.fab__btn--bot:hover { background: var(--ink); }
.fab__btn--bot .fab__pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--charcoal);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0%{ transform: scale(1); opacity:.55;} 100%{ transform: scale(1.55); opacity:0;} }

.fab__hint {
  position: absolute; right: 70px; bottom: 74px; white-space: nowrap;
  background: var(--charcoal); color: #fff; font-size: .85rem; font-weight: 600;
  padding: .55em .9em; border-radius: 12px 12px 0 12px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px) scale(.96); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none;
}
.fab__hint.is-show { opacity: 1; transform: translateY(0) scale(1); }
.fab__hint::after { content: ""; position: absolute; right: 14px; bottom: -6px; border: 7px solid transparent; border-top-color: var(--charcoal); border-bottom: 0; }

/* =========================================================
   Chatbot
   ========================================================= */
.chat {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100svh - 110px));
  background: var(--paper); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right;
  pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.chat.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat__head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--charcoal); color: #fff; }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.chat__avatar svg { width: 28px; height: 28px; color: #fff; }
.chat__id { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.chat__id strong { font-size: .98rem; }
.chat__status { font-size: .76rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .4em; }
.chat__status i { width: 8px; height: 8px; border-radius: 50%; background: #46d369; box-shadow: 0 0 0 0 rgba(70,211,105,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%{ box-shadow: 0 0 0 0 rgba(70,211,105,.55);} 70%{ box-shadow: 0 0 0 7px rgba(70,211,105,0);} }
.chat__close { margin-left: auto; background: rgba(255,255,255,.12); border: 0; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .2s; }
.chat__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat__close:hover { background: rgba(255,255,255,.25); }

.chat__body { flex: 1; overflow-y: auto; padding: 1.1rem 1rem; display: flex; flex-direction: column; gap: .7rem; background: linear-gradient(180deg, #fbf5e8, #fff); scrollbar-width: thin; }
.msg { max-width: 84%; padding: .7em .95em; border-radius: 16px; font-size: .94rem; line-height: 1.5; animation: fadeUp .35s var(--ease) both; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text); box-shadow: var(--shadow-sm); }
.msg--user { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 5px; }
.msg strong { font-weight: 700; }
.msg a { color: var(--red); font-weight: 700; text-decoration: underline; }
.msg--user a { color: #fff; }
.msg--typing { display: inline-flex; gap: 4px; align-items: center; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2){ animation-delay:.2s; } .msg--typing i:nth-child(3){ animation-delay:.4s; }
@keyframes blink { 0%,60%,100%{ opacity:.25; transform: translateY(0);} 30%{ opacity:1; transform: translateY(-3px);} }

.chat__quick { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0 1rem .2rem; }
.chat__quick button {
  background: #fff; border: 1.5px solid var(--line); color: var(--text-soft);
  font-family: var(--body); font-weight: 600; font-size: .82rem; cursor: pointer;
  padding: .5em .85em; border-radius: 999px; transition: all .2s var(--ease);
}
.chat__quick button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }

.chat__form { display: flex; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--line); background: #fff; }
.chat__input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .7em 1.1em; font-family: var(--body); font-size: .95rem; background: var(--cream-soft); transition: border .2s; }
.chat__input:focus { outline: none; border-color: var(--red); background: #fff; }
.chat__send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.chat__send svg { width: 22px; height: 22px; fill: currentColor; }
.chat__send:hover { background: var(--red-700); transform: scale(1.06); }
.chat__foot { font-size: .78rem; text-align: center; color: var(--muted); padding: 0 1rem .8rem; background: #fff; }
.chat__foot a { color: var(--red); font-weight: 700; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 0;
    background: var(--paper); padding: 84px 22px 22px; transform: translateY(-100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow); align-items: stretch; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { color: var(--charcoal) !important; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta { text-align: center; margin-top: 1rem; border-bottom: 0 !important; }
  .nav__burger { display: block; z-index: 101; }
  .nav.is-open .nav__burger span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2){ opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
  .nav.is-open .nav__burger { color: var(--charcoal); }

  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 440px; margin: 0 auto; }
  .strip__sep { display: none; }
  .strip__row { gap: 1.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .story__badge { width: 100px; height: 100px; right: 8px; }
  .fab { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__scroll span, .fab__pulse, .chat__status i { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
