/* =========================================
   BORA -- Barra móvil de smoothie bowls
   Paleta y tipografía según brand book BORA.
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

:root {
  /* Marca -- literales, valen en cualquier tema (logo, badge EVENTS) */
  --brand-teal: #1F6A6B;
  --brand-teal-deep: #123738;
  --brand-arena: #E6DCC6;
  --brand-wood: #6B4E3A;
  --brand-green: #41644A;
  --brand-coral: #E06A4F;

  /* Tema claro (default) */
  --ink: #1E3330;
  --ink-soft: #52645F;
  --ink-faint: #86948F;
  --bg: #FBF9F4;
  --bg-alt: #E6DCC6;
  --surface: #FFFFFF;
  --surface-alt: #F1EADA;
  --accent: #1F6A6B;
  --accent-ink: #FBF9F4;
  --coral: #E06A4F;
  --coral-ink: #FBF9F4;
  --green: #41644A;
  --border: rgba(30, 51, 48, 0.13);
  --border-soft: rgba(30, 51, 48, 0.08);
  --shadow: 0 20px 40px -24px rgba(18, 40, 37, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F1EBDC;
    --ink-soft: #C6BCA6;
    --ink-faint: #8B8272;
    --bg: #15211E;
    --bg-alt: #1C2925;
    --surface: #1B2723;
    --surface-alt: #22302B;
    --accent: #57B6AE;
    --accent-ink: #0E1C1A;
    --coral: #F1876A;
    --coral-ink: #241009;
    --green: #7BA687;
    --border: rgba(241, 235, 220, 0.14);
    --border-soft: rgba(241, 235, 220, 0.08);
    --shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --ink: #F1EBDC;
  --ink-soft: #C6BCA6;
  --ink-faint: #8B8272;
  --bg: #15211E;
  --bg-alt: #1C2925;
  --surface: #1B2723;
  --surface-alt: #22302B;
  --accent: #57B6AE;
  --accent-ink: #0E1C1A;
  --coral: #F1876A;
  --coral-ink: #241009;
  --green: #7BA687;
  --border: rgba(241, 235, 220, 0.14);
  --border-soft: rgba(241, 235, 220, 0.08);
  --shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Fredoka", "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.6;
}

section { position: relative; }

.section-pad {
  padding: clamp(56px, 9vw, 108px) 0;
}

.section-head {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head.center {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
}

.bg-alt { background: var(--bg-alt); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-coral {
  background: var(--coral);
  color: var(--coral-ink);
  box-shadow: 0 14px 28px -14px rgba(224, 106, 79, 0.55);
}

.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(224, 106, 79, 0.6); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost-light {
  background: rgba(251, 249, 244, 0.1);
  border-color: rgba(251, 249, 244, 0.4);
  color: #FBF9F4;
}

.btn-ghost-light:hover { background: rgba(251, 249, 244, 0.18); }

.btn-whatsapp {
  background: #25D366;
  color: #08341C;
}

.btn-whatsapp:hover { transform: translateY(-2px); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--accent);
}

.logo svg { width: 26px; height: 26px; }

.logo span {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-cta .btn-outline, .nav-cta .btn-coral { display: none; }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(40px, 7vw, 76px) 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 540px; }

.hero-copy h1 { font-size: clamp(34px, 5vw, 54px); }

.hero-copy .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  order: -1;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
}

.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(18, 55, 56, 0) 45%, rgba(18, 55, 56, 0.55) 100%);
}

.hero-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(251, 249, 244, 0.94);
  color: var(--brand-teal-deep);
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.3);
}

.hero-tag svg { width: 16px; height: 16px; color: var(--brand-coral); }

.hero-frond {
  position: absolute;
  opacity: 0.16;
  color: var(--brand-wood);
  pointer-events: none;
}

.hero-frond.f1 { top: -60px; right: -40px; width: 320px; transform: rotate(12deg); }
.hero-frond.f2 { top: 40%; left: -90px; width: 240px; transform: rotate(-24deg); }

.wave-divider {
  display: block;
  width: 100%;
  height: clamp(36px, 6vw, 64px);
  color: var(--bg-alt);
  margin-top: clamp(30px, 5vw, 56px);
}

.wave-divider.flip { transform: scaleY(-1); }
.wave-divider.to-deep { color: var(--brand-teal-deep); }
.wave-divider.from-deep { color: var(--brand-teal-deep); transform: scaleY(-1); }

/* ---------- Marca / qué es BORA ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-copy { display: flex; flex-direction: column; gap: 20px; }

.about-copy h2 { font-size: clamp(26px, 3.4vw, 36px); }

.about-copy p { color: var(--ink-soft); font-size: 16.5px; }

.pillars {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pillar {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.trait-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.trait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--ink-soft);
}

.trait svg { width: 22px; height: 22px; color: var(--accent); }

.trait span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.about-photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Productos ---------- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-photo { aspect-ratio: 1 / 1; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-photo img { transform: scale(1.04); }

.product-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.product-body h3 { font-size: 20px; }

.product-body p { color: var(--ink-soft); font-size: 14.8px; }

.flavor-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 8px; }

.flavor-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink-soft);
}

/* ---------- Events (banda oscura de marca, siempre igual) ---------- */

.events-section {
  background: var(--brand-teal-deep);
  color: #FBF9F4;
  padding: clamp(64px, 9vw, 120px) 0;
}

.events-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.events-head .eyebrow { color: var(--brand-coral); }
.events-head .eyebrow::before { background: var(--brand-coral); }

.events-head h2 {
  color: #FBF9F4;
  font-size: clamp(30px, 4.2vw, 46px);
}

.events-head p { color: rgba(251, 249, 244, 0.78); font-size: 17.5px; max-width: 56ch; }

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

.event-tile {
  background: rgba(251, 249, 244, 0.06);
  border: 1px solid rgba(251, 249, 244, 0.14);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.event-tile:hover {
  background: rgba(251, 249, 244, 0.1);
  border-color: rgba(251, 249, 244, 0.3);
  transform: translateY(-3px);
}

.event-tile .icon-badge { background: rgba(251, 249, 244, 0.12); color: #F2C9BC; }

.event-tile h4 { font-family: "Fredoka", sans-serif; font-size: 17.5px; font-weight: 600; color: #FBF9F4; }

.event-tile p { font-size: 13.8px; color: rgba(251, 249, 244, 0.68); }

.events-future {
  text-align: center;
  font-size: 14.5px;
  color: rgba(251, 249, 244, 0.68);
  margin-bottom: 34px;
}

.events-future strong { color: #F2C9BC; font-weight: 700; }

.events-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-alt);
  color: var(--accent);
  flex-shrink: 0;
}

.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Cómo funciona ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.step-card { display: flex; flex-direction: column; gap: 12px; }

.step-num {
  font-family: "Fredoka", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--bg-alt);
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}

.step-card h4 { font-size: 17px; font-family: "Fredoka", sans-serif; font-weight: 600; }

.step-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Por qué BORA ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-card h4 { font-size: 17px; }

.why-card p { font-size: 14.3px; color: var(--ink-soft); }

/* ---------- Galería ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}

.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.gallery-grid a { display: block; border-radius: 16px; overflow: hidden; }

.gallery-grid img { transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.gallery-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- Cotizá tu evento ---------- */

.quote-section { background: var(--bg-alt); }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.quote-copy { display: flex; flex-direction: column; gap: 18px; position: static; }

.quote-copy h2 { font-size: clamp(28px, 3.6vw, 38px); }

.quote-copy p { color: var(--ink-soft); font-size: 16.5px; }

.quote-direct {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 8px;
}

.quote-direct .icon-badge { background: #DCF8E7; color: #1B8A4C; }

.quote-direct-text { display: flex; flex-direction: column; gap: 2px; }
.quote-direct-text strong { font-size: 14.5px; }
.quote-direct-text span { font-size: 13px; color: var(--ink-soft); }
.quote-direct { text-decoration: none; color: var(--ink); }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  box-shadow: var(--shadow);
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
}

.field textarea { resize: vertical; min-height: 90px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.quote-form .btn { grid-column: 1 / -1; margin-top: 6px; }

.form-hint { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-faint); margin-top: -6px; }

/* ---------- Footer ---------- */

footer {
  background: var(--brand-wood);
  color: #F4EEE2;
  padding: 48px 0 26px;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(244, 238, 226, 0.18);
}

footer .logo span, footer .logo { color: #F4EEE2; }

.footer-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(244, 238, 226, 0.82); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.8px;
  color: rgba(244, 238, 226, 0.62);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive (mobile-first: base = mobile, min-width agrega tablet/desktop) ---------- */

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta .btn-outline, .nav-cta .btn-coral { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-visual { order: 0; aspect-ratio: 4 / 4.6; }
  .about-grid { grid-template-columns: 1fr 0.85fr; }
  .about-photo { aspect-ratio: 3 / 3.6; }
  .quote-grid { grid-template-columns: 0.85fr 1.15fr; }
  .quote-copy { position: sticky; top: 110px; }
  .product-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .quote-form { grid-template-columns: 1fr 1fr; }
  .trait-row { gap: 14px; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  padding: 20px 24px;
  flex-direction: column;
  gap: 26px;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu .nav-row { padding: 0; }

.mobile-menu-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.mobile-menu-links a { text-decoration: none; font-family: "Fredoka", sans-serif; font-size: 26px; font-weight: 600; color: var(--ink); }
.mobile-menu-actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
