:root {
  --red: #AD2B34;
  --teal: #3B698A;
  --gray: #7D7976;
  --cream: #FAF6F2;
  --ink: #2A2321;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, .brand, .section-title {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

a { color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}

.brand span { color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a.cta {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav a.cta.cta-secondary {
  background: var(--teal);
}

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--teal), #23384a);
  color: #fff;
  padding: 70px 20px;
}

.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text { flex: 1 1 380px; }

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

.hero-buttons a {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 10px;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary { background: var(--red); color: #fff; transition: filter 0.15s ease, transform 0.15s ease; }
.btn-secondary { background: #fff; color: var(--teal); transition: filter 0.15s ease, transform 0.15s ease; }
.hero-buttons a:hover, .appt-form button:hover { filter: brightness(1.08); transform: translateY(-2px); }

.hero-stats {
  flex: 1 1 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.stat .num { font-size: 1.6rem; font-weight: 700; display: block; }
.stat .label { font-size: 0.85rem; opacity: 0.9; }

/* Section */
section { padding: 56px 20px; }

.section-title {
  text-align: center;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 1.8rem;
}

.clinic-hours {
  text-align: center;
  color: var(--teal);
  font-weight: 600;
  margin: -20px 0 24px;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Services */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-top: 4px solid var(--teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.card h3 {
  color: var(--teal);
  margin-top: 0;
}

.card.alt { border-top-color: var(--red); }
.card.alt h3 { color: var(--red); }

/* Doctor */
.doctor-section { background: #fff; }

.doctor-card {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background: var(--cream);
  border-radius: 14px;
  padding: 28px;
}

.doctor-card .initials {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.doctor-card .doctor-photo {
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--red);
}

.doctor-card .info { flex: 1 1 300px; }

.doctor-card h3 { margin: 0 0 4px; color: var(--red); }
.doctor-card .role { color: var(--teal); font-weight: 600; margin-bottom: 10px; }

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  background: var(--teal);
  color: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.85rem;
}

/* Team photo */
.team-photo img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* Testimonials */
.testimonials { background: var(--cream); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.video-card video {
  width: 100%;
  display: block;
  background: #000;
}

.video-card .caption {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
}

/* Team members */
.team-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.team-photo-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 14px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.team-photo-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--teal);
}

.team-photo-card .placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--teal);
}

.team-photo-card h4 { margin: 0 0 4px; color: var(--ink); }
.team-photo-card .role { color: var(--gray); font-size: 0.9rem; }

/* Appointment form */
.appt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--cream);
  border-radius: 14px;
  padding: 28px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }

.form-row label { font-weight: 600; color: var(--gray); font-size: 0.9rem; }

.form-row input, .form-row textarea {
  border: 1px solid #d8d2cd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: inherit;
}

.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

.appt-form button {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.appt-status {
  margin-left: 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .appt-form { grid-template-columns: 1fr; }
}

/* Map */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.map-actions {
  text-align: center;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.map-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  background: var(--teal);
  color: #fff;
}

.map-actions .btn-primary.map-link {
  background: var(--red);
}

@media (max-width: 640px) {
  .map-embed { aspect-ratio: 4 / 5; }
}

/* Contact / footer */
footer {
  background: var(--ink);
  color: #fff;
  padding: 48px 20px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

footer h4 {
  color: #fff;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

footer p, footer a { color: #d8d5d3; text-decoration: none; }

.footer-bottom {
  text-align: center;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #453f3c;
  color: #a39e9b;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .nav .brand { font-size: 1.1rem; }
  .nav-actions { gap: 6px; }
  .nav a.cta { padding: 8px 10px; font-size: 0.8rem; }
}

/* YouTube shorts */
.shorts-heading {
  margin: 40px 0 20px;
  color: var(--red);
  font-size: 1.2rem;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.shorts-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.shorts-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Patient results gallery */
.results-gallery { background: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-card {
  margin: 0;
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.gallery-card figcaption {
  padding: 12px 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* Clinic photo gallery */
.clinic-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.clinic-photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
