:root{
  --bg: #ffffff;
  --text: #0f172a;          /* почти черный */
  --muted: #475569;         /* серо-синий текст */
  --border: rgba(15,23,42,0.12);

  --card: #ffffff;
  --shadow: 0 14px 40px rgba(2, 6, 23, 0.10);

  --primary: #0ea5e9;       /* sky-500 */
  --primary2: #22c55e;      /* green-500 */
  --primaryDark: #0284c7;   /* sky-600 */

  --ring: rgba(14,165,233,0.25);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(14,165,233,0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,0.14), transparent 55%),
    radial-gradient(900px 500px at 50% 100%, rgba(99,102,241,0.10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
.container{ width: min(1120px, 92vw); margin: 0 auto; }

/* ===== Header ===== */
.header{
  position: sticky; top:0; z-index: 10;
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand{ display:flex; align-items:center; gap: 12px; }
.brand__logo{
  width: 40px; height: 40px; border-radius: 14px;
  display:grid; place-items:center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 10px 26px rgba(14,165,233,0.25);
}
.brand__text{ display:flex; flex-direction:column; line-height: 1.1; }
.brand__name{ font-weight: 900; letter-spacing: -0.02em; }
.brand__tag{ font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== Nav ===== */
.nav{ display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.nav__link{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14,165,233,0.22);
  background: rgba(14,165,233,0.06);
  color: var(--text);
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.nav__btn{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14,165,233,0.35);
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(14,165,233,0.20);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.nav__link:hover,
.nav__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2,6,23,0.12);
}
.nav__btn:hover{
  filter: brightness(1.02);
}

.lang{
  background: transparent; border: none; padding: 0; cursor: pointer;
}
.lang__pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: white;
  font-size: 12px; font-weight: 900;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(2,6,23,0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.lang:hover .lang__pill{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2,6,23,0.12);
}

/* ===== Hero ===== */
.hero{ padding: 54px 0 18px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.badge{
  display:inline-flex; align-items:center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(14,165,233,0.22);
  background: rgba(14,165,233,0.08);
}

.h1{ font-size: 48px; line-height: 1.08; margin: 12px 0 10px; letter-spacing: -0.03em; }
.h2{ font-size: 30px; margin: 0 0 10px; letter-spacing: -0.02em; }
.h3{ font-size: 18px; margin: 0 0 8px; }
.lead{ font-size: 17px; color: var(--muted); max-width: 60ch; margin: 0; }

.hero__cta{ display:flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: white;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(2,6,23,0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(2,6,23,0.12);
  border-color: rgba(14,165,233,0.35);
}
.btn--primary{
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 16px 34px rgba(14,165,233,0.22);
}
.btn--primary:hover{
  box-shadow: 0 22px 44px rgba(14,165,233,0.28);
}

.ticks{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.ticks li{
  margin: 8px 0;
  padding-left: 26px;
  position: relative;
}
.ticks li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display:grid;
  place-items:center;
  color: white;
  font-weight: 900;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

/* ===== Cards / Layout ===== */
.section{ padding: 32px 0; }
.sectionHead{ margin-bottom: 14px; }
.p{ margin: 0; color: var(--muted); }
.small{ font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.fine{ font-size: 12px; color: rgba(71,85,105,0.85); margin-top: 12px; }

.grid2{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.grid3{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }

.card{
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero__card{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(14,165,233,0.18);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 52px rgba(2,6,23,0.10);
}

.hero__cardTop{ display:flex; align-items:flex-start; gap: 12px; }
.miniTitle{ font-size: 12px; color: var(--muted); font-weight: 800; }
.miniBig{ font-weight: 1000; letter-spacing: -0.02em; }
.miniSmall{ font-size: 13px; color: var(--muted); margin-top: 4px; }

.stats{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat{
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,0.70);
}
.stat__num{ font-weight: 1000; font-size: 18px; }
.stat__txt{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.divider{ height: 1px; background: rgba(15,23,42,0.10); margin: 16px 0; }

/* ===== Forms ===== */
.quickForm{ display:flex; gap: 10px; }
.input{
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  outline: none;
  box-shadow: 0 10px 22px rgba(2,6,23,0.06);
}
.input:focus{
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 0 0 5px var(--ring);
}

.bullets{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.bullets li{ margin: 6px 0; }

.price__top{ display:flex; align-items:baseline; justify-content:space-between; gap: 10px; }
.price__num{ font-weight: 1000; font-size: 22px; }
.price--featured{
  border-color: rgba(14,165,233,0.32);
  box-shadow: 0 22px 60px rgba(14,165,233,0.18);
}

.quote{ margin: 0; color: rgba(15,23,42,0.92); }

.accordion{ display:grid; gap: 10px; }
.acc{
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(2,6,23,0.07);
}
.acc summary{ cursor: pointer; font-weight: 900; }
.acc p{ margin: 10px 0 0; }

.form .row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.label{ display:grid; gap: 6px; margin-bottom: 12px; }
.link{ color: var(--primaryDark); font-weight: 800; }

/* ===== Footer ===== */
.footer{
  padding: 20px 0 26px;
  border-top: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.70);
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; flex-wrap: wrap;
}

.footer-credit{
  margin:0;
  display:flex;
  align-items:center;
  gap: 8px;
}
.credit-link{
  color: var(--accent);
  font-weight: 950;
  text-decoration:none;
}
.credit-link:hover{ text-decoration: underline; }
.credit-link:focus{ outline:none; box-shadow: var(--focus); border-radius: 10px; }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .h1{ font-size: 40px; }
  .grid2{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .form .row{ grid-template-columns: 1fr; }
}

/* ===== HERO BACKGROUND IMAGE (soft & clean) ===== */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/cleaning-bg.jpg") center / cover no-repeat;
  filter: blur(2px) brightness(0.78) contrast(1.05);
  opacity: 0.60;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ===== SERVICES: cards left, photo right ===== */

.servicesSplit{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 11px;
  align-items: start;
  margin-left: 15px;
}

.servicesPhoto{
  position: sticky;
  top: 92px; /* чтобы красиво держалась при скролле */
  margin-top: 30px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(2,6,23,0.08);
}

.servicesPhoto img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}

/* мобильная версия */
@media (max-width: 900px){
  .servicesSplit{
    grid-template-columns: 1fr;
  }
  .servicesPhoto{
    position: static;
  }
}


/* ===== Anchor offset for sticky header ===== */
:root {
  --header-offset: 52px; /* если шапка выше/ниже — поменяешь число */
}

.section,
#services,
#pricing,
#faq,
#contact {
  scroll-margin-top: var(--header-offset);
}
.nav__link.is-active {
  border-color: rgba(14,165,233,0.55);
  background: rgba(14,165,233,0.16);
  box-shadow: 0 10px 22px rgba(14,165,233,0.14);
}