:root {
  --bg: #ffffff;
  --soft-bg: #f2f9f8;
  --ink: #122333;
  --muted: #5b6b78;
  --line: #d8e8e6;
  --primary: #197f8f;
  --primary-dark: #0f6674;
  --accent: #31b59f;
  --accent-soft: #e6f7f4;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(18, 35, 51, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(25, 127, 143, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  padding: 74px 0 70px;
  background:
    linear-gradient(110deg, #ffffff 0%, #ffffff 45%, rgba(230, 247, 244, 0.9) 45%, rgba(242, 249, 248, 0.96) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero-text,
.section p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 1.09rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.trust-list span,
.why-list span {
  position: relative;
  padding: 12px 14px 12px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.trust-list span::before,
.why-list span::before {
  content: "\2713";
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-weight: 900;
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 232, 230, 0.9);
  background: var(--accent-soft);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--soft-bg);
}

.split,
.appointment-grid,
.why-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: start;
}

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

.highlight-card,
.service-card,
.testimonial-card,
.appointment-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(18, 35, 51, 0.06);
}

.highlight-card {
  min-height: 132px;
  padding: 22px;
}

.highlight-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.75rem;
  line-height: 1.1;
}

.highlight-card span {
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

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

.service-card,
.testimonial-card {
  padding: 24px;
}

.service-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--accent-soft);
  font-weight: 800;
}

.service-card p,
.testimonial-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.why-section {
  background: #fff;
}

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

.testimonial-card p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-card span {
  display: block;
  margin-top: 18px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
}

.appointment-section {
  background: linear-gradient(180deg, #fff 0%, #f8fcfb 100%);
}

.emergency-note {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-weight: 700;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(49, 181, 159, 0.16);
}

textarea {
  resize: vertical;
}

.full-field,
.form-message {
  grid-column: 1 / -1;
}

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

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(18, 35, 51, 0.22);
  font-weight: 800;
}

.floating-call:hover {
  background: var(--primary-dark);
}

.call-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.call-icon::before {
  content: "\260E";
}

.site-footer {
  padding: 54px 0 22px;
  color: #dfeef0;
  background: #12313a;
}

.site-footer .brand,
.site-footer h3 {
  color: #fff;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: #dfeef0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 14px;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.copyright p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 48px;
    background: linear-gradient(180deg, #fff 0%, #f2f9f8 100%);
  }

  .hero-grid,
  .split,
  .appointment-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .site-nav {
    top: 68px;
  }

  .hero,
  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .trust-list,
  .highlight-grid,
  .card-grid,
  .testimonial-grid,
  .why-list,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .appointment-form {
    padding: 18px;
  }

  .floating-call {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.92rem;
  }
}
