/* =====================================================
   HUELLITAS VET — styles.css
   Mobile-first · Breakpoints: 480 / 768 / 1024px
   ===================================================== */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --bg: #f0fdf4;
  --white: #ffffff;
  --primary: #16a34a;
  --primary-dark: #15803d;
  --secondary: #f97316;
  --accent: #fbbf24;
  --text: #1a2e1a;
  --muted: #6b7280;
  --surface: #dcfce7;
  --border: #bbf7d0;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(22, 163, 74, 0.10);
  --shadow-md: 0 8px 40px rgba(22, 163, 74, 0.15);
  --transition: 0.3s ease;
  --font-title: 'Nunito', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

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

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.45);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.8);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
}
.btn--lg { padding: 14px 30px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- SECTION SHARED ---------- */
.section { padding: 72px 0; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__tag {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--text);
  margin-bottom: 12px;
}
.section__sub {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topbar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.82rem;
  font-family: var(--font-title);
  font-weight: 600;
  padding: 8px 20px;
  text-align: center;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.topbar__inner a { color: var(--accent); }
.topbar__inner i { color: var(--accent); margin-right: 4px; }
.topbar__sep { opacity: 0.4; display: none; }
@media (min-width: 768px) { .topbar__sep { display: inline; } }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(22,163,74,0.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(22,163,74,0.15); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text);
}
.navbar__logo-icon {
  color: var(--primary);
  font-size: 1.6rem;
  animation: wiggle 3s infinite;
}
@keyframes wiggle {
  0%,90%,100% { transform: rotate(0deg); }
  93% { transform: rotate(-15deg); }
  96% { transform: rotate(15deg); }
}
.navbar__logo strong { color: var(--primary); }

.navbar__nav {
  display: none;
  gap: 28px;
  align-items: center;
}
.navbar__nav a {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.navbar__nav a:hover::after { width: 100%; }
.navbar__nav a:hover { color: var(--primary); }

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__cta { display: none; }

/* Mobile nav open */
.navbar__nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  padding: 24px 20px;
  box-shadow: 0 12px 40px rgba(22,163,74,0.15);
  border-top: 1px solid var(--border);
  gap: 20px;
  align-items: flex-start;
}
.navbar__nav.open a { font-size: 1.1rem; }

@media (min-width: 768px) {
  .navbar__nav { display: flex; }
  .navbar__hamburger { display: none; }
  .navbar__cta { display: inline-flex; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 128, 61, 0.78) 0%,
    rgba(22, 163, 74, 0.55) 60%,
    rgba(249, 115, 22, 0.25) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 60px 20px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 10px; height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =====================================================
   SERVICIOS
   ===================================================== */
.servicios { background: var(--white); }
.servicios__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.servicio-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  cursor: default;
}
.servicio-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: var(--white);
}
.servicio-card__icon {
  width: 56px; height: 56px;
  background: var(--surface);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: var(--transition);
}
.servicio-card__icon--urgencia { background: #fef2f2; color: #dc2626; }
.servicio-card__icon--grooming { background: #fff7ed; color: var(--secondary); }
.servicio-card:hover .servicio-card__icon { transform: scale(1.1); }
.servicio-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.servicio-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

@media (min-width: 1024px) {
  .servicios__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   TURNOS
   ===================================================== */
.turnos {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
}
.turnos__layout {
  display: grid;
  gap: 48px;
}
.turnos__info .section__title { text-align: left; }
.turnos__info .section__tag { margin-bottom: 12px; }
.turnos__info > p { color: var(--muted); margin-bottom: 24px; }
.turnos__beneficios { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.turnos__beneficios li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
}
.turnos__beneficios i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.turnos__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Form */
.turno-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.turno-form__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}
.form-group input,
.form-group select {
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
  background: var(--white);
}
.form-group input.error,
.form-group select.error { border-color: #dc2626; }
.form-error {
  font-size: 0.8rem;
  color: #dc2626;
  display: none;
  font-family: var(--font-title);
  font-weight: 600;
}
.form-error.show { display: block; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 479px) { .form-row { grid-template-columns: 1fr; } }

@media (min-width: 1024px) {
  .turnos__layout { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* =====================================================
   MASCOTAS
   ===================================================== */
.mascotas { background: var(--white); }
.mascotas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .mascotas__grid { grid-template-columns: repeat(3, 1fr); }
}
.mascota-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.mascota-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.mascota-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.mascota-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mascota-card:hover .mascota-card__img-wrap img { transform: scale(1.07); }
.mascota-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,163,74,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.8rem;
  color: var(--white);
}
.mascota-card:hover .mascota-card__overlay { opacity: 1; }
.mascota-card__info {
  padding: 14px 16px 18px;
}
.mascota-card__info h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 4px;
}
.mascota-card__info p { font-size: 0.82rem; color: var(--muted); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.3);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  z-index: 1;
  transition: background var(--transition);
}
.modal__close:hover { background: rgba(0,0,0,0.55); }
.modal__img-wrap { height: 240px; overflow: hidden; }
.modal__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 24px 28px 32px; }
.modal__body h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.modal__meta { color: var(--primary); font-family: var(--font-title); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
.modal__text { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.7; }
.modal__cta { width: 100%; justify-content: center; }

/* =====================================================
   EQUIPO
   ===================================================== */
.equipo {
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
}
.equipo__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .equipo__grid { grid-template-columns: repeat(3, 1fr); }
}
.vet-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.vet-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vet-card__img-wrap { height: 260px; overflow: hidden; }
.vet-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.vet-card:hover .vet-card__img-wrap img { transform: scale(1.05); }
.vet-card__info { padding: 22px; }
.vet-card__info h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.vet-card__esp {
  display: inline-block;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.vet-card__info p { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.vet-card__social { display: flex; gap: 10px; }
.vet-card__social a {
  width: 34px; height: 34px;
  background: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition);
}
.vet-card__social a:hover { background: var(--primary); color: var(--white); }

/* =====================================================
   PRECIOS
   ===================================================== */
.precios { background: var(--white); }
.precios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 600px) { .precios__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .precios__grid { grid-template-columns: repeat(3, 1fr); } }

.precio-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.precio-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.precio-card--featured {
  background: var(--surface);
  border-color: var(--primary);
}
.precio-card__icon {
  width: 48px; height: 48px;
  background: var(--surface);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}
.precio-card--featured .precio-card__icon { background: var(--white); }
.precio-card__info { flex: 1; }
.precio-card__info h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.precio-card__info p { font-size: 0.8rem; color: var(--muted); }
.precio-card__price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
}
.precio-card--cta {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: var(--primary-dark);
}
.precio-card--cta:hover { transform: translateY(-4px); }
.precio-card__big-icon { font-size: 2.2rem; opacity: 0.9; }
.precio-card--cta p { color: rgba(255,255,255,0.9); font-family: var(--font-title); font-weight: 700; font-size: 0.95rem; }
.precio-card--cta .btn--primary { background: var(--white); color: var(--primary); box-shadow: none; }
.precio-card--cta .btn--primary:hover { background: var(--surface); }

.precios__disclaimer {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.precios__disclaimer i { color: var(--secondary); }

/* =====================================================
   BLOG
   ===================================================== */
.blog {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.blog__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .blog__grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card__img-link {
  display: block;
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-card__img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__img-link img { transform: scale(1.07); }
.blog-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 50px;
}
.blog-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; font-family: var(--font-title); }
.blog-card__body h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card__body h3 a { color: var(--text); transition: color var(--transition); }
.blog-card__body h3 a:hover { color: var(--primary); }
.blog-card__body p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card__link {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 10px; }

/* =====================================================
   TESTIMONIOS
   ===================================================== */
.testimonios { background: var(--white); }
.testimonios__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonios__grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonio-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: var(--transition);
}
.testimonio-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonio-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.testimonio-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color, var(--primary));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonio-card__header strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
}
.testimonio-card__header span { font-size: 0.8rem; color: var(--muted); }
.testimonio-card__stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  gap: 2px;
}
.testimonio-card > p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; font-style: italic; }

/* =====================================================
   CONTACTO
   ===================================================== */
.contacto {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
}
.contacto__layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contacto__layout { grid-template-columns: 1fr 1.3fr; align-items: start; }
}
.contacto__block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contacto__block > i {
  width: 42px; height: 42px;
  background: var(--surface);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contacto__block .fa-brands.fa-whatsapp { color: #25d366; }
.contacto__block strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 2px;
}
.contacto__block p { color: var(--muted); font-size: 0.9rem; }
.contacto__block a { color: var(--primary); font-weight: 600; }
.contacto__horarios {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
}
.contacto__horarios h4 {
  font-family: var(--font-title);
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}
.contacto__horarios table { width: 100%; border-collapse: collapse; }
.contacto__horarios td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.contacto__horarios td:first-child { color: var(--muted); font-weight: 500; }
.contacto__horarios td:last-child { font-family: var(--font-title); font-weight: 700; text-align: right; }
.urgencias-row td { color: var(--primary) !important; font-weight: 700 !important; border-bottom: none; }
.contacto__mapa iframe {
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #0f3d20;
  color: rgba(255,255,255,0.85);
}
.footer__inner {
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__logo i { color: var(--accent); font-size: 1.5rem; }
.footer__logo strong { color: var(--accent); }
.footer__brand p { font-size: 0.88rem; opacity: 0.75; line-height: 1.6; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition: var(--transition);
}
.footer__social a:hover { background: var(--primary); }
.footer__links h5,
.footer__contact h5 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  opacity: 0.75;
  transition: var(--transition);
}
.footer__links a:hover { opacity: 1; color: var(--accent); }
.footer__contact p {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__contact i { color: var(--accent); width: 16px; }
.footer__contact a { color: inherit; }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 20px;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--white);
  border: 2px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px 16px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3000;
  max-width: 380px;
  width: calc(100% - 40px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast__icon { color: var(--primary); font-size: 1.5rem; flex-shrink: 0; }
.toast strong { display: block; font-family: var(--font-title); font-weight: 800; margin-bottom: 2px; }
.toast p { font-size: 0.85rem; color: var(--muted); }
.toast__close {
  position: absolute;
  top: 10px; right: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 4px;
}
.toast__close:hover { color: var(--text); }

/* =====================================================
   WHATSAPP FAB
   ===================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fab-pulse 2.5s infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* =====================================================
   RESPONSIVE PATCHES
   ===================================================== */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; max-width: 280px; }
  .turno-form { padding: 24px 18px; }
  .modal__body { padding: 18px 20px 24px; }
}

@media (min-width: 768px) {
  .section { padding: 96px 0; }
}

@media (min-width: 1024px) {
  .hero__content { text-align: left; margin: 0 0 0 80px; }
  .hero__actions { justify-content: flex-start; }
  .hero__badge { margin-bottom: 28px; }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* =====================================================
   SCROLLBAR CUSTOM
   ===================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================================================
   SELECTION
   ===================================================== */
::selection { background: var(--surface); color: var(--primary-dark); }
