/* ============================================================
   EscoCool Heating & Cooling — Brand Stylesheet
   Colors:  Navy #0D182A | Blue #0057FF | Red #E31E24 | White #FFFFFF
   Type:    Montserrat (Bold / Semibold headings, Regular body)
   ============================================================ */

:root {
  --navy: #0d182a;
  --navy-light: #16233b;
  --blue: #0057ff;
  --blue-dark: #0041c4;
  --red: #e31e24;
  --red-dark: #b7161b;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --gray: #6b7280;
  --gray-light: #e5e8f0;
  --shadow: 0 10px 30px rgba(13, 24, 42, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 24, 42, 0.25);
  --radius: 14px;
  --max-width: 1180px;
}

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

body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; color: var(--gray); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

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

.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark p { color: #b7c0d4; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-off { background: var(--off-white); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-call {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(227, 30, 36, 0.35);
}
.btn-call:hover { background: var(--red-dark); box-shadow: 0 14px 30px rgba(227, 30, 36, 0.45); }

.btn-quote {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 87, 255, 0.35);
}
.btn-quote:hover { background: var(--blue-dark); box-shadow: 0 14px 30px rgba(0, 87, 255, 0.45); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.center { text-align: center; }

/* ---------- Header ---------- */
.top-strip {
  background: var(--navy);
  color: #b7c0d4;
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-strip a { color: var(--white); font-weight: 600; }
.top-strip .stars { color: #ffc94d; letter-spacing: 1px; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(13, 24, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.brand img.logo-img { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }

/* Full lockup (icon + wordmark + tagline) — dark backgrounds only */
.logo-full { margin-bottom: 16px; }
.logo-full img { height: 46px; width: auto; display: block; }
.footer-brand .logo-full { margin-bottom: 18px; }
.hero-logo { margin-bottom: 28px; }
.hero-logo img { height: 64px; width: auto; display: block; }
.page-hero-logo { margin-bottom: 20px; display: flex; justify-content: center; }
.page-hero-logo img { height: 52px; width: auto; display: block; }
.brand-word { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.brand-word .esco { color: var(--navy); }
.brand-word .cool { color: var(--blue); }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); font-weight: 700; }

nav.main-nav { display: flex; gap: 30px; }
nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
}
.header-phone svg { width: 20px; height: 20px; fill: var(--red); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1c2c4a 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 110px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,87,255,0.35), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(227,30,36,0.28), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.hero h1 .accent { color: var(--blue); }
.hero-sub { font-size: 1.15rem; color: #cdd5e6; max-width: 520px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; }
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; }
.trust-item .stars { color: #ffc94d; letter-spacing: 1px; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--white); font-size: 1.15rem; }
.hero-card ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: #dbe1ee; font-weight: 500; font-size: 0.95rem; }
.hero-card li svg { width: 18px; height: 18px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---------- Service Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card.red-top { border-top-color: var(--red); }
.service-card.navy-top { border-top-color: var(--navy); }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.service-card.red-top .service-icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.service-card.navy-top .service-icon { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.service-icon svg { width: 30px; height: 30px; fill: var(--white); }
.service-card a.learn-more { font-weight: 700; color: var(--blue); font-size: 0.9rem; }
.service-card.red-top a.learn-more { color: var(--red); }

/* Photo-topped service cards (homepage) */
.service-card.photo-top { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo { position: relative; }
.card-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.card-badge {
  position: absolute;
  left: 24px;
  bottom: -26px;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 8px 20px rgba(13,24,42,0.3);
  border: 3px solid var(--white);
}
.card-badge.red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.card-badge.navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.card-badge svg { width: 28px; height: 28px; fill: var(--white); }
.card-body { padding: 42px 28px 28px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 0.95rem; }

/* ---------- Feature / value badges ---------- */
.feature-block { text-align: center; padding: 10px; }
.feature-icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-white);
  border: 2px solid var(--gray-light);
}
.feature-icon svg { width: 30px; height: 30px; fill: var(--red); }
.feature-block h3 { font-size: 1.05rem; }
.feature-block p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Service area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-chip {
  background: var(--white);
  border: 2px solid var(--gray-light);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #ffc94d; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.testimonial-card p.quote { font-style: italic; color: var(--navy); font-size: 0.98rem; }
.testimonial-name { font-weight: 800; font-size: 0.92rem; }
.testimonial-loc { font-size: 0.8rem; color: var(--gray); }

/* Featured single review */
.testimonial-featured {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 46px 44px 38px;
  position: relative;
  border-top: 4px solid var(--blue);
}
.testimonial-featured .stars { font-size: 1.25rem; letter-spacing: 4px; margin-bottom: 18px; }
.testimonial-featured p.quote { font-size: 1.12rem; line-height: 1.65; margin-bottom: 24px; }
.testimonial-featured .testimonial-name { font-size: 1rem; }
.review-cta { text-align: center; margin-top: 32px; }
.review-cta a {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 0.9rem; color: var(--navy);
  background: var(--white); border: 2px solid var(--gray-light);
  padding: 12px 24px; border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.review-cta a:hover { border-color: var(--blue); transform: translateY(-2px); }
.review-cta a .g { font-weight: 800; color: var(--blue); font-size: 1.05rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: #ffe1e2; font-size: 1.05rem; }
.cta-banner .cta-row { justify-content: center; margin-top: 20px; }
.cta-banner .btn-quote { background: var(--navy); box-shadow: none; }
.cta-banner .btn-call { background: var(--white); color: var(--red); box-shadow: none; }
.cta-banner .btn-call:hover { background: var(--off-white); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #1c2c4a 100%);
  color: var(--white);
  padding: 76px 0 64px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -140px; right: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(0,87,255,0.32), transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -150px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(227,30,36,0.24), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { color: var(--white); margin-bottom: 6px; }
.page-hero p { color: #b7c0d4; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: #8ea0c3; margin-top: 12px; }
.breadcrumb a { color: var(--blue); font-weight: 600; }
.page-hero .trust-row { justify-content: center; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.15); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Stats bar ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 8px; }
.stat-number { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stat-number .accent-red { color: var(--red); }
.stat-number .accent-blue { color: var(--blue); }
.stat-label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); }
.section-dark .stat-number { color: var(--white); }

/* ---------- Process steps ---------- */
.step-card { text-align: center; padding: 10px; position: relative; }
.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px rgba(0, 87, 255, 0.3);
}
.step-card:nth-child(3) .step-number { background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 10px 24px rgba(227, 30, 36, 0.3); }
.step-card h3 { font-size: 1.1rem; }
.step-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Media caption chip (services detail blocks) ---------- */
.detail-media { position: relative; overflow: hidden; }
.detail-media::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
}
.media-chip {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ---------- FAQ card style ---------- */
.faq-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin-bottom: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.faq-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-icon svg { width: 18px; height: 18px; fill: var(--red); }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { margin-bottom: 0; }

/* ---------- Owner card extras ---------- */
.owner-quote {
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin: 18px 0;
}
.owner-contact-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.owner-contact-row a {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.88rem;
  color: var(--navy);
  background: var(--off-white);
  padding: 9px 16px;
  border-radius: 999px;
}
.owner-contact-row a svg { width: 15px; height: 15px; fill: var(--blue); }

/* ---------- Real photos in detail-media ---------- */
/* Locked to the photos' true 4:3 shape so they never stretch or over-crop */
.detail-media.photo {
  background: none;
  aspect-ratio: 3 / 2;
  min-height: 0;
  max-height: 400px;
  align-self: center;
}
.detail-media.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-media.photo::before { display: none; }
.detail-media.photo .media-chip { z-index: 2; background: rgba(13,24,42,0.55); border-color: rgba(255,255,255,0.4); }

/* ---------- Before / After slider ---------- */
.ba-slider {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  max-height: 420px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.45);
  z-index: 3;
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  gap: 3px;
  z-index: 4;
  pointer-events: none;
}
.ba-knob::before, .ba-knob::after {
  content: '';
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.ba-knob::before { border-right: 7px solid var(--navy); }
.ba-knob::after { border-left: 7px solid var(--navy); }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
}
.ba-tag {
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 4;
  pointer-events: none;
}
.ba-tag.before { left: 14px; background: rgba(227,30,36,0.92); }
.ba-tag.after { right: 14px; background: rgba(0,135,60,0.92); }
.ba-caption { text-align: center; font-weight: 700; color: var(--navy); margin-top: 14px; font-size: 0.95rem; }
.ba-caption span { display: block; font-weight: 500; color: var(--gray); font-size: 0.83rem; margin-top: 2px; }

/* ---------- Warning / danger callout (mold section) ---------- */
.danger-card {
  background: var(--white);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  margin-bottom: 24px;
}
.danger-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.danger-card h3 svg { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; }
.danger-card p { margin-bottom: 0; font-size: 0.95rem; }
.photo-card.danger figcaption {
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.photo-card.danger figcaption svg { width: 16px; height: 16px; fill: var(--white); flex-shrink: 0; }

/* ---------- Photo gallery cards ---------- */
.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* height:auto = browser uses the file's real proportions. Cannot distort. */
.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-card figcaption {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Detail service sections ---------- */
.detail-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--gray-light); }
.detail-block:last-child { border-bottom: none; }
.detail-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.detail-block.reverse .detail-media { order: 2; }
.detail-media {
  border-radius: var(--radius);
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.detail-media svg { width: 100px; height: 100px; fill: var(--white); opacity: 0.9; }
.detail-media.blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.detail-media.red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-weight: 500; color: var(--navy); }
.check-list li svg { width: 20px; height: 20px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---------- About page ---------- */
.owner-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  align-items: center;
}
.owner-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.owner-photo svg { width: 90px; height: 90px; fill: var(--white); }
.owner-card h3 { margin-bottom: 4px; }
.owner-title { color: var(--red); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; display: block; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 46px; align-items: flex-start; }
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border-top: 4px solid var(--blue);
}
.form-card h3 { display: flex; align-items: center; gap: 12px; }
.form-card h3 svg { width: 26px; height: 26px; fill: var(--blue); flex-shrink: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 2px solid var(--gray-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--off-white);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.hp-field { position: absolute; left: -9999px; }

.info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}
.info-card h3 { color: var(--white); }
.info-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-line svg { width: 22px; height: 22px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }
.info-line a, .info-line span { color: #dbe1ee; font-weight: 600; }
.info-line strong { display: block; color: var(--white); font-size: 0.95rem; }

.form-success {
  display: none;
  background: #e7f8ee;
  border: 2px solid #2fae64;
  color: #1c7a44;
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-item { border-bottom: 1px solid var(--gray-light); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #b7c0d4; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-word .esco { color: var(--white); }
.footer-brand p { color: #8ea0c3; font-size: 0.92rem; max-width: 300px; margin-top: 16px; }
footer h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
footer ul li { margin-bottom: 10px; }
footer ul li a, footer ul li { color: #b7c0d4; font-size: 0.92rem; }
footer ul li a:hover { color: var(--white); }
.footer-area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-area-list span { background: rgba(255,255,255,0.06); padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 26px 0; font-size: 0.82rem; color: #7c8bab; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; fill: var(--white); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(13, 24, 42, 0.18);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}
.mobile-cta-bar a svg { width: 18px; height: 18px; fill: var(--white); flex-shrink: 0; }
.mobile-cta-bar .call { background: var(--red); }
.mobile-cta-bar .quote { background: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid, .detail-block, .detail-block.reverse, .owner-card { grid-template-columns: 1fr; }
  .detail-block.reverse .detail-media { order: 0; }
  .grid-3, .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .owner-card { text-align: center; }
  .owner-photo { margin: 0 auto; }
}

@media (max-width: 760px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-phone span.phone-text { display: none; }
  .top-strip .container { justify-content: center; text-align: center; }
  .grid-3, .grid-4, .grid-2, .stats-grid { grid-template-columns: 1fr; }
  .faq-item { flex-direction: column; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 78px; }
  footer.site-footer { padding-bottom: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 70px; }

  nav.main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
}
