/* ==========================================================================
   Clinique Dentaire Hubert Masson — Main Stylesheet
   ========================================================================== */

/* ---------- CSS VARIABLES / DESIGN TOKENS ---------- */
:root {
  --white: #ffffff;
  --off-white: #f7fafd;
  --cream: #fbfdff;
  --ice: #eaf3fa;
  --blue-50: #e6f1f9;
  --blue-100: #c8defb;
  --blue-200: #9ec6f5;
  --blue-300: #6fa8e6;
  --blue-400: #4a8bd1;
  --blue-500: #2f6db4;
  --blue-600: #1f5490;
  --blue-700: #143c69;
  --ink: #0e1f35;
  --ink-soft: #3d526b;
  --ink-mute: #6b7d92;
  --border: #e3ecf4;
  --shadow-sm: 0 1px 2px rgba(15, 40, 72, 0.04), 0 1px 3px rgba(15, 40, 72, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 40, 72, 0.06), 0 2px 4px rgba(15, 40, 72, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 40, 72, 0.12), 0 8px 16px -4px rgba(15, 40, 72, 0.06);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--blue-700);
  color: var(--blue-100);
  font-size: 13px;
  padding: 10px 0;
  font-weight: 400;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); font-weight: 500; }
.topbar a:hover { color: var(--blue-100); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- NAVIGATION ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-600));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(47, 109, 180, 0.25);
}
.logo-mark svg { width: 22px; height: 22px; color: white; }
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-500);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--blue-600); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--blue-600);
  color: white;
  box-shadow: 0 4px 14px rgba(31, 84, 144, 0.28);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 84, 144, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
}
.btn-outline:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}
.btn-light {
  background: white;
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; color: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--ice) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 198, 245, 0.35) 0%, rgba(158, 198, 245, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 222, 251, 0.5) 0%, rgba(200, 222, 251, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  font-size: 13px;
  color: var(--blue-600);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
h1 em {
  font-style: italic;
  color: var(--blue-600);
  font-weight: 300;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--blue-700);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-400));
  box-shadow: var(--shadow-lg);
}
.hero-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-card {
  position: absolute;
  background: white;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-card-1 {
  top: 28px;
  left: -28px;
}
.hero-card-2 {
  bottom: 36px;
  right: -28px;
}
.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.hero-card-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.hero-card-sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ---------- SECTIONS GENERAL ---------- */
section { padding: clamp(70px, 9vw, 110px) 0; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 16px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
h2 em { font-style: italic; color: var(--blue-600); font-weight: 300; }
.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- RAMQ / INSURANCE ---------- */
.insurance {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}
.insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff, var(--blue-50));
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--blue-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 20px;
}
.insurance-badge svg { width: 16px; height: 16px; color: var(--blue-500); }
.insurance h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.insurance p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.insurance-list {
  list-style: none;
  margin-top: 20px;
}
.insurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; }

.insurance-card {
  background: linear-gradient(155deg, var(--blue-600), var(--blue-700));
  color: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.insurance-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
}
.insurance-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.insurance-card p {
  color: var(--blue-100);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.65;
}
.insurance-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.insurance-logo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: white;
}

/* ---------- SERVICES ---------- */
.services {
  background: var(--off-white);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--blue-50));
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  position: relative;
  z-index: 1;
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-200));
  box-shadow: var(--shadow-lg);
}
.about-visual svg { width: 100%; height: 100%; }
.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: white;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge strong {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--blue-700);
  display: block;
  line-height: 1;
}
.about-badge span {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.about h2 { text-align: left; }
.about p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feat {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.about-feat strong {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.about-feat span {
  font-size: 13.5px;
  color: var(--ink-mute);
}

/* ---------- EMERGENCY BANNER ---------- */
.emergency-banner {
  background: linear-gradient(105deg, var(--blue-700) 0%, var(--blue-500) 100%);
  color: white;
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.emergency-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  border-radius: 50%;
}
.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.emergency-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.emergency-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.emergency-icon svg { width: 26px; height: 26px; color: white; }
.emergency-text h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.emergency-text p {
  color: var(--blue-100);
  font-size: 14.5px;
}
.emergency-phone {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- TEAM ---------- */
.team { background: var(--cream); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-200));
  position: relative;
  overflow: hidden;
}
.team-photo svg {
  width: 100%;
  height: 100%;
}
.team-info { padding: 24px 26px; }
.team-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--blue-600);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.5;
  color: var(--blue-200);
  position: absolute;
  top: 28px;
  right: 28px;
  font-weight: 500;
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.stars svg { width: 16px; height: 16px; color: #fbbf24; fill: currentColor; }
.testimonial-text {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-600));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 600;
  font-size: 15px;
}
.author-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.author-loc {
  font-size: 12.5px;
  color: var(--ink-mute);
}

/* ---------- FAQ ---------- */
.faq { background: var(--off-white); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}
.faq-item[open] {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--blue-600);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}
.faq-answer {
  padding: 0 26px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info {
  background: var(--blue-700);
  color: white;
  padding: 44px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(158, 198, 245, 0.2), transparent 70%);
  border-radius: 50%;
}
.contact-info h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.contact-info > p {
  color: var(--blue-100);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; color: white; }
.contact-item-label {
  font-size: 12px;
  color: var(--blue-200);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: white;
  line-height: 1.5;
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--off-white);
  transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: white;
  box-shadow: 0 0 0 3px rgba(106, 168, 230, 0.15);
}
textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--blue-100);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
footer h5 {
  color: white;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 18px;
}
footer a {
  color: var(--blue-100);
  transition: color 0.2s;
}
footer a:hover { color: white; }
.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0;
  color: var(--blue-100);
}
.footer-about .logo { color: white; }
.footer-about .logo small { color: var(--blue-200); }
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-grid, .insurance-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .services-grid, .team-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-card-1 { left: 12px; top: 12px; }
  .hero-card-2 { right: 12px; bottom: 12px; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-info { padding: 28px; }
  .emergency-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-info { gap: 12px; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 28px; }
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FORM CONSENT & STATUS ---------- */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 12px 14px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.form-consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent label {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0;
  cursor: pointer;
}
.form-consent label a {
  color: var(--blue-600);
  text-decoration: underline;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin: 12px 0;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.form-status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.form-status.loading {
  display: block;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}

/* Active language indicator */
.topbar a.lang-active {
  font-weight: 700;
  text-decoration: underline;
}