/* ============================================
   AAA CLEANING SERVICE — STYLES
   ============================================ */

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

/* ---- Variables ---- */
:root {
  --bg:            #FAF8F4;
  --surface:       #F2EDE5;
  --surface-2:     #E8E0D4;
  --primary:       #B8885A;
  --primary-dark:  #8B6035;
  --primary-light: #D4A97A;
  --text:          #2D1F0E;
  --text-muted:    #7A6250;
  --white:         #FFFFFF;
  --border:        #DDD4C4;
  --shadow:        rgba(45, 31, 14, 0.08);
  --shadow-md:     rgba(45, 31, 14, 0.16);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --max-width: 1160px;
  --nav-h:     72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* Clean tap highlight on mobile */
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.925rem;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,136,90,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Navigation ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0; /* prevent flex overflow */
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;   /* allow brand to shrink before layout breaks */
  min-width: 0;
  text-decoration: none;
  overflow: hidden;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tagline {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links .nav-cta {
  background: var(--primary);
  color: white;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--primary-dark); color: white; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.lang-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  min-width: 18px;
  text-align: center;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 23px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  border-radius: 12px;
  transition: background 0.3s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(19px); }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text);
  margin-left: auto;
  line-height: 1;
  padding: 4px;
}

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 60px;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 em { font-style: italic; color: var(--primary); }
.hero-content > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-check { color: var(--primary); font-weight: 700; }

/* Hero visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- Comparison Slider ---- */
.hero-comparison-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 500px;
}

.img-comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 56px var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* let browser handle vertical scroll; JS owns horizontal */
}

/* Both images fill the container */
.comparison-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Clipping wrapper for the Before image */
.comparison-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  pointer-events: none;
}

/* Before / After labels */
.comparison-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: 50px;
}
.comparison-label--before { left: 14px; }
.comparison-label--after  { right: 14px; }

/* Divider line + handle */
.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 2px);
  width: 4px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.comparison-line {
  position: absolute;
  inset: 0;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.comparison-btn {
  position: relative;
  z-index: 11;
  width: 46px;
  height: 46px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 18px rgba(45, 31, 14, 0.22);
  color: var(--primary-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.img-comparison-slider.dragging .comparison-btn {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(184, 136, 90, 0.4);
}

/* Hint text below slider */
.comparison-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- Section base ---- */
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- Services ---- */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: all 0.28s ease;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px var(--shadow-md);
  border-color: var(--primary-light);
}
.service-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-radius: 14px;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ---- About ---- */
.about { background: var(--bg); }
.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-portrait {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 16px 48px var(--shadow);
  position: relative;
}
.about-initials {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
}
.about-portrait-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(184,136,90,0.4);
}
.about-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.about-badge span { font-size: 0.72rem; opacity: 0.9; }
.about-content .section-eyebrow { text-align: left; }
.about-content h2 { margin-bottom: 18px; }
.about-content p { color: var(--text-muted); line-height: 1.78; margin-bottom: 14px; }
.about-stats { display: flex; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.stat {
  flex: 1;
  min-width: 90px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 14px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1.1;
  margin-bottom: 5px;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

/* ---- Areas ---- */
.areas { background: var(--surface); }
.areas-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.area-chip {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 13px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  transition: all 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: default;
}
.area-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--shadow);
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
  padding: 100px 24px;
}
.cta-banner h2 { color: white; margin-bottom: 14px; }
.cta-banner > p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn {
  background: white;
  color: var(--primary-dark);
  font-size: 1rem;
  padding: 16px 38px;
}
.cta-banner .btn:hover {
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.cta-phone {
  display: block;
  margin-top: 20px;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ---- Footer ---- */
footer {
  background: #1E140A;
  color: rgba(255,255,255,0.82);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-icon { background: var(--primary); }
.footer-brand .brand-name { color: white; font-size: 1.1rem; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.45); }
.footer-tagline {
  margin-top: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.68);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
}
.footer-contact-item:last-child { margin-bottom: 0; }
.f-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.f-note { font-size: 0.72rem; color: var(--primary-light); display: block; margin-top: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--surface), var(--bg));
  padding: 80px 24px 60px;
  text-align: center;
}
.page-hero .section-eyebrow { margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

.contact-section { padding: 72px 0 96px; background: var(--bg); }
.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 52px;
  align-items: start;
}

/* Quote form */
.quote-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px var(--shadow);
}
.quote-form-wrap h2 { margin-bottom: 28px; font-size: 1.6rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem; /* 16px minimum prevents iOS auto-zoom */
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184,136,90,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6250' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* Property type toggle */
.type-toggle-group { margin-bottom: 22px; }
.type-toggle-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.type-toggle {
  display: flex;
  background: var(--surface);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}
.type-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.22s;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
}
.type-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px var(--shadow);
}

/* Dynamic fields */
.dynamic-field { display: none; }
.dynamic-field.visible { display: block; }

/* Submit */
.form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 0.975rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
  margin-top: 4px;
}
.form-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,136,90,0.35);
}
.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 44px 20px;
}
.form-success.visible { display: block; }
.success-icon { font-size: 3.2rem; margin-bottom: 18px; }
.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.form-success p { color: var(--text-muted); line-height: 1.7; max-width: 360px; margin: 0 auto; }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 38px;
  height: 38px;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.info-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.info-note { font-size: 0.72rem; color: var(--primary); font-weight: 500; display: block; margin-top: 2px; }
.license-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  border: 1px dashed var(--border);
}
.license-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 5px;
}
.license-number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

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

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .footer-col:last-child { grid-column: span 2; }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  /* Nav */
  .brand-tagline { display: none; }
  .nav-links { display: none; }
  /* When nav-links are hidden, push lang-toggle right via the brand flex-shrink */
  .lang-toggle { margin-left: auto; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px var(--shadow);
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1rem;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-links.open .nav-cta {
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 50px;
    padding: 14px;
    margin-top: 8px;
    border-bottom: none;
  }
  .mobile-menu-btn { display: block; }
  .lang-toggle { margin-left: 0; }

  /* Hero — stack vertically with slider below */
  .hero {
    flex-direction: column;
    padding: 48px 20px 56px;
    min-height: auto;
    text-align: center;
    gap: 0;
  }
  .hero-content { max-width: 100%; }
  .hero-trust { justify-content: center; }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-visual { display: flex; width: 100%; justify-content: center; margin-top: 32px; }
  .hero-comparison-wrap { max-width: 100%; gap: 10px; }
  .img-comparison-slider { aspect-ratio: 16 / 10; border-radius: var(--radius); }
  /* Larger touch target for the handle */
  .comparison-btn { width: 52px; height: 52px; }

  /* Sections */
  section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; padding: 0 20px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { display: none; }
  .about-stats { gap: 12px; }

  /* Areas */
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA Banner */
  .cta-banner { padding: 72px 20px; }
  .cta-banner .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top .footer-col:last-child { grid-column: unset; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Contact page */
  .page-hero { padding: 56px 20px 40px; }
  .contact-section { padding: 48px 0 72px; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form-wrap { padding: 28px 20px; }
  .quote-form-wrap h2 { font-size: 1.35rem; }

  /* Reviews */
  .reviews { padding: 60px 0 48px; }
  .reviews .section-header { margin-bottom: 32px; }
}

/* ---- Small Mobile (≤480px) ---- */
@media (max-width: 480px) {
  :root { --nav-h: 64px; }

  /* Nav — even tighter */
  nav { padding: 0 16px; gap: 16px; }
  .brand-icon { width: 34px; height: 34px; font-size: 0.78rem; border-radius: 8px; }
  .brand-name { font-size: 0.9rem; }

  /* Sections */
  section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 40px 16px 52px; }
  .hero-content h1 { font-size: 1.85rem; }
  .hero-content > p { font-size: 0.95rem; }
  .hero-actions .btn { max-width: 100%; }
  /* Slider — tighter on small phones */
  .hero-visual { margin-top: 24px; }
  .img-comparison-slider { aspect-ratio: 3 / 2; }
  .comparison-btn { width: 48px; height: 48px; }
  .comparison-label { font-size: 0.62rem; padding: 4px 9px; }
  .comparison-caption { font-size: 0.72rem; }

  /* Services */
  .services-grid { padding: 0 16px; }
  .service-card { padding: 26px 20px; }

  /* About stats — 2 across, last full width */
  .about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-stats .stat:last-child { grid-column: span 2; }

  /* Areas — single column */
  .areas-grid { grid-template-columns: 1fr; }
  .areas-inner { padding: 0 16px; }

  /* CTA banner */
  .cta-banner { padding: 60px 16px; }
  .cta-banner h2 { font-size: 1.5rem; }

  /* Footer */
  footer { padding: 48px 16px 28px; }
  .footer-tagline { max-width: 100%; }

  /* Contact form */
  .quote-form-wrap { padding: 24px 16px; }
  .contact-inner { padding: 0 16px; }
  .form-submit-btn { padding: 16px; font-size: 1rem; }
}

/* ============================================
   REVIEWS — MARQUEE SECTION
   ============================================ */

.reviews {
  padding: 80px 0 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.reviews .section-header {
  margin-bottom: 48px;
}

.reviews-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.reviews-track-wrap:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 28px 28px 24px;
  width: 300px;
  flex-shrink: 0;
}

.review-stars {
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-quote {
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Reduced motion: disable animation, wrap cards into a grid */
@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0 24px;
  }
  /* Hide duplicate cards when animation is off */
  .reviews-track .review-card:nth-child(n+5) {
    display: none;
  }
}
