/* =========================================================
   HERO / INICIO
========================================================= */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(252,152,3,0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.07), transparent 60%),
    linear-gradient(160deg, #111d40 0%, #0a1229 50%, #06102a 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,152,3,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,45,84,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero-flex {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
}
@media (max-width: 992px) {
  .hero-flex { grid-template-columns: 1fr; text-align: center; }
}

.hero-text-col { z-index: 2; }
.hero-text-col h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 60%, rgba(252,152,3,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text-col p {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: rgba(238,242,255,0.9);
  margin-bottom: 16px;
  text-align: justify;
  hyphens: auto;
}
.hero-text-col strong {
  color: #fff;
  font-weight: 700;
}

.btn-agendar {
  background: linear-gradient(135deg, #FCA503, #e08900);
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 24px rgba(252,152,3,0.35);
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
}

.hero-img-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-col::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,152,3,0.15) 0%, transparent 65%);
  animation: heroPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1; }
}

.hero .redir-mascota,
.hero-col.hero-img-col img {
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero-text-col h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); -webkit-text-fill-color: #fff; }
  .hero-img-col::before { width: 220px; height: 220px; }
  .btn-agendar { width: 100%; text-align: center; }
}

/* =========================================================
   SERVICIOS
========================================================= */
#servicios { background: #f5f7fb; padding: 72px 0; }
#servicios .sec-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--brand); font-weight: 800;
  display: flex; justify-content: center; align-items: center; gap: 12px; margin: 0 auto 40px; width: 100%;
}
#servicios .sec-title i { color: var(--gold); }

.servicios-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}

.servicio-card {
  background: #0f1733; color: #cfd6f5; border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  display: grid !important; grid-template-columns: 170px 1fr !important; align-items: start !important; gap: 24px !important;
  border-left: 4px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 18px;
}
.servicio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.28); }

.servicio-media { width: 100% !important; display: flex; align-items: center; justify-content: center; }
.servicio-media img {
  width: 100% !important; height: 160px !important; object-fit: contain !important;
  border-radius: 12px !important; background: #0f1733 !important; padding: 4px;
  transition: transform 0.3s ease;
}
.servicio-card:hover .servicio-media img { transform: scale(1.03) !important; }

.servicio-body { display: flex; flex-direction: column; gap: 10px; }
.servicio-body h3 { font-size: 1.4rem; color: #fff; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.servicio-body h3 i { color: var(--gold); }
.servicio-body p { margin: 0 0 14px; font-size: 0.98rem; line-height: 1.6; color: #a4afdb; }

/* Botones de Servicios */
.servicio-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.servicio-actions .btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.88rem;
  border: none; border-radius: 10px; padding: 10px 20px; cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; position: relative; overflow: hidden;
}
.servicio-actions .btn-info { background: linear-gradient(135deg, #1a3aff 0%, #0f2aaa 100%); color: #fff; box-shadow: 0 4px 14px rgba(26,58,255,0.35); }
.servicio-actions .btn-info:hover { box-shadow: 0 10px 25px rgba(26,58,255,0.4); }
.servicio-actions .btn-precios { background: linear-gradient(135deg, #FCA503 0%, #d98200 100%); color: #fff; box-shadow: 0 4px 14px rgba(252,165,3,0.4); }
.servicio-actions .btn-precios:hover { box-shadow: 0 10px 25px rgba(252,165,3,0.5); }

/* Planes/Precios (Servicios) */
[id^="planes-"], .planes {
  width: 100% !important; margin-top: 14px !important; display: grid !important;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) !important; gap: 12px !important; align-items: stretch !important;
}
[id^="planes-"][hidden], .planes[hidden] { display: none !important; }
[id^="planes-"] .plan, .planes .plan {
  width: 100% !important; min-width: 0 !important; background: #0b1330 !important; border: 1px solid #263160 !important;
  border-radius: 14px !important; padding: 14px !important;
}
.plan h4 { margin: 0 0 8px; color: #fff; font-size: 1.05rem; }
.plan .precio { display: block; font-size: 1.1rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.plan ul { list-style: none; margin: 0; padding: 0 0 0 16px; font-size: 0.9rem; color: #cfd6f5; }
.plan ul li { position: relative; margin-bottom: 6px; }
.plan ul li::before { content: "•"; color: var(--gold); position: absolute; left: -14px; }

@media (max-width: 920px) {
  .servicio-card { grid-template-columns: 220px 1fr !important; gap: 22px !important; }
  .servicio-media img { height: 220px !important; }
  [id^="planes-"], .planes { grid-template-columns: repeat(3, minmax(150px, 1fr)) !important; }
}
@media (max-width: 768px) {
  .servicio-card { grid-template-columns: 1fr !important; gap: 16px !important; }
  .servicio-media img { width: 100% !important; height: clamp(260px, 72vw, 360px) !important; object-fit: contain !important; }
  [id^="planes-"], .planes { grid-template-columns: repeat(3, minmax(130px, 1fr)) !important; gap: 10px !important; }
  [id^="planes-"] .plan, .planes .plan { padding: 12px !important; }
  [id^="planes-"] .plan h4, .planes .plan h4 { font-size: 0.95rem !important; }
  [id^="planes-"] .plan .precio, .planes .plan .precio { font-size: 0.9rem !important; }
  [id^="planes-"] .plan ul, .planes .plan ul { font-size: 0.82rem !important; padding-left: 14px !important; }
}
@media (max-width: 480px) {
  [id^="planes-"], .planes { grid-template-columns: 1fr !important; }
  .servicio-media img { height: clamp(260px, 85vw, 380px) !important; }
}

/* =========================================================
   QUIÉNES SOMOS
========================================================= */
#quienes { background: linear-gradient(180deg, #f5f7fb 0%, #eef1fb 100%); padding: 72px 0; }
#quienes .titulo-seccion {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--brand); text-align: center;
  margin-bottom: 8px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 12px;
}
#quienes .titulo-seccion::after {
  content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 4px; margin: 12px auto 0;
}
#quienes .titulo-seccion-wrap { text-align: center; margin-bottom: 36px; }
#quienes .contenido-quienes { max-width: 900px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; text-align: justify; }

.mision-vision { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 44px; }
.card-info {
  background: #fff; border-radius: 18px; padding: 30px 28px; flex: 1 1 360px; max-width: 440px; text-align: center;
  box-shadow: 0 4px 20px rgba(31,45,84,0.08); border-left: 4px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden;
}
.card-info::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--brand));
  opacity: 0; transition: opacity 0.3s ease;
}
.card-info:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(31,45,84,0.14); }
.card-info:hover::before { opacity: 1; }
.card-info .icono { color: var(--brand); font-size: 2.2rem; margin-bottom: 14px; display: block; }
.card-info h3 { color: var(--brand); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.card-info p { font-size: 0.98rem; color: #444; line-height: 1.7; }
@media (max-width: 768px) { .card-info { flex: 1 1 100%; } }

/* =========================================================
   BLOQUE STATS
========================================================= */
.stats-block {
  background: linear-gradient(135deg, #1F2D54 0%, #0d1a3a 100%); padding: 52px 0; position: relative; overflow: hidden;
}
.stats-block::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 80px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 420px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: transform 0.3s ease, background 0.3s ease;
}
.stat-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.07); }
.stat-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 4px; }
.stat-number {
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1;
  background: linear-gradient(135deg, #fff 40%, rgba(252,152,3,0.8) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.88rem; color: rgba(207,214,245,0.85); font-weight: 500; text-transform: uppercase; letter-spacing: 0.6px; }
