/* ===== CSS VARIABLES ===== */
:root {
  --green: #2D6A4F;
  --green-dark: #1B4332;
  --green-light: #52B788;
  --gold: #E9C46A;
  --gold-dark: #C9952A;
  --cream: #F8F5F0;
  --cream-dark: #EDE8E0;
  --text: #2C2C2C;
  --text-muted: #6B6B6B;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(45,106,79,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }

.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-light);
  margin-bottom: 0.5rem;
}
.section-title { color: var(--green-dark); margin-bottom: 1rem; }
.section-title span { color: var(--green); font-weight: 400; }
.section-desc { color: var(--text-muted); max-width: 540px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.75rem 1.6rem; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.full-width { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--green-dark); }
.logo-leaf { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text); transition: color var(--transition); }
.nav-links a:hover { color: var(--green); }
.nav-cta { padding: 0.5rem 1.25rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #3a8f6b 100%);
  position: relative; overflow: hidden; padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 4rem 0; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); color: var(--gold);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 50px;
  border: 1px solid rgba(233,196,106,0.3); margin-bottom: 1.5rem;
}
.hero-title { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 520px; margin-bottom: 2rem; }
.hero-sub strong { color: var(--gold); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-actions .btn-primary { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.hero-actions .btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.hero-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.15); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-badges span {
  font-size: 0.75rem; color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1); padding: 0.3rem 0.75rem;
  border-radius: 50px; border: 1px solid rgba(255,255,255,0.15);
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  text-align: center; color: rgba(255,255,255,0.5); font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-arrow {
  width: 1px; height: 40px; background: rgba(255,255,255,0.3);
  margin: 0.5rem auto 0; animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;height:30px} 50%{opacity:.8;height:45px} }

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-placeholder {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg); aspect-ratio: 3/4; max-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); gap: 1rem;
}
.doctor-icon { font-size: 5rem; }
.about-image-placeholder p { font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.about-credential-card {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.5rem;
}
.cred-item { font-size: 0.85rem; font-weight: 600; color: var(--green-dark); }
.about-content p { color: var(--text-muted); margin-bottom: 1rem; }
.about-highlights { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.about-highlights li { font-size: 0.9rem; color: var(--text); }

/* ===== SERVICES ===== */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--cream); border-radius: var(--radius); padding: 1.75rem 1.5rem;
  transition: var(--transition); border: 1px solid transparent;
}
.service-card:hover { border-color: var(--green-light); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.service-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--green-dark); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ===== WHY HOMEOPATHY ===== */
.why { background: var(--green-dark); }
.why .section-label { color: var(--gold); }
.why .section-title { color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.why-card { padding: 1.5rem; border-left: 3px solid var(--gold); }
.why-num { font-size: 2.5rem; font-weight: 700; color: rgba(233,196,106,0.25); font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; }
.why-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.875rem; }

/* ===== HOURS ===== */
.hours { background: var(--cream); }
.hours-wrap { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.hours-table { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hours-row {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem;
  padding: 0.9rem 1.5rem; border-bottom: 1px solid var(--cream-dark); align-items: center;
}
.hours-row:last-child { border-bottom: none; }
.header-row { background: var(--green); color: var(--white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hours-row .day { font-weight: 600; color: var(--green-dark); }
.hours-row span { font-size: 0.875rem; color: var(--text-muted); }
.saturday span { color: var(--green); font-weight: 500; }
.saturday em { font-size: 0.75rem; }
.closed .day { color: var(--text-muted); }
.closed span:not(.day) { color: #d9534f; font-weight: 600; font-size: 0.875rem; }

.hours-cta-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow); text-align: center; min-width: 240px;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hours-icon { font-size: 2rem; }
.hours-cta-card h3 { color: var(--green-dark); font-size: 1rem; }
.hours-cta-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.hours-divider { width: 100%; height: 1px; background: var(--cream-dark); margin: 1rem 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 2rem;
  border-top: 4px solid var(--gold); transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.testimonial-author span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-list strong { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.contact-list a, .contact-list span { font-size: 0.95rem; color: var(--text); }
.contact-list a:hover { color: var(--green); }
.whatsapp-btn { background: #25D366; border-color: #25D366; }
.whatsapp-btn:hover { background: #128C7E; border-color: #128C7E; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form h3 { color: var(--green-dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius); font-size: 0.9rem; color: var(--text);
  background: var(--cream); transition: border-color var(--transition); font-family: inherit;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.form-note { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }
.form-success { text-align: center; padding: 2rem; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--green-dark); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--green-dark); color: rgba(255,255,255,0.75); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand .logo-text { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-left: 0.4rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 0.75rem; line-height: 1.7; max-width: 260px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.25rem; }
.footer-links a { font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.875rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
  .hours-wrap { grid-template-columns: 1fr; }
  .hours-cta-card { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: unset; max-width: 500px; margin: 0 auto; }
  .hours-divider { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  /* Navbar mobile */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: center;
    justify-content: center; gap: 2rem; padding: 2rem;
    transform: translateX(100%); transition: transform var(--transition);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta { padding: 0.75rem 2rem; }

  /* Hero */
  .hero-content { padding: 2rem 0 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-placeholder { aspect-ratio: 2/1; max-height: 220px; flex-direction: row; gap: 1.5rem; }
  .doctor-icon { font-size: 3rem; }
  .about-credential-card { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 1rem; gap: 0.5rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Hours table */
  .hours-row { grid-template-columns: 1.2fr 1fr 1fr; gap: 0.5rem; padding: 0.75rem 1rem; }
  .hours-row span { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .hero-badges { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1.1fr 1fr; }
  .hours-row .header-row span:last-child,
  .hours-row span:last-child:not(.day) { display: none; }
  .hours-row.saturday span[colspan],
  .hours-row.closed span[colspan] { display: block; }
  .contact-form-wrap { padding: 1.5rem; }
}
