/* ─────────────────────────────────────────────
   Dr. Raneem Zouhby — Medical & Health Site
   Clean minimalist · Burgundy + Blush
   ───────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

input, textarea, select, button {
  font: inherit;
}

/* ─── UTILITY ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 680px;
}

.section {
  padding: 100px 0;
}

.section--light {
  background: #fdf6f4;
}

.section--blush {
  background: #fef8f7;
}

.section--white {
  background: #ffffff;
}

.section--burgundy {
  background: #6e1a30;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a1203b;
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 1px;
  background: #a1203b;
}

.label--light,
.section-title--light,
.section-desc--light {
  color: #fad0d9;
}

.label--light::before {
  background: #fad0d9;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: #3b0a16;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-title--light {
  color: #fce7eb;
}

.section-desc {
  font-size: 16px;
  font-weight: 300;
  color: #841d36;
  line-height: 1.8;
}

.section-desc--light {
  color: #f5a8ba;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-sm {
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.btn-lg {
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

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

.btn-burgundy {
  background: #6e1a30;
  color: #fce7eb;
}

.btn-burgundy:hover,
.btn-burgundy:focus-visible {
  background: #841d36;
  color: #fce7eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(110, 26, 48, 0.25);
}

.btn-blush {
  background: #fce7eb;
  color: #3b0a16;
}

.btn-blush:hover,
.btn-blush:focus-visible {
  background: #fad0d9;
  color: #3b0a16;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(252, 231, 235, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: #fce7eb;
  border: 1px solid rgba(252, 231, 235, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(252, 231, 235, 0.12);
  color: #fce7eb;
  border-color: #fce7eb;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 248, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(161, 32, 59, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(110, 26, 48, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #3b0a16;
}

.nav-brand-mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid #a1203b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #a1203b;
  flex-shrink: 0;
}

.nav-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #3b0a16;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a:not(.btn) {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #841d36;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #a1203b;
  transition: width 0.25s ease;
}

.nav-menu a:not(.btn):hover {
  color: #6e1a30;
}

.nav-menu a:not(.btn):hover::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #3b0a16;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3b0a16;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(59, 10, 22, 0.92) 0%, rgba(110, 26, 48, 0.82) 50%, rgba(161, 32, 59, 0.72) 100%);
  z-index: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(59, 10, 22, 0.3) 0%, transparent 40%, transparent 60%, rgba(59, 10, 22, 0.5) 100%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5a8ba;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  color: #fce7eb;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-title-accent {
  font-style: italic;
  font-weight: 300;
  color: #fad0d9;
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: #f5a8ba;
  max-width: 560px;
  margin: 0 auto 40px;
}

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

/* Decorative thin line under hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #f5a8ba, transparent);
  z-index: 4;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-image-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(161, 32, 59, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.about-text .label {
  padding-left: 0;
}

.about-text .label::before {
  display: none;
}

.about-text p {
  font-size: 15px;
  font-weight: 300;
  color: #841d36;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(161, 32, 59, 0.12);
  border-bottom: 1px solid rgba(161, 32, 59, 0.12);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #6e1a30;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: #a1203b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(161, 32, 59, 0.15);
  flex-shrink: 0;
}

.about-text .btn {
  margin-top: 8px;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(252, 231, 235, 0.1);
  border-radius: 6px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(252, 231, 235, 0.2);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(252, 231, 235, 0.25);
  border-radius: 50%;
  margin-bottom: 24px;
  color: #fad0d9;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #fce7eb;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  font-weight: 300;
  color: #f5a8ba;
  line-height: 1.8;
}

/* ─── APPROACH ─── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.approach-item {
  position: relative;
  padding-left: 72px;
}

.approach-num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(161, 32, 59, 0.12);
  line-height: 1;
}

.approach-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: #3b0a16;
  margin-bottom: 12px;
  line-height: 1.3;
}

.approach-item p {
  font-size: 15px;
  font-weight: 300;
  color: #841d36;
  line-height: 1.8;
}

/* Thin separator lines between approach items */
.approach-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(161, 32, 59, 0.12), transparent);
  pointer-events: none;
}

.approach-grid::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(161, 32, 59, 0.12), transparent);
  pointer-events: none;
}

/* ─── VISIT ─── */
.visit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-info .label {
  padding-left: 0;
}

.visit-info .label::before {
  display: none;
}

.visit-info .section-title {
  text-align: left;
}

.visit-details {
  margin: 32px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(161, 32, 59, 0.12);
  border-bottom: 1px solid rgba(161, 32, 59, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.visit-detail dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a1203b;
  margin-bottom: 6px;
}

.visit-detail dd {
  font-size: 14px;
  font-weight: 300;
  color: #841d36;
  line-height: 1.7;
}

.visit-detail a {
  color: #841d36;
  text-decoration: none;
  border-bottom: 1px solid rgba(161, 32, 59, 0.2);
  transition: border-color 0.2s;
}

.visit-detail a:hover {
  border-color: #a1203b;
}

.visit-map {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.visit-map-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 6px;
}

.visit-map-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #3b0a16;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.visit-map-overlay:hover {
  background: #fce7eb;
  color: #3b0a16;
}

/* ─── CONTACT FORM ─── */
.contact-form {
  margin-top: 8px;
}

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

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #841d36;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(161, 32, 59, 0.2);
  border-radius: 4px;
  background: #fef8f7;
  color: #3b0a16;
  font-size: 15px;
  font-weight: 300;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #a1203b;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(161, 32, 59, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(132, 29, 54, 0.4);
}

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

.form-note {
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: #a1203b;
  margin-top: 16px;
}

.form-note a {
  color: #6e1a30;
  text-decoration: underline;
  text-decoration-color: rgba(161, 32, 59, 0.3);
  text-underline-offset: 3px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  background: #fdf2f4;
  border: 1px solid rgba(161, 32, 59, 0.15);
  border-radius: 6px;
  margin-top: 24px;
  text-align: center;
}

.form-success svg {
  color: #a1203b;
}

.form-success p {
  font-size: 15px;
  font-weight: 400;
  color: #6e1a30;
}

/* ─── FOOTER ─── */
.footer {
  background: #3b0a16;
  padding: 64px 0 0;
  color: #f5a8ba;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(252, 231, 235, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fce7eb;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: #f5a8ba;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fce7eb;
}

.footer-contact p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: #f5a8ba;
}

.footer-contact a {
  color: #f5a8ba;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 168, 186, 0.2);
  transition: border-color 0.2s;
}

.footer-contact a:hover {
  border-color: #f5a8ba;
}

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

.footer-bottom p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245, 168, 186, 0.5);
}

.footer-disclaimer {
  max-width: 480px;
  text-align: right;
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default visible state for reduced-motion or no-JS */
.reveal {
  opacity: 1;
  transform: none;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(254, 248, 247, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 32px rgba(59, 10, 22, 0.1);
    z-index: 99;
  }

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

  .nav-menu a:not(.btn) {
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(59, 10, 22, 0.3);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

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

  .about-image-wrap {
    max-width: 400px;
  }

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

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

  .approach-grid::before,
  .approach-grid::after {
    display: none;
  }

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

  .visit-info .section-title {
    text-align: center;
  }

  .visit-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

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

  .footer-disclaimer {
    text-align: center;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .container {
    padding: 0 20px;
  }

  .hero-inner {
    padding: 100px 20px 60px;
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}
