/* ================================================
   DOK — Artisan Bakery
   Organic & Natural Design System v2
   ================================================ */

:root {
  --cream:         #FAF7F2;
  --cream-dark:    #F0EAE0;
  --cream-deep:    #E8DDD0;
  --chocolate:     #3D2314;
  --choco-light:   #6B4423;
  --choco-mid:     #8B5E3C;
  --sage:          #7D8471;
  --sage-light:    #A8B89A;
  --sage-dark:     #5A6350;
  --leaf:          #4A6741;
  --gold:          #C4A574;
  --gold-light:    #D4BA8A;
  --gold-dark:     #A8875A;
  --rose:          #C4A4A4;
  --text:          #2D2A26;
  --text-light:    #6B6560;
  --white:         #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm:  0 2px 12px rgba(61,35,20,.07);
  --shadow-md:  0 6px 24px rgba(61,35,20,.12);
  --shadow-lg:  0 16px 48px rgba(61,35,20,.18);
  --shadow-xl:  0 24px 80px rgba(61,35,20,.22);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-full: 9999px;

  --header-h: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ================================================
   PRELOADER
   ================================================ */
.preloader {
  position: fixed; inset: 0;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .8s var(--ease-out-expo), visibility .8s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.2rem;
}

.preloader-logo-anim {
  width: 160px;
}
.preloader-logo-anim .pl-leaf {
  transform-origin: center;
  animation: spinLeaf 1.4s var(--ease-out-expo) forwards;
  opacity: 0;
}
.preloader-logo-anim .pl-text {
  opacity: 0;
  animation: fadeSlideUp .8s .5s var(--ease-out-expo) forwards;
}
.preloader-logo-anim .pl-tagline {
  opacity: 0;
  animation: fadeSlideUp .8s .7s var(--ease-out-expo) forwards;
}

.preloader-bar {
  width: 100px; height: 2px;
  background: var(--cream-deep);
  border-radius: var(--r-full);
  overflow: hidden;
}
.preloader-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: var(--r-full);
  animation: barFill 1.6s var(--ease-out-expo) forwards;
  width: 0;
}

@keyframes spinLeaf {
  0%   { opacity: 0; transform: scale(.4) rotate(-90deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes barFill {
  0%   { width: 0; }
  100% { width: 100%; }
}

/* ================================================
   HEADER / NAV
   ================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
.header.scrolled {
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(61,35,20,.08), var(--shadow-sm);
}

.nav {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  transition: transform .3s var(--ease-bounce);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo-svg { width: 80px; height: auto; }

.nav-menu {
  display: flex; align-items: center;
  list-style: none; gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--choco-light); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: transform .35s var(--ease-out-expo), opacity .35s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay gradient */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(61,35,20,.42) 0%,
    rgba(61,35,20,.38) 50%,
    rgba(61,35,20,.65) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 860px;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.4rem;
}

.hero-badge {
  display: inline-flex; align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--r-full);
}

/* Large SVG logo in hero */
.hero-logo-wrap {
  width: min(500px, 90vw);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.35));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: rgba(255,255,255,.92);
  font-weight: 400;
  letter-spacing: .05em;
}

.hero-desc {
  font-size: clamp(.85rem, 1.5vw, 1rem);
  color: rgba(255,255,255,.78);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-top: .5rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--r-full);
  border: none; cursor: pointer;
  transition: transform .3s var(--ease-bounce), box-shadow .3s ease, background .25s;
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity .25s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--chocolate);
  box-shadow: 0 4px 20px rgba(196,165,116,.5);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(196,165,116,.6); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.1); }

.btn-dark {
  background: var(--chocolate);
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(61,35,20,.3);
}
.btn-dark:hover { box-shadow: 0 8px 28px rgba(61,35,20,.4); }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.5); opacity: .4; }
}

/* ================================================
   SECTION COMMONS
   ================================================ */
.section { padding: 100px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold-dark);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: var(--chocolate);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section-title em { font-style: italic; color: var(--choco-light); }
.section-subtitle {
  font-size: clamp(.85rem, 1.5vw, 1rem);
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
  margin-top: .6rem;
}

/* ================================================
   ABOUT / STORY
   ================================================ */
.about-section { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-media {
  position: relative;
}
.about-img-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out-expo);
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-float {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 48%;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-float img {
  width: 100%; height: 100%; object-fit: cover;
}

.about-stat-pill {
  position: absolute;
  top: 24px; right: -20px;
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 14px 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  align-items: center;
  min-width: 90px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 600;
  color: var(--chocolate);
  line-height: 1;
}
.stat-label {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-light);
  margin-top: 2px;
  text-align: center;
}

.about-text { display: flex; flex-direction: column; gap: 1.4rem; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: .6rem;
}
.feature-item {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 10px;
  transition: transform .3s var(--ease-bounce), box-shadow .3s ease;
}
.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.feature-name {
  font-size: .8rem; font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 2px;
}
.feature-desc {
  font-size: .75rem; color: var(--text-light);
  line-height: 1.4;
}

/* ================================================
   PRODUCTS
   ================================================ */
.products-section { background: var(--cream); }

.products-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.category-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .06em;
  padding: 9px 20px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--cream-deep);
  background: var(--white);
  color: var(--text-light);
  cursor: pointer;
  transition: all .25s ease;
}
.tab-btn:hover {
  border-color: var(--gold);
  color: var(--choco-light);
  transform: translateY(-1px);
}
.tab-btn.active {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(61,35,20,.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out-expo), box-shadow .4s ease;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo);
}
.product-card:hover .product-card-img img { transform: scale(1.07); }

.product-card-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--cream-dark) 100%);
}
.placeholder-icon { font-size: 3rem; opacity: .5; }
.placeholder-text {
  font-size: .72rem; font-weight: 500;
  color: var(--text-light); letter-spacing: .08em;
  text-transform: uppercase;
}

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold);
  color: var(--chocolate);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  box-shadow: 0 2px 8px rgba(196,165,116,.4);
}

.product-card-body {
  padding: 18px 20px 20px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 500;
  color: var(--chocolate);
  margin-bottom: 5px;
}
.product-desc {
  font-size: .8rem; color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 14px;
}
.product-footer {
  display: flex; align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--choco-light);
}
.product-price span { font-size: .9em; }

.product-order-btn {
  background: var(--cream);
  border: 1.5px solid var(--cream-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .06em;
  padding: 8px 16px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all .25s ease;
}
.product-order-btn:hover {
  background: var(--chocolate);
  border-color: var(--chocolate);
  color: var(--cream);
  transform: translateY(-1px);
}

/* empty state */
.products-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 60px 20px;
  color: var(--text-light);
}
.products-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }

/* ================================================
   HOW IT WORKS
   ================================================ */
.how-section { background: var(--chocolate); }

.how-section .section-label { color: var(--gold-light); }
.how-section .section-label::before { background: var(--gold-light); }
.how-section .section-title { color: var(--cream); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 3rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step-item {
  padding: 36px 32px;
  background: transparent;
  transition: background .3s ease;
  position: relative;
}
.step-item:hover { background: rgba(255,255,255,.05); }

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 600;
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: 1rem;
  user-select: none;
}
.step-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  color: var(--cream);
  margin-bottom: .5rem;
}
.step-desc { font-size: .82rem; color: rgba(250,247,242,.6); line-height: 1.6; }

/* ================================================
   INGREDIENTS / QUALITY
   ================================================ */
.quality-section { background: var(--cream-dark); }

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
.quality-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-bounce), box-shadow .4s ease;
  position: relative; overflow: hidden;
}
.quality-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sage-light));
  transform: scaleX(0);
  transition: transform .4s var(--ease-out-expo);
}
.quality-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quality-card:hover::before { transform: scaleX(1); }

.quality-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.quality-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--chocolate);
  margin-bottom: .6rem;
}
.quality-text { font-size: .82rem; color: var(--text-light); line-height: 1.6; }

/* ================================================
   ORDER CTA
   ================================================ */
.order-section {
  background: var(--cream);
  padding: 80px 24px;
}
.order-inner {
  max-width: 1000px; margin: 0 auto;
  background: linear-gradient(135deg, var(--chocolate) 0%, var(--choco-light) 100%);
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.order-inner::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(196,165,116,.18) 0%, transparent 70%);
  pointer-events: none;
}
.order-text {}
.order-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500; color: var(--cream);
  margin-bottom: .6rem;
}
.order-subtitle { font-size: .9rem; color: rgba(250,247,242,.7); line-height: 1.6; }
.order-actions {
  display: flex; flex-direction: column;
  gap: 12px; align-items: center;
  flex-shrink: 0;
}
.order-note {
  font-size: .7rem; color: rgba(250,247,242,.5);
  text-align: center;
  letter-spacing: .05em;
}

/* ================================================
   CONTACTS
   ================================================ */
.contacts-section { background: var(--white); }

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--cream);
  text-decoration: none;
  transition: all .3s var(--ease-out-expo);
  border: 1.5px solid transparent;
}
.contact-card:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-card-info {}
.contact-card-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-card-value {
  font-size: .9rem; font-weight: 500;
  color: var(--chocolate);
}

.contacts-map-placeholder {
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: var(--text-light);
}
.contacts-map-placeholder .map-icon { font-size: 2.5rem; opacity: .4; }
.contacts-map-placeholder p { font-size: .85rem; }

.contacts-extra {
  margin-top: 2rem;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--cream);
  font-size: .82rem; color: var(--text-light);
  line-height: 1.7;
}
.contacts-extra strong { color: var(--chocolate); font-weight: 600; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--chocolate);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-svg { width: 64px; height: auto; opacity: .9; }

.footer-links {
  display: flex; gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(250,247,242,.5);
  transition: color .25s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-right { text-align: right; }
.footer-copy {
  font-size: .72rem; color: rgba(250,247,242,.35);
  line-height: 1.6;
}
.footer-copy a { color: rgba(250,247,242,.5); transition: color .25s; }
.footer-copy a:hover { color: var(--gold-light); }

.footer-divider {
  max-width: 1200px; margin: 24px auto 0;
  height: 1px;
  background: rgba(255,255,255,.06);
}

/* ================================================
   MOBILE NAV OVERLAY
   ================================================ */
.nav-overlay {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out-expo), visibility .4s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay .nav-link {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--chocolate);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s var(--ease-out-expo), color .2s;
}
.nav-overlay.open .nav-link {
  opacity: 1; transform: translateY(0);
}
.nav-overlay.open .nav-link:nth-child(1) { transition-delay: .05s; }
.nav-overlay.open .nav-link:nth-child(2) { transition-delay: .1s; }
.nav-overlay.open .nav-link:nth-child(3) { transition-delay: .15s; }
.nav-overlay.open .nav-link:nth-child(4) { transition-delay: .2s; }

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-scale {
  opacity: 0;
  transform: scale(.94) translateY(20px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* ================================================
   TOAST
   ================================================ */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--chocolate);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: .82rem; font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  white-space: nowrap;
  transition: transform .5s var(--ease-out-expo), opacity .5s;
  opacity: 0;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img-float { width: 40%; bottom: -20px; right: -12px; }
  .about-stat-pill { right: -8px; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .contacts-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-right { text-align: center; }
  .footer-links { justify-content: center; }
  .order-inner { grid-template-columns: 1fr; padding: 40px 32px; text-align: center; }
  .order-actions { flex-direction: row; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 70px 20px; }

  .hero-content { gap: 1rem; }
  .hero-logo-wrap { width: min(340px, 82vw); }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

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

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

  .about-features { grid-template-columns: 1fr; }

  .order-inner { padding: 32px 24px; }
  .order-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }

  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; }

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

  .hero-logo-wrap { width: min(280px, 88vw); }

  .category-tabs { gap: 6px; }
  .tab-btn { font-size: .72rem; padding: 7px 14px; }

  .about-stat-pill { position: static; margin-top: 16px; align-self: flex-start; }

  .footer-links { flex-direction: column; gap: 1rem; align-items: center; }
}
