:root {
  --primary: #4052ff;
  --primary-dark: #3344e0;
  --accent: #00a3ff;
  --success: #22c55e;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 10px 40px rgba(64, 82, 255, 0.08);
  --radius: 12px;
  --radius-lg: 24px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-img {
  height: 38px;
  width: auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-muted);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.25rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(64, 82, 255, 0.35);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  overflow: hidden;
}

/* Trusted clinics carousel */
.trusted-clinics {
  padding: 2.5rem 0 3.5rem;
  background: white;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trusted-clinics-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trusted-clinics-intro h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0.5rem 0 0.35rem;
}

.trusted-clinics-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

.trusted-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.trusted-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.trusted-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trusted-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.trusted-stat strong {
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.trusted-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.clinic-carousel {
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clinic-carousel-fade {
  display: none;
}

.clinic-carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: clinic-scroll 45s linear infinite;
}

.clinic-carousel:hover .clinic-carousel-track {
  animation-play-state: paused;
}

@keyframes clinic-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clinic-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  min-width: 280px;
  max-width: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.clinic-card:hover {
  border-color: rgba(64, 82, 255, 0.25);
  box-shadow: 0 4px 20px rgba(64, 82, 255, 0.08);
}

.clinic-card-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.clinic-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.clinic-card-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clinic-card-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.clinic-card-location {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.clinic-card-verified {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .trusted-clinics-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .trusted-stats {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clinic-carousel-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0 1rem;
  }

  .clinic-card[aria-hidden="true"] {
    display: none;
  }
}


.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
  font-weight: 500;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(64, 82, 255, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: rgba(64, 82, 255, 0.1);
  border-radius: var(--radius-lg);
  filter: blur(40px);
  z-index: 0;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 6/5;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(64, 82, 255, 0.1);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 40rem;
}

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

/* Services grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(64, 82, 255, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Steps / pathway */
.pathway {
  display: grid;
  gap: 2rem;
}

.pathway-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pathway-step-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pathway-step-header h3 {
  font-size: 1.25rem;
}

.pathway-step-body {
  padding: 1.75rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border-radius: 10px;
}

.checklist li strong {
  display: block;
  margin-bottom: 0.15rem;
}

.checklist li span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.item-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(64, 82, 255, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Process */
.process-grid {
  display: grid;
  gap: 1.5rem;
}

.process-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(64, 82, 255, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.process-card h3 {
  margin-bottom: 0.5rem;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.faq-question .chevron {
  transition: transform 0.2s;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA */
.cta {
  padding: 4rem 0;
}

.cta-box {
  background: rgba(64, 82, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(64, 82, 255, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--bg-soft);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 34px;
  width: auto;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 22rem;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .pathway {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(64, 82, 255, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(64, 82, 255, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Inner pages */
.page-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 40rem;
}

.page-content {
  padding: 3rem 0 5rem;
}

.content-block {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.content-block h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
}

.content-block ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
}

.content-grid-2 {
  display: grid;
  gap: 1.5rem;
}

.service-link-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.service-link-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(64, 82, 255, 0.25);
}

.service-link-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-link-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-link-card span {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.info-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .content-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .whatsapp-tooltip {
    display: none;
  }
}
