/* =====================================================================
   ZUCCHELLI ALPHA USA — Premium Bakery Equipment
   Stylesheet
   Brand: Red #DC1915 | Navy #21264c | Cream #F5F2ED | White #FFFFFF
   ===================================================================== */

/* ------------------------------------------------------------------ */
/*  1. Tokens                                                          */
/* ------------------------------------------------------------------ */
:root {
  --red:        #DC1915;
  --red-dark:   #b3120f;
  --navy:       #21264c;
  --navy-deep:  #181c3a;
  --cream:      #F5F2ED;
  --white:      #FFFFFF;

  --ink:        #1c2030;
  --muted:      #5b6072;
  --line:       #e4ddd1;
  --line-navy:  rgba(255,255,255,.14);

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(33,38,76,.06);
  --shadow:    0 14px 40px rgba(33,38,76,.10);
  --shadow-lg: 0 26px 70px rgba(33,38,76,.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------ */
/*  2. Reset / base                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ------------------------------------------------------------------ */
/*  3. Buttons                                                         */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(220,25,21,.28);
}
.btn--red:hover { background: var(--red-dark); box-shadow: 0 12px 30px rgba(220,25,21,.36); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--navy); background: var(--white); }

.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ */
/*  4. Header / nav                                                    */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,242,237,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(245,242,237,.96); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

/* Brand: wordmark fallback + logo image swap */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__img { height: 46px; width: auto; display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .02em;
  color: var(--navy);
}
.brand__text em {
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--red);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 4px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--red);
  transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--navy); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 14px; }

/* CTA shown inside the mobile dropdown menu (injected by JS); hidden on desktop */
.nav-cta-mobile { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ */
/*  5. Sections / headings                                             */
/* ------------------------------------------------------------------ */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* ------------------------------------------------------------------ */
/*  6. Hero                                                            */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: #FBF8F3;
  color: var(--ink);
  overflow: hidden;
}
.hero .container {
  position: relative;
  max-width: none;
  margin: 0;
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-right: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: clamp(84px, 10vw, 128px) 0;
}
/* Bread + croissant photo: fills the right column and bleeds off the right edge.
   The photo's white studio background melts into the warm ground via multiply. */
.hero__media {
  position: absolute;
  z-index: 1;
  top: 0; bottom: 0; right: 0;
  width: 74%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.hero__bread {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(300px, 40vw, 520px);
  /* photo background is already the hero color (#FBF8F3), so no blend needed */
}
@keyframes heroMedia { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
.js-anim .hero__media { opacity: 0; animation: heroMedia 1s var(--ease) .5s forwards; }
.intro-mode .hero__media { animation-delay: 1.75s; }

/* Stack on tablet / mobile: text on top, photo below */
/* Phone/tablet: keep the desktop-style overlay (bread on the far right, text on
   top). The image is anchored to the bottom-right so it lines up with the
   stat numbers, and the text gets its own right padding so it never touches the
   edge even though the container bleeds. */
@media (max-width: 920px) {
  .hero .container { padding-left: clamp(18px, 5vw, 24px); padding-right: 0; }
  .hero__inner { max-width: 100%; padding: clamp(56px, 9vw, 84px) clamp(18px, 5vw, 24px) clamp(22px, 5vw, 36px) 0; }
  /* bread bottom aligns with the stats' bottom; height ≈ the 25,000→23 span */
  .hero__media { top: auto; bottom: clamp(22px, 5vw, 36px); right: 0; width: 78%; align-items: flex-end; }
  .hero__bread { width: 100%; height: auto; max-width: 100%; max-height: clamp(150px, 44vw, 230px); margin: 0; }
  .intro-mode .hero__media { animation-delay: 1.9s; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: clamp(30px, 8.4vw, 42px); }
}
@media (prefers-reduced-motion: reduce) { .hero__media { animation: none; opacity: 1; } }
.hero .eyebrow { color: var(--red); }
.hero .eyebrow::before { background: var(--red); }
.hero h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 20px 0 20px;
}
.hero h1 .accent { color: var(--red); font-style: italic; }
.hero__sub {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 44px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__trust .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
}
.hero__trust .stat span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
  max-width: 12rem;
  display: inline-block;
}

/* ------------------------------------------------------------------ */
/*  7. Category cards (home)                                           */
/* ------------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.cat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  overflow: hidden;
}
.cat-card::after {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 3px; width: 0;
  background: var(--red);
  transition: width .3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::after { width: 100%; }
.cat-card__icon {
  width: 54px; height: 54px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fbeceb, #f8f4ef);
  color: var(--red);
  margin-bottom: 20px;
}
.cat-card__icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 21px; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 15px; }
.cat-card__count {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
}
.cat-card__count::after {
  content: " →";
  color: var(--red);
  transition: margin-left .2s var(--ease);
}
.cat-card:hover .cat-card__count::after { margin-left: 5px; }

/* ------------------------------------------------------------------ */
/*  8. Why columns                                                     */
/* ------------------------------------------------------------------ */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.why-card {
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .1em;
}
.why-card h3 { font-size: 23px; margin: 14px 0 12px; }
.why-card p { color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------------ */
/*  9. Alliance section                                                */
/* ------------------------------------------------------------------ */
.alliance { background: var(--cream); }
.alliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.alliance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.alliance-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.alliance-logo {
  height: 84px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #eef0f6, #f7f5f0);
  border: 1px dashed var(--line);
  margin-bottom: 20px;
}
.alliance-logo span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}
.alliance-card h3 { font-size: 19px; margin-bottom: 8px; }
.alliance-card .role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.alliance-card p { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ */
/* 10. Process (navy)                                                  */
/* ------------------------------------------------------------------ */
.process { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.process::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(220,25,21,.16), transparent 60%);
}
.process .container { position: relative; z-index: 1; }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: rgba(255,255,255,.72); }
.process .eyebrow { color: #ff8a87; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(220,25,21,.32);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px; left: 64px; right: -11px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.3), rgba(255,255,255,.05));
}
.step h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.72); font-size: 15px; }

/* ------------------------------------------------------------------ */
/* 11. Showroom CTA (red)                                              */
/* ------------------------------------------------------------------ */
.showroom-cta {
  background: var(--red);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.showroom-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 12% 120%, rgba(0,0,0,.18), transparent 60%);
}
.showroom-cta .container {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.showroom-cta .eyebrow { color: rgba(255,255,255,.9); }
.showroom-cta .eyebrow::before { background: rgba(255,255,255,.9); }
.showroom-cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 46px); margin: 16px 0 14px; max-width: 620px; }
.showroom-cta p { color: rgba(255,255,255,.9); max-width: 560px; font-size: 18px; }
.showroom-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.showroom-cta .btn--white { background: #fff; color: var(--red); }
.showroom-cta .btn--white:hover { background: #fff7f7; }

/* ------------------------------------------------------------------ */
/* 12. Footer                                                          */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.74); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-navy);
}
.site-footer .brand__text strong { color: #fff; }
.footer-about { margin-top: 20px; max-width: 320px; font-size: 15px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 15px; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
}
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--red); margin-top: 2px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}
.footer-bottom .cert-note { color: rgba(255,255,255,.42); }

/* ------------------------------------------------------------------ */
/* 13. Page hero (sub-pages)                                           */
/* ------------------------------------------------------------------ */
.page-hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 420px at 85% -20%, rgba(220,25,21,.2), transparent 60%);
}
.page-hero__inner { position: relative; z-index: 1; padding: 78px 0 84px; max-width: 720px; }
.page-hero .eyebrow { color: #ff8a87; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); margin: 18px 0 18px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 19px; max-width: 580px; }

/* ------------------------------------------------------------------ */
/* 14. Products page                                                   */
/* ------------------------------------------------------------------ */
.filter-bar {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(245,242,237,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all .2s var(--ease);
}
.pill:hover { border-color: var(--navy); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }

/* placeholder image */
.ph {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #2b3160 0%, #21264c 55%, #161a36 100%);
  color: rgba(255,255,255,.92);
  text-align: center;
  padding: 22px;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .6;
}
.ph__label { position: relative; z-index: 1; }
.ph__label .ph-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ff8a87;
  margin-bottom: 8px;
}
.ph__label .ph-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}
.ph__tag {
  position: absolute;
  z-index: 1;
  bottom: 12px; right: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 9px;
  border-radius: 999px;
}

/* real product photo (white studio background) */
.product-media {
  position: relative;
  flex: 0 0 auto;
  height: 250px;              /* fixed so every card's image area lines up */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* keep placeholder tiles the same height as photo tiles inside product cards */
.product-card .ph {
  aspect-ratio: auto;
  flex: 0 0 auto;
  height: 250px;
}
.product-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-media .ph__tag { color: var(--muted); border-color: var(--line); }

.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

/* compact spec chips pulled from the equipment spec sheet */
.spec-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.spec-chips span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 9px;
  line-height: 1.2;
}
.badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: #fbeceb;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 13px;
}
.product-card h3 { font-size: 20px; margin-bottom: 9px; }
.product-card .spec { color: var(--muted); font-size: 15px; flex: 1; }
.product-card .quote-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.product-card .quote-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.product-card:hover .quote-link svg { transform: translateX(4px); }
.product-card .quote-link:hover { color: var(--red); }

/* card actions row: Request a Quote + View Specs */
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.card-actions .quote-link { margin-top: 0; }
.specs-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.specs-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.specs-link:hover { color: var(--navy); }
.specs-link:hover svg { transform: translateX(3px); }

/* ---- Specs modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 28, 58, .55);
  backdrop-filter: blur(3px);
  animation: modalFade .2s var(--ease);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalPop .28s var(--ease);
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.modal__close:hover { background: #fff; transform: rotate(90deg); }

.modal__media {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-right: 1px solid var(--line);
}
.modal__media img { max-width: 100%; max-height: 340px; object-fit: contain; mix-blend-mode: multiply; }
.modal__media--ph {
  background: linear-gradient(135deg, #2b3160 0%, #21264c 55%, #161a36 100%);
  border-right: 0;
}
.modal__media--ph span {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px; border-radius: 999px;
}

.modal__body { padding: 32px 30px; }
.modal__body .badge { margin-bottom: 12px; }
.modal__body h3 { font-size: 26px; margin-bottom: 8px; }
.modal__tagline { color: var(--muted); font-size: 15.5px; margin-bottom: 20px; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 11px 0;
  font-size: 14.5px;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
.spec-table th { color: var(--muted); font-weight: 500; width: 44%; padding-right: 14px; }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }

.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.modal__note { font-size: 13px; color: var(--muted); margin-top: 16px; font-style: italic; }

@media (max-width: 680px) {
  .modal__dialog { grid-template-columns: 1fr; max-height: 92vh; }
  .modal__media { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .modal__media img { max-height: 220px; }
  .modal__body { padding: 26px 22px; }
}

.cat-block-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 28px 0 -6px;
}
.cat-block-title h2 { font-size: 26px; }
.cat-block-title span { color: var(--muted); font-size: 14px; }
.cat-block-title.is-hidden { display: none; }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  display: none;
}

/* feature list under category */
.feature-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.feature-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-item { display: flex; gap: 14px; }
.feature-item svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 22px; margin-top: 3px; }
.feature-item h4 { font-family: var(--font-body); font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------------------ */
/* 15. Contact page                                                    */
/* ------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: 30px; margin-bottom: 8px; }
.contact-info > p { color: var(--muted); font-size: 17px; margin-bottom: 30px; }

.info-list { margin-bottom: 32px; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .ic {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: #fbeceb;
  color: var(--red);
}
.info-list .ic svg { width: 21px; height: 21px; }
.info-list .info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-list .info-value { font-size: 16px; font-weight: 600; color: var(--ink); }
.info-list a.info-value:hover { color: var(--red); }

.showroom-note {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.showroom-note h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.showroom-note p { color: rgba(255,255,255,.8); font-size: 15px; }
.showroom-note .badge-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #ff8a87; margin-bottom: 14px;
}
.showroom-note .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(220,25,21,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220,25,21,.55); }
  70% { box-shadow: 0 0 0 9px rgba(220,25,21,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,25,21,0); }
}

/* form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(33,38,76,.08);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2321264c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  background: #ecf7ee;
  border: 1.5px solid #b9e3c1;
  color: #1f7a35;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-success.is-shown { display: block; }

.cert-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff8e8;
  border: 1px solid #f1e3bd;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 40px;
}
.cert-banner svg { width: 22px; height: 22px; color: #b98900; flex: 0 0 22px; margin-top: 2px; }
.cert-banner p { font-size: 14.5px; color: #6b5d33; }
.cert-banner strong { color: #4d4222; }

/* ------------------------------------------------------------------ */
/* 16. Gallery page                                                    */
/* ------------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-item {
  grid-column: span 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery-item.span-6 { grid-column: span 6; }
.gallery-item.span-8 { grid-column: span 8; }
.gallery-item .ph { aspect-ratio: auto; height: 100%; min-height: 240px; }
.gallery-item.tall .ph { min-height: 380px; }
.gallery-note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 40px;
}

/* ------------------------------------------------------------------ */
/* 17. Reveal animation                                                */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/* 17b. Signature animations                                           */
/* ------------------------------------------------------------------ */

/* Scroll progress bar (element injected by JS) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), #ff6b67);
  box-shadow: 0 0 10px rgba(220,25,21,.5);
  z-index: 300;
  transition: width .08s linear;
}

/* Hero ambient oven glow */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(560px 360px at 74% 14%, rgba(220,25,21,.30), transparent 62%);
  mix-blend-mode: screen;
  opacity: .6;
  animation: ovenGlow 13s ease-in-out infinite alternate;
}
@keyframes ovenGlow {
  from { transform: translate(-2%, 1%) scale(1);    opacity: .5; }
  to   { transform: translate(3%, -2%) scale(1.14); opacity: .82; }
}

/* Hero staggered entrance (gated by .js-anim so a no-JS page still shows) */
.hero h1 .line { display: block; }
.js-anim .hero .eyebrow,
.js-anim .hero h1 .line,
.js-anim .hero .hero__sub,
.js-anim .hero .hero__actions,
.js-anim .hero .hero__trust {
  opacity: 0;
  transform: translateY(18px);
  animation: heroRise .8s var(--ease) forwards;
}
.js-anim .hero .eyebrow              { animation-delay: .10s; }
.js-anim .hero h1 .line:nth-child(1) { animation-delay: .20s; }
.js-anim .hero h1 .line:nth-child(2) { animation-delay: .34s; }
.js-anim .hero .hero__sub            { animation-delay: .52s; }
.js-anim .hero .hero__actions        { animation-delay: .66s; }
.js-anim .hero .hero__trust          { animation-delay: .82s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* Process connectors "fill" in sequence as the steps reveal */
.step::after { transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); }
.step.is-visible::after { transform: scaleX(1); }
.steps .step:nth-child(1).is-visible::after { transition-delay: .25s; }
.steps .step:nth-child(2).is-visible::after { transition-delay: .50s; }
.steps .step:nth-child(3).is-visible::after { transition-delay: .75s; }

/* Card hover polish */
.product-media img { transition: transform .45s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.cat-card__icon { transition: transform .3s var(--ease), background .3s var(--ease); }
.cat-card:hover .cat-card__icon { transform: translateY(-3px) rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
  .js-anim .hero .eyebrow,
  .js-anim .hero h1 .line,
  .js-anim .hero .hero__sub,
  .js-anim .hero .hero__actions,
  .js-anim .hero .hero__trust { animation: none; opacity: 1; transform: none; }
  .step::after { transform: scaleX(1); }
  .scroll-progress { display: none; }
}

/* ------------------------------------------------------------------ */
/* 17c. Cinematic bakery intro (landing page)                          */
/* ------------------------------------------------------------------ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}
.intro__panel {
  position: absolute;
  top: -2px; bottom: -2px;
  width: 51%;
  background: var(--navy-deep);
}
.intro__panel--l { left: 0;  animation: introDoorL .65s cubic-bezier(.76,0,.24,1) 1.45s forwards; }
.intro__panel--r { right: 0; animation: introDoorR .65s cubic-bezier(.76,0,.24,1) 1.45s forwards; }
@keyframes introDoorL { to { transform: translateX(-101%); } }
@keyframes introDoorR { to { transform: translateX(101%); } }

.intro__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 24px;
  animation: introContentOut .3s ease 1.2s forwards;
}
@keyframes introContentOut { to { opacity: 0; transform: scale(1.04); } }

.intro__glow {
  position: absolute;
  z-index: 1;
  width: 620px; height: 620px;
  max-width: 120vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,25,21,.5) 0%, rgba(220,25,21,.12) 38%, transparent 66%);
  filter: blur(6px);
  animation: introGlowPulse 2.2s ease-in-out infinite alternate;
}
@keyframes introGlowPulse {
  from { transform: scale(.82); opacity: .55; }
  to   { transform: scale(1.16); opacity: 1; }
}

.intro__logo {
  position: relative;
  z-index: 2;
  width: min(440px, 78vw);
  height: auto;
  opacity: 0;
  transform: translateY(12px) scale(.86);
  animation: introLogoIn .7s var(--ease) .2s forwards;
}
@keyframes introLogoIn { to { opacity: 1; transform: none; } }

.intro__tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 22px);
  color: rgba(255,255,255,.82);
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: introTagIn .6s var(--ease) .7s forwards;
}
.intro__tag b { color: var(--red); font-weight: 600; font-style: italic; }
@keyframes introTagIn { to { opacity: 1; transform: none; } }

/* rising steam wisps behind the logo */
.intro__steam {
  position: absolute;
  z-index: 1;
  bottom: 50%; left: 50%;
  width: 260px; height: 260px;
  transform: translate(-50%, 8%);
}
.intro__steam span {
  position: absolute;
  bottom: 0;
  width: 8px; height: 120px;
  border-radius: 8px;
  background: linear-gradient(to top, rgba(255,255,255,.18), transparent);
  filter: blur(4px);
  opacity: 0;
  animation: introSteam 2.6s ease-in infinite;
}
.intro__steam span:nth-child(1) { left: 30%; animation-delay: .2s; }
.intro__steam span:nth-child(2) { left: 50%; height: 150px; animation-delay: .7s; }
.intro__steam span:nth-child(3) { left: 68%; animation-delay: 1.1s; }
@keyframes introSteam {
  0%   { opacity: 0; transform: translateY(20px) scaleY(.6); }
  30%  { opacity: .6; }
  100% { opacity: 0; transform: translateY(-90px) scaleY(1.2); }
}

/* hold the hero's own entrance until the doors open */
.intro-mode .hero .eyebrow              { animation-delay: 1.55s; }
.intro-mode .hero h1 .line:nth-child(1) { animation-delay: 1.65s; }
.intro-mode .hero h1 .line:nth-child(2) { animation-delay: 1.79s; }
.intro-mode .hero .hero__sub            { animation-delay: 1.97s; }
.intro-mode .hero .hero__actions        { animation-delay: 2.11s; }
.intro-mode .hero .hero__trust          { animation-delay: 2.27s; }

/* Intro plays only on the first visit of a session (intro-mode set by the inline head script) */
html:not(.intro-mode) .intro { display: none; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ------------------------------------------------------------------ */
/* 18. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .step:not(:last-child)::after { display: none; }
  .gallery-item, .gallery-item.span-6, .gallery-item.span-8 { grid-column: span 6; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .brand__img { height: 52px; }
  .nav-cta-mobile { display: block; padding: 14px 0 4px; }
  .nav-cta-mobile .btn { width: 100%; justify-content: center; }

  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 18px;
    margin: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.is-open .nav__links {
    display: flex;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }

  .hero__inner { padding: 58px 0 0; }
  .hero__trust { gap: 22px 32px; }
  .showroom-cta .container { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-item, .gallery-item.span-6, .gallery-item.span-8 { grid-column: span 12; }
  .filter-bar { top: 76px; }
}

@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}
