/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal: #1A1A2E;
  --charcoal-mid: #2D2D44;
  --charcoal-light: #3D3D5C;
  --coral: #E85D4A;
  --coral-dark: #D14A38;
  --coral-light: #FF7A66;
  --coral-pale: #FFF0EE;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F7F7F8;
  --gray-100: #EFEFEF;
  --gray-200: #E0E0E4;
  --gray-400: #9494A8;
  --gray-600: #5A5A72;
  --gray-800: #2A2A3E;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.08);
  --shadow-md: 0 4px 20px rgba(26,26,46,0.10);
  --shadow-lg: 0 12px 40px rgba(26,26,46,0.14);
  --shadow-xl: 0 20px 60px rgba(26,26,46,0.18);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
  padding: 13px 28px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,93,74,0.35);
}
.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,93,74,0.4);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--coral);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-small { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,26,46,0.0);
  backdrop-filter: blur(0px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle svg { transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,0.92) 0%,
    rgba(26,26,46,0.82) 40%,
    rgba(232,93,74,0.35) 100%
  );
}
.hero-geo {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.hero-geo--top-right {
  width: 500px; height: 500px;
  background: var(--coral);
  top: -150px; right: -100px;
}
.hero-geo--bottom-left {
  width: 350px; height: 350px;
  background: var(--coral-light);
  bottom: -100px; left: -80px;
}
.hero-geo--bottom-right {
  width: 200px; height: 200px;
  background: var(--white);
  bottom: 80px; right: 15%;
  opacity: 0.04;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 76px;
  padding-bottom: 80px;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,93,74,0.18);
  border: 1px solid rgba(232,93,74,0.35);
  color: var(--coral-light);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: normal;
  color: var(--coral-light);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-item svg { color: var(--coral-light); flex-shrink: 0; }

/* ===== SERVICES ===== */
.services {
  position: relative;
  padding: 100px 0;
  background: var(--gray-50);
  overflow: hidden;
}
.geo { position: absolute; pointer-events: none; }
.geo--circle-1 {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.04;
  top: -120px; right: -100px;
}
.geo--square-1 {
  width: 180px; height: 180px;
  background: var(--charcoal);
  opacity: 0.03;
  border-radius: var(--radius-lg);
  transform: rotate(25deg);
  bottom: -40px; left: -40px;
}
.geo--circle-2 {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.05;
  top: 50px; right: -80px;
}
.geo--triangle {
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border-color: transparent transparent var(--coral) transparent;
  opacity: 0.04;
  bottom: 40px; right: 60px;
}
.geo--dot-1 {
  width: 12px; height: 12px;
  background: var(--coral);
  border-radius: 50%;
  top: 40px; left: 10%;
  opacity: 0.5;
}
.geo--dot-2 {
  width: 8px; height: 8px;
  background: var(--charcoal);
  border-radius: 50%;
  bottom: 60px; right: 15%;
  opacity: 0.2;
}
.geo--square-2 {
  width: 120px; height: 120px;
  background: var(--coral);
  opacity: 0.04;
  border-radius: var(--radius-md);
  transform: rotate(45deg);
  top: -30px; left: 50px;
}

.services .container { position: relative; z-index: 1; }
.services .section-label,
.services .section-title,
.services .section-desc { margin-bottom: 48px; }
.services .section-desc { margin-bottom: 48px; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-pale);
  border-radius: var(--radius-md);
  color: var(--coral);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--coral);
  color: var(--white);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.about-image-accent {
  position: absolute;
  width: 120px; height: 120px;
  background: var(--coral);
  border-radius: var(--radius-lg);
  bottom: -30px; right: -30px;
  z-index: -1;
  opacity: 0.6;
}
.about-content .section-title { margin-bottom: 20px; }
.about-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-highlights {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ===== PATIENT INFO ===== */
.patient-info {
  position: relative;
  padding: 100px 0;
  background: var(--charcoal);
  overflow: hidden;
}
.patient-info .section-title { color: var(--white); }
.patient-info .section-desc { color: rgba(255,255,255,0.6); margin-bottom: 48px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--charcoal-mid);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.info-card:hover {
  border-color: rgba(232,93,74,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.info-card-header svg { color: var(--coral); }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
}
.info-list li span:first-child { color: rgba(255,255,255,0.6); }
.info-list li span:last-child { color: var(--white); font-weight: 600; }
.info-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.info-body a { color: var(--coral-light); transition: var(--transition); }
.info-body a:hover { color: var(--coral); }
.info-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
  font-style: italic;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 100px 0;
  background: var(--coral);
  overflow: hidden;
}
.cta-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-geo {
  position: absolute;
  width: 300px; height: 300px;
  background: var(--coral-pale);
  border-radius: 50%;
  top: -100px; right: -80px;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 620px; }
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.cta-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== CONTACT ===== */
.contact {
  position: relative;
  padding: 100px 0;
  background: var(--gray-50);
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-body {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
}
.contact-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.contact-item a {
  color: var(--coral);
  transition: var(--transition);
}
.contact-item a:hover { color: var(--coral-dark); text-decoration: underline; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,93,74,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { color: var(--coral); margin: 0 auto 16px; }
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-success p { font-size: 0.95rem; color: var(--gray-600); }

/* ===== MAP ===== */
.map-section { padding: 0 0 0; background: var(--white); }
.map-wrapper { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--coral-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: 0.6; }

.footer-bottom {
  padding: 24px 0;
  background: rgba(0,0,0,0.15);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal { font-size: 0.8rem; }

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 300px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; color: rgba(255,255,255,0.8); }
  .nav-toggle { display: flex; }
  .nav-toggle.active svg { transform: rotate(90deg); }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap img { height: 400px; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-card { padding: 36px 24px; }
  .cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 24px; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
