/* ==========================================================================
   VetCare — Style principal (Palette "Bosque Vivo")
   ========================================================================== */

:root {
  /* Couleurs principales */
  --color-primary: #266210;
  --color-primary-dark: #063B00;
  --color-primary-light: #3C8A1C;
  --color-secondary: #90B800;
  --color-secondary-light: #A8CC2E;
  --color-accent: #E1E100;
  --color-accent-dark: #C4C400;

  /* Fond & texte (mode clair) */
  --bg: #F7FAF2;
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #EFF4E6;
  --text: #14210D;
  --text-muted: #4E5C45;
  --text-inverse: #FFFFFF;
  --border: #DDE7CE;

  /* Dégradés */
  --gradient-primary: linear-gradient(135deg, #063B00 0%, #266210 55%, #90B800 100%);
  --gradient-accent: linear-gradient(135deg, #90B800 0%, #E1E100 100%);
  --gradient-hero: linear-gradient(135deg, rgba(6,59,0,0.92) 0%, rgba(38,98,16,0.88) 100%);

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(20, 33, 13, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 33, 13, 0.12);
  --shadow-lg: 0 20px 48px rgba(6, 59, 0, 0.18);
  --shadow-glow: 0 8px 32px rgba(144, 184, 0, 0.32);

  /* Radius & spacing */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 200ms ease;
  --transition-slow: 250ms ease;

  --header-height: 96px;
}

.dark {
  --bg: #0A1406;
  --bg-alt: #0F1D09;
  --bg-card: #13230C;
  --bg-muted: #182B0F;
  --text: #EAF3E0;
  --text-muted: #A9BE9A;
  --text-inverse: #14210D;
  --border: #24391A;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.45);
}

/* ---- Reset ---- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-muted); }
::-webkit-scrollbar-thumb { background: var(--color-secondary-light); border-radius: var(--radius-full); }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-muted { background: var(--bg-muted); }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

/* ---- Section heading ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-heading { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); }
.section-heading p { color: var(--text-muted); font-size: 17px; }
.section-heading.align-left { margin-left: 0; text-align: left; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4); }
.btn-accent { background: var(--gradient-accent); color: #fff; box-shadow: 0 8px 24px rgba(251,113,133,0.35); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--bg-muted); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
  background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
main { display: block; margin-top: var(--header-height); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.dark .header { background: color-mix(in srgb, #386B21 92%, transparent); border-bottom-color: #4C842E; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; flex-shrink: 0; white-space: nowrap; position: relative; z-index: 2; width: 84px; height: 84px; }
.logo-badge {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-glow);
}
.logo-badge-img {
  width: 260px; height: 260px;
  max-width: none;
  background: none; box-shadow: none; padding: 0; object-fit: contain;
  position: absolute;
  top: -80px;
  left: -80px;
  transform: none;
  pointer-events: none;
}
.logo-badge-img-footer {
  width: 320px; height: 320px;
  position: static;
  transform: none;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
  display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { background: var(--bg-muted); color: var(--color-primary); }
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px; min-width: 260px;
  opacity: 0; visibility: hidden; transition: opacity var(--transition), transform var(--transition);
  max-height: 380px; overflow-y: auto; z-index: 50;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text); transition: background var(--transition-fast); }
.dropdown a:hover { background: var(--bg-muted); color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg-muted); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.theme-toggle:hover { transform: rotate(15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
.dark .theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-moon { display: block; }
.burger { display: none; width: 42px; height: 42px; border: none; background: var(--bg-muted); border-radius: var(--radius-sm); align-items: center; justify-content: center; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: var(--header-height) 0 0 0; background: var(--bg);
  z-index: 90; padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform var(--transition-slow);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 14px 4px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--border); }
.mobile-submenu { padding-left: 12px; }
.mobile-submenu a { font-size: 15px; font-weight: 500; color: var(--text-muted); border-bottom: none; padding: 8px 4px; }

/* ---- WhatsApp flotante ---- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsapp-pulse 2.4s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  background: #1EBE5A;
}
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ---- Hero ---- */
/* ---- Hero profesional (imagen inmersiva a pantalla completa) ---- */
.hero-pro {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 96px 0 80px;
  color: #fff;
  background: var(--color-primary-dark);
}
.hero-pro-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-pro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15);
  padding: 8px 18px; border-radius: var(--radius-full); font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 20px; line-height: 1.1; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.9); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 26px; font-weight: 800; }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,0.75); }
.hero-pro::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(6,59,0,0.94) 0%, rgba(6,59,0,0.82) 32%, rgba(38,98,16,0.55) 60%, rgba(38,98,16,0.28) 100%);
}
.hero-pro::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: url("../images/hero-stars.svg");
  background-repeat: repeat;
  background-size: 1400px 1400px;
  background-position: 100px 0;
  mix-blend-mode: screen;
  opacity: 0.15;
  pointer-events: none;
}
.hero-pro .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-pro-content .hero-eyebrow { margin-bottom: 20px; }
.hero-pro-card {
  background: var(--bg-alt);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: -80px;
  margin-top: 60px;
}
.hero-pro-card-row { display: flex; align-items: center; gap: 14px; }
.hero-pro-card-row strong { display: block; font-size: 16px; }
.hero-pro-card-row span { display: block; font-size: 13px; color: var(--text-muted); }
.hero-pro-card-divider { height: 1px; background: var(--border); }
.hero-pro-card .icon-wrap {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--gradient-accent); display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.hero-pro-card .hero-rating-stars { color: var(--color-accent); font-size: 15px; letter-spacing: 2px; width: 46px; text-align: center; flex-shrink: 0; }

/* Page hero (pages internes) */
.page-hero { position: relative; padding: 64px 0 80px; background: var(--gradient-hero); color: #fff; overflow: hidden; background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(225,225,0,0.28), transparent 45%); }
.page-hero.has-bg-image { background-image: linear-gradient(120deg, rgba(6,59,0,0.88) 0%, rgba(38,98,16,0.82) 55%, rgba(144,184,0,0.55) 100%), var(--page-hero-image); }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); max-width: 720px; }
.page-hero p.lead { color: rgba(255,255,255,0.9); max-width: 620px; font-size: 17px; margin-top: 16px; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-secondary-light); }
.card-body { padding: 28px; }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 20px; flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.card-link { font-weight: 700; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.card-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 14px; left: 14px; background: var(--bg-card); color: var(--color-primary);
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
}

/* ---- Why choose us ---- */
.why-item { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); transition: box-shadow var(--transition); }
.why-item:hover { box-shadow: var(--shadow-md); }
.why-item .card-icon { margin-bottom: 0; }
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; margin-bottom: 0; }

/* ---- Team ---- */
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-role { color: var(--color-primary); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.team-cert { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); margin: 3px 0; }
.team-cert svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--color-primary); }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 10px 22px; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--bg-card);
  font-weight: 600; font-size: 14px; transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--color-primary); }
.filter-btn.active { background: var(--gradient-primary); color: #fff; border-color: transparent; }

/* ---- Steps / process ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.step-number {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; }
.step p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

/* ---- Testimonials ---- */
.testimonial-card { padding: 28px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--color-accent); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-card p.quote { font-size: 15px; color: var(--text); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar-fallback {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14.5px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* ---- Stats ---- */
.stats-section { background: var(--gradient-primary); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.stats-grid span { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ---- Emergency banner ---- */
.emergency-banner {
  background: var(--gradient-accent); color: #fff; padding: 40px 0; border-radius: var(--radius-lg);
  margin: 0 auto; max-width: 1240px;
}
.emergency-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; padding: 0 40px; }
.emergency-banner .icon-wrap { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.emergency-content { display: flex; align-items: center; gap: 20px; }
.emergency-banner h3 { font-size: 22px; margin-bottom: 4px; }
.emergency-banner p { margin-bottom: 0; color: rgba(255,255,255,0.9); }

/* ---- FAQ Accordion ---- */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--bg-card); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; text-align: left; font-weight: 700; font-size: 15.5px; color: var(--text);
}
.accordion-trigger svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--color-primary); }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow) ease; }
.accordion-item.open .accordion-panel { max-height: 400px; }
.accordion-panel-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 14.5px; }

/* ---- CTA ---- */
.cta-section { background: var(--gradient-primary); color: #fff; border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(251,113,133,0.35), transparent 40%); }
.cta-section > * { position: relative; }
.cta-section h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: #0A1A06; color: #D9E6CC; padding-top: 72px; }
.dark .footer { background: #386B21; }
.footer .container { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer p { font-size: 14px; color: #A9C398; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: #A9C398; transition: color var(--transition-fast); }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #A9C398; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-secondary-light); margin-top: 2px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast), transform var(--transition-fast); }
.footer-social a:hover { background: var(--gradient-primary); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #7A9468; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text); font-size: 14.5px; font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }

/* Booking form steps */
.booking-progress { display: flex; justify-content: space-between; margin-bottom: 44px; position: relative; }
.booking-progress::before { content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0; }
.booking-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.booking-step-circle {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--text-muted);
  transition: all var(--transition);
}
.booking-step.active .booking-step-circle, .booking-step.done .booking-step-circle { background: var(--gradient-primary); border-color: transparent; color: #fff; }
.booking-step span { font-size: 12.5px; font-weight: 600; color: var(--text-muted); text-align: center; }
.booking-step.active span { color: var(--color-primary); }
.option-card {
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; cursor: pointer;
  transition: all var(--transition-fast); display: flex; align-items: center; gap: 14px;
}
.option-card:hover { border-color: var(--color-secondary-light); }
.option-card.selected { border-color: var(--color-primary); background: rgba(79,70,229,0.06); }
.option-card .card-icon { width: 44px; height: 44px; margin-bottom: 0; }
.time-slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-slot {
  padding: 12px; text-align: center; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-weight: 600; font-size: 14px; transition: all var(--transition-fast); background: var(--bg-card);
}
.time-slot:hover { border-color: var(--color-secondary-light); }
.time-slot.selected { background: var(--gradient-primary); color: #fff; border-color: transparent; }
.booking-actions { display: flex; justify-content: space-between; margin-top: 32px; }
.booking-summary { background: var(--bg-muted); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.booking-summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.booking-summary-row:last-child { border-bottom: none; }
.confirmation-box { text-align: center; padding: 40px 20px; }
.confirmation-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirmation-icon svg { width: 40px; height: 40px; }

/* ---- Detail page (service/specialty) ---- */
.benefits-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 15px; }
.benefits-list svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; margin-top: 1px; }
.related-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.2; }
.related-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Blog article ---- */
.article-content { max-width: 760px; margin: 0 auto; font-size: 17px; }
.article-content p { margin-bottom: 20px; color: var(--text); }
.article-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
.tag-badge { display: inline-block; padding: 6px 16px; border-radius: var(--radius-full); background: rgba(79,70,229,0.1); color: var(--color-primary); font-size: 12.5px; font-weight: 700; }

/* ---- Map ---- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---- Utility animations ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .hero-pro .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-pro-card { margin-left: 0; margin-top: 24px; max-width: 420px; }
  .page-hero { padding: 56px 0 64px; }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .form-row, .grid-2 { grid-template-columns: 1fr; }
  .emergency-banner .container { flex-direction: column; text-align: center; }
  .hero-pro { min-height: auto; padding: 40px 0 48px; }
  .hero-pro .container { grid-template-columns: 1fr; }
  .hero-pro-card { margin-top: 20px; margin-left: 0; max-width: 100%; }
  .hero-actions { margin-bottom: 28px; }
  .hero-stats { gap: 20px; }
  .page-hero { padding: 48px 0 56px; text-align: center; }
  .page-hero .breadcrumb { justify-content: center; }
  .page-hero h1 { max-width: 100%; }
  .page-hero p.lead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .dropdown { display: none; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer .container { grid-template-columns: 1fr; gap: 32px; }
  .footer .container > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer .container > div:first-child .logo { justify-content: center; margin-left: auto; margin-right: auto; }
  .time-slot-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { padding: 40px 24px; }
  .emergency-banner .container { padding: 0 24px; }
  .booking-step span { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .hero-pro-content .hero-stats { justify-content: space-between; gap: 12px; }
  .hero-pro-card { padding: 20px; }
  .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { gap: 16px; }
  .hero-stats div strong { font-size: 22px; }
  .page-hero h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .footer .container { text-align: center; }
  .footer-contact li { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

