/*
 * ============================================================
 *  TOUMI'S CATERING — MAIN STYLESHEET
 * ============================================================
 *  Design: Elegant with a playful hint
 *  Colors: Deep plum, warm gold accent, soft cream background
 *  RTL:    Full support for Arabic via [dir="rtl"] overrides
 * ============================================================
 */

/* ── CSS Custom Properties (Design Tokens) ─────────────────── */
:root {
  /* Primary palette */
  --clr-primary:        #4A1942;     /* deep plum */
  --clr-primary-light:  #6B2D6B;     /* lighter plum */
  --clr-primary-dark:   #2E0E29;     /* darker plum */

  /* Accent */
  --clr-accent:         #D4A843;     /* warm gold */
  --clr-accent-light:   #E8C96A;     /* light gold */
  --clr-accent-dark:    #B8912E;     /* dark gold */

  /* Neutrals */
  --clr-bg:             #FDF8F0;     /* warm cream */
  --clr-bg-alt:         #F5EDE0;     /* slightly deeper cream */
  --clr-surface:        #FFFFFF;
  --clr-text:           #2C2C2C;
  --clr-text-light:     #6B6B6B;
  --clr-text-inverse:   #FFFFFF;
  --clr-border:         #E0D5C7;

  /* Feedback */
  --clr-success:        #2E7D52;
  --clr-warning:        #E6A817;
  --clr-error:          #C0392B;

  /* Typography */
  --ff-heading:         'Playfair Display', Georgia, serif;
  --ff-body:            'Inter', 'Segoe UI', system-ui, sans-serif;
  --fs-hero:            clamp(2.2rem, 5vw, 3.8rem);
  --fs-h1:              clamp(1.8rem, 4vw, 2.8rem);
  --fs-h2:              clamp(1.4rem, 3vw, 2rem);
  --fs-h3:              clamp(1.1rem, 2.5vw, 1.5rem);
  --fs-body:            1rem;
  --fs-small:           0.875rem;
  --fs-xs:              0.75rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;

  /* Layout */
  --max-width:          1200px;
  --nav-height:         72px;
  --radius-sm:          6px;
  --radius-md:          12px;
  --radius-lg:          20px;
  --radius-full:        9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:   0 8px 30px rgba(0,0,0,.12);

  /* Transitions */
  --transition:         .3s ease;
}


/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent); }
ul, ol { list-style: none; }

/* ── Google Fonts Import (loaded in HTML head too) ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');


/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--clr-primary);
  line-height: 1.25;
}

h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-md); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-md); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-sm); }

p  { margin-bottom: var(--sp-md); }

.text-accent  { color: var(--clr-accent); }
.text-light   { color: var(--clr-text-light); }
.text-center  { text-align: center; }


/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.section {
  padding: var(--sp-3xl) 0;
}

.section--alt {
  background: var(--clr-bg-alt);
}

.grid {
  display: grid;
  gap: var(--sp-xl);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-xl);
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.5;
}

.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
}
.btn--primary:hover {
  background: var(--clr-primary-light);
  color: var(--clr-text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--clr-accent);
  color: var(--clr-primary-dark);
}
.btn--accent:hover {
  background: var(--clr-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.btn--outline:hover {
  background: var(--clr-primary);
  color: var(--clr-text-inverse);
}

.btn--sm {
  padding: var(--sp-xs) var(--sp-lg);
  font-size: var(--fs-small);
}

.btn--lg {
  padding: var(--sp-md) var(--sp-2xl);
  font-size: 1.1rem;
}


/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.navbar__logo img {
  height: 42px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.navbar__links a {
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--clr-text);
  position: relative;
  padding-bottom: 4px;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-selector__btn {
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-xs) var(--sp-sm);
  font-size: var(--fs-small);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.lang-selector__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 150px;
  display: none;
  z-index: 1001;
}

.lang-selector__dropdown.open {
  display: block;
}

.lang-selector__dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: var(--sp-sm) var(--sp-md);
  border: none;
  background: none;
  cursor: pointer;
  font-size: var(--fs-small);
  transition: background var(--transition);
}

.lang-selector__dropdown button:hover {
  background: var(--clr-bg-alt);
}

/* Flag Icons */
.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.lang-selector__btn .flag-icon {
  vertical-align: middle;
}


/* Mobile hamburger */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  margin: 5px 0;
  transition: all var(--transition);
}


/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--sp-2xl)) var(--sp-lg) var(--sp-3xl);
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 50%, var(--clr-primary-light) 100%);
  color: var(--clr-text-inverse);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(212,168,67,.15)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--clr-text-inverse);
  margin-bottom: var(--sp-md);
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: .9;
  margin-bottom: var(--sp-xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative playful element */
.hero__deco {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 140px;
  background: var(--clr-bg);
  border-radius: 50% 50% 0 0;
}


/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--clr-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-md);
}

.card__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-sm);
}

.card__text {
  color: var(--clr-text-light);
  font-size: var(--fs-small);
}


/* ── Section Headers ───────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-2xl);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--clr-accent);
  margin: var(--sp-sm) auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--clr-text-light);
  margin-top: var(--sp-sm);
}


/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 600;
}

.badge--gold {
  background: var(--clr-accent-light);
  color: var(--clr-primary-dark);
}

.badge--outline {
  border: 1px solid var(--clr-border);
  color: var(--clr-text-light);
}

.badge--success {
  background: #E8F5E9;
  color: var(--clr-success);
}


/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: var(--sp-xs);
  color: var(--clr-primary);
}

.form-control {
  width: 100%;
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  background: var(--clr-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--clr-text);
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(212,168,67,.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236B6B6B'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Radio / Checkbox styled as cards */
.option-grid {
  display: grid;
  gap: var(--sp-sm);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-md);
  min-height: 80px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  font-size: var(--fs-small);
  font-weight: 500;
  gap: var(--sp-xs);
  background: var(--clr-surface);
  cursor: pointer;
  justify-content: center;
}

.option-card__label .emoji {
  font-size: 1.5rem;
}

.option-card input:checked + .option-card__label {
  border-color: var(--clr-accent);
  background: rgba(212,168,67,.08);
  box-shadow: 0 0 0 3px rgba(212,168,67,.15);
}

.option-card__label:hover {
  border-color: var(--clr-primary-light);
}


/* ── Configurator ──────────────────────────────────────────── */
.configurator {
  padding-top: calc(var(--nav-height) + var(--sp-xl));
}

.configurator__step {
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
}

.configurator__step:last-of-type {
  border-bottom: none;
}

.configurator__step-title {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.configurator__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-primary-dark);
  font-weight: 700;
  font-size: var(--fs-small);
  font-family: var(--ff-body);
}

/* ── Configurator Info Box ────────────────────────────────── */
.config-info-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
  border-left: 3px solid #2196F3;
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
  margin-top: var(--sp-md);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.config-info-box:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.config-info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.config-info-text {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--clr-text);
}

/* Estimate display */
.estimate-box {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-md));
  background: var(--clr-surface);
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-lg);
}

.estimate-box__price {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  color: var(--clr-primary);
  font-weight: 700;
}

.estimate-box__per-person {
  color: var(--clr-text-light);
  font-size: var(--fs-small);
}

.estimate-box__total {
  font-size: var(--fs-h3);
  color: var(--clr-accent-dark);
  font-weight: 600;
  margin-top: var(--sp-sm);
}

.estimate-box__disclaimer {
  margin-top: var(--sp-md);
  padding: var(--sp-md);
  background: #FFF8E1;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  color: var(--clr-text);
  border-left: 3px solid var(--clr-warning);
}

/* Slider */
.range-wrapper {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.range-wrapper input[type="range"] {
  flex: 1;
  accent-color: var(--clr-accent);
  height: 6px;
}

.range-value {
  min-width: 80px;
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--clr-primary);
}

/* Checkbox toggle */
.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.toggle-wrapper input[type="checkbox"] {
  appearance: none;
  width: 48px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--clr-border);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-wrapper input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clr-surface);
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle-wrapper input[type="checkbox"]:checked {
  background: var(--clr-accent);
}

.toggle-wrapper input[type="checkbox"]:checked::after {
  transform: translateX(22px);
}


/* ── Highlight Cards (Why us) ──────────────────────────────── */
.highlight-card {
  text-align: center;
  padding: var(--sp-xl);
}

.highlight-card__icon {
  font-size: 2.8rem;
  margin-bottom: var(--sp-md);
  display: block;
}

.highlight-card__text {
  font-weight: 500;
}


/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--clr-primary-dark);
  color: rgba(255,255,255,.8);
  padding: var(--sp-2xl) 0 var(--sp-lg);
}

.footer a {
  color: var(--clr-accent-light);
}

.footer a:hover {
  color: var(--clr-accent);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer__col h4 {
  color: var(--clr-text-inverse);
  font-size: var(--fs-body);
  margin-bottom: var(--sp-md);
}

.footer__col ul li {
  margin-bottom: var(--sp-sm);
}

.footer__col ul li a {
  font-size: var(--fs-small);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  font-size: var(--fs-small);
}


/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--clr-primary-dark);
  color: var(--clr-text-inverse);
  padding: var(--sp-lg) var(--sp-xl);
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner__text {
  max-width: 600px;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--sp-sm);
  flex-shrink: 0;
}


/* ── Contact Info Cards ────────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
}

.contact-info-card__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-info-card__title {
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--clr-primary);
  margin-bottom: var(--sp-xs);
}


/* ── Service Area Badges ───────────────────────────────────── */
.service-area-badges {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
}

.service-badge {
  padding: var(--sp-md) var(--sp-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-small);
  text-align: center;
}

.service-badge--free {
  background: #E8F5E9;
  color: var(--clr-success);
  border: 1px solid #C8E6C9;
}

.service-badge--surcharge {
  background: #FFF8E1;
  color: #F57F17;
  border: 1px solid #FFE082;
}

.service-badge--request {
  background: var(--clr-bg-alt);
  color: var(--clr-text-light);
  border: 1px solid var(--clr-border);
}


/* ── Legal Pages ───────────────────────────────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--sp-2xl));
  padding-bottom: var(--sp-3xl);
}

.legal-page h1 {
  margin-bottom: var(--sp-xl);
}

.legal-page h2 {
  margin-top: var(--sp-xl);
  font-size: var(--fs-h3);
}

.legal-page p,
.legal-page ul {
  margin-bottom: var(--sp-md);
  color: var(--clr-text-light);
}


/* ── RTL Support ───────────────────────────────────────────── */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .navbar__links {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-selector__dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-selector__dropdown button {
  text-align: right;
}

[dir="rtl"] select.form-control {
  background-position: left 12px center;
  padding-right: var(--sp-md);
  padding-left: 36px;
}

[dir="rtl"] .estimate-box__disclaimer {
  border-left: none;
  border-right: 3px solid var(--clr-warning);
}

[dir="rtl"] .contact-info-card {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero__actions {
  flex-direction: row-reverse;
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .config-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: 2.2rem;
    --fs-h1: 2rem;
    --fs-h2: 1.6rem;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--clr-surface);
    flex-direction: column;
    padding: var(--sp-lg);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__links a {
    padding: var(--sp-md) 0;
    border-bottom: 1px solid var(--clr-border);
  }

  .navbar__links a:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: 70vh;
    padding-top: calc(var(--nav-height) + var(--sp-xl));
    padding-left: var(--sp-md);
    padding-right: var(--sp-md);
  }

  .hero__title {
    font-size: var(--fs-h1);
  }

  .hero__subtitle {
    font-size: var(--fs-body);
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .estimate-box {
    position: static;
    margin-top: var(--sp-xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-sm);
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    padding: var(--sp-lg);
  }

  .section {
    padding: var(--sp-xl) 0;
  }

  .container {
    padding: 0 var(--sp-md);
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .lang-selector__dropdown {
    right: auto;
    left: 0;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-hero: 1.8rem;
    --fs-h1: 1.6rem;
    --fs-h2: 1.4rem;
  }

  .option-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-sm);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .service-area-badges {
    flex-direction: column;
    align-items: center;
  }

  .service-badge {
    width: 100%;
    max-width: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .estimate-box {
    padding: var(--sp-lg);
  }

  .navbar__inner {
    padding: 0 var(--sp-md);
  }

  .navbar__logo {
    font-size: 1.1rem;
  }

  .navbar__logo img {
    height: 32px;
  }

  .range-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .range-value {
    align-self: center;
    font-size: var(--fs-h2);
  }
}


/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp .6s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(2) { animation-delay: .1s; }
.animate-in:nth-child(3) { animation-delay: .2s; }
.animate-in:nth-child(4) { animation-delay: .3s; }
.animate-in:nth-child(5) { animation-delay: .4s; }
.animate-in:nth-child(6) { animation-delay: .5s; }


/* ── Food Gallery Grid ─────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, filter .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--wide {
    grid-column: span 1;
  }
}

/* ── Custom Guest Input ────────────────────────────────────── */
.custom-guest-input input[type="number"] {
  font-size: var(--fs-body);
  padding: var(--sp-xs) var(--sp-sm);
}

.custom-guest-input input[type="number"]::-webkit-outer-spin-button,
.custom-guest-input input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Discount Badge in Estimate Box ────────────────────────── */
#discountNote {
  padding: var(--sp-sm) var(--sp-md);
  background: #E8F5E9;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--clr-success, #43A047);
}


/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .navbar, .cookie-banner, .footer { display: none; }
  .hero { min-height: auto; padding: var(--sp-xl); }
  body { background: #fff; }
}
