/* Бурение скважин — Premium Water Blue 2026 */

:root {
  --bg: #f4f9fc;
  --surface: #ffffff;
  --surface-2: #eef6fb;
  --text: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #dbeafe;
  --accent: #0ea5e9;
  --accent-2: #06b6d4;
  --accent-soft: rgba(14, 165, 233, 0.1);
  --accent-glow: rgba(14, 165, 233, 0.28);
  --danger: #e53935;
  --radius: 24px;
  --radius-sm: 14px;
  --header: 78px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 10000;
  padding: 10px 16px; background: var(--accent); color: #fff;
  border-radius: var(--radius-sm); font-weight: 800;
}
.skip-link:focus { top: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -0.03em; font-size: 1.05rem; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px var(--accent-glow);
  font-size: 1.1rem;
}
.logo__text span { color: var(--accent); }
.nav__list { display: flex; gap: 24px; }
.nav__link { color: var(--muted); font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.nav__link:hover { color: var(--accent); }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 900; white-space: nowrap; font-size: 1rem;
}
.header__phone-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}
.header__note { color: var(--soft); font-size: 0.76rem; margin-top: 3px; }
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }

.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--text); display: block; transition: 0.25s; }
.burger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger--active span:nth-child(2) { opacity: 0; }
.burger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 14px; font-weight: 800; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 32px var(--accent-glow);
}
.btn--ghost {
  background: var(--surface); color: var(--text); border-color: var(--line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { padding: 11px 18px; font-size: 0.88rem; background: var(--accent-soft); color: var(--accent); border-color: rgba(14,165,233,0.2); }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; pointer-events: none; }

.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header) + 48px) 0 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding-bottom: 48px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.84rem; font-weight: 800; margin-bottom: 20px;
}
.hero__badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero__title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.05em; font-weight: 950; margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__subtitle { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero__chips button,
.hero__chips a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-size: 0.84rem; font-weight: 700;
  transition: 0.2s; display: inline-block;
}
.hero__chips button:hover,
.hero__chips a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero__facts li {
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.88rem; color: var(--muted);
}
.hero__facts strong { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 2px; }

.hero__scene {
  position: relative; height: 340px; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 28px 80px rgba(14, 165, 233, 0.18);
}
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__scene-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(240,249,255,0.15) 0%, rgba(14,165,233,0.25) 100%);
  pointer-events: none;
}
.hero__drive-label {
  position: absolute; top: 14%; left: 50%; transform: translateX(-50%); z-index: 2;
  padding: 12px 24px; border-radius: 999px;
  background: rgba(255,255,255,0.96); border: 2px solid var(--accent);
  color: var(--accent); font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 12px 40px rgba(14,165,233,0.22);
  animation: labelPulse 2s ease-in-out infinite;
  white-space: nowrap; z-index: 2;
}
@keyframes labelPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.04); }
}

.section { padding: 88px 0; }
.section--gray { background: var(--surface-2); }
.section__header { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section__tag {
  display: inline-block; color: var(--accent); font-size: 0.78rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 950;
  letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 14px;
}
.section__desc { color: var(--muted); font-size: 1.02rem; }

.trust-strip { padding: 0 0 48px; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-strip__grid > div {
  padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.trust-strip strong { display: block; font-size: 1.25rem; margin-bottom: 4px; }
.trust-strip span { color: var(--muted); font-size: 0.9rem; }

.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.catalog__item {
  padding: 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  transition: 0.25s; display: flex; flex-direction: column; gap: 8px;
}
.catalog__item:hover { transform: translateY(-4px); border-color: rgba(14,165,233,0.35); box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1); }
.catalog__item strong { font-size: 0.95rem; line-height: 1.3; }
.catalog__item span { color: var(--accent); font-weight: 800; font-size: 0.85rem; }

.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }
.service-detail__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.service-detail__content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 950;
  letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.15;
}
.service-detail__lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; font-weight: 600; }
.service-detail__text { color: var(--muted); margin-bottom: 12px; }
.service-detail__price {
  display: inline-block; padding: 14px 20px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  font-weight: 900; font-size: 1.15rem; margin-bottom: 8px;
}
.service-detail__min { color: var(--soft); font-size: 0.88rem; margin-bottom: 20px; }
.service-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.service-detail__seo {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 0.88rem; color: var(--soft); line-height: 1.55;
}

.fleet__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fleet-card { overflow: hidden; display: flex; flex-direction: column; }
.fleet-card--hit { border-color: rgba(14,165,233,0.4); box-shadow: 0 20px 60px rgba(14,165,233,0.12); }
.fleet-card img { width: 100%; height: 240px; object-fit: cover; background: linear-gradient(180deg, #e0f2fe, #ecfdf5); }

.seo-local { padding-top: 0; }
.seo-local__text {
  color: var(--muted);
  max-width: 920px;
  margin: 0 auto 16px;
  line-height: 1.7;
  font-size: 0.98rem;
}
.seo-local__text a { color: var(--accent); font-weight: 700; }
.seo-oblast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.seo-oblast { padding: 24px; }
.seo-oblast h3 { font-size: 1.05rem; margin-bottom: 12px; }
.seo-oblast .seo-local__text { margin: 0 0 10px; max-width: none; font-size: 0.9rem; }
.seo-cities {
  columns: 2;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
}
.seo-cities li { margin-bottom: 6px; break-inside: avoid; }
.seo-cities a { color: var(--muted); text-decoration: none; }
.seo-cities a:hover { color: var(--accent); }
.seo-queries { margin-top: 32px; }
.seo-queries__title { font-size: 1.05rem; margin-bottom: 14px; text-align: center; }
.seo-queries__cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.seo-query {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}
.seo-query--city { font-size: 0.74rem; }
.seo-queries--cities { margin-top: 20px; }
.region-group { margin-bottom: 24px; }
.region-group h3 { font-size: 1rem; margin-bottom: 10px; color: var(--accent); }
.region-list--cities { columns: 3; margin-top: 0; }
.fleet-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.fleet-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.fleet-card h3 { font-size: 1.2rem; }
.fleet-card__top span { color: var(--accent); font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.fleet-card p, .fleet-card li { color: var(--muted); font-size: 0.9rem; }
.fleet-card ul { margin-top: auto; display: grid; gap: 6px; }
.fleet-card b { color: var(--text); }

.calculator__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.calculator__form, .calculator__result, .contact-form { padding: 34px; }
.calculator__price { font-size: clamp(2.2rem, 4vw, 3.6rem); color: var(--accent); font-weight: 950; line-height: 1; margin: 12px 0; }
.calculator__note { color: var(--muted); margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
}
.form-group input.error { border-color: var(--danger); }
.form-error { display: block; color: var(--danger); font-size: 0.78rem; margin-top: 6px; min-height: 1em; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.advantage { padding: 28px; }
.advantage strong { color: var(--accent); font-size: 1.6rem; opacity: 0.7; }
.advantage h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.advantage p { color: var(--muted); font-size: 0.92rem; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { text-align: center; padding: 28px 16px; counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px;
  margin: 0 auto 14px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 900;
}
.step h3 { font-size: 0.95rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.84rem; }

.regions__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 32px; align-items: start; }
.region-list { columns: 2; color: var(--muted); margin-top: 20px; }
.region-list li { margin-bottom: 8px; break-inside: avoid; }
.region-list li::before { content: "•"; color: var(--accent); margin-right: 8px; }
.audience { display: flex; flex-wrap: wrap; gap: 8px; }
.audience span {
  padding: 9px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 0.86rem;
}

.reviews { overflow: hidden; padding: 36px; }
.reviews__track { display: flex; transition: transform 0.45s ease; }
.review { flex: 0 0 100%; text-align: center; padding: 10px 24px; }
.review div { color: var(--accent); letter-spacing: 4px; margin-bottom: 12px; }
.review p { color: var(--muted); font-size: 1.05rem; max-width: 720px; margin: 0 auto 16px; }
.reviews__controls { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.reviews__controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 1.3rem;
}

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  font-weight: 800; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding: 0 0 22px; }

.contacts__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 32px; align-items: start; }
.contact-card { padding: 20px; margin-top: 12px; }
.contact-card span {
  display: block; color: var(--soft); font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px;
}
.contact-card a, .contact-card strong { font-size: 1.2rem; }
.contact-card a:hover { color: var(--accent); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 18px; }
.contacts__map {
  grid-column: 1 / -1; height: 380px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.contacts__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer {
  padding: 44px 0 90px; border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { color: var(--soft); font-size: 0.9rem; margin-top: 6px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.footer nav a:hover { color: var(--accent); }
.footer__copy { width: 100%; text-align: center; }

.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 999;
  display: none; grid-template-columns: 1fr 1fr; gap: 10px;
}
.mobile-bar a, .mobile-bar button {
  padding: 14px; border-radius: 14px; text-align: center; font-weight: 900;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}
.mobile-bar a { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.mobile-bar button { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }

.modal { border: 0; padding: 0; background: transparent; max-width: 480px; width: calc(100% - 32px); }
.modal::backdrop { background: rgba(15,23,42,0.5); backdrop-filter: blur(4px); }
.modal__content { padding: 32px; position: relative; }
.modal__close { position: absolute; top: 12px; right: 14px; font-size: 1.6rem; color: var(--soft); }
.modal__title { font-size: 1.4rem; font-weight: 900; }
.modal__desc { color: var(--muted); margin: 6px 0 20px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 2000;
  transform: translate(-50%, 100px); opacity: 0;
  padding: 14px 24px; border-radius: 999px;
  background: var(--text); color: #fff;
  transition: 0.3s; max-width: calc(100% - 32px);
}
.toast--visible { transform: translate(-50%, 0); opacity: 1; }
.toast--error { background: var(--danger); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero__top { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --header: 124px; }
  .header { height: auto; padding: 10px 0 12px; }
  .header__inner { flex-wrap: wrap; height: auto; row-gap: 10px; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header);
    padding: 20px 24px; background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line); transform: translateY(-120%);
    opacity: 0; transition: 0.3s;
  }
  .nav--open { transform: translateY(0); opacity: 1; }
  .nav__list { flex-direction: column; gap: 14px; }
  .burger { display: flex; margin-left: auto; }
  .header__contacts { width: 100%; align-items: stretch; text-align: center; border-top: 1px solid var(--line); padding-top: 10px; }
  .header__phone { justify-content: center; }
  .service-detail, .service-detail--reverse { grid-template-columns: 1fr; direction: ltr; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid, .advantages__grid, .calculator__grid, .regions__grid, .contacts__grid, .steps, .fleet__grid, .seo-oblast-grid { grid-template-columns: 1fr; }
  .region-list--cities, .seo-cities { columns: 2; }
  .hero__facts { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .catalog { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__scene { height: 280px; }
  .hero__drive-label { font-size: 0.92rem; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
