/* ── MagilShe — Landing Page ─────────────────────────────────── */
:root {
  --bg:        #f9f1e5;
  --bg-soft:   #fdf6ea;
  --bg-cream:  #f6e7c1;
  --brown:     #72362e;
  --brown-d:   #57221b;
  --brown-l:   #8d645f;
  --coral:     #f27863;
  --coral-l:   #e87764;
  --coral-tint:#ffb8ac;
  --border:    #d9a29b;
  --border-l:  #ebddc6;
  --muted:     #8b8b8b;
  --ink:       #000;
  --cream-ink: #fdf6ea;

  --radius-card: 18px;
  --shadow-coral: 0 12px 28px -10px rgba(242,120,99,.55);
  --shadow-brown: 0 14px 30px -12px rgba(114,54,46,.55);

  /* type — designed @1440, fluid to mobile */
  --display:  clamp(34px, 4.4vw, 64px);
  --h1:       clamp(28px, 3vw, 45px);
  --h2:       clamp(26px, 2.6vw, 38px);
  --h3:       clamp(20px, 1.7vw, 24px);
  --body-lg:  clamp(16px, 1.4vw, 21px);
  --body:     16px;
  --small:    14px;

  --pad-x:    clamp(20px, 6vw, 122px);
  --section-y:clamp(56px, 8vw, 100px);

  /* Heading typeface — Span (designer's choice in Figma).
     Falls back to a tight serif stack if Span isn't installed locally. */
  --font-display: 'Span', 'PP Editorial New', 'Fraunces', 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Google Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.font-script  { font-family: 'Caveat', cursive; font-weight: 700; }

/* ── Layout primitives ───────────────────────────────────────── */
.wrap     { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad-x); }
.section  { padding-block: var(--section-y); }

/* ── Section header ──────────────────────────────────────────── */
.s-head { text-align: center; max-width: 600px; margin: 0 auto clamp(40px, 5vw, 64px); display: grid; gap: 14px; }
.s-head.--left { text-align: left; margin-inline: 0; }
.s-head .eyebrow { color: var(--coral); font-family: 'Caveat', cursive; font-weight: 700; font-size: 24px; line-height: 1; }
.s-head h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--h2); line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.s-head p  { color: var(--muted); font-size: var(--body); margin: 0; line-height: 1.55; }
.s-head.--on-dark .eyebrow { color: var(--bg-soft); }
.s-head.--on-dark h2 { color: var(--bg-soft); }
.s-head.--on-dark p  { color: rgba(253,246,234,.78); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: 14px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; }
.btn .arrow svg { width: 100%; height: 100%; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn--primary:hover { background: #ef6a52; }
.btn--brown   { background: var(--brown); color: #fff; box-shadow: 0 10px 20px -10px rgba(114,54,46,.7); }
.btn--brown:hover { background: #5d2b24; }
.btn--ghost-brown { background: var(--bg); color: var(--brown); border: 1px solid var(--brown); }
.btn--ghost-brown:hover { background: rgba(114,54,46,.06); }

/* ── Top bar ─────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(249,241,229,.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(230,208,205,.6); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 24px; }
.topbar__logo { height: 56px; width: auto; }
@media (max-width: 500px) {
  .topbar__logo { height: 44px; }
  .topbar .btn { padding: 10px 16px; font-size: 13px; }
}

/* ── Floating contacts (desktop only) ────────────────────────── */
.floaters { position: fixed; left: 0; right: 0; bottom: 24px; pointer-events: none; z-index: 40; display: flex; justify-content: space-between; padding-inline: 24px; }
.floaters .ico { pointer-events: auto; width: 56px; height: 56px; border-radius: 50%; background: var(--brown); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.35); transition: transform .15s ease, background .15s ease; }
.floaters .ico:hover { transform: scale(1.05); background: var(--brown-d); }
.floaters .ico img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
@media (max-width: 700px) { .floaters { bottom: 16px; padding-inline: 16px; } .floaters .ico { width: 50px; height: 50px; } .floaters .ico img { width: 24px; height: 24px; } }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 9vw, 110px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 36px; } }

.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--display); line-height: 1.04; margin: 0 0 24px; letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--coral); letter-spacing: -0.01em; }
.hero p { font-size: var(--body-lg); color: #2b1b17; line-height: 1.4; margin: 0 0 32px; max-width: 540px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 480px; margin-left: auto; width: 100%; }
@media (max-width: 900px) { .hero__visual { margin: 0 auto; max-width: 360px; } }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--brown); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__cake { position: absolute; inset: 10%; border-radius: 50%; border: 2px solid var(--brown-d); background: url('assets/hero-cake.jpg') center/cover no-repeat; box-shadow: 0 24px 60px -20px rgba(114,54,46,.4); }
.hero__badge { position: absolute; display: inline-flex; align-items: center; gap: 9px; background: var(--bg); border: 1px solid #ddd; border-radius: 999px; padding: 9px 16px 9px 9px; font-size: 13px; color: var(--ink); box-shadow: 0 8px 18px -8px rgba(0,0,0,.18); font-weight: 500; }
.hero__badge span.dot { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.hero__badge.--a { top: 6%;  right: -6%; }
.hero__badge.--b { top: 50%; right: -10%; }
.hero__badge.--c { bottom: 8%; left: -6%; }
@media (max-width: 900px) {
  .hero__badge.--a { right: -2%; }
  .hero__badge.--b { right: -2%; }
  .hero__badge.--c { left: -2%; }
}

/* ── Why MagilShe — feature cards ────────────────────────────── */
.why { background: var(--bg-soft); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .why__grid { grid-template-columns: 1fr; } }

.feature { background: var(--bg-soft); border: 1px solid var(--brown); border-radius: var(--radius-card); padding: 28px 26px; display: flex; flex-direction: column; gap: 22px; min-height: 320px; transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-brown); }
.feature__icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(242,120,99,.34); color: var(--brown); display: inline-flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; margin: 0 0 8px; }
.feature p  { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ── Signature Collections ───────────────────────────────────── */
.collections { background: var(--bg); }
.collections__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .collections__grid { grid-template-columns: 1fr; } }

.coll-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.coll-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-brown); }
.coll-card__img { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: linear-gradient(135deg, #f6e7c1 0%, #e6cda2 100%); }
.coll-card__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.coll-card:hover .coll-card__img > img { transform: scale(1.05); }
.coll-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(114,54,46,.18) 100%); pointer-events: none; }
.coll-card__body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.coll-card__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.1; margin: 0; }
.coll-card__body p  { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.coll-card__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: 13px; color: var(--brown); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brown-d); }

/* ── How It Works ─────────────────────────────────────────────── */
.steps { background: var(--bg-soft); }
.steps__grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 18px; }
.steps__arrow { align-self: center; width: 32px; opacity: .85; color: var(--brown); }
.steps__arrow svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .steps__grid { grid-template-columns: 1fr; }
  .steps__arrow { display: none; }
}
.step { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px 32px; display: flex; flex-direction: column; gap: 22px; min-height: 240px; }
.step__num { width: 58px; height: 58px; border-radius: 10px; background: rgba(242,120,99,.34); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--brown); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; margin: 0; }
.step p  { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ── Occasions ────────────────────────────────────────────────── */
.occasions { background: var(--brown); color: var(--cream-ink); position: relative; overflow: hidden; }
.occasions::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 0%, rgba(242,120,99,.18), transparent 40%); pointer-events: none; }
.occasions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
@media (max-width: 900px) { .occasions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .occasions__grid { grid-template-columns: 1fr; } }

.occ-card { background: transparent; border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease; }
.occ-card:hover { transform: translateY(-4px); }
.occ-card__img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.occ-card__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.occ-card:hover .occ-card__img > img { transform: scale(1.04); }
.occ-card__body { background: #6b3128; border: 1px solid var(--brown-l); border-top: 0; padding: 28px 28px 32px; border-radius: 0 0 var(--radius-card) var(--radius-card); flex: 1; display: flex; flex-direction: column; gap: 10px; }
.occ-card__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; margin: 0; color: var(--cream-ink); }
.occ-card__body p  { font-size: 15px; line-height: 1.5; color: #d8d8d8; margin: 0; }

/* ── Flavors ──────────────────────────────────────────────────── */
.flavors__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .flavors__grid { grid-template-columns: 1fr; } }

.flavors__list { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.flavor-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; font-size: 15px; color: var(--brown); cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease; }
.flavor-chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brown-d); transition: background .15s ease; }
.flavor-chip:hover { transform: translateY(-1px); border-color: var(--coral); }
.flavor-chip.is-selected { background: var(--coral); color: #fff; border-color: var(--coral); }
.flavor-chip.is-selected::before { background: #fff; }

.flavors__cta { background: var(--bg-cream); border-radius: var(--radius-card); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.flavors__cta .eyebrow { color: var(--coral); font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; line-height: 1; }
.flavors__cta h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; margin: 0; }
.flavors__cta p  { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }

/* ── Pricing ──────────────────────────────────────────────────── */
.pricing { background: var(--bg-soft); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing__grid { grid-template-columns: 1fr; } }

.price-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; min-height: 280px; position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.price-card:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: var(--shadow-coral); }
.price-card__from { font-size: 14px; color: var(--brown); }
.price-card__amount { font-family: var(--font-display); font-size: clamp(38px, 4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.price-card__amount small { font-size: 18px; font-weight: 500; opacity: .7; margin-left: 4px; }
.price-card__note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.price-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.15; margin: 0; }
.price-card p  { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; transition: border-color .15s ease; }
.faq-item.is-open { border-color: var(--coral); }
.faq-item__head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; text-align: left; gap: 24px; }
.faq-item__head h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; margin: 0; color: var(--ink); }
.faq-item__icon { width: 18px; height: 18px; flex: none; color: var(--brown); transition: transform .2s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); color: var(--coral); }
.faq-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body > div { overflow: hidden; }
.faq-item__body p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ── Final CTA ────────────────────────────────────────────────── */
.final-cta { background: var(--coral-l); color: var(--cream-ink); padding-block: clamp(64px, 8vw, 100px); }
.final-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .final-cta__grid { grid-template-columns: 1fr; } }
.final-cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 0 0 16px; color: var(--cream-ink); }
.final-cta .eyebrow { font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; color: var(--cream-ink); display: block; margin-bottom: 10px; }
.final-cta p { font-size: 16px; color: rgba(253,246,234,.92); max-width: 480px; margin: 0 0 32px; line-height: 1.55; }

.contact-card { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.36); border-radius: var(--radius-card); padding: clamp(28px, 4vw, 48px); backdrop-filter: blur(2px); display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; align-items: center; gap: 18px; }
.contact-row__icon { width: 46px; height: 46px; flex: none; border-radius: 10px; background: rgba(255,255,255,.41); border: 1px solid rgba(255,255,255,.36); display: inline-flex; align-items: center; justify-content: center; color: var(--cream-ink); }
.contact-row__icon svg { width: 22px; height: 22px; }
.contact-row__label { font-size: 14px; color: rgba(255,255,255,.78); margin: 0 0 3px; }
.contact-row__value { font-family: 'Google Sans', sans-serif; font-weight: 700; font-size: 18px; color: #fff; line-height: 1.25; margin: 0; }
a.contact-row__value { display: inline-block; text-decoration: none; transition: color .15s ease; }
a.contact-row__value:hover { color: #fff; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { background: var(--bg); padding-block: clamp(50px, 6vw, 70px) 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--border-l); align-items: start; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

.footer__brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer__brand p   { font-size: 15px; color: #2b1b17; line-height: 1.55; margin: 0; max-width: 320px; }
.footer__col h5 { font-family: 'Google Sans', sans-serif; font-weight: 500; font-size: 14px; color: var(--brown); margin: 0 0 18px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col a:hover { color: var(--coral); }
.footer__bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #4a2c2a; }
.footer__link-accent { color: var(--brown); font-weight: 500; transition: color .15s ease; }
.footer__link-accent:hover { color: var(--coral); }

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
