/* ============================================
   Milhojas Sweet — Design tokens
   Palette drawn from the bakery's own real photos:
   raspberry pink icing, gold accents, cream backdrop.
   ============================================ */
:root{
  --raspberry: #C2185B;
  --raspberry-dark: #8E1145;
  --blush: #FFE3EE;
  --blush-soft: #FFF3F7;
  --cream: #FFFBF6;
  --gold: #C9992E;
  --gold-light: #E8C874;
  --ink: #2E1B22;
  --ink-soft: #6B4C57;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-script: "Dancing Script", cursive;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 20px;
  --shadow-soft: 0 20px 45px -20px rgba(142, 17, 69, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(46, 27, 34, 0.18);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4{ font-family: var(--font-display); margin: 0; color: var(--raspberry-dark); }
p{ margin: 0 0 1em; }
:focus-visible{ outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow{
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 0 6px;
  font-weight: 700;
}
.eyebrow.center{ text-align: center; }
.eyebrow.light{ color: var(--gold-light); }
.section-title{
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title.center{ text-align: center; }
.section-title.light{ color: var(--white); }
.section-sub{
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
}
.section-sub.center{ text-align: center; margin-left: auto; margin-right: auto; }
.section-sub.light{ color: #FFE3EE; }
.section{ padding: 88px 0; }
.section-alt{ background: var(--blush-soft); }

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn .ico{ width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn-whatsapp{
  background: linear-gradient(135deg, #25D366, #1DA851);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-whatsapp:hover{ transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(37,211,102,.55); }
.btn-outline{
  border-color: var(--raspberry);
  color: var(--raspberry-dark);
  background: transparent;
}
.btn-outline:hover{ background: var(--raspberry); color: #fff; transform: translateY(-2px); }
.btn-lg{ padding: 16px 32px; font-size: 1.05rem; }
.btn-xl{ padding: 20px 44px; font-size: 1.2rem; margin: 8px auto 0; }

/* ===== Header ===== */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 246, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(194, 24, 91, 0.12);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
}
.wordmark{ display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; }
.wordmark-main{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--raspberry-dark);
  letter-spacing: -0.01em;
}
.wordmark-script{
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--gold);
}
.wordmark.small .wordmark-main{ font-size: 1.2rem; }
.wordmark.small .wordmark-script{ font-size: 1.4rem; }

.main-nav{ display: flex; gap: 32px; }
.main-nav a{
  font-weight: 600; font-size: .96rem; color: var(--ink);
  position: relative; padding: 6px 2px;
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }
.nav-cta{ padding: 10px 20px; font-size: .92rem; }
.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
}
.nav-toggle span{ height: 2px; width: 24px; background: var(--raspberry-dark); border-radius: 2px; }

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: 72px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blush-soft) 0%, var(--cream) 70%);
}
.hero-blob{
  position: absolute; border-radius: 50%;
  filter: blur(2px); opacity: .55; z-index: 0;
}
.blob-1{ width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%); top: -140px; right: -100px; }
.blob-2{ width: 300px; height: 300px; background: radial-gradient(circle at 30% 30%, var(--gold-light), transparent 70%); opacity: .25; bottom: -80px; left: -80px; }
.hero-inner{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero-copy h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.06;
  font-weight: 600;
  margin: 10px 0 22px;
}
.hero-copy h1 .script{
  font-family: var(--font-script);
  color: var(--raspberry);
  font-weight: 700;
  font-size: 1.15em;
}
.hero-sub{ font-size: 1.12rem; color: var(--ink-soft); max-width: 460px; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-tags{ display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--raspberry-dark); font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; }
.hero-tags .dot{ color: var(--gold); }

.hero-gallery{
  position: relative; height: 460px;
}
.hero-photo{
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); border: 6px solid var(--white);
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; }
.hero-photo.p1{ width: 62%; height: 62%; top: 0; right: 0; transform: rotate(3deg); z-index: 2; }
.hero-photo.p2{ width: 46%; height: 44%; bottom: 4%; left: 0; transform: rotate(-6deg); z-index: 3; }
.hero-photo.p3{ width: 40%; height: 38%; top: 40%; left: 30%; transform: rotate(8deg); z-index: 1; }

/* scalloped divider — echoes the piped shell borders in the bakery's own cake photography */
.scallop{
  position: absolute; left: 0; right: 0; bottom: -1px; height: 34px;
  background-image: radial-gradient(circle at 10px 0, transparent 12px, var(--cream) 13px);
  background-size: 28px 28px; background-position: 0 -14px; background-repeat: repeat-x;
}
.scallop-top{
  bottom: auto; top: -1px;
  background-image: radial-gradient(circle at 10px 28px, transparent 12px, var(--raspberry-dark) 13px);
  background-position: 0 14px;
  transform: rotate(180deg);
}

/* ===== Occasions strip ===== */
.occasions{ background: var(--raspberry-dark); padding: 20px 0; }
.occasions-inner{ display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.occasions-label{
  font-family: var(--font-script); color: var(--gold-light); font-size: 1.3rem; margin: 0; font-weight: 700;
}
.occasions-list{ display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.occasions-list span{
  color: #fff; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 16px;
}

/* ===== Gallery ===== */
.gallery{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 48px 0 64px;
}
.gallery-item{
  margin: 0; position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 4/5;
}
.gallery-item.span-2{ grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(46,27,34,.82), transparent);
  color: #fff; font-size: .82rem; padding: 28px 14px 12px; font-weight: 500;
}

/* ===== Menu panel ===== */
.menu-panel{
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px;
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-card); margin-bottom: 32px;
}
.menu-col h3{ font-size: 1.3rem; margin-bottom: 16px; }
.chip-list{ display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li{
  background: var(--blush-soft); color: var(--raspberry-dark);
  border: 1px solid var(--blush); border-radius: 999px;
  padding: 6px 14px; font-size: .88rem; font-weight: 600;
}

/* ===== Price panel ===== */
.price-panel{
  background: var(--blush-soft); border-radius: var(--radius); padding: 40px;
  text-align: center;
}
.price-panel h3{ font-size: 1.3rem; margin-bottom: 22px; }
.price-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 640px; margin: 0 auto; }
.price-card{
  background: var(--white); border-radius: 16px; padding: 26px 12px;
  box-shadow: var(--shadow-card); border: 2px solid transparent;
}
.price-card.featured{ border-color: var(--gold); transform: translateY(-6px); }
.price-amount{ font-family: var(--font-display); font-size: 2rem; color: var(--raspberry); font-weight: 700; margin: 0 0 6px; }
.price-servings{ font-size: .9rem; color: var(--ink-soft); margin: 0; }
.price-note{ font-size: .85rem; color: var(--ink-soft); margin: 20px 0 0; font-style: italic; }

/* ===== Steps ===== */
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.step{ text-align: center; padding: 0 12px; }
.step-num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--raspberry); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 16px;
}
.step h4{ font-size: 1.1rem; margin-bottom: 8px; color: var(--raspberry-dark); }
.step p{ color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ===== About ===== */
.about-inner{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo{ position: relative; }
.about-photo img{ border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo-badge{
  position: absolute; bottom: -18px; right: -18px;
  background: var(--gold); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow-card); text-align: center; line-height: 1.3;
}
.about-copy p{ color: var(--ink-soft); font-size: 1.02rem; }
.ig-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--raspberry); margin-top: 8px;
}
.ig-link .ico{ width: 20px; height: 20px; fill: currentColor; }

/* ===== Contact ===== */
.contact{
  background: var(--raspberry-dark); position: relative; text-align: center; padding-top: 110px;
}
.contact-inner{ display: flex; flex-direction: column; align-items: center; }
.contact-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 760px; width: 100%; margin-top: 56px;
}
.contact-card{
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 24px 18px;
}
.contact-card h4{ color: var(--gold-light); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.contact-card p{ color: #fff; margin: 0; font-weight: 500; }
.contact-card a{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Footer ===== */
.site-footer{ background: var(--ink); padding: 34px 0; }
.footer-inner{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p{ color: #C9A9B2; margin: 0; font-size: .88rem; }
.footer-inner .wordmark-main{ color: #fff; }

/* ===== Floating WhatsApp ===== */
.float-whatsapp{
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1DA851);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .18s ease;
}
.float-whatsapp .ico{ width: 28px; height: 28px; fill: #fff; }
.float-whatsapp:hover{ transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-gallery{ height: 340px; order: -1; }
  .about-inner{ grid-template-columns: 1fr; }
  .about-photo{ max-width: 340px; margin: 0 auto; }
  .menu-panel{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px){
  .main-nav{
    position: fixed; top: 68px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; padding: 20px 24px; gap: 4px;
    border-bottom: 1px solid rgba(194,24,91,.12);
    transform: translateY(-130%); transition: transform .25s ease;
  }
  .main-nav.open{ transform: translateY(0); }
  .main-nav a{ padding: 12px 0; border-bottom: 1px solid rgba(194,24,91,.08); }
  .nav-toggle{ display: flex; }
  .nav-cta{ display: none; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-2{ grid-column: span 2; }
  .price-grid{ grid-template-columns: 1fr; }
  .price-card.featured{ transform: none; }
  .float-whatsapp{ width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}
