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

:root {
  --green-950: #0a1f16;
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-500: #74C69D;
  --green-100: #D8F3DC;
  --green-50: #EFF8F0;
  --white: #FFFFFF;
  --off-white: #FAFBF9;
  --cream: #F5F7F4;
  --gray-100: #F1F3F0;
  --gray-200: #E2E6E1;
  --gray-300: #C5CAC3;
  --gray-400: #9AA198;
  --gray-500: #6B7369;
  --gray-600: #4A5249;
  --gray-700: #2D332C;
  --gray-800: #1A1F19;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--gray-700);
  background: var(--off-white);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: var(--nav-h);
}

.nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-mark {
  width: 28px;
  height: 28px;
  background: var(--green-900);
  border-radius: 6px;
  position: relative;
  flex-shrink: 0;
}

.nav-brand-mark::before,
.nav-brand-mark::after {
  content: '';
  position: absolute;
  background: var(--green-100);
}

.nav-brand-mark::before {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-brand-mark::after {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--green-800);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}

.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
}

/* ===== MOBILE NAV ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--green-900);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-900);
  padding: 8px;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-link {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
  color: var(--green-900);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  display: block;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: var(--green-700);
}

.mobile-menu-cta {
  margin-top: 32px;
}

.mobile-menu-cta .btn-primary {
  font-size: 14px;
  padding: 16px 32px;
  width: 100%;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    #0a1f16 0%, 
    #1B4332 25%, 
    #2D6A4F 50%, 
    #1B4332 75%, 
    #0a1f16 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: var(--green-500);
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-trust-item svg {
  color: var(--green-500);
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--green-900);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-500);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--green-500);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-500);
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 12px;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--green-500);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.3;
}

.about-content {
  max-width: 480px;
}

.about-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.about-values {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-value {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-value-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--green-500);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-value h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 6px;
}

.about-value p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ===== PATIENT INFO ===== */
.patient-info {
  padding: 120px 0;
  background: var(--off-white);
}

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

.info-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.info-block:hover {
  border-color: var(--green-300);
  box-shadow: 0 8px 32px rgba(27, 67, 50, 0.06);
}

.info-block-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
  margin-bottom: 20px;
}

.info-block h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--green-900);
  margin-bottom: 12px;
}

.info-block p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-500);
}

.info-note {
  font-size: 12px !important;
  color: var(--gray-400) !important;
  margin-top: 10px !important;
  font-style: italic;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: var(--green-900);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact .section-eyebrow {
  color: var(--green-500);
}

.contact .section-title {
  color: var(--white);
}

.contact-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.contact-detail p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

.contact-detail a {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}

.contact-detail a:hover {
  color: var(--green-500);
}

/* ===== FORM ===== */
.contact-form-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 44px 40px;
  backdrop-filter: blur(8px);
}

.contact-form-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.form-note {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  background: rgba(255,255,255,0.08);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='rgba(255,255,255,0.4)' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group select option {
  background: var(--green-900);
  color: var(--white);
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin: 0 auto 20px;
}

.form-success h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ===== MAP ===== */
.map-section {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.map-container {
  height: 380px;
  filter: grayscale(0.5) contrast(1.05);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 24px;
  height: 24px;
  background: var(--green-700);
  border-radius: 5px;
  position: relative;
  flex-shrink: 0;
}

.footer-logo-mark::before,
.footer-logo-mark::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.3);
}

.footer-logo-mark::before {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-logo-mark::after {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

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

.footer-contact p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  font-size: 12px !important;
}

/* ===== REVEAL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    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);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 48px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 24px) 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    gap: 20px;
  }

  .hero-trust-item {
    font-size: 11px;
  }

  .services {
    padding: 80px 0;
  }

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

  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper img {
    height: 400px;
  }

  .about-image-accent {
    display: none;
  }

  .about-content {
    max-width: 100%;
  }

  .patient-info {
    padding: 80px 0;
  }

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

  .contact {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 280px;
  }

  .footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .service-card {
    padding: 28px 24px;
  }
}
