@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700;800&family=Nunito+Sans:wght@400;600;700;800;900&display=swap');

/* =========================================================
   Mamá Olga Landing Pages
   Shared styles for:
   - mama-olga-bakery.html
   - mama-olga-delicias.html
   ========================================================= */

:root {
  --font-title: 'Baloo 2', 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 50px rgba(90, 55, 35, 0.12);
  --shadow-card: 0 12px 32px rgba(90, 55, 35, 0.10);
  --container: 1180px;
  --section-y: clamp(72px, 9vw, 120px);
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.bakery-theme {
  /* Paleta oficial Mamá Olga: naranja tropical, crema cálido, durazno, marrón oscuro y blanco. */
  --bg: #fff3da;
  --surface: #ffffff;
  --surface-2: #fff8ea;
  --text: #3a1b0b;
  --muted: #735545;
  --brand: #f4510b;
  --brand-dark: #3a1b0b;
  --brand-soft: #ffe2c2;
  --accent: #f6a45b;
  --accent-soft: #fff0dc;
  --line: rgba(58, 27, 11, 0.13);
  --hero-gradient: radial-gradient(circle at 88% 8%, rgba(244, 81, 11, 0.16), transparent 34%), radial-gradient(circle at 8% 18%, rgba(246, 164, 91, 0.18), transparent 32%), linear-gradient(135deg, #fff3da 0%, #ffffff 100%);
}

body.delicias-theme {
  /* Misma identidad base, con verde oliva como apoyo para la línea casera y familiar. */
  --bg: #fff3da;
  --surface: #ffffff;
  --surface-2: #fff7e6;
  --text: #3a1b0b;
  --muted: #735545;
  --brand: #f4510b;
  --brand-dark: #3a1b0b;
  --brand-soft: #ffd8b3;
  --accent: #f6a45b;
  --accent-soft: #fff0d8;
  --olive: #73804c;
  --line: rgba(58, 27, 11, 0.14);
  --hero-gradient: radial-gradient(circle at 88% 8%, rgba(244, 81, 11, 0.17), transparent 35%), radial-gradient(circle at 12% 18%, rgba(115, 128, 76, 0.12), transparent 34%), linear-gradient(135deg, #fff3da 0%, #ffffff 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: var(--section-y) 0;
}

.section.compact {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 58px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.75;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1,
h2 {
  font-family: var(--font-title);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.4rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
}

.lead {
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  max-width: 710px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

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

.btn-primary {
  color: #fffdf8;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(108, 63, 43, 0.20);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  color: var(--brand-dark);
  background: rgba(255, 253, 248, 0.74);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(244, 81, 11, 0.24);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 243, 218, 0.88);
  backdrop-filter: blur(18px);
}

.delicias-theme .site-header {
  background: rgba(255, 243, 218, 0.90);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(58, 27, 11, 0.10);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-family: var(--font-title);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-weight: 800;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 4px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 128px) 0 clamp(72px, 8vw, 112px);
  background: var(--hero-gradient);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
}

.hero-copy {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
  max-width: 620px;
}

.meta-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.58);
}

.meta-card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.18rem;
}

.meta-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-card {
  position: relative;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.60);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.58);
  box-shadow: var(--shadow-soft);
}

.hero-image {
  min-height: 520px;
  border-radius: calc(var(--radius-lg) - 8px);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-image.bakery-img {
  background-image: linear-gradient(rgba(70, 40, 25, 0.08), rgba(70, 40, 25, 0.08)), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1200&q=80');
}

.hero-image.delicias-img {
  background-image: linear-gradient(rgba(80, 35, 22, 0.05), rgba(80, 35, 22, 0.06)), url('https://images.unsplash.com/photo-1512058564366-18510be2db19?auto=format&fit=crop&w=1200&q=80');
}

.floating-note {
  position: absolute;
  left: clamp(22px, 4vw, 42px);
  bottom: clamp(22px, 4vw, 42px);
  max-width: 260px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-card);
}

.floating-note strong {
  display: block;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.about-photo {
  min-height: 440px;
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-soft);
}

.about-photo.bakery-about {
  background-image: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?auto=format&fit=crop&w=1100&q=80');
}

.about-photo.delicias-about {
  background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=1100&q=80');
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
}

.feature-item p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.product-card,
.package-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-img {
  min-height: 250px;
  background-position: center;
  background-size: cover;
}

.card-content {
  padding: 24px;
}

.card-content p,
.package-card p,
.testimonial-card p {
  font-size: 0.96rem;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.price-row strong {
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.packages-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 253, 248, 0.76) 100%);
}

.package-card {
  padding: 28px;
}

.package-card.featured {
  border-color: rgba(215, 168, 93, 0.55);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(247, 220, 207, 0.35) 100%);
}

.delicias-theme .package-card.featured {
  border-color: rgba(217, 155, 53, 0.5);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(247, 222, 159, 0.38) 100%);
}

.package-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.package-card li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 900;
  margin-right: 8px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-auto-rows: 210px;
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius-md);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* Testimonials */
.testimonial-card {
  padding: 28px;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.client-name {
  display: block;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 900;
}

/* CTA */
.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--hero-gradient);
  box-shadow: var(--shadow-soft);
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  margin-bottom: 0;
  max-width: 680px;
}

/* Footer */
.site-footer {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 30px;
}

.footer-grid h3 {
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Product images */
.img-croissant { background-image: url('https://images.unsplash.com/photo-1623334044303-241021148842?auto=format&fit=crop&w=900&q=80'); }
.img-cake { background-image: url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&w=900&q=80'); }
.img-coffee { background-image: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=900&q=80'); }
.img-breakfast { background-image: url('https://images.unsplash.com/photo-1533089860892-a7c6f0a88666?auto=format&fit=crop&w=900&q=80'); }
.img-bread { background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=900&q=80'); }
.img-dessert { background-image: url('https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=900&q=80'); }

.img-home-food { background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80'); }
.img-pasta { background-image: url('https://images.unsplash.com/photo-1551183053-bf91a1d81141?auto=format&fit=crop&w=900&q=80'); }
.img-bites { background-image: url('https://images.unsplash.com/photo-1604909052743-94e838986d24?auto=format&fit=crop&w=900&q=80'); }
.img-family { background-image: url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?auto=format&fit=crop&w=900&q=80'); }
.img-sweets { background-image: url('https://images.unsplash.com/photo-1551024506-0bccd828d307?auto=format&fit=crop&w=900&q=80'); }
.img-event { background-image: url('https://images.unsplash.com/photo-1527529482837-4698179dc6ce?auto=format&fit=crop&w=900&q=80'); }

/* Responsive */
@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.is-open {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .hero-grid,
  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }

  .hero-image {
    min-height: 440px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar {
    min-height: 72px;
  }

  .nav-links.is-open {
    top: 72px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-meta,
  .cards-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 360px;
  }

  .floating-note {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-card {
    padding: 12px;
  }

  .about-photo {
    min-height: 340px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .btn {
    width: 100%;
  }
}
