/* ==========================================================================
   EL BOLILLO BAKERY (elbolillobakery.online) — COLORFUL PANADERÍA DESIGN SYSTEM
   ========================================================================== */

:root {
  --bolillo-red: #D93832;
  --bolillo-red-dark: #B52722;
  --sunflower-yellow: #FFD447;
  --turquoise-blue: #12A9B5;
  --turquoise-dark: #0B838D;
  --lime-green: #80B844;
  --tangerine-orange: #F18A36;
  --guava-pink: #EF83A7;
  --warm-cream: #FFF7E6;
  --warm-cream-2: #FFEFCE;
  --chocolate-brown: #533426;
  --chocolate-deep: #362016;
  --pure-white: #FFFFFF;

  --text-main: #533426;
  --text-muted: #725041;
  --border-soft: rgba(83, 52, 38, 0.14);
  --shadow-sm: 0 6px 18px rgba(83, 52, 38, 0.08);
  --shadow-md: 0 14px 34px rgba(83, 52, 38, 0.13);
  --shadow-lg: 0 24px 56px rgba(83, 52, 38, 0.18);

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --font-display: 'Fredoka', 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1220px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--warm-cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.65rem;
  color: var(--chocolate-brown);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.95rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.55rem); font-weight: 600; }
p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--bolillo-red);
  color: var(--pure-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Focus accessibility */
:focus-visible {
  outline: 3px solid var(--turquoise-blue);
  outline-offset: 3px;
}

/* ==========================================================================
   DECORATIVE TALAVERA & PAPEL PICADO BORDERS
   ========================================================================== */
.talavera-ribbon {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--bolillo-red) 0 28px,
    var(--sunflower-yellow) 28px 56px,
    var(--turquoise-blue) 56px 84px,
    var(--guava-pink) 84px 112px,
    var(--lime-green) 112px 140px,
    var(--tangerine-orange) 140px 168px
  );
}

.papel-picado-divider {
  position: relative;
  height: 22px;
  width: 100%;
  background:
    radial-gradient(circle at 18px 0, var(--bolillo-red) 14px, transparent 15px) 0 0 / 108px 22px repeat-x,
    radial-gradient(circle at 54px 0, var(--sunflower-yellow) 14px, transparent 15px) 0 0 / 108px 22px repeat-x,
    radial-gradient(circle at 90px 0, var(--turquoise-blue) 14px, transparent 15px) 0 0 / 108px 22px repeat-x;
}

/* ==========================================================================
   INDEPENDENT SITE DISCLOSURE BANNER
   ========================================================================== */
.notice-bar {
  background: var(--chocolate-brown);
  color: var(--warm-cream);
  font-size: 0.84rem;
  padding: 0.45rem 0;
  text-align: center;
}
.notice-bar a {
  color: var(--sunflower-yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 247, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(83, 52, 38, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--bolillo-red);
  flex-shrink: 0;
}
.brand-mark-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bolillo-red), var(--tangerine-orange));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(217, 56, 50, 0.28);
  overflow: hidden;
  border: 2px solid var(--sunflower-yellow);
}
.brand-mark-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise-dark);
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  padding: 0.5rem 0.78rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--chocolate-brown);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--sunflower-yellow);
  color: var(--chocolate-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid var(--bolillo-red);
  background: var(--pure-white);
  color: var(--bolillo-red);
  font-size: 1.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 980;
  background: linear-gradient(155deg, var(--bolillo-red) 0%, #B52722 52%, var(--chocolate-brown) 100%);
  color: var(--pure-white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-spring);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--sunflower-yellow);
  background: transparent;
  color: var(--sunflower-yellow);
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-nav-list {
  display: grid;
  gap: 0.65rem;
}
.mobile-nav-list a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--pure-white);
}
.mobile-nav-list a:hover {
  background: var(--sunflower-yellow);
  color: var(--chocolate-deep);
}
.mobile-drawer-ctas {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.88rem;
}
.btn-primary {
  background: var(--bolillo-red);
  color: var(--pure-white);
  box-shadow: 0 8px 20px rgba(217, 56, 50, 0.28);
}
.btn-primary:hover { background: var(--bolillo-red-dark); }

.btn-secondary {
  background: var(--turquoise-blue);
  color: var(--pure-white);
  box-shadow: 0 8px 20px rgba(18, 169, 181, 0.25);
}
.btn-secondary:hover { background: var(--turquoise-dark); }

.btn-yellow {
  background: var(--sunflower-yellow);
  color: var(--chocolate-deep);
  box-shadow: 0 8px 20px rgba(255, 212, 71, 0.35);
}
.btn-outline {
  background: var(--pure-white);
  color: var(--chocolate-brown);
  border-color: var(--chocolate-brown);
}
.btn-outline:hover {
  background: var(--chocolate-brown);
  color: var(--pure-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  background: var(--sunflower-yellow);
  color: var(--chocolate-deep);
}
.eyebrow-turquoise { background: rgba(18, 169, 181, 0.16); color: var(--turquoise-dark); }
.eyebrow-pink { background: rgba(239, 131, 167, 0.24); color: #9c2b53; }
.eyebrow-lime { background: rgba(128, 184, 68, 0.22); color: #3a6012; }
.eyebrow-red { background: rgba(217, 56, 50, 0.14); color: var(--bolillo-red-dark); }

/* ==========================================================================
   HERO SECTION (COLORFUL PANADERÍA ENTRANCE)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 212, 71, 0.48), transparent 36%),
    radial-gradient(circle at 12% 78%, rgba(239, 131, 167, 0.28), transparent 32%),
    radial-gradient(circle at 60% 85%, rgba(18, 169, 181, 0.18), transparent 34%),
    var(--warm-cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.hero-title span.accent-red { color: var(--bolillo-red); }
.hero-title span.accent-teal { color: var(--turquoise-dark); }

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 1.65rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.95rem;
  background: var(--pure-white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
}

.hero-media {
  position: relative;
}
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--pure-white);
  box-shadow: var(--shadow-lg);
  background: var(--chocolate-brown);
  aspect-ratio: 4 / 3;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-spring);
}
.hero-photo-frame:hover img {
  transform: scale(1.04);
}
.hero-badge-float {
  position: absolute;
  bottom: -16px;
  left: -14px;
  background: var(--bolillo-red);
  color: var(--pure-white);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 4px solid var(--sunflower-yellow);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  transform: rotate(-3deg);
}
.hero-badge-float small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sunflower-yellow);
}

/* Floating SVG pastry illustrations */
.float-motif {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  animation: gentleFloat 6s ease-in-out infinite;
}
.float-motif-1 { top: 8%; left: 3%; width: 58px; animation-delay: 0s; }
.float-motif-2 { top: 10%; right: 4%; width: 52px; animation-delay: 1.4s; }
.float-motif-3 { bottom: 10%; left: 44%; width: 46px; animation-delay: 2.3s; }

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

/* ==========================================================================
   ANIMATED PRODUCT MARQUEE / CAROUSEL
   ========================================================================== */
.marquee-band {
  background: var(--bolillo-red);
  color: var(--pure-white);
  padding: 1.25rem 0;
  overflow: hidden;
  border-top: 4px solid var(--sunflower-yellow);
  border-bottom: 4px solid var(--sunflower-yellow);
}
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}
.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--pure-white);
  color: var(--chocolate-brown);
  padding: 0.55rem 1.15rem 0.55rem 0.55rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(54, 32, 22, 0.2);
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-spring);
}
.marquee-card:hover { transform: scale(1.05); }
.marquee-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sunflower-yellow);
}
.marquee-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--warm-cream);
  color: var(--bolillo-red);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS & COLOR BLOCKS
   ========================================================================== */
.section {
  padding: clamp(3.2rem, 6vw, 5.2rem) 0;
  position: relative;
}
.section-white { background: var(--pure-white); }
.section-cream { background: var(--warm-cream); }
.section-sunshine {
  background: linear-gradient(180deg, #FFF3C4 0%, var(--warm-cream) 100%);
}
.section-turquoise {
  background: linear-gradient(135deg, var(--turquoise-blue) 0%, #0D8C96 100%);
  color: var(--pure-white);
}
.section-turquoise h2,
.section-turquoise h3,
.section-turquoise p { color: var(--pure-white); }

.section-red {
  background: linear-gradient(135deg, var(--bolillo-red) 0%, #B82924 100%);
  color: var(--pure-white);
}
.section-red h2,
.section-red h3,
.section-red p { color: var(--pure-white); }

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================================
   GRIDS & CARDS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }

.card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  border: 2px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tangerine-orange);
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--warm-cream-2);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-spring);
}
.card:hover .card-media img {
  transform: scale(1.07);
}
.card-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--sunflower-yellow);
  color: var(--chocolate-deep);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}
.card-pill.pink { background: var(--guava-pink); color: var(--chocolate-deep); }
.card-pill.teal { background: var(--turquoise-blue); color: var(--pure-white); }
.card-pill.lime { background: var(--lime-green); color: var(--pure-white); }
.card-pill.red { background: var(--bolillo-red); color: var(--pure-white); }
.card-pill.orange { background: var(--tangerine-orange); color: var(--pure-white); }

.card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
}
.card-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bolillo-red);
  margin-top: 0.5rem;
}

/* Split Story / Feature Layout */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.split-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--pure-white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Box / Comparison Table */
.info-panel {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.info-panel.highlight-pink { border-top: 6px solid var(--guava-pink); }
.info-panel.highlight-teal { border-top: 6px solid var(--turquoise-blue); }
.info-panel.highlight-yellow { border-top: 6px solid var(--sunflower-yellow); }
.info-panel.highlight-red { border-top: 6px solid var(--bolillo-red); }

/* ==========================================================================
   CUSTOM CAKE CAROUSEL & LIGHTBOX
   ========================================================================== */
.cake-carousel-wrap {
  position: relative;
}
.cake-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--bolillo-red) var(--warm-cream-2);
}
.cake-slide {
  flex: 0 0 290px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--pure-white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: var(--chocolate-brown);
}
.cake-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}
.cake-slide:hover img { transform: scale(1.07); }
.cake-slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(54, 32, 22, 0.9));
  color: var(--pure-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.carousel-controls {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--chocolate-brown);
  background: var(--pure-white);
  color: var(--chocolate-brown);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-btn:hover {
  background: var(--bolillo-red);
  border-color: var(--bolillo-red);
  color: var(--pure-white);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(34, 18, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 820px;
  width: 100%;
  background: var(--pure-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox-inner img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #1d110c;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--bolillo-red);
  color: var(--pure-white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   MENU FILTER BAR & SEARCH
   ========================================================================== */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--pure-white);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-soft);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-chip {
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-soft);
  background: var(--warm-cream);
  color: var(--chocolate-brown);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--bolillo-red);
  border-color: var(--bolillo-red);
  color: var(--pure-white);
}
.menu-search {
  flex: 1 1 240px;
  max-width: 340px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--chocolate-brown);
}
.menu-search:focus {
  border-color: var(--turquoise-blue);
  outline: none;
}

/* ==========================================================================
   LOCATION CARDS & BRANCH DETAILS
   ========================================================================== */
.location-card .loc-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.location-card .loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

/* ==========================================================================
   TIMELINE & FAQ ACCORDION
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-left: 2rem;
  border-left: 4px dashed var(--tangerine-orange);
}
.timeline-item {
  position: relative;
  background: var(--pure-white);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.7rem;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bolillo-red);
  border: 4px solid var(--sunflower-yellow);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}
.faq-item {
  background: var(--pure-white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--bolillo-red);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-muted);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--turquoise-dark); }
.breadcrumbs a:hover { text-decoration: underline; }

/* Page Hero (Subpages) */
.page-hero {
  padding: clamp(2.4rem, 5vw, 3.8rem) 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 212, 71, 0.45), transparent 36%),
    radial-gradient(circle at 8% 80%, rgba(18, 169, 181, 0.18), transparent 34%),
    var(--warm-cream);
  border-bottom: 2px solid var(--border-soft);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--chocolate-brown);
  color: var(--warm-cream);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer h3,
.site-footer h4 {
  color: var(--sunflower-yellow);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.48rem;
  font-size: 0.92rem;
}
.footer-links a {
  color: rgba(255, 247, 230, 0.88);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--sunflower-yellow); }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.social-pill {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--pure-white);
  font-weight: 700;
  font-size: 0.82rem;
}
.social-pill:hover {
  background: var(--sunflower-yellow);
  color: var(--chocolate-deep);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 247, 230, 0.18);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 247, 230, 0.78);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   CUSTOM INTERACTIVE PANADERÍA CURSOR (DESKTOP FINE-POINTER ONLY)
   ========================================================================== */
.pan-cursor-dot,
.pan-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.pan-cursor-dot {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--bolillo-red);
  box-shadow: 0 0 0 2px var(--sunflower-yellow);
}
.pan-cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 2.5px solid var(--turquoise-blue);
  background: rgba(255, 212, 71, 0.12);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pan-cursor-ring.is-hover {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: var(--bolillo-red);
  background: rgba(217, 56, 50, 0.16);
}
.pan-cursor-ring.has-label {
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  border-color: var(--sunflower-yellow);
  background: rgba(217, 56, 50, 0.9);
}
.pan-sparkle {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: sparkleBurst 0.65s var(--ease-spring) forwards;
}
@keyframes sparkleBurst {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1060px) {
  .main-nav,
  .header-actions { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-grid,
  .split-feature { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge-float { left: 10px; bottom: 10px; }
  .cake-slide { flex: 0 0 250px; }
  .float-motif { display: none; }
}

/* ==========================================================================
   ADSTERRA BANNER SLOTS (INLINE & STICKY FOOTER)
   ========================================================================== */
body.has-sticky-ad {
  padding-bottom: 112px;
}

.ad-band {
  padding: 1.5rem 0;
  background: var(--warm-cream-2);
  border-top: 2px dashed rgba(83, 52, 38, 0.14);
}
.ad-inline-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 82px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}
.ad-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ad-frame-wrap {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  background: rgba(255, 247, 230, 0.97);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--bolillo-red);
  box-shadow: 0 -8px 28px rgba(54, 32, 22, 0.16);
  padding: 0.45rem 2.75rem 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.ad-sticky-footer.is-dismissed {
  display: none;
}
.ad-sticky-inner {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ad-sticky-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--chocolate-brown);
  background: var(--pure-white);
  color: var(--chocolate-brown);
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.ad-sticky-close:hover {
  background: var(--bolillo-red);
  border-color: var(--bolillo-red);
  color: var(--pure-white);
}

@media (max-width: 760px) {
  body.has-sticky-ad {
    padding-bottom: 84px;
  }
  .ad-sticky-footer {
    min-height: 72px;
    padding: 0.35rem 2.4rem 0.35rem 0.4rem;
  }
  .ad-sticky-inner iframe {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 500px) {
  .ad-frame-wrap iframe {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-motif,
  .marquee-track,
  .pan-sparkle { animation: none !important; }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pan-cursor-dot,
  .pan-cursor-ring { display: none !important; }
  .card:hover,
  .btn:hover { transform: none !important; }
}
