/* ========== CUSTOM PROPERTIES ========== */
:root {
  --green-900: #052e16;
  --green-800: #043a1e;
  --green-700: #065f46;
  --green-600: #059669;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;
  --cream:     #f8f6f0;
  --cream-2:   #f0ece4;
  --white:     #ffffff;
  --dark:      #0a0a0a;
  --gray-700:  #374151;
  --gray-500:  #6b7280;
  --gray-300:  #d1d5db;
  --gray-100:  #f3f4f6;
  --accent:    #059669;
  --accent-light: #34d399;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== SECTION LABELS ========== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label-light {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-900);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 560px;
  line-height: 1.7;
}
.text-accent { color: var(--accent); }
.text-accent-light { color: var(--accent-light); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(5,150,105,0.3);
}
.btn-primary:hover {
  background: var(--green-800);
  box-shadow: 0 8px 24px rgba(5,150,105,0.4);
}
.btn-secondary {
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--green-100);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--green-50);
}
.btn-light {
  background: var(--white);
  color: var(--green-800);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-light:hover {
  background: var(--green-50);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-full { width: 100%; justify-content: center; }

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248,246,240,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5,150,105,0.1);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-800);
}
.nav-logo-icon { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--green-700);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-800); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape { position: absolute; }
.shape-circle-1 {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--green-100);
  top: -100px;
  right: -100px;
  opacity: 0.6;
}
.shape-circle-2 {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--green-50);
  bottom: 60px;
  left: -60px;
  opacity: 0.8;
}
.shape-rect {
  width: 180px;
  height: 180px;
  background: var(--accent);
  opacity: 0.08;
  top: 35%;
  left: 42%;
  transform: rotate(35deg);
  border-radius: var(--radius);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-100);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-900);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-700);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}
.hero-image-wrap {
  position: relative;
}
.hero-image-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 16px;
  left: 16px;
  background: var(--green-700);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}
.hero-image {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-image-stamp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(5,150,105,0.4);
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 24px;
  background: var(--white);
}
.services-header {
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border-color: var(--green-100);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition: background 0.2s;
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 24px;
  background: var(--cream);
}
.about-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-group {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}
.about-img-secondary img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  display: block;
}
.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--green-700);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(5,150,105,0.3);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.about-content { max-width: 520px; }
.about-content .section-title { margin-top: 8px; }
.about-content > p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
}
.about-features svg { color: var(--accent); flex-shrink: 0; }

/* ========== PATIENT INFO ========== */
.patient-info {
  padding: 100px 24px;
  background: var(--green-800);
  position: relative;
  overflow: hidden;
}
.patient-info::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.patient-info-header {
  text-align: center;
  margin-bottom: 60px;
}
.patient-info-header .section-title { color: var(--white); }
.patient-info-header .section-label {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: var(--green-400);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background 0.25s, transform 0.25s;
}
.info-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.info-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--green-400), var(--green-500));
}
.info-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.info-card-icon { color: var(--green-400); }
.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.info-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.info-phone {
  color: var(--green-400);
  font-weight: 600;
  transition: color 0.2s;
}
.info-phone:hover { color: var(--accent-light); }

/* ========== CTA ========== */
.cta {
  padding: 100px 24px;
  background: var(--green-700);
  position: relative;
  overflow: hidden;
}
.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-shape { position: absolute; border-radius: 50%; }
.cta-circle-1 {
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  top: -120px;
  left: -100px;
}
.cta-circle-2 {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  bottom: -60px;
  right: 15%;
}
.cta-block {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.06);
  top: 20%;
  right: 8%;
  border-radius: var(--radius);
  transform: rotate(25deg);
}
.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 24px;
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-title { margin-top: 8px; }
.contact-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  color: var(--green-900);
  margin-bottom: 2px;
}
.contact-detail span,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--gray-500);
}
.contact-detail a:hover { color: var(--accent); }
.contact-map {
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--green-100);
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 32px;
  color: var(--green-700);
}
.form-success svg { color: var(--accent); }
.form-success p {
  font-size: 1rem;
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo svg { color: var(--green-400); }
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-400);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ========== MOBILE MENU ========== */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(248,246,240,0.98);
  backdrop-filter: blur(12px);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid var(--green-100);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 380px; gap: 32px; }
  .hero-image { height: 520px; }
  .about-layout { grid-template-columns: 380px 1fr; gap: 40px; }
  .about-img-main img { height: 480px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; max-width: 400px; margin: 0 auto; }
  .hero-image { height: 420px; }
  .hero-image-stamp { bottom: -12px; right: -12px; width: 56px; height: 56px; }
  .hero-image-accent { top: 10px; left: 10px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .services { padding: 72px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .about { padding: 72px 20px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-image-group { max-width: 400px; }
  .about-img-secondary { right: -16px; bottom: -16px; }
  .patient-info { padding: 72px 20px; }
  .info-grid { grid-template-columns: 1fr; }
  .cta { padding: 72px 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact { padding: 72px 20px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-headline { font-size: 2rem; }
  .about-img-secondary { display: none; }
}
