:root {
  --navy: #14213d;
  --navy-soft: #1e2f52;
  --orange: #ff6a3d;
  --orange-dark: #e6552c;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --text: #1c2333;
  --text-muted: #5b6472;
  --border: #e6e8ee;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
  --max-width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }

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

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--orange); }
.nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--navy); }
.header-phone {
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* Hero */
.hero { padding: 64px 0 56px; background: var(--bg-alt); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--orange-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin: 0 0 12px;
}
h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.quick-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-bottom: 8px;
}
.quick-form input[type="tel"] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text);
}
.quick-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--orange);
}
.phone-input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
}
.quick-form .btn { padding: 14px 24px; white-space: nowrap; }
.hero .form-status { margin: 0 0 28px; min-height: 20px; }
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust strong { color: var(--navy); }

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-photo-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 24px 22px;
  background: linear-gradient(0deg, rgba(20, 33, 61, 0.92) 0%, rgba(20, 33, 61, 0.75) 55%, rgba(20, 33, 61, 0) 100%);
  color: #fff;
}
.hero-card-name { font-size: 19px; font-weight: 700; margin: 0 0 2px; }
.hero-card-role { color: #dfe4f0; font-size: 14px; margin: 0; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 36px;
}

/* Services */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-img-wrap {
  height: 168px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.service-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.service-card h3 { margin: 18px 22px 8px; font-size: 18px; color: var(--navy); }
.service-card h3 a { text-decoration: none; color: inherit; }
.service-card h3 a:hover { color: var(--orange-dark); }
.service-card p { margin: 0 22px 22px; color: var(--text-muted); font-size: 14.5px; }
.service-card p a { color: var(--orange-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.service-card p a:hover { text-decoration: underline; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.step p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* Prices */
.price-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 15px;
}
.price-row:nth-child(even) { background: var(--bg-alt); }
.price-row span:last-child { font-weight: 700; color: var(--navy); }
.price-note { color: var(--text-muted); font-size: 13px; margin-top: 14px; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.about-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--orange);
}
.about-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.about-list li {
  padding-left: 26px;
  position: relative;
  color: var(--text-muted);
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
}
.contact-list a { text-decoration: none; font-weight: 700; color: var(--navy); }
.contact-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 20px; font-size: 14px; margin: 0; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c0362c; }

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 22px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; color: var(--text-muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--navy); }
.cta-band-inner { text-align: center; max-width: 640px; }
.cta-band h2 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cta-band p { color: #c3cbe0; margin: 0 0 28px; }
.cta-band .quick-form { margin: 0 auto 10px; }
.cta-band .form-status { min-height: 20px; }
.quick-form--light input[type="tel"] { border-color: transparent; }
.cta-band-alt { color: #98a2bd; font-size: 14px; margin-top: 18px !important; }
.cta-band-alt a { color: #fff; font-weight: 700; text-decoration: none; }
.cta-band-alt a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd3e6;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: var(--orange); }
.foot-copy { color: #8b93aa; font-size: 13px; margin-top: 8px; }
.mobile-action-bar { display: none; }
#lead-form { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; text-align: left; }
  .about-avatar { margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  body { padding-bottom: 82px; }
  .header-inner { height: 60px; justify-content: flex-start; gap: 12px; }
  .header-phone { display: inline-flex; margin-left: 0; font-size: 15px; }
  .grid-services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr; }
  .quick-form { flex-direction: column; max-width: none; }
  .quick-form .btn { width: 100%; }
  .mobile-action-bar {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1px;
    padding: 0 0 env(safe-area-inset-bottom);
    background: var(--border);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 14px rgba(20, 33, 61, 0.1);
  }
  .mobile-action-bar a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-action-bar__call { background: var(--orange); color: #fff; }
  .mobile-action-bar__call svg { width: 17px; height: 17px; flex: 0 0 auto; }
  .mobile-action-bar__form { background: #fff; color: var(--navy); }
}
