:root{
  --bg:#ececef;
  --surface:#f6f7f8;
  --surface-2:#ffffff;
  --hero:#d9d9db;
  --text:#303952;
  --muted:#7d828e;
  --line:#c8ccd3;
  --blue:#303952;
  --red:#780a19;
  --green:#198754;
  --shadow:0 14px 34px rgba(0,0,0,.08);
  --radius:18px;
  --container:1180px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Open Sans", Arial, sans-serif;
  line-height:1.45;
  min-width:320px;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(var(--container), calc(100% - 64px));
  margin:0 auto;
}

h1,h2,h3{
  margin:0;
  font-family:"Oswald", Arial, sans-serif;
  color:var(--text);
  letter-spacing:0;
}

p{
  margin:0;
}

section{
  position:relative;
}

.site-header{
  background:rgba(246,247,248,.96);
  border-bottom:1px solid rgba(48,57,82,.06);
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(8px);
}

.header-inner{
  min-height:78px;
  display:grid;
  grid-template-columns:80px 1fr auto;
  align-items:center;
  gap:28px;
}

.logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.logo-badge{
  width:78px;
  height:48px;
  background:linear-gradient(135deg,#4d0014,#7d1329);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"Oswald", Arial, sans-serif;
  font-size:24px;
  letter-spacing:.04em;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:34px;
  flex-wrap:wrap;
  font-size:16px;
}

.main-nav a,
.main-nav .schedule{
  white-space:nowrap;
}

.header-phone{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:178px;
  height:48px;
  padding:0 26px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-weight:700;
  font-size:17px;
}

.hero{
  background:var(--bg);
}

.hero-backdrop{
  height:420px;
  background:var(--hero);
}

.hero-shell{
  margin-top:-140px;
  padding-bottom:72px;
}

.hero-card{
  max-width:914px;
  margin:0 auto;
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:34px;
}

.hero-top{
  display:flex;
  gap:28px;
  align-items:flex-start;
}

.hero-illustration{
  flex:0 0 88px;
  width:88px;
  height:88px;
  background:
    linear-gradient(135deg, rgba(48,57,82,.18), rgba(48,57,82,.05)),
    radial-gradient(circle at 30% 30%, rgba(48,57,82,.14), transparent 45%);
  border-radius:8px;
}

.hero-copy{
  flex:1 1 auto;
  min-width:0;
}

.hero h1{
  font-size:56px;
  line-height:1.08;
  font-weight:500;
}

.hero-lead{
  margin-top:18px;
  font-family:"Oswald", Arial, sans-serif;
  font-size:32px;
  line-height:1.16;
}

.consultation,
.form-section,
.faq-section,
.about-section{
  background:var(--surface);
}

.consultation{
  padding:74px 0 28px;
}

.section-heading{
  margin-bottom:30px;
}

.section-heading h2{
  font-size:42px;
  line-height:1.05;
  font-weight:500;
}

.section-subtitle{
  margin-top:14px;
  font-size:22px;
  color:#4d4f57;
}

.contact-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}

.contact-pill{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  min-width:470px;
  min-height:58px;
  padding:10px 18px;
  color:#fff;
}

.contact-title{
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}

.contact-desc{
  margin-top:3px;
  font-size:14px;
  line-height:1.2;
  opacity:.92;
}

.contact-pill-blue{ background:var(--blue); }
.contact-pill-red{ background:var(--red); }
.contact-pill-green{ background:var(--green); }

.form-section{
  padding:34px 0 28px;
}

.lined-form{
  display:grid;
  gap:26px 48px;
}

.two-col-form{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.field input,
.field textarea{
  width:100%;
  border:none;
  border-bottom:2px solid var(--line);
  background:transparent;
  padding:12px 0;
  font:400 16px/1.35 "Open Sans", Arial, sans-serif;
  color:var(--text);
  outline:none;
  border-radius:0;
}

.field input::placeholder,
.field textarea::placeholder{
  color:#8d919c;
}

.field input:focus,
.field textarea:focus{
  border-bottom-color:var(--blue);
}

.form-actions{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  gap:16px;
  padding-top:6px;
}

button{
  appearance:none;
  border:none;
  background:#d9dde4;
  color:var(--text);
  min-width:150px;
  min-height:48px;
  padding:0 24px;
  font:700 17px/1 "Open Sans", Arial, sans-serif;
  cursor:pointer;
}

.privacy-note{
  grid-column:1 / -1;
  font-size:14px;
  color:#969aa4;
  max-width:560px;
  margin-top:-4px;
}

.process-section{
  padding:74px 0 10px;
  background:var(--bg);
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:44px 56px;
}

.process-item{
  min-width:0;
}

.process-number{
  font-size:20px;
  color:#000;
  margin-bottom:10px;
}

.process-item h3{
  font-size:26px;
  line-height:1.15;
  font-weight:500;
  margin-bottom:12px;
}

.process-item p{
  font-size:18px;
  line-height:1.45;
}

.advantages-section{
  padding:72px 0;
  background:var(--surface);
}

.advantages-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:48px;
}

.adv-card{
  display:grid;
  grid-template-columns:1fr 74px;
  gap:18px;
  background:rgba(255,255,255,.48);
  padding:30px 26px;
  min-height:210px;
}

.adv-copy h3{
  font-size:26px;
  line-height:1.18;
  font-weight:500;
  margin-bottom:14px;
}

.adv-copy p{
  font-size:18px;
  line-height:1.45;
}

.adv-icon{
  width:54px;
  height:54px;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(48,57,82,.16), rgba(48,57,82,.05) 60%, transparent 62%),
    linear-gradient(135deg, rgba(48,57,82,.14), rgba(48,57,82,.05));
  justify-self:end;
  margin-top:4px;
}

.form-section-secondary{
  padding-top:74px;
}

.faq-section{
  padding:72px 0;
}

.faq-list{
  display:grid;
  gap:34px;
}

.faq-item h3{
  font-size:26px;
  line-height:1.2;
  font-weight:500;
  margin-bottom:10px;
}

.faq-item p{
  font-size:18px;
  line-height:1.45;
}

.reviews-section{
  padding:72px 0;
  background:var(--bg);
}

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:52px;
}

.review-card{
  min-width:0;
}

.review-avatar{
  width:120px;
  height:120px;
  border-radius:50%;
  background:#d1d1d4;
  margin-bottom:26px;
}

.review-card h3{
  font-size:26px;
  line-height:1.1;
  font-weight:500;
  margin-bottom:14px;
}

.review-card p{
  font-size:18px;
  line-height:1.45;
}

.form-section-tertiary{
  padding-top:72px;
  padding-bottom:18px;
}

.about-section{
  padding:72px 0 52px;
}

.about-text{
  display:grid;
  gap:18px;
  max-width:1040px;
  font-size:18px;
  line-height:1.55;
}

.about-meta{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.meta-card{
  background:rgba(255,255,255,.44);
  padding:24px 22px;
}

.meta-card h3{
  font-size:26px;
  line-height:1.15;
  font-weight:500;
  margin-bottom:12px;
}

.meta-card p{
  font-size:18px;
  line-height:1.45;
}

.site-footer{
  background:var(--blue);
  color:#fff;
}

.footer-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  font-size:16px;
}

.floating-call{
  position:fixed;
  right:22px;
  bottom:22px;
  width:112px;
  height:112px;
  border-radius:50%;
  background:#ff1737;
  box-shadow:0 12px 30px rgba(255,23,55,.28);
  z-index:60;
}

.floating-call::before{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:34px;
  height:34px;
  border:8px solid #fff;
  border-top-color:transparent;
  border-left-color:transparent;
  border-radius:14px 14px 14px 14px;
  transform:rotate(45deg) translate(-2px, 2px);
}

@media (max-width: 1200px){
  .hero h1{ font-size:48px; }
  .hero-lead{ font-size:28px; }
  .section-heading h2{ font-size:38px; }
}

@media (max-width: 992px){
  .container{
    width:min(var(--container), calc(100% - 40px));
  }

  .header-inner{
    grid-template-columns:1fr;
    justify-items:center;
    gap:16px;
    padding:14px 0;
  }

  .main-nav{
    gap:18px 24px;
  }

  .hero-backdrop{
    height:320px;
  }

  .hero-shell{
    margin-top:-92px;
    padding-bottom:54px;
  }

  .hero-card{
    padding:28px;
  }

  .hero h1{
    font-size:40px;
  }

  .hero-lead{
    font-size:24px;
  }

  .contact-pill{
    min-width:420px;
  }

  .process-grid,
  .reviews-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .advantages-grid,
  .about-meta{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .container{
    width:calc(100% - 28px);
  }

  .site-header{
    position:static;
  }

  .main-nav{
    justify-content:center;
    text-align:center;
    font-size:15px;
  }

  .header-phone{
    min-width:160px;
    height:44px;
    font-size:15px;
  }

  .hero-backdrop{
    height:240px;
  }

  .hero-shell{
    margin-top:-54px;
    padding-bottom:42px;
  }

  .hero-card{
    padding:20px;
    border-radius:14px;
  }

  .hero-top{
    flex-direction:column;
    gap:16px;
  }

  .hero-illustration{
    width:88px;
    height:88px;
  }

  .hero h1{
    font-size:30px;
  }

  .hero-lead{
    font-size:22px;
  }

  .section-heading h2{
    font-size:30px;
  }

  .section-subtitle{
    font-size:18px;
  }

  .contact-pill{
    min-width:100%;
    width:100%;
  }

  .two-col-form,
  .process-grid,
  .advantages-grid,
  .reviews-grid,
  .about-meta{
    grid-template-columns:1fr;
  }

  .adv-card{
    grid-template-columns:1fr 54px;
    min-height:auto;
  }

  .process-item h3,
  .adv-copy h3,
  .faq-item h3,
  .review-card h3,
  .meta-card h3{
    font-size:24px;
  }

  .process-item p,
  .adv-copy p,
  .faq-item p,
  .review-card p,
  .about-text,
  .meta-card p{
    font-size:17px;
  }

  .review-avatar{
    width:96px;
    height:96px;
    margin-bottom:18px;
  }

  .floating-call{
    width:88px;
    height:88px;
    right:14px;
    bottom:14px;
  }

  .floating-call::before{
    width:26px;
    height:26px;
    border-width:6px;
  }
}

@media (max-width: 480px){
  .hero h1{
    font-size:26px;
  }

  .hero-lead{
    font-size:20px;
  }

  .section-heading h2{
    font-size:28px;
  }

  .main-nav{
    gap:10px 14px;
  }
}