/* ============================================
   DR. PETER AMIN — MEDICAL WEBSITE STYLES
   Color Palette: Emerald + Cream
   Typography: Playfair Display + Inter
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  --cream-50:  #fefdf8;
  --cream-100: #fefce8;
  --cream-200: #fef9c3;
  --cream-300: #fef08a;
  --cream-400: #fde68a;
  --cream-500: #f59e0b;

  --neutral-50:  #fafaf9;
  --neutral-100: #f5f5f4;
  --neutral-200: #e7e5e4;
  --neutral-300: #d6d3d1;
  --neutral-400: #a8a29e;
  --neutral-500: #78716c;
  --neutral-600: #57534e;
  --neutral-700: #44403c;
  --neutral-800: #292524;
  --neutral-900: #1c1917;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

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

.text-cream {
  color: var(--cream-400);
}

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--neutral-900);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--neutral-600);
  max-width: 640px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-700);
  color: #fff;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

.btn-primary:hover {
  background: var(--emerald-800);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--emerald-700);
  border: 1.5px solid var(--emerald-300);
}

.btn-ghost:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-500);
}

.btn-cream {
  background: var(--cream-400);
  color: var(--neutral-900);
  box-shadow: 0 4px 14px rgba(253, 230, 138, 0.4);
}

.btn-cream:hover {
  background: var(--cream-300);
  transform: translateY(-1px);
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: box-shadow 0.3s ease;
}

.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-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--emerald-700);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-900);
}

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

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-600);
  transition: color 0.2s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-600);
  transition: width 0.2s ease;
}

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

.nav-menu a::after:hover {
  width: 100%;
}

.nav-cta {
  background: var(--emerald-700) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--emerald-800) !important;
  transform: translateY(-1px);
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* --- Hero --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  background: var(--cream-50);
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(4, 120, 87, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 90%, rgba(4, 120, 87, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--emerald-500);
  flex-shrink: 0;
}

.hero-eyebrow span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--neutral-900);
  margin-bottom: 24px;
}

.hero-headline .text-emerald {
  color: var(--emerald-700);
  font-style: italic;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--neutral-600);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Stat Cards */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-card--1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.stat-card--2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.stat-card--3 { grid-column: 1 / 2; grid-row: 2 / 3; }
.stat-card--4 { grid-column: 2 / 3; grid-row: 2 / 3; }

.stat-card-icon {
  width: 44px;
  height: 44px;
  background: var(--emerald-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  margin-bottom: 14px;
}

.stat-card-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 0.8125rem;
  color: var(--neutral-500);
  line-height: 1.4;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: #fff;
}

.services .container {
  text-align: center;
}

.services .section-subtitle {
  margin: 0 auto 60px;
}

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

.service-card {
  background: var(--cream-50);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--emerald-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--emerald-100);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.service-card:hover .service-card-number {
  color: var(--emerald-200);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--emerald-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--neutral-600);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 600/750;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 40%;
  background: var(--emerald-200);
  border-radius: 20px;
  z-index: -1;
}

.about-image-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--emerald-700);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.about-image-card-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.about-image-card-label {
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.about-content .section-title {
  margin-top: 8px;
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--neutral-600);
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.about-value-icon {
  width: 28px;
  height: 28px;
  background: var(--emerald-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--emerald-800);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner-title .text-cream {
  color: var(--cream-300);
  font-style: italic;
}

.cta-banner-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--emerald-200);
  max-width: 560px;
}

.cta-banner-actions {
  flex-shrink: 0;
}

/* --- Patient Info --- */
.patient-info {
  padding: 100px 0;
  background: #fff;
}

.patient-info .container {
  text-align: center;
}

.patient-info .section-subtitle {
  margin: 0 auto 60px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.info-card {
  background: var(--cream-50);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px 0;
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: var(--emerald-700);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.info-card-body {
  padding: 20px 28px 28px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 0.9375rem;
}

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

.info-row span:first-child {
  color: var(--neutral-500);
}

.info-row span:last-child {
  font-weight: 600;
  color: var(--neutral-800);
}

.info-address {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.6;
  margin-bottom: 8px;
}

.info-insurance {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--neutral-600);
  margin-bottom: 8px;
}

.info-note {
  font-size: 0.8125rem;
  color: var(--neutral-500);
  line-height: 1.6;
  margin-top: 8px;
}

.info-list {
  padding: 0;
  margin: 0;
}

.info-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: 0.9375rem;
  color: var(--neutral-700);
  border-bottom: 1px solid var(--neutral-100);
}

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

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--emerald-500);
  border-radius: 50%;
}

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

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

.contact-info .section-title {
  margin-top: 8px;
}

.contact-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--neutral-600);
  margin-bottom: 36px;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  transition: all 0.2s ease;
}

.contact-detail:hover {
  border-color: var(--emerald-200);
  box-shadow: var(--shadow-md);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--emerald-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-800);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-100);
}

.contact-form-header {
  margin-bottom: 28px;
}

.contact-form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.contact-form-header p {
  font-size: 0.9375rem;
  color: var(--neutral-500);
}

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

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neutral-600);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-200);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--neutral-800);
  background: var(--neutral-50);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-400);
}

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

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.active {
  display: block;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: var(--emerald-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--emerald-700);
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* --- Footer --- */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--emerald-600);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--neutral-100);
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--neutral-500);
  max-width: 260px;
}

.footer-nav h4,
.footer-contact h4,
.footer-hours h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-100);
  margin-bottom: 16px;
}

.footer-nav ul,
.footer-contact ul,
.footer-hours ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  font-size: 0.9375rem;
  color: var(--neutral-500);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--emerald-400);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  padding: 6px 0;
}

.footer-hours li span:first-child {
  color: var(--neutral-500);
}

.footer-hours li span:last-child {
  font-weight: 600;
  color: var(--neutral-300);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--neutral-600);
  text-align: center;
  line-height: 1.6;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Default state for revealable elements (visible when JS disabled) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-cards {
    max-width: 480px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-image {
    max-width: 480px;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--neutral-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-card-value {
    font-size: 1.25rem;
  }

  .services {
    padding: 60px 0;
  }

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

  .about {
    padding: 60px 0;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .patient-info {
    padding: 60px 0;
  }

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

  .contact {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

  .hero {
    padding: 80px 16px 40px;
  }

  .hero-headline {
    font-size: 1.875rem;
  }

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

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

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.875rem;
  }
}
