/* ============================================================
   COMPONENTS — Booble
   Buttons · Waves · Section Eye · Scroll Fade · Product Cards
   Gateway Grid · Page Hero base · Footer
   ============================================================ */

/* ── Buttons ── */
.btn-solid {
  font-family: var(--font-b);
  font-size: .92rem;
  font-weight: 600;
  padding: 16px 40px;
  width: 220px;
  background: var(--white);
  color: var(--blue-navy);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  letter-spacing: .01em;
  transition: transform .2s, background .2s;
}
.btn-solid:hover { background: var(--blue-light); transform: translateY(-2px); }
@media (min-width: 480px) { .btn-solid { width: auto; } }

.btn-ghost {
  font-family: var(--font-b);
  font-size: .92rem;
  font-weight: 500;
  padding: 16px 40px;
  width: 220px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  letter-spacing: .01em;
  transition: transform .2s, border-color .2s;
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }
@media (min-width: 480px) { .btn-ghost { width: auto; } }

.btn-ir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 44px;
  width: 100%;
  max-width: 340px;
  background: var(--blue-light);
  color: var(--blue-navy);
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .2s, transform .2s;
}
.btn-ir:hover { background: var(--white); transform: translateY(-2px); }

.btn-cierre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 52px;
  background: var(--blue-navy);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .2s, transform .2s;
}
.btn-cierre:hover { background: var(--blue-deep); transform: translateY(-2px); }

/* ── Wave dividers (index.html style — full-bleed with bg colour) ── */
.wave-divider {
  width: 100%;
  height: 60px;
  margin-bottom: -2px;
  display: block;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* ── Wave (inner pages style — coloured band above svg) ── */
.wave { line-height: 0; overflow: hidden; display: block; }
.wave svg { display: block; width: 100%; }

/* ── Wave background modifier classes ── */
.wave--from-hero    { background: linear-gradient(155deg,#2C395E,#577FCD); }
.wave--from-white   { background: #FFFFFF; }
.wave--from-offwhite { background: #F4F8FF; }
.wave--from-navy    { background: #2C395E; }
.wave--from-mist    { background: #E8F1FB; }
.wave--from-creamy  { background: linear-gradient(135deg,#6b5f80,#9c8cb9); }
.wave--from-fruit   { background: linear-gradient(135deg,#8b0000,#b90e0a); }
.wave--from-chill   { background: linear-gradient(135deg,#a06a00,#dd9313); }
.wave--from-coffee  { background: linear-gradient(155deg,#6b3500,#c97020); }
.wave--from-rose    { background: linear-gradient(155deg,#be123c,#fb7185); }

/* ── Section eyebrow ── */
.sec-eye {
  text-align: center;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 40px;
}

/* ── Legacy product grid (kept for compatibility) ── */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3,1fr); gap: 24px; } }

.pcard {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(74,109,163,.1);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(44,57,94,.12); }

.pimg {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

.pinfo { padding: 14px 16px 18px; }

.plabel {
  font-family: var(--font-d);
  font-size: .78rem;
  font-style: italic;
  color: var(--subtle);
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pname { font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pprice { font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; color: var(--blue-deep); }

/* ── Gateway grid ── */
.ggrid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 640px) { .ggrid { grid-template-columns: repeat(3,1fr); gap: 24px; } }

.gcard {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(74,109,163,.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(44,57,94,.1); }

.gcard--creamy { border-top: 3px solid #9c8cb9; }
.gcard--coffee { border-top: 3px solid #9c4f07; }
.gcard--postre { border-top: 3px solid #f43f5e; }

.gcard-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; line-height: 1; }
.gcard-title { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.gcard-hook  { font-family: var(--font-b); font-size: 0.88rem; color: var(--subtle); line-height: 1.55; margin: 0 0 20px; flex: 1; }

.gcard-cta {
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid;
  padding-bottom: 2px;
  margin-top: auto;
}
.gcard-cta--creamy { color: #9c8cb9; border-bottom-color: #9c8cb9; }
.gcard-cta--coffee { color: #9c4f07; border-bottom-color: #9c4f07; }
.gcard-cta--postre { color: #f43f5e; border-bottom-color: #f43f5e; }

/* ── Shared page-hero base ── */
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,24,40,.1), rgba(14,24,40,.55));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 110px 28px 52px;
}

.page-eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
}

.page-h1 {
  font-family: var(--font-d);
  font-size: clamp(2.6rem,8vw,4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--white);
}
.page-h1 em { font-style: italic; color: var(--blue-light); }

/* ── Footer ── */
footer {
  background: var(--blue-navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 52px 24px 32px;
}

.foot-quote {
  font-family: var(--font-d);
  font-size: clamp(1rem,3.5vw,1.2rem);
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.foot-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-light);
  text-decoration: none;
  opacity: 0.75;
  letter-spacing: 0.05em;
  transition: opacity .2s;
}
.foot-link:hover { opacity: 1; }

.foot-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-navy);
  background: var(--blue-light);
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s;
}
.foot-cta:hover { background: var(--white); }

.foot-copy { font-size: 0.7rem; letter-spacing: 0.07em; margin-top: 20px; }
.foot-copy b { color: var(--blue-light); font-weight: 500; }

/* ── Wave-divider background modifiers (index.html) ── */
.wave-divider--from-hero    { background: linear-gradient(155deg,#2C395E,#577FCD); }
.wave-divider--from-white   { background: #FFFFFF; }
.wave-divider--from-offwhite { background: #F4F8FF; }
.wave-divider--from-navy    { background: #2C395E; }
.wave-divider--from-mist    { background: #E8F1FB; }

/* ── Wave height modifiers (inner pages) ── */
.wave--h40 { height: 40px; }
.wave--h48 { height: 48px; }
.wave--h56 { height: 56px; }
.wave--h40 svg,
.wave--h48 svg,
.wave--h56 svg { height: 100%; }

/* ── Boo mascot images ── */
.boo-img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .boo-img {
    width: 180px;
  }
}

@media (min-width: 1024px) {
  .boo-img {
    width: 240px;
  }
}
.boo-narrator {
  width: 72px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}
