﻿/*
 Theme Name:   Oakhill Dental Studio - Astra Child
 Theme URI:    https://dentist.getlocalweb.com
 Description:  Professional dental practice WordPress theme built on Astra. Modern, SEO-optimized, mobile-responsive design for dentists and dental clinics. Includes front page, contact page with appointment form, and legal pages.
 Author:       GetLocalWeb
 Author URI:   https://getlocalweb.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  dentist-astra-child
 Tags:         dentist, dental, healthcare, local-business, one-page, custom-colors
*/

/* ===== DENTAL THEME VARIABLES ===== */
:root {
  --primary: #0077B6;
  --primary-dark: #005f8f;
  --primary-light: #00B4D8;
  --accent: #48CAE4;
  --accent-soft: rgba(0,119,182,0.08);
  --bg: #F8FBFF;
  --bg2: #EFF6FF;
  --bg3: #E0EFFF;
  --white: #ffffff;
  --text: #1B2A4A;
  --text2: #2d3e5c;
  --muted: #5a6d8a;
  --border: rgba(0,119,182,0.10);
  --card: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,59,91,0.06);
  --shadow-md: 0 4px 20px rgba(0,59,91,0.08);
  --shadow-lg: 0 8px 40px rgba(0,59,91,0.10);
  --shadow-xl: 0 20px 60px rgba(0,59,91,0.12);
  --gradient: linear-gradient(135deg, #0077B6, #00B4D8);
  --gradient-soft: linear-gradient(135deg, rgba(0,119,182,0.08), rgba(0,180,216,0.04));
  --radius: 16px;
  --radius-lg: 24px;
}

/* ===== BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.2; color: var(--text); }
a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(248,251,255,0.88); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 30px rgba(0,59,91,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--gradient); color: #fff !important; padding: 10px 24px;
  border-radius: 10px; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,119,182,0.25); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 160px 0 120px; overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 50%, #f0f7ff 100%);
}
.hero::before {
  content: ''; position: absolute; top: -10%; right: -5%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 65%);
  pointer-events: none; border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,119,182,0.08) 0%, transparent 65%);
  pointer-events: none; border-radius: 50%;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,119,182,0.08); border: 1px solid rgba(0,119,182,0.15);
  color: var(--primary); font-size: 0.8rem; font-weight: 700; padding: 8px 20px;
  border-radius: 50px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1.5px;
}
.hero-badge .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 em {
  font-style: italic; background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient); color: #fff; padding: 16px 36px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,119,182,0.20);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(0,119,182,0.30); color: #fff; }
.btn-secondary {
  background: var(--white); color: var(--text); padding: 16px 36px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-phone {
  background: #22c55e; color: #fff; padding: 16px 36px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(34,197,94,0.20);
}
.btn-phone:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34,197,94,0.30); color: #fff; }
.btn-white {
  background: #fff; color: var(--primary); padding: 16px 40px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(0,0,0,0.15); color: var(--primary); }
.btn-outline-white {
  background: transparent; color: #fff; padding: 16px 40px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; border: 2px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); color: #fff; }
.btn-submit {
  width: 100%; background: var(--gradient); color: #fff; padding: 16px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s; margin-top: 8px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,119,182,0.25); }

/* ===== HERO IMAGE ===== */
.hero-img-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-img-wrap img { width: 100%; height: 480px; object-fit: cover; }
.hero-img-badge {
  position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px); border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
}
.hero-img-badge .stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; }
.hero-img-badge .rating { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.hero-img-badge .count { font-size: 0.8rem; color: var(--muted); }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 60px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { text-align: center; }
.trust-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin: 0 auto 14px; transition: transform 0.3s;
}
.trust-item:hover .trust-icon { transform: scale(1.15) rotate(-5deg); }
.trust-num {
  font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.trust-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ===== SECTIONS ===== */
section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-block;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  background-size: 200% auto;
  background-image: linear-gradient(135deg, #0077B6, #00B4D8, #48CAE4, #0077B6);
  animation: textGradient 4s linear infinite;
}
@keyframes textGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 20px; letter-spacing: -0.5px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin: 0 auto; }

.services::before, .about::before, .testimonials::before, .insurance::before, .location::before, .cta-section::before {
  content: ''; display: block; height: 2px; margin-bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(0,119,182,0.12), var(--primary-light), rgba(0,119,182,0.12), transparent);
}

/* ===== SERVICES ===== */
.services { background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card); padding: 36px 28px; border-radius: var(--radius); position: relative;
  border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: var(--shadow-sm); overflow: hidden; z-index: 1;
}
.service-card::before {
  content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 18px; z-index: -1; opacity: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light));
  background-size: 300% 300%; animation: borderGlow 4s ease infinite; transition: opacity 0.4s;
}
@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--gradient); }
.service-card:hover::before { opacity: 1; }
.service-card:hover h4, .service-card:hover p { color: #fff; }
.service-card:hover .service-icon { background: rgba(255,255,255,0.15); }
.service-card:hover p { color: rgba(255,255,255,0.85); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 20px; transition: transform 0.3s, background 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-card h4 { font-size: 1.1rem; margin-bottom: 10px; transition: color 0.3s; }
.service-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; transition: color 0.3s; }

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 500px; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--gradient); color: #fff; border-radius: 14px; padding: 16px 24px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-img-badge .num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; display: block; }
.about-img-badge .lbl { font-size: 0.8rem; font-weight: 500; opacity: 0.9; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; line-height: 1.85; }
.about-text p strong { color: var(--text); }
.about-credentials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.credential {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gradient-soft);
  border: 1px solid var(--border); border-radius: 50px; padding: 8px 18px;
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
}

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--card); padding: 32px 24px; border-radius: var(--radius); text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--card); padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: -5px; right: 20px;
  font-family: 'Playfair Display', serif; font-size: 6rem;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: 0.12; line-height: 1;
}
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card > p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.9rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.testimonial-desc { font-size: 0.8rem; color: var(--muted); }

/* ===== INSURANCE ===== */
.insurance { background: var(--bg2); }
.insurance-box {
  max-width: 900px; margin: 0 auto; background: var(--card);
  border-radius: var(--radius-lg); padding: 56px 48px; text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.insurance-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 32px 0; }
.insurance-logo {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 28px; font-weight: 700; font-size: 0.9rem; color: var(--text2);
  transition: transform 0.3s, border-color 0.3s;
}
.insurance-logo:hover { transform: translateY(-3px); border-color: var(--primary); }
.insurance-note { color: var(--muted); font-size: 0.95rem; margin-top: 16px; }

/* ===== LOCATION ===== */
.location { background: var(--bg); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.location-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); padding: 36px; margin-bottom: 24px;
}
.location-card h3 { font-size: 1.15rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 700; }
.location-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--muted);
}
.location-item:last-child { border-bottom: none; }
.location-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.location-item strong { color: var(--text); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; font-size: 0.93rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.hours-table td:first-child { font-weight: 600; color: var(--text); }
.hours-table tr:last-child td { border-bottom: none; }
.location-map {
  width: 100%; height: 100%; min-height: 400px; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--bg2);
}
.location-map iframe { width: 100%; height: 100%; min-height: 400px; border: none; }

/* ===== CTA ===== */
.cta-section {
  background: var(--gradient); padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px; line-height: 1.8; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--text); padding: 64px 0 32px; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.footer-brand .footer-logo-icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-item .icon { font-size: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== MOUSE GLOW ===== */
.mouse-glow {
  position: fixed; width: 300px; height: 300px; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  background: radial-gradient(circle, rgba(0,119,182,0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%); transition: opacity 0.3s; opacity: 0; mix-blend-mode: normal;
}
.mouse-glow.active { opacity: 1; }

/* ===== PAGE HEADER (contact, legal) ===== */
.page-header { padding: 140px 0 60px; background: var(--bg2); text-align: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-header p { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===== CONTACT HERO ===== */
.contact-hero {
  position: relative; padding: 160px 0 120px; overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 50%, #f0f7ff 100%);
}
.contact-hero::before {
  content: ''; position: absolute; top: -10%; right: -5%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 65%);
  pointer-events: none; border-radius: 50%;
}
.contact-hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,119,182,0.08) 0%, transparent 65%);
  pointer-events: none; border-radius: 50%;
}
.contact-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.contact-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); margin-bottom: 20px; letter-spacing: -1px; }
.contact-hero h1 em {
  font-style: italic; background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== CONTACT FORM ===== */
.contact-fp { padding: 100px 0; background: var(--bg); }
.contact-section { padding: 80px 0 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 48px 40px; }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color 0.3s; color: var(--text); line-height: 1.4;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6d8a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { padding: 16px; border-radius: 10px; margin-top: 16px; display: none; font-weight: 600; text-align: center; }
.form-status.success { display: block; background: #d1fae5; color: #065f46; }
.form-status.error { display: block; background: #fee2e2; color: #991b1b; }

/* ===== CONTACT SIDEBAR ===== */
.contact-sidebar { display: flex; flex-direction: column; gap: 24px; }
.info-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 32px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 700; }
.info-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--muted); }
.info-item:last-child { border-bottom: none; }
.info-item .icon { font-size: 1.1rem; flex-shrink: 0; }
.info-item strong { color: var(--text); }
.emergency-card {
  background: var(--gradient); color: #fff; border-radius: var(--radius); padding: 32px; text-align: center;
}
.emergency-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.emergency-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 20px; }
.emergency-btn {
  background: #fff; color: var(--primary); padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ===== MAP ===== */
.map-section { padding: 0 0 100px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 400px; border: none; }

/* ===== LEGAL PAGES ===== */
.legal-section { padding: 80px 0 100px; }
.legal-content {
  max-width: 800px; margin: 0 auto; background: var(--card);
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 56px 48px;
}
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 16px; color: var(--text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin: 28px 0 12px; font-family: 'Inter', sans-serif; font-weight: 700; color: var(--text); }
.legal-content p { color: var(--muted); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.85; }
.legal-content ul, .legal-content ol { color: var(--muted); margin: 0 0 16px 24px; font-size: 0.95rem; line-height: 1.85; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--primary); }
.legal-content strong { color: var(--text); }
.legal-updated { color: var(--muted); font-size: 0.88rem; font-style: italic; margin-bottom: 32px; display: block; }

/* ===== SIMPLE FOOTER (for subpages) ===== */
.footer-simple { background: var(--text); padding: 40px 0; text-align: center; color: rgba(255,255,255,0.6); }
.footer-simple p { font-size: 0.88rem; }
.footer-simple a { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 76px; left: 0; width: 100%;
    background: rgba(248,251,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 32px 24px; gap: 20px;
    transform: translateY(-120%); transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-wrap img { height: 300px; }
  .hero h1 { font-size: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 300px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .insurance-box { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-hero { padding: 120px 0 70px; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 24px; }
  .legal-content { padding: 36px 24px; }
  section { padding: 70px 0; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
