@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800;900&family=Cormorant+Garamond:ital,wght@0,500;1,500&family=Lato:wght@400;600;700;900&display=swap');

:root {
  --terracotta: #C5622A;
  --terracotta-dark: #A34E20;
  --gold: #C9A053;
  --gold-light: #E4C687;
  --olive: #4A5540;
  --olive-dark: #363E30;
  --cream: #FDF6ED;
  --cream-dark: #F5E9D6;
  --espresso: #2A1B12;
  --espresso-light: #3D2A1B;
  --ink: #2E2620;

  --font-display: 'Playfair Display', serif;
  --font-accent: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 16px rgba(42, 27, 18, 0.08);
  --shadow-lg: 0 12px 32px rgba(42, 27, 18, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Per-page color themes ---------- */
/* Home: warm terracotta & gold (default, defined in :root above) */

/* Menu: spiced copper & espresso */
body.theme-menu {
  --terracotta: #B5451F;
  --terracotta-dark: #8F3417;
  --gold: #D98E3B;
  --gold-light: #EFC189;
  --olive: #5B4630;
  --olive-dark: #40331F;
  --cream: #FBF1E4;
  --cream-dark: #F1E1CC;
  --espresso: #23140D;
  --espresso-light: #33221A;
}

/* About: rosewood & plum, for a heritage feel */
body.theme-about {
  --terracotta: #B5495A;
  --terracotta-dark: #8F3644;
  --gold: #D2A15A;
  --gold-light: #E8C48F;
  --olive: #5B3A4A;
  --olive-dark: #402935;
  --cream: #FBF0EC;
  --cream-dark: #F3DEDA;
  --espresso: #2B1620;
  --espresso-light: #3D2430;
}

/* Order & Reserve: sage grove, earthy and calm */
body.theme-order {
  --terracotta: #A8702E;
  --terracotta-dark: #845821;
  --gold: #B9A054;
  --gold-light: #D6C787;
  --olive: #3F4F3A;
  --olive-dark: #2C3828;
  --cream: #F5F3E7;
  --cream-dark: #E9E4D0;
  --espresso: #1E2318;
  --espresso-light: #2B3323;
}

/* Contact: Bosphorus teal, inspired by Iznik tilework */
body.theme-contact {
  --terracotta: #2E6B6B;
  --terracotta-dark: #215050;
  --gold: #C98F4E;
  --gold-light: #E3B98A;
  --olive: #274B4B;
  --olive-dark: #1B3535;
  --cream: #F0F5F4;
  --cream-dark: #DDEAE8;
  --espresso: #132323;
  --espresso-light: #1D3232;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--espresso);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.5rem; }

.accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1.4rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 760px; }

.section { padding: 68px 0; position: relative; }
.section--tight { padding: 36px 0; }
.section--cream-dark { background: var(--cream-dark); }
.section--espresso { background: var(--espresso); color: #E8DFD3; position: relative; overflow: hidden; border-top: 3px solid var(--terracotta); }
.section--espresso h2, .section--espresso h3 { color: #fff; }
.section--espresso > .container { position: relative; z-index: 2; }
.section--olive { background: var(--olive); color: #F3EEE3; position: relative; overflow: hidden; border-top: 3px solid var(--gold); }
.section--olive h2, .section--olive h3 { color: #F3EEE3; }
.section--olive > .container { position: relative; z-index: 2; }
.section-head { max-width: 600px; margin-bottom: 30px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--espresso);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 18px;
}
.loader__mark {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.loader__bar {
  width: 160px; height: 2px;
  background: rgba(228,198,135,0.2);
  overflow: hidden;
  border-radius: 2px;
}
.loader__bar::after {
  content: '';
  display: block;
  width: 40%; height: 100%;
  background: var(--gold-light);
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--terracotta);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(253, 246, 237, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(42,27,18,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--terracotta-dark);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav__links a:hover, .nav__links a.active { color: var(--terracotta); }
.nav__cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---------- Mobile nav ---------- */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px 20px;
  background: var(--cream);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 14px 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  border-bottom: 1px solid var(--cream-dark);
}
.nav__mobile a.active, .nav__mobile a:hover { color: var(--terracotta); }
.nav__mobile a.nav__mobile-cta {
  margin-top: 10px;
  text-align: center;
  background: var(--terracotta);
  color: #fff;
  border-radius: 999px;
  border-bottom: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { opacity: 0.88; }
.btn--outline { background: transparent; border-color: var(--espresso); color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--espresso); border-color: #fff; }
.btn--gold { background: var(--gold); color: var(--espresso); }
.btn--gold:hover { opacity: 0.88; }

/* ---------- Hero ---------- */
.hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 88px 0 42px;
  position: relative;
  background: color-mix(in srgb, var(--terracotta) 7%, var(--cream));
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero__text { flex: 1.1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cream-dark);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: 0.8rem;
}
.hero__badge span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
.hero__title .line { overflow: hidden; display: inline-block; vertical-align: top; }
.hero__title .line span { display: inline-block; }
.hero__lede { font-size: 1.15rem; max-width: 520px; color: #5c4d3e; margin: 24px 0 0; }
.hero__actions { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.hero__stats { display: flex; gap: 40px; margin-top: 38px; }
.hero__stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--terracotta-dark); }
.hero__stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6b5c4d; margin-top: 2px; }

.hero__visual {
  flex: 1;
  position: relative;
  aspect-ratio: 4/5;
}
.hero__image {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--cream-dark);
  background-size: cover;
  background-position: center;
}

.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b5c4d;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card { text-align: center; }
.stat-card__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--terracotta-dark);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-card__label { font-size: 0.85rem; color: #6b5c4d; margin-top: 8px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--cream-dark);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  margin-bottom: 18px;
  font-size: 1.5rem;
}

/* ---------- Featured menu cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  isolation: isolate;
}
.feature-card__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.feature-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(42,27,18,0.85) 0%, rgba(42,27,18,0.05) 55%, transparent 100%);
}
.feature-card__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
  color: #fff;
}
.feature-card__price {
  position: absolute; top: 20px; right: 20px;
  background: rgba(253,246,237,0.92);
  color: var(--terracotta-dark);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* ---------- Split / story ---------- */
.split {
  display: flex;
  align-items: center;
  gap: 70px;
}
.split__visual { flex: 1; position: relative; aspect-ratio: 4/5; }
.split__text { flex: 1; }
.parallax-frame {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.parallax-layer {
  position: absolute;
  inset: 0;
  background-color: var(--cream-dark);
  background-size: cover;
  background-position: center;
}

/* ---------- Process timeline ---------- */
.timeline { position: relative; margin-top: 56px; }
.timeline__line { display: none; }
.timeline__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.timeline__step { text-align: center; border-top: 2px solid var(--terracotta); padding-top: 20px; }
.timeline__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--terracotta-dark);
  margin-bottom: 10px;
}
.timeline__step h3 { font-size: 1.15rem; }
.timeline__step p { font-size: 0.92rem; color: #6b5c4d; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 112px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--cream-dark);
  background-size: cover;
  background-position: center;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item::before {
  content: attr(data-caption);
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(0deg, rgba(42,27,18,0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.gallery-item:hover::before { opacity: 1; }

/* ---------- Testimonials ---------- */
.testimonial-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 85vw);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--cream-dark);
}
.testimonial-card__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card__quote { font-family: var(--font-accent); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.testimonial-card__author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.testimonial-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream-dark);
}
.testimonial-card__name { font-weight: 800; }
.testimonial-card__role { font-size: 0.82rem; color: #6b5c4d; }
.testimonial-nav { display: flex; gap: 12px; margin-top: 32px; justify-content: flex-end; }
.testimonial-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--espresso);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.testimonial-nav button:hover { background: var(--espresso); color: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--espresso);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  border-top: 3px solid var(--terracotta);
}
.cta-banner h2 { color: #fff; }
.cta-banner .eyebrow { color: var(--gold-light); }
.cta-banner > * { position: relative; z-index: 2; }

/* ---------- Photo section backgrounds ---------- */
.section-photo {
  background-size: cover;
  background-position: center;
}
.section-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.section-photo--dark::after { background: color-mix(in srgb, var(--espresso) 85%, transparent); }
.section-photo--olive::after { background: color-mix(in srgb, var(--olive) 85%, transparent); }
.section-photo--light::after { background: color-mix(in srgb, var(--cream-dark) 90%, transparent); }
.section-photo > .container { position: relative; z-index: 2; }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.menu-tab {
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--terracotta);
  color: var(--terracotta-dark);
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.menu-tab.active { background: var(--terracotta); color: #fff; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.menu-item:last-child { border-bottom: none; }
.menu-item__name { font-weight: 700; font-size: 1.15rem; }
.menu-item__desc { font-size: 0.92rem; color: #6b5c4d; margin-top: 4px; }
.menu-item__price { font-weight: 700; color: var(--terracotta-dark); white-space: nowrap; }
.menu-item__add {
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 10px;
  transition: background 0.2s var(--ease);
}
.menu-item__add:hover { background: var(--terracotta); }

/* ---------- Cart / Order ---------- */
.cart-panel {
  position: fixed;
  right: 0; top: 0;
  height: 100%;
  width: 400px;
  max-width: 92vw;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }
.cart-panel__header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--cream-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-panel__body { flex: 1; overflow-y: auto; padding: 24px 28px; }
.cart-panel__footer { padding: 24px 28px; border-top: 1px solid var(--cream-dark); }
.cart-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--cream-dark); }
.cart-fab {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  z-index: 150;
}
.cart-fab__badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: var(--espresso);
  border-radius: 50%;
  width: 24px; height: 24px;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.overlay {
  position: fixed; inset: 0;
  background: rgba(42, 27, 18, 0.4);
  z-index: 199;
  display: none;
}
.overlay.open { display: block; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 9px;
  border: 1.5px solid var(--cream-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

.alert { padding: 16px 20px; border-radius: 9px; margin-bottom: 22px; font-weight: 600; font-size: 0.92rem; }
.alert--success { background: #E7F0DE; color: var(--olive); }
.alert--error { background: #F7DED2; color: var(--terracotta-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #E8DFD3; padding: 64px 0 28px; }
.site-footer h4 { color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-top h2 { color: #fff; max-width: 520px; }
.newsletter-form { display: flex; gap: 10px; max-width: 380px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: #A8998A; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 44px; }
.footer-grid a { color: #C9BBA9; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #A8998A;
  text-align: center;
}
.demo-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

/* ---------- reveal utility ---------- */
[data-animate] { will-change: transform, opacity; }

@media (max-width: 980px) {
  .hero-grid, .split { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline__row { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .form-row { flex-direction: column; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .hero__stats { flex-wrap: wrap; gap: 24px 40px; }
  .cta-banner { padding: 48px 28px; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 96px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__badge { font-size: 0.72rem; }
  .cart-fab { width: 54px; height: 54px; bottom: 20px; right: 20px; font-size: 1.3rem; }
  .testimonial-card { padding: 26px; }
  /* Prevent iOS Safari from auto-zooming when a form field is focused */
  .form-group input, .form-group textarea, .form-group select { font-size: 16px; }
}
