/* =========================================================
   Mamá Olga — Base CSS compartido
   Usar junto con uno de estos archivos:
   - mama-olga-bakery.css
   - mama-olga-delicias.css
   - mama-olga-menu.css
   ========================================================= */

:root {
  --font-title: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --mo-orange: #F4510B;
  --mo-cream: #FFF3DA;
  --mo-peach: #F6A45B;
  --mo-brown: #3A1B0B;
  --mo-white: #FFFFFF;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 50px rgba(58, 27, 11, 0.12);
  --shadow-card: 0 20px 45px rgba(58, 27, 11, 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;
}
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(--mo-orange); box-shadow: 0 12px 28px rgba(244, 81, 11, 0.22); }
.btn-primary:hover { background: #d94608; }
.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(58, 27, 11, 0.24); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 249, 240, 0.84);
  backdrop-filter: blur(18px);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 118px;
  gap: 24px;
}

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

.brand-logo-img {
  width: 150px;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 0;
  filter: drop-shadow(0 8px 18px rgba(58, 27, 11, 0.10));
}

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

.brand-name strong {
  font-family: var(--font-title);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--mo-brown);
}

.brand-name span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  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 { 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; }
.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-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); }
.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-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(244, 81, 11, 0.35); background: linear-gradient(180deg, var(--surface) 0%, rgba(246, 164, 91, 0.20) 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-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; }
.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-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; }
.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; }

@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: 93px; }
  .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%; }
  .brand-mark {  gap: 10px;}
  .brand-logo-img {  width: 82px;  height: auto;}
  .brand-name strong {  font-size: 1.15rem;}
  .brand-name span {  font-size: 0.68rem;  letter-spacing: 0.14em;}
}
