/* =============================================
   MARTS APPLIANCE REPAIR — MASTER STYLESHEET
   v2 — Mobile-first, iOS-safe, smooth nav
============================================= */

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

:root {
  --primary:    #B22222;
  --primary-dk: #8B1A1A;
  --primary-lt: #d44040;
  --dark:       #1A2332;
  --dark-2:     #243044;
  --steel:      #3A4A5C;
  --mid:        #6B7A8D;
  --light:      #F4F6F9;
  --lighter:    #EEF1F6;
  --border:     #DDE2EA;
  --white:      #FFFFFF;

  --font-body:  'Inter', system-ui, sans-serif;
  --font-head:  'Oswald', 'Inter', sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.15);

  --transition: 0.25s ease;

  /* Topbar + navbar combined height for offset */
  --topbar-h:   40px;
  --navbar-h:   70px;
  --header-h:   110px; /* topbar + navbar */
}

/* Prevent layout shift / wobble from iOS keyboard */
html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  /* Never let anything poke out horizontally */
  overflow-x: hidden;
  /* iOS keyboard fix: use min-height so body doesn't resize */
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/* Prevent body scroll when mobile menu open */
body.menu-open {
  overflow: hidden;
  /* iOS: position fixed + top offset prevents page jump */
  position: fixed;
  width: 100%;
  /* Prevent right-side shift from scrollbar disappearing */
  padding-right: 0;
}

/* ── UTILITIES ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 90px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.22s ease, border-color 0.22s ease,
              box-shadow 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(178,34,34,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-2);
  border-color: var(--dark-2);
}
.btn-lg  { padding: 15px 34px; font-size: 1.05rem; }
.btn-sm  { padding: 9px 18px;  font-size: 0.875rem; }
.btn-full { width: 100%; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
  margin: 10px 0 16px;
  line-height: 1.2;
}
.section-header p {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,0.72); }

.section-tag {
  display: inline-block;
  background: rgba(178,34,34,0.10);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.section-header.light .section-tag {
  background: rgba(178,34,34,0.25);
  color: #e87070;
}

/* ─────────────────────────────────────
   TOP BAR
───────────────────────────────────── */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.78);
  font-size: 0.80rem;
  padding: 0;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-item svg { opacity: 0.55; flex-shrink: 0; }
.topbar-item a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.topbar-item a:hover { color: var(--primary-lt); }
.topbar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  margin: 0 14px;
}
.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

/* ─────────────────────────────────────
   NAVBAR
───────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--navbar-h);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--navbar-h);
  gap: 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
}
.logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--mid);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 0;
  margin-right: 20px;
}
.nav-links a {
  text-decoration: none;
  color: var(--steel);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(178,34,34,0.06);
}

.nav-cta { flex-shrink: 0; }

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: 12px;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: transparent;
  z-index: 1001;
  position: relative;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav drawer — slides in from RIGHT, full-height ── */
.mobile-drawer {
  display: none; /* shown as flex on mobile via media query */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 300px;
  z-index: 1001;
  flex-direction: column;
  background: var(--white);
  box-shadow: -6px 0 32px rgba(0,0,0,0.25);
  transform: translateX(105%);
  transition: transform 0.30s cubic-bezier(0.4, 0, 0.2, 1);
  /* Prevent content overflow */
  overflow: hidden;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}

/* Drawer header: logo + close button */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 2px solid var(--primary);
  background: var(--dark);
  flex-shrink: 0;
}
.drawer-header .logo-name { color: var(--white); font-size: 1.05rem !important; }
.drawer-header .logo-sub  { color: rgba(255,255,255,0.45); }

.drawer-close {
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
  flex-shrink: 0;
  outline: none;
}
.drawer-close:hover,
.drawer-close:focus-visible { background: rgba(255,255,255,0.22); }
.drawer-close svg { pointer-events: none; }

/* Scrollable nav links */
.drawer-links {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 6px 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--lighter);
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.drawer-links a svg { color: var(--mid); flex-shrink: 0; transition: color 0.15s ease; }
.drawer-links a:last-of-type { border-bottom: none; }
.drawer-links a:hover {
  color: var(--primary);
  background: rgba(178,34,34,0.05);
  padding-left: 24px;
}
.drawer-links a:hover svg { color: var(--primary); }
.drawer-links a.active {
  color: var(--primary);
  background: rgba(178,34,34,0.06);
  font-weight: 700;
}
.drawer-links a.active svg { color: var(--primary); }
.drawer-links a.active::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}

/* Drawer footer: CTA button */
.drawer-footer {
  padding: 18px 18px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--white);
}
.drawer-footer .btn { font-size: 0.97rem; padding: 13px 18px; }

/* Full-screen dark overlay — sits BEHIND the drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.30s ease;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ─────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(178,34,34,0.08);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(178,34,34,0.05);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.page-hero .breadcrumb a:hover { color: var(--primary-lt); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-hero h1 span { color: var(--primary-lt); }
.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ─────────────────────────────────────
   HERO (homepage)
───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,22,35,0.90) 0%,
    rgba(15,22,35,0.72) 55%,
    rgba(15,22,35,0.40) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(178,34,34,0.85);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--primary-lt); }
.hero-sub {
  color: rgba(255,255,255,0.80);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.stat strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-lt);
  line-height: 1;
}
.stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ─────────────────────────────────────
   TRUST STRIP
───────────────────────────────────── */
.trust-strip {
  background: var(--dark);
  padding: 20px 0;
  border-top: 3px solid var(--primary);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-item svg { color: var(--primary-lt); flex-shrink: 0; }

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { background: var(--primary); }
.service-card.featured {
  background: var(--dark);
  border-color: transparent;
  color: var(--white);
}
.service-card.featured::before { background: var(--primary); }
.service-card.featured h3  { color: var(--white); }
.service-card.featured p   { color: rgba(255,255,255,0.68); }
.service-card.featured .service-list li { color: rgba(255,255,255,0.68); }
.service-card.featured .service-list li::before { color: var(--primary-lt); }
.service-card.featured .service-link { color: var(--primary-lt); }

.service-icon {
  width: 64px; height: 64px;
  background: rgba(178,34,34,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: background 0.25s ease, color 0.25s ease;
}
.service-card.featured .service-icon { background: rgba(178,34,34,0.2); color: var(--primary-lt); }
.service-card:hover .service-icon     { background: var(--primary); color: var(--white); }

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.18rem; font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px; letter-spacing: 0.3px;
}
.service-card p {
  color: var(--steel); font-size: 0.91rem;
  line-height: 1.65; margin-bottom: 16px;
}
.service-list { list-style: none; margin-bottom: 22px; }
.service-list li {
  font-size: 0.87rem; color: var(--mid);
  padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}
.service-list li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: 0.78rem; }
.service-link {
  color: var(--primary); font-weight: 600; font-size: 0.87rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s ease;
}
.service-link:hover { gap: 8px; }

/* ─────────────────────────────────────
   APPLIANCES
───────────────────────────────────── */
.appliances-section { background: var(--dark); }
.appliances-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.appliance-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px 10px;
  transition: all 0.25s ease;
  color: rgba(255,255,255,0.72);
  text-align: center;
}
.appliance-item:hover {
  background: rgba(178,34,34,0.15);
  border-color: rgba(178,34,34,0.4);
  color: var(--white);
  transform: translateY(-3px);
}
.appliance-icon { color: rgba(255,255,255,0.45); transition: color 0.25s ease; }
.appliance-item:hover .appliance-icon { color: var(--primary-lt); }
.appliance-item span { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.3px; line-height: 1.3; }

/* ─────────────────────────────────────
   BRANDS
───────────────────────────────────── */
.brands-section { background: var(--light); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.brand-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: default;
}
.brand-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(178,34,34,0.12);
  transform: translateY(-2px);
}
.brand-card span { font-weight: 700; font-size: 0.86rem; color: var(--dark-2); letter-spacing: 0.5px; }
.brands-note { text-align: center; color: var(--mid); font-size: 0.93rem; }

/* ─────────────────────────────────────
   WHY US
───────────────────────────────────── */
.why-section { background: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 520px; object-fit: cover; display: block; }
.why-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--primary); color: var(--white);
  padding: 14px 20px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
}
.why-badge strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.why-badge span   { font-size: 0.78rem; font-weight: 600; opacity: 0.9; line-height: 1.4; }

.why-content .section-tag { margin-bottom: 12px; display: inline-block; }
.why-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700; color: var(--dark);
  margin-bottom: 14px; letter-spacing: 0.5px; line-height: 1.2;
}
.why-lead { color: var(--steel); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.why-items { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.why-item  { display: flex; gap: 14px; align-items: flex-start; }
.why-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 0.76rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.why-item h4 { font-size: 0.96rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.why-item p  { font-size: 0.87rem; color: var(--steel); line-height: 1.6; }

/* ─────────────────────────────────────
   PROCESS
───────────────────────────────────── */
.process-section { background: var(--dark); }
.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p  { color: rgba(255,255,255,0.62); }

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.process-step {
  flex: 1; min-width: 160px; max-width: 220px;
  text-align: center; padding: 0 16px;
}
.step-number {
  font-family: var(--font-head);
  font-size: 2.8rem; font-weight: 700;
  color: var(--primary); line-height: 1;
  margin-bottom: 14px; opacity: 0.85;
}
.process-step h4 { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.process-step p  { font-size: 0.85rem; color: rgba(255,255,255,0.52); line-height: 1.6; }
.process-arrow {
  font-size: 1.6rem; color: rgba(178,34,34,0.45);
  padding: 0 4px; margin-top: 18px; flex-shrink: 0;
}

/* ─────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────── */
.testimonials-section { background: var(--light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.testimonial-card.featured {
  background: var(--dark); border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.testimonial-card.featured .stars  { color: #FFD700; }
.testimonial-card.featured p       { color: rgba(255,255,255,0.78); }
.testimonial-card.featured strong  { color: var(--white); }
.testimonial-card.featured span    { color: rgba(255,255,255,0.45); }
.testimonial-card.featured .author-avatar { background: var(--primary); color: var(--white); }

.stars { color: #E6A817; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p {
  color: var(--steel); font-size: 0.91rem;
  line-height: 1.7; margin-bottom: 22px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--lighter); color: var(--steel);
  font-weight: 700; font-size: 0.83rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { font-size: 0.90rem; color: var(--dark); display: block; }
.testimonial-author span   { font-size: 0.76rem; color: var(--mid); }

/* ─────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────── */
.contact-section { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 12px; display: inline-block; }
.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700; color: var(--dark);
  margin-bottom: 14px; letter-spacing: 0.5px; line-height: 1.2;
}
.contact-info > p { color: var(--steel); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail  { display: flex; align-items: flex-start; gap: 14px; }
.detail-icon {
  width: 42px; height: 42px;
  background: rgba(178,34,34,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.contact-detail strong {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--mid); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}
.contact-detail a,
.contact-detail span {
  font-size: 0.91rem; color: var(--dark); text-decoration: none; font-weight: 500;
}
.contact-detail a:hover { color: var(--primary); }

/* ─────────────────────────────────────
   CONTACT FORM
   Key fix: min-height on inputs avoids iOS zoom + layout shift
───────────────────────────────────── */
.contact-form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  /* Prevent the whole page from wobbling on iOS */
  will-change: auto;
  transform: translateZ(0);
}
.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.35rem; font-weight: 600;
  color: var(--dark);
  margin-bottom: 26px; padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex; flex-direction: column;
  gap: 6px; margin-bottom: 14px;
}
.form-group label {
  font-size: 0.80rem; font-weight: 700;
  color: var(--steel); text-transform: uppercase; letter-spacing: 0.8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  /* iOS zoom prevention: font-size must be >= 16px */
  font-size: 16px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  outline: none;
  /* Use transform for focus ring so it doesn't shift layout */
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
  /* Stabilize height so focus doesn't resize */
  min-height: 46px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236B7A8D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(178,34,34,0.10);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0aab8; }
.form-group textarea {
  resize: vertical; min-height: 96px;
  /* Don't let textarea auto-resize and shift things */
  height: 96px;
}

.checkbox-group { flex-direction: row !important; align-items: center !important; }
.checkbox-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 0.87rem; color: var(--steel);
  font-weight: 500; text-transform: none !important; letter-spacing: 0 !important;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  cursor: pointer; flex-shrink: 0;
}

.form-note {
  text-align: center; color: var(--mid); font-size: 0.79rem; margin-top: 12px;
}
.form-success {
  display: none; align-items: flex-start; gap: 14px;
  background: #edfaf1; border: 1.5px solid #5cb87a;
  border-radius: var(--radius-sm); padding: 16px 18px;
  margin-top: 14px; color: #1d6e3a;
}
.form-success svg { flex-shrink: 0; color: #27a85f; margin-top: 2px; }
.form-success strong { display: block; font-size: 0.93rem; margin-bottom: 2px; }
.form-success p { font-size: 0.83rem; opacity: 0.85; }
.form-success.visible { display: flex; }

/* ─────────────────────────────────────
   CTA BANNER
───────────────────────────────────── */
.cta-banner {
  background: var(--primary);
  padding: 60px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; color: var(--white);
  letter-spacing: 0.5px; line-height: 1.2;
}
.cta-banner p { color: rgba(255,255,255,0.80); font-size: 1rem; margin-top: 6px; }
.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.8);
  color: var(--white); flex-shrink: 0;
}
.cta-banner .btn-outline:hover {
  background: var(--white); color: var(--primary); border-color: var(--white);
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.68);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.86rem; line-height: 1.7;
  margin-top: 16px; max-width: 290px;
}
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub  { color: rgba(255,255,255,0.35); }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--white); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  color: rgba(255,255,255,0.58); text-decoration: none;
  font-size: 0.86rem; padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary-lt); }
.footer-contact p { font-size: 0.86rem; margin-bottom: 5px; line-height: 1.6; }
.footer-contact a { color: rgba(255,255,255,0.68); text-decoration: none; transition: color var(--transition); }
.footer-contact a:hover { color: var(--primary-lt); }
.footer-contact .btn { margin-top: 16px; }

.footer-bottom { background: rgba(0,0,0,0.22); padding: 16px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.36); }

/* ─────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════ */

/* ── 1100px ── */
@media (max-width: 1100px) {
  .brands-grid     { grid-template-columns: repeat(4, 1fr); }
  .appliances-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .why-inner         { grid-template-columns: 1fr; gap: 44px; }
  .why-image img     { height: 360px; }
  .contact-inner     { grid-template-columns: 1fr; gap: 44px; }
  .brands-grid       { grid-template-columns: repeat(3, 1fr); }
  .appliances-grid   { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 720px — MOBILE ── */
@media (max-width: 720px) {
  :root {
    --topbar-h: auto;
    --navbar-h: 64px;
  }
  .section { padding: 60px 0; }

  /* Topbar: compact single-line on mobile — only show phone */
  .topbar {
    height: auto;
    padding: 7px 0;
  }
  .topbar-inner {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
  }
  .topbar-item { font-size: 0.78rem; padding: 0; }
  /* Hide email on mobile — too wide */
  .topbar-inner > .topbar-item:nth-child(3) { display: none; }
  .topbar-divider { display: none; }
  .topbar-right {
    margin-left: auto;
    flex-shrink: 0;
  }
  .topbar-right .topbar-item { width: auto; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  /* Show drawer as flex column on mobile */
  .mobile-drawer { display: flex; }

  /* Hero */
  .hero { min-height: 78vh; }
  .hero-content { padding: 50px 20px 40px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 18px; }
  .stat strong { font-size: 1.5rem; }

  /* Trust */
  .trust-inner { justify-content: flex-start; gap: 12px; }
  .trust-item:nth-child(n+4) { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Brands / appliances */
  .brands-grid     { grid-template-columns: repeat(2, 1fr); }
  .appliances-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }

  /* Process */
  .process-grid   { flex-direction: column; align-items: center; }
  .process-arrow  { transform: rotate(90deg); margin: 4px 0; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* CTA banner */
  .cta-banner-inner { flex-direction: column; text-align: center; }

  /* Page hero */
  .page-hero { padding: 48px 0 40px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .section-header h2 { font-size: 1.75rem; }
  .appliances-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid     { grid-template-columns: repeat(2, 1fr); }
}
