:root {
  --primary: #1e88e5;
  --primary-dark: #0d5fb3;
  --secondary: #ffffff;
  --accent: #a5d6a7;
  --accent-dark: #4e9d54;
  --ink: #142436;
  --muted: #5f7182;
  --line: #dce9f5;
  --wash: #eef8ff;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(20, 36, 54, 0.11);
  --shadow-soft: 0 10px 28px rgba(20, 36, 54, 0.08);
  --radius: 22px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: 88px 0;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 233, 245, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--secondary);
  color: var(--ink);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  width: 100%;
  height: 2px;
  margin: 4px 0;
  display: block;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 16%, rgba(165, 214, 167, 0.42), transparent 34%),
    linear-gradient(180deg, #f3fbff 0%, #ffffff 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
}

.trust-line {
  margin: 22px 0 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--secondary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(30, 136, 229, 0.25);
}

.btn-secondary {
  color: var(--primary-dark);
  background: var(--secondary);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(13, 95, 179, 0.18));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.section-heading p,
.split-layout > div > p,
.payment-panel > div > p,
.about-grid p,
.proof-grid p,
.booking-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.step,
.area-box,
.booking-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 260px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--wash);
  border-radius: 16px;
  margin-bottom: 22px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-card .price {
  color: var(--accent-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.process {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.step span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--secondary);
  background: var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.payment-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
  padding: 42px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(30, 136, 229, 0.08), rgba(165, 214, 167, 0.26)),
    var(--secondary);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.payment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.payment-columns > div {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 233, 245, 0.9);
  border-radius: 20px;
}

.check-list,
.payment-methods,
.focus-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li,
.payment-methods li,
.focus-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before,
.payment-methods li::before,
.focus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(165, 214, 167, 0.22);
}

.about-grid,
.proof-grid,
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.area-box {
  padding: 34px;
}

.area-tags,
.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.area-tags span,
.why-grid div {
  color: var(--primary-dark);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.why {
  background: #f7fbff;
}

.why-grid div {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: var(--secondary);
  box-shadow: var(--shadow-soft);
}

.proof-grid img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.booking {
  background:
    radial-gradient(circle at 85% 12%, rgba(165, 214, 167, 0.32), transparent 28%),
    linear-gradient(180deg, #f3fbff 0%, #ffffff 100%);
}

.booking-copy {
  align-self: start;
  position: sticky;
  top: 110px;
}

.important-note {
  margin-top: 24px;
  padding: 18px;
  color: var(--ink);
  background: rgba(165, 214, 167, 0.23);
  border-left: 5px solid var(--accent-dark);
  border-radius: 16px;
}

.booking-form {
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--secondary);
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.12);
}

.form-row input.invalid,
.form-row select.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-message {
  min-height: 26px;
  margin: 16px 0 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.form-message.error {
  color: #b42318;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-panel .btn-secondary {
  border: 0;
}

.site-footer {
  padding: 28px 0 92px;
  color: var(--muted);
  background: #f7fbff;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--primary-dark);
  font-weight: 800;
}

.mobile-book-now {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 18;
  display: none;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(30, 136, 229, 0.32);
  font-weight: 900;
}

@media (max-width: 980px) {
  .section-pad {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-layout,
  .payment-panel,
  .about-grid,
  .proof-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 680px;
    margin: 0 auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-copy {
    position: static;
  }
}

@media (max-width: 740px) {
  :root {
    --container: min(1120px, calc(100% - 28px));
  }

  .nav {
    min-height: 68px;
  }

  .brand span:last-child {
    max-width: 170px;
    line-height: 1.15;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--secondary);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: var(--wash);
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.55rem);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .trust-line {
    font-size: 0.94rem;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-grid,
  .payment-columns {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .step {
    grid-template-columns: 46px 1fr;
    padding: 18px;
  }

  .step span {
    width: 46px;
    height: 46px;
  }

  .payment-panel,
  .area-box,
  .booking-form,
  .contact-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .contact-panel,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-book-now {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
