/* ===== Variables ===== */
:root {
  --teal: #3d9b8f;
  --teal-dark: #2d7a70;
  --teal-light: #e8f5f3;
  --mint: #b8e0d8;
  --cream: #faf8f5;
  --warm-white: #fffefb;
  --blush: #f5e6e0;
  --gold: #c9a87c;
  --gold-light: #e8d5b8;
  --text: #2c3330;
  --text-muted: #6b7a75;
  --shadow: 0 4px 24px rgba(61, 155, 143, 0.12);
  --shadow-lg: 0 12px 48px rgba(61, 155, 143, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 254, 251, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.logo-icon {
  color: var(--gold);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-phone {
  font-weight: 600 !important;
  color: var(--teal-dark) !important;
}

.nav-cta {
  background: var(--teal);
  color: var(--warm-white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--teal);
  color: var(--warm-white);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal-light);
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--teal-light) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, var(--blush) 0%, transparent 50%),
    linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 3rem 5rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-dark);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-location {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(61, 155, 143, 0.2);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.2;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: min(380px, 90%);
}

.doctor-photo,
.doctor-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
}

.doctor-photo {
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 4px solid var(--warm-white);
  background: var(--teal-light);
}

.photo-badge {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--warm-white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge-icon {
  font-size: 1.5rem;
}

.photo-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.photo-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--warm-white);
  padding: 0.75rem 1.1rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  animation: float 4s ease-in-out infinite;
}

.floating-card span {
  font-size: 1.2rem;
}

.card-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  right: -10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-header.light h2 {
  color: var(--warm-white);
}

/* ===== About ===== */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-deco {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, var(--teal-light), var(--gold-light));
  border-radius: var(--radius-lg);
  opacity: 0.5;
  transform: rotate(-3deg);
}

.about-card {
  position: relative;
  background: var(--warm-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-card blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-card cite {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal-dark);
  font-style: normal;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-list {
  margin-top: 1.5rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text);
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===== Services ===== */
.services {
  background: var(--warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Why ===== */
.why {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: var(--warm-white);
}

.why .section-label {
  color: var(--mint);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 1.5rem;
}

.why-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.why-item p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--warm-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial footer {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal-dark);
}

/* ===== Contact ===== */
.contact {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.contact-details span,
.contact-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--teal);
}

.contact-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid rgba(61, 155, 143, 0.2);
  border-radius: 10px;
  background: var(--warm-white);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--warm-white);
  margin-bottom: 0.75rem;
}

.footer-brand .logo-icon {
  color: var(--gold);
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer-contact a {
  color: var(--mint);
}

.footer-contact a:hover {
  color: var(--warm-white);
}

.footer-copy {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--mint);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .photo-frame {
    margin-inline: auto;
  }

  .floating-card {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--warm-white);
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--teal-light);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: block;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* ===== Animations on scroll ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
