/* ============================================
   Anderson Thomas DDS — Classic & Elegant
   Emerald Green + Cream Palette
   ============================================ */

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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #059669;
  --emerald-400: #10b981;
  --cream-100: #faf8f0;
  --cream-200: #f5f0e1;
  --cream-300: #e8dfc8;
  --cream-400: #d4c5a0;
  --gold-500: #b8943e;
  --gold-400: #d4af5a;
  --text-dark: #1a1f1c;
  --text-muted: #4a5248;
  --text-light: #6b7568;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(6, 79, 59, 0.06);
  --shadow-md: 0 4px 16px rgba(6, 79, 59, 0.08);
  --shadow-lg: 0 8px 32px rgba(6, 79, 59, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--cream-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ── Typography ── */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1.5px;
  background: var(--emerald-500);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--emerald-900);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--emerald-600);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--emerald-700);
  color: var(--white);
  border-color: var(--emerald-700);
}

.btn--primary:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--dark {
  background: var(--emerald-900);
  color: var(--white);
  border-color: var(--emerald-900);
}

.btn--dark:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--emerald-700);
  border-color: var(--emerald-700);
}

.btn--outline:hover {
  background: var(--emerald-700);
  color: var(--white);
}

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 79, 59, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.nav__brand-icon {
  color: var(--emerald-600);
}

.nav__brand-accent {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

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

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--emerald-600);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--emerald-700);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--emerald-700);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--emerald-800);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--emerald-800);
  padding: 8px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--emerald-900);
  padding: 12px 24px;
  transition: var(--transition);
}

.mobile-menu__link:hover {
  color: var(--emerald-600);
}

.mobile-menu__cta {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--emerald-700);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--emerald-900) 0%,
    var(--emerald-800) 25%,
    var(--emerald-700) 50%,
    #0a6e52 75%,
    var(--emerald-600) 100%
  );
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(10, 110, 82, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6, 79, 59, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(4, 47, 35, 0.4) 0%, transparent 70%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: 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='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cream-300);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero__badge svg {
  color: var(--gold-400);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title-em {
  font-style: italic;
  color: var(--cream-300);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 400;
}

.hero__trust-item svg {
  color: var(--cream-400);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--cream-100);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid rgba(6, 79, 59, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-50), var(--cream-200));
  border-radius: var(--radius-sm);
  color: var(--emerald-700);
  margin-bottom: 20px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: var(--cream-200);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-400));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.about__stats {
  position: absolute;
  bottom: -32px;
  left: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about__stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.about__stat-divider {
  width: 1px;
  height: 48px;
  background: var(--cream-300);
}

.about__content {
  padding: 16px 0;
}

.about__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 32px;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about__value-icon {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ── Why Us ── */
.why-us {
  padding: 100px 0;
  background: var(--emerald-900);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.why-us__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us__content .section-label {
  color: var(--cream-400);
}

.why-us__content .section-label::before {
  background: var(--cream-400);
}

.why-us__content .section-title {
  color: var(--white);
}

.why-us__content .section-title em {
  color: var(--cream-400);
}

.why-us__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 480px;
}

.why-us__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-us__feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-us__feature:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.why-us__feature-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 12px;
}

.why-us__feature-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-us__feature-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

/* ── Patients ── */
.patients {
  padding: 100px 0;
  background: var(--cream-100);
}

.patients__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(6, 79, 59, 0.06);
  transition: var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.info-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.info-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-500));
  border-radius: var(--radius-sm);
  color: var(--white);
  flex-shrink: 0;
}

.info-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.info-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-200);
  font-size: 0.9rem;
}

.info-card__list li:last-child {
  border-bottom: none;
}

.info-card__day {
  color: var(--text-dark);
  font-weight: 500;
}

.info-card__time {
  color: var(--emerald-700);
  font-weight: 600;
}

.info-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--cream-200);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--emerald-700);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact__detail strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact__detail a,
.contact__detail span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact__detail a:hover {
  color: var(--emerald-700);
}

.contact__form-wrap {
  position: relative;
}

.contact__form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.contact__form-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
  border-radius: 3px 3px 0 0;
}

.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 6px;
}

.contact__form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream-100);
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--emerald-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--emerald-50), var(--cream-200));
  border: 1px solid var(--emerald-200, #a7f3d0);
  border-radius: var(--radius-sm);
  color: var(--emerald-800);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ── Map ── */
.map-section {
  background: var(--emerald-900);
}

.map-section__inner {
  border-radius: 0;
  overflow: hidden;
  opacity: 0.95;
}

/* ── Footer ── */
.footer {
  background: var(--emerald-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer__logo span {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--gold-400);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__links strong,
.footer__contact strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-400);
  margin-bottom: 16px;
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.footer__bottom a:hover {
  color: var(--white);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__layout {
    gap: 48px;
  }

  .why-us__inner {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__content {
    padding: 100px 20px 60px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

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

  .hero__trust {
    flex-direction: column;
    gap: 12px;
  }

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

  .about__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image-main img {
    height: 360px;
  }

  .about__stats {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    justify-content: center;
  }

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

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

  .why-us__features {
    grid-template-columns: 1fr;
  }

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

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

  .contact__form-card {
    padding: 28px 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .hero__title {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .services,
  .about,
  .why-us,
  .patients,
  .contact {
    padding: 72px 0;
  }
}
