/* ============================================
   EAST LIVERPOOL MEDICAL GROUP
   Modern Vibrant Medical Website
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  
  --accent: var(--teal-500);
  --accent-dark: var(--teal-700);
  --accent-light: var(--teal-100);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
}

.text-accent {
  color: var(--teal-600);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
}

.btn-primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: #ffffff;
  color: var(--teal-700);
  border-color: #ffffff;
}

.btn-white:hover {
  background: var(--slate-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--teal-700);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

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

/* --- Section Common --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--slate-900);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s ease;
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.logo-icon {
  color: var(--teal-600);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-primary {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.logo-secondary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--teal-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-600) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--teal-700) !important;
  color: #ffffff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.88) 0%,
    rgba(15, 23, 42, 0.82) 40%,
    rgba(13, 148, 136, 0.70) 100%
  );
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
  z-index: 2;
}

/* Geometric shapes */
.geo-shape {
  position: absolute;
  z-index: 2;
  opacity: 0.12;
}

.geo-1 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background: var(--teal-400);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
}

.geo-2 {
  bottom: 15%;
  left: 3%;
  width: 140px;
  height: 140px;
  background: var(--teal-300);
  transform: rotate(45deg);
  animation: float 6s ease-in-out infinite reverse;
}

.geo-3 {
  top: 30%;
  left: 8%;
  width: 80px;
  height: 80px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

.geo-4 {
  bottom: 25%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: #ffffff;
  opacity: 0.08;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--teal-200);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .text-accent {
  color: var(--teal-300);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  align-self: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  font-weight: 500;
  transition: color 0.2s ease;
}

.hero-scroll a:hover {
  color: var(--teal-300);
}

.hero-scroll svg {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  position: relative;
  padding: 6rem 0;
  background: var(--slate-50);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--slate-900);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Geometric accents */
.geo-accent {
  position: absolute;
  z-index: 0;
  opacity: 0.06;
}

.geo-accent-1 {
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: var(--teal-500);
  border-radius: 50%;
}

.geo-accent-2 {
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: var(--teal-400);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.geo-accent-3 {
  top: 50%;
  right: -60px;
  width: 180px;
  height: 180px;
  background: var(--teal-500);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transform: translateY(-50%);
}

.geo-accent-4 {
  top: 10%;
  left: -40px;
  width: 120px;
  height: 120px;
  background: var(--teal-400);
  transform: rotate(45deg);
}

.geo-accent-5 {
  bottom: 10%;
  right: 5%;
  width: 90px;
  height: 90px;
  background: var(--teal-500);
  border-radius: 50%;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  position: relative;
  padding: 6rem 0;
  background: #ffffff;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--teal-500);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-floating-card {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.floating-card-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}

.floating-card-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-700);
  line-height: 1;
}

.floating-card-label {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.about-content-col .section-title {
  margin-top: 0.5rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--slate-700);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-body {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.feature-check {
  width: 22px;
  height: 22px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

/* ============================================
   INSURANCE BANNER
   ============================================ */
.insurance-banner {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 50%, var(--teal-500) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.insurance-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.insurance-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.insurance-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  position: relative;
  padding: 6rem 0;
  background: var(--slate-50);
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.author-location {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: var(--slate-900);
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1;
  min-width: 280px;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-title .text-accent {
  color: var(--teal-400);
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--teal-600);
  border-radius: 50%;
  opacity: 0.15;
}

.cta-geo {
  position: absolute;
  opacity: 0.08;
}

.geo-c1 {
  bottom: -60px;
  left: 10%;
  width: 150px;
  height: 150px;
  background: var(--teal-400);
  transform: rotate(45deg);
}

.geo-c2 {
  top: 10%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: var(--teal-300);
  border-radius: 50%;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 6rem 0;
  background: #ffffff;
}

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

.contact-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.contact-item a {
  color: var(--teal-600);
}

.contact-item a:hover {
  color: var(--teal-800);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--slate-900);
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-800);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

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

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

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

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

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

.form-success h4 {
  font-size: 1.3rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form.hidden {
  display: none;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  background: var(--slate-200);
}

.map-container {
  width: 100%;
  height: 400px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-950);
  padding: 4rem 0 0;
}

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo-icon {
  color: var(--teal-400);
}

.footer-logo-primary {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.footer-logo-secondary {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--teal-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-links li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal-500);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a:hover {
  color: var(--teal-400);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--teal-600);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal-700);
  transform: translateY(-3px);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-image-col {
    max-width: 500px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-links a {
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }
  
  .nav-cta {
    margin-left: 0 !important;
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-actions {
    justify-content: center;
  }
  
  .insurance-banner .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .about-floating-card {
    left: 0;
    right: 0;
  }
}

/* Mobile menu overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.show {
  display: block;
}
