/* ============ Base ============ */
:root {
  --blue: #1d6ef5;
  --blue-dark: #1558cc;
  --navy: #10203a;
  --text: #17253d;
  --muted: #5b6b83;
  --bg-tint: #eef3fb;
  --bg-soft: #f2f5f9;
  --border: #e3e9f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 32, 58, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 18px; height: 18px; flex: none; }
.chev { font-size: 1.1em; line-height: 1; margin-left: 2px; }
.center { text-align: center; }
.center-row { display: flex; justify-content: center; }
.accent { color: var(--blue); }
.muted { color: var(--muted); }

/* ============ Typography ============ */
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: 14px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}

.btn-lg { padding: 15px 26px; font-size: 16px; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(29, 110, 245, .3);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 12px 26px;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-white:hover { border-color: var(--blue); color: var(--blue); }

.btn-phone { border-radius: 999px; padding: 11px 22px; }

.text-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ============ Header ============ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 84px;
  max-width: 1220px;
}

.logo img { height: 58px; width: auto; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.main-nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-tint) 0%, #f7fafd 100%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  min-height: 560px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-copy { max-width: 520px; position: relative; z-index: 2; }

.hero .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  list-style: none;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-trust li { display: flex; align-items: flex-start; gap: 10px; }

.trust-icon { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 2px; }

.hero-trust strong { display: block; font-size: 14px; color: var(--navy); }
.hero-trust span { font-size: 12.5px; color: var(--muted); }

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 47%;
  min-width: 480px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-badge {
  position: absolute;
  left: -60px;
  bottom: 48px;
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 8px 20px rgba(16, 32, 58, .18));
}

/* ============ Services ============ */
.services { padding: 84px 0 72px; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin: 44px 0 36px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}

.service-card:hover {
  border-color: #c9d9f5;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card img { width: 56px; height: 56px; margin: 0 auto 16px; object-fit: contain; }

.service-card h3 { font-size: 15.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ============ Dryer section ============ */
.dryer-wrap { padding: 8px 0 84px; background: var(--white); }
.hero + .dryer-wrap { padding-top: 72px; }

.dryer-panel {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dryer-copy .muted { margin-bottom: 22px; max-width: 380px; }

.checklist {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M4 12.5l5 5L20 6.5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M4 12.5l5 5L20 6.5"/></svg>') center / contain no-repeat;
}

.dryer-media { position: relative; }

.dryer-photo-card {
  background: linear-gradient(180deg, #f6f8fb, #e9eef5);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.dryer-photo-card img {
  width: 78%;
  height: auto;
  margin: 0 auto;
}

.dryer-photo-card--icon img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.dryer-callout {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 250px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 32, 58, .14);
  padding: 22px 22px 20px;
}

.callout-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.callout-icon svg { width: 26px; height: 26px; }

.dryer-callout h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.dryer-callout p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* ============ Why section ============ */
.why { padding: 40px 0 90px; background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 46px 0 52px;
  align-items: start;
}

.why-item { text-align: left; }

.why-icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 12px; }

.why-item h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.why-item p { font-size: 13.5px; color: var(--muted); }

.why-reviews { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

.google-g { width: 42px; height: 42px; }

.stars { color: #f5b301; font-size: 26px; letter-spacing: 3px; line-height: 1; }

.rating-line { font-size: 13.5px; color: var(--muted); }
.rating-line strong { color: var(--navy); }

/* ============ Area banner ============ */
.area-banner {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.area-pin {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 32, 58, .08);
}

.area-pin svg { width: 22px; height: 22px; }

.area-text { display: flex; flex-direction: column; gap: 2px; }
.area-text strong { font-size: 15.5px; color: var(--navy); }
.area-text span { font-size: 13px; color: var(--muted); }

.area-banner .btn { margin-left: auto; }

/* ============ Footer ============ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }

.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 240px; margin-bottom: 18px; }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, border-color .15s;
}
.socials a:hover { color: var(--blue); border-color: var(--blue); }
.socials svg { width: 17px; height: 17px; }

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer-col a, .footer-col span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 11px;
}
.footer-col a:hover { color: var(--blue); }

.footer-col a.btn-primary { color: var(--white); display: inline-flex; }
.footer-col a.btn-primary:hover { color: var(--white); }

.footer-contact .icon { width: 16px; height: 16px; color: var(--blue); }

.footer-note { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; max-width: 220px; }

.book-form { display: flex; flex-direction: column; gap: 10px; max-width: 260px; }
.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.book-form textarea { resize: vertical; min-height: 64px; }
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 110, 245, .12);
}
.footer-col .book-form button.btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
  cursor: pointer;
  border: none;
}
.book-status { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-media { width: 42%; min-width: 0; }
  .hero-badge { left: -40px; width: 104px; height: 104px; }
  .main-nav { gap: 18px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 6px 24px 14px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child { border-bottom: none; }
  .hero-media {
    position: relative;
    width: 100%;
    height: 320px;
  }
  .hero-inner { min-height: 0; padding-bottom: 40px; }
  .hero-copy { max-width: 100%; }
  .hero-badge { left: 24px; bottom: 24px; }
  .dryer-panel { grid-template-columns: 1fr; padding: 36px 28px 64px; }
  .dryer-panel--plain { padding-bottom: 36px; }
  .dryer-callout { right: 8px; bottom: -30px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-banner { flex-wrap: wrap; }
  .area-banner .btn { margin-left: 64px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { height: 68px; gap: 14px; }
  .logo img { height: 44px; }
  .btn-phone { padding: 9px 14px; font-size: 13px; }
}

/* Логотип + бургер + телефон целиком не влезают в узкий экран —
   в шапке остаётся иконка звонка, номер доступен в футере. */
@media (max-width: 480px) {
  .btn-phone-text { display: none; }
  .btn-phone { padding: 11px 13px; }

  /* .btn — white-space: nowrap, поэтому длинные подписи («Learn More About
     Dryer Repair», «Call (763) 363-3777») распирают страницу шире экрана.
     На узких экранах разрешаем перенос и ограничиваем ширину родителем. */
  .btn { white-space: normal; max-width: 100%; }
  .btn-lg { padding: 14px 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  /* отступ под иконку-пин из @media 900px здесь уже не помещается */
  .area-banner .btn { margin-left: 0; }
}

/* ============ Final CTA ============ */
.final-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 64px 0;
  color: var(--white);
  text-align: center;
}

.final-cta .section-title { color: var(--white); }

.final-cta p {
  color: rgba(255, 255, 255, .85);
  max-width: 480px;
  margin: 0 auto 28px;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .btn-primary { background: var(--white); color: var(--blue); box-shadow: none; }
.final-cta .btn-primary:hover { background: var(--bg-tint); }

.final-cta .btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.final-cta .btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }

/* ============ Brands line ============ */
.brands-line {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 8px 0 46px;
}

.brands-line strong { color: var(--navy); }
