:root {
  --background: #ffffff;
  --surface: #f5fbfa;
  --surface-strong: #ecf7f5;
  --border: #d7e8e4;
  --text: #18353a;
  --muted: #567277;
  --heading: #0f2a2f;
  --primary: #1c7c74;
  --primary-dark: #15655f;
  --accent: #dff2ee;
  --shadow: 0 18px 45px rgba(17, 76, 72, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfc 100%);
  color: var(--text);
  line-height: 1.65;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 232, 228, 0.75);
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #f7f9fb;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  font-size: 24px;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.logo-main {
  color: #1f2933;
}

.logo-accent {
  color: #2e86ab;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #1f2933;
  font-weight: 500;
}

.nav-links a {
  padding: 0.4rem 0;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.3rem;
}

.hero-text,
.section-text,
.footer-note,
.info-card p,
.panel-list,
.check-list {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-text {
  max-width: 60ch;
  margin: 1.35rem 0 0;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible,
.info-card:hover,
.info-card:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(28, 124, 116, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
  box-shadow: 0 18px 34px rgba(21, 101, 95, 0.22);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2e86ab;
  color: white;
  padding: 14px 22px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  background-color: #256b8a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2e86ab;
  color: white;
  padding: 14px 22px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background-color: #256b8a;
}

.button-secondary {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--heading);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #b9d8d1;
  background: #f9fdfd;
}

.hero-panel,
.section-shell,
.rehab-shell,
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.75rem;
  background: linear-gradient(180deg, #f8fdfc 0%, #eef8f6 100%);
}

.hero-panel h2 {
  font-size: 1.45rem;
}

.panel-list,
.check-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li,
.check-list li {
  position: relative;
  padding-left: 1.5rem;
}

.panel-list li + li,
.check-list li + li {
  margin-top: 0.85rem;
}

.panel-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--primary);
}

.trust-section,
.content-section,
.rehab-section,
.contact-section,
.info-section {
  padding: 1.25rem 0 4rem;
}

.section-shell {
  padding: 2rem;
}

.info-shell {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 44rem;
}

.section-heading-compact {
  margin-bottom: 1.6rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start;
}

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

.info-card {
  padding: 1.6rem;
}

.info-card p {
  margin: 0.85rem 0 1.25rem;
}

.info-card span {
  color: var(--primary);
  font-weight: 800;
}

.rehab-shell {
  padding: 2rem;
  background: linear-gradient(180deg, #f6fbfb 0%, #edf7f5 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-copy,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: 2rem;
  background: linear-gradient(180deg, #f8fdfc 0%, #eef8f6 100%);
}

.contact-form {
  padding: 2rem;
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  font-weight: 700;
  color: var(--heading);
}

.contact-form input,
.contact-form textarea,
.popup-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--heading);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.popup-form input:focus {
  outline: 2px solid rgba(28, 124, 116, 0.18);
  outline-offset: 0;
  border-color: #9fcfc6;
}

.button-submit {
  width: fit-content;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #15803d;
}

.form-status.is-error {
  color: #b91c1c;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 42, 47, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 30;
}

.popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-card {
  position: relative;
  width: min(100%, 460px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 42, 47, 0.18);
}

.popup-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #eef5f4;
  color: var(--heading);
  font-size: 1.2rem;
  cursor: pointer;
}

.popup-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.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-footer {
  padding: 1.25rem 0 2.5rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.footer-note {
  margin: 0;
  max-width: 42rem;
  font-size: 0.96rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-grid,
  .trust-grid,
  .card-grid,
  .contact-shell,
  .rehab-shell,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    display: grid;
  }

  .rehab-shell .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .nav {
    min-height: 68px;
    align-items: flex-start;
    padding: 1rem 0;
    flex-direction: column;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero,
  .info-section,
  .trust-section,
  .content-section,
  .rehab-section,
  .contact-section {
    padding-bottom: 3rem;
  }

  .hero-panel,
  .section-shell,
  .info-shell,
  .rehab-shell,
  .info-card,
  .contact-copy,
  .contact-form,
  .popup-card {
    border-radius: var(--radius-md);
  }

  .section-shell,
  .rehab-shell,
  .hero-panel,
  .info-shell,
  .info-card,
  .contact-copy,
  .contact-form,
  .popup-card {
    padding: 1.35rem;
  }

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

  .hero-actions .button,
  .hero-actions .cta-button,
  .hero-actions .btn,
  .button-submit,
  .popup-form .button {
    width: 100%;
  }
}
