/* ---- VARIABLES DE MARCA ---- */
:root {
  /* Colores principales de la marca */
  --brand-yellow:       #FFF645;   /* Amarillo vibrante — fondo principal */
  --brand-yellow-deep:  #F5E800;   /* Amarillo más saturado — hover/énfasis */
  --brand-yellow-soft:  #FFFAB0;   /* Amarillo suave — fondos de cards */
  --brand-yellow-pale:  #FFFDE0;   /* Amarillo muy suave — secciones alternas */

  --brand-blue:         #303C9A;   /* Azul profundo — principal */
  --brand-blue-dark:    #1E2870;   /* Azul muy oscuro — footer, hover */
  --brand-blue-mid:     #3F4FAD;   /* Azul medio — acentos */
  --brand-blue-light:   #6070C8;   /* Azul claro — bordes, detalles */
  --brand-blue-pale:    #D6DAFF;   /* Azul pálido — fondos sutiles */

  /* Texto */
  --text-dark:          #1A2060;   /* Texto principal oscuro */
  --text-body:          #2A3380;   /* Texto cuerpo — azul medio */
  --text-muted:         #5560A0;   /* Texto secundario */

  /* Fondos de sección */
  --bg-main:            #FFF645;   /* Fondo amarillo marca */
  --bg-alt:             #FFFAB0;   /* Sección alterna suave */
  --bg-blue:            #303C9A;   /* Sección azul marca */
  --bg-blue-dark:       #1E2870;   /* Footer azul oscuro */

  /* Bordes */
  --border-yellow:      #F0DC00;   /* Borde amarillo */
  --border-blue:        #303C9A;   /* Borde azul */
  --border-soft:        rgba(48,60,154,0.15); /* Borde sutil */

  /* Sombras con tono azul */
  --shadow-sm:  0 2px 8px  rgba(48, 60, 154, 0.12);
  --shadow-md:  0 6px 24px rgba(48, 60, 154, 0.18);
  --shadow-lg:  0 16px 48px rgba(48, 60, 154, 0.22);
  --shadow-yellow: 0 6px 24px rgba(255, 246, 69, 0.5);

  /* Radios y transición */
  --radius:     18px;
  --radius-sm:  12px;
  --radius-xs:  8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Fredoka', cursive;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 1px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Luckiest Guy', cursive;
  line-height: 1.1;
  color: var(--brand-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

/* Transparente sobre hero amarillo */
.navbar:not(.scrolled) .nav-link { color: var(--brand-blue); }
.navbar:not(.scrolled) .logo-name { color: var(--brand-blue); }

/* Al hacer scroll → fondo azul de marca */
.navbar.scrolled {
  background: var(--brand-blue);
  box-shadow: 0 4px 20px rgba(48,60,154,0.3);
  padding: 10px 0;
}

.navbar.scrolled .nav-link  { color: var(--brand-yellow); }
.navbar.scrolled .logo-name { color: var(--brand-yellow); }
.navbar.scrolled .logo-sub  { color: rgba(255,246,69,0.6); }
.navbar.scrolled .hamburger span { background: var(--brand-yellow); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Pangolin', sans-serif;
}

.logo-icon-wrap {
  width: 150px;
  height: 70px;
  /* background: var(--brand-yellow); */

  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  flex-shrink: 0;
  transition: background var(--transition);
}

.navbar.scrolled .logo-icon-wrap {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

.logo-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  transition: color var(--transition);
}

.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

/* Hover sobre navbar transparente (fondo amarillo) */
.navbar:not(.scrolled) .nav-link:hover {
  background: var(--brand-blue);
  color: var(--brand-yellow) !important;
}

/* Hover sobre navbar scrolled (fondo azul) */
.navbar.scrolled .nav-link:hover {
  background: var(--brand-yellow);
  color: var(--brand-blue) !important;
}

.btn-cita {
  padding: 10px 20px;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  border-radius: 50px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2.5px solid var(--brand-blue);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}

.navbar.scrolled .btn-cita {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-color: var(--brand-yellow);
}

.btn-cita:hover {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

.navbar.scrolled .btn-cita:hover {
  background: var(--brand-blue-dark);
  color: var(--brand-yellow);
  border-color: var(--brand-blue-dark);
}

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(48,60,154,0.1); }
.navbar.scrolled .hamburger:hover { background: rgba(255,246,69,0.15); }

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: rgb(56, 0, 121);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  padding: 120px 24px 80px;
  background: var(--brand-yellow);
  position: relative;
  overflow: hidden;
}

/* Ondas decorativas de fondo */
.hero::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 2px solid var(--brand-blue-dark);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--brand-blue);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--brand-blue);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 0; left: -4px; right: -4px;
  height: 10px;
  background: var(--brand-blue);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.15;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2.5px solid #1ebe5b;
}

.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* Outline button — azul sobre amarillo */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: var(--brand-yellow);
  transform: translateY(-3px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-blue);
}

.stat span {
  font-size: 12px;
  color: var(--text-body);
  font-weight: 700;
}

.stat-divider {
  width: 2px;
  height: 36px;
  background: rgba(48,60,154,0.2);
  flex-shrink: 0;
}

/* Hero imagen */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blob detrás del perro — azul de marca */
.hero-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-mid));
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  animation: blob-morph 8s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
  33%       { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%       { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
}

/* Ilustración SVG del perro */
.hero-pet-svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 32px rgba(48,60,154,0.2));
  animation: float-pet 4s ease-in-out infinite;
}

@keyframes float-pet {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--brand-blue-dark);
}

.fb1 { top: 30px; left: -10px; animation: float-badge 3s ease-in-out infinite; }
.fb2 { bottom: 60px; right:  0px; animation: float-badge 3.5s ease-in-out infinite 0.5s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

/* Decorativos flotantes */
.deco-bone {
  position: absolute;
  top: 10px; right: 20px;
  animation: float-deco 5s ease-in-out infinite;
  opacity: 0.5;
}

.deco-paw {
  position: absolute;
  bottom: 20px; left: 10px;
  animation: float-deco 6s ease-in-out infinite 1s;
  opacity: 0.4;
}

@keyframes float-deco {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-15px) rotate(12deg); }
}

/* ====================================================
   SECCIÓN BASE
   ==================================================== */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 2px solid var(--brand-blue-dark);
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 600;
}

/* ====================================================
   ABOUT — QUIÉNES SOMOS
   Fondo: azul de marca, texto amarillo
   ==================================================== */
.about {
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}

/* Onda en la parte superior */
.about::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--brand-yellow);
  clip-path: ellipse(55% 100% at 50% 0%);
}

/* Patrón de puntos decorativo */
.about::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,246,69,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Títulos en azul se vuelven amarillo */
.about .section-title { color: var(--brand-yellow); }
.about .section-desc  { color: rgba(255,246,69,0.75); }

/* Badge en about: amarillo sobre azul */
.about .section-badge {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-color: var(--brand-yellow-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.about-card {
  background: rgba(255,246,69,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 2px solid rgba(255,246,69,0.2);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}

.about-card:hover {
  transform: translateY(-8px);
  background: rgba(255,246,69,0.14);
  border-color: var(--brand-yellow);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.about-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: var(--brand-yellow);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: breathe 4s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(255,246,69,0.3);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}

.about-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-yellow);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: rgba(255,246,69,0.75);
  line-height: 1.7;
}

.about-image{
  width:100%;
  max-width:1000px; /* mismo ancho del contenedor */
  margin:0 auto 50px auto; /* centra y separa abajo */
}

.about-image img{
  width:100%;
  height:300px;
  object-fit: contain;
  border-radius:20px;
  display:block;
}

/* ====================================================
   SERVICES — SERVICIOS
   Fondo: amarillo de marca
   ==================================================== */
.services {
  background: var(--brand-yellow);
  position: relative;
}

/* Onda superior desde azul */
.services::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--brand-blue);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.services .section-badge {
  background: var(--brand-blue);
  color: var(--brand-yellow);
  border-color: var(--brand-blue-dark);
}

.services .section-title { color: var(--brand-blue); }
.services .section-desc  { color: var(--text-body); }

/* ================= GRID ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* ================= CARD ================= */

.service-card {
  background: var(--brand-blue);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 2.5px solid var(--brand-blue-dark);
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition),
              background var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(48,60,154,0.35);
  border-color: var(--brand-yellow);
  background: var(--brand-blue-dark);
}

/* ================= ICONO ORIGINAL ================= */

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: var(--brand-yellow);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

/* ===== NUEVO: imagen dentro del icono ===== */

.service-icon img{
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* ================= OPCION 2: IMAGEN SUPERIOR ================= */
/* (NO reemplaza el icono, es adicional) */

.service-image{
  width:100%;
  height:140px;
  border-radius: var(--radius-sm);
  overflow:hidden;
  margin-bottom:20px;
  background: rgba(255,255,255,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
}

.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .4s ease;
}

/* efecto premium hover */
.service-card:hover .service-image img{
  transform: scale(1.06);
}

/* ================= TEXTOS ================= */

.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-yellow);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: rgba(255,246,69,0.72);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ================= TAG ================= */

.service-tag {
  display: inline-block;
  background: rgba(255,246,69,0.15);
  color: var(--brand-yellow);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,246,69,0.35);
  letter-spacing: 0.3px;
}

/* ================= CTA CARD ================= */

.service-card--cta {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card--cta:hover {
  background: var(--brand-yellow-deep);
  border-color: var(--brand-blue);
}

.service-cta-inner {
  text-align: center;
}

.cta-icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-md);
}

.service-card--cta h3 {
  color: var(--brand-blue);
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card--cta p {
  color: var(--text-body);
  margin-bottom: 20px;
}

.btn-whatsapp-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: white;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid #1ebe5b;
  transition: background var(--transition), transform var(--transition);
}

.btn-whatsapp-sm:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

/* ====================================================
   FAQ — PREGUNTAS FRECUENTES
   Fondo: azul, acordeón amarillo
   ==================================================== */
.faq {
  background: var(--brand-blue);
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--brand-yellow);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.faq::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,246,69,0.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  pointer-events: none;
}

.faq .section-badge {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-color: var(--brand-yellow-deep);
}
.faq .section-title { color: var(--brand-yellow); }
.faq .section-desc  { color: rgba(255,246,69,0.7); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: rgba(255,246,69,0.07);
  border: 2px solid rgba(255,246,69,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.faq-item.open {
  border-color: var(--brand-yellow);
  background: rgba(255,246,69,0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-yellow);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: white; }

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,246,69,0.15);
  color: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,246,69,0.3);
  transition: background var(--transition);
}

.faq-icon .icon-minus { display: none; }
.faq-item.open .faq-icon { background: var(--brand-yellow); color: var(--brand-blue); }
.faq-item.open .faq-icon .icon-plus  { display: none; }
.faq-item.open .faq-icon .icon-minus { display: block; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 15px;
  color: rgba(255,246,69,0.8);
  line-height: 1.7;
  border-top: 1.5px solid rgba(255,246,69,0.15);
  padding-top: 16px;
}

/* ====================================================
   CONTACTO
   Fondo: amarillo, formulario azul
   ==================================================== */
.contact {
  background: var(--brand-yellow);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--brand-blue);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.contact .section-badge {
  background: var(--brand-blue);
  color: var(--brand-yellow);
  border-color: var(--brand-blue-dark);
}
.contact .section-title { color: var(--brand-blue); }
.contact .section-desc  { color: var(--text-body); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Info izquierda */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--brand-blue);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 2px solid var(--brand-blue-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  display: block;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 14px;
  color: rgba(255,246,69,0.75);
  line-height: 1.6;
}

/* Mapa */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

/* Formulario derecha */
.form-card {
  background: var(--brand-blue);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 2.5px solid var(--brand-blue-dark);
}

.form-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-yellow);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card h3 svg { color: var(--brand-yellow); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-yellow);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(255,246,69,0.2);
  border-radius: var(--radius-xs);
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-yellow);
  background: rgba(255,246,69,0.06);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,246,69,0.4);
}

.form-group select option {
  background: var(--brand-blue-dark);
  color: var(--brand-yellow);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(255,246,69,0.15);
  background: rgba(255,246,69,0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  border: 2.5px solid #1ebe5b;
  border-radius: 50px;
  padding: 16px 32px;
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn-submit:hover {
  background: #1ebe5b;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ====================================================
   FOOTER
   Fondo: azul oscuro de marca
   ==================================================== */
.footer {
  background: var(--brand-blue-dark);
  color: rgba(255,246,69,0.85);
  position: relative;
  overflow: hidden;
}

#img-footer{
  border-radius: 5%;
  background: var(--border-yellow);
}
/* Onda superior amarilla */
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--brand-yellow);
  clip-path: ellipse(55% 100% at 50% 0%);
  pointer-events: none;
}

/* Patrón de fondo */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,246,69,0.04) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.footer-top { padding: 90px 0 50px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand .logo-name { color: var(--brand-yellow); font-size: 20px; font-family: 'Pangolin', cursive; }
.footer-brand .logo-sub  { color: rgba(255,246,69,0.5); }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,246,69,0.65);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,246,69,0.08);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,246,69,0.7);
  border: 1.5px solid rgba(255,246,69,0.15);
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.social-btn:hover {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  transform: translateY(-3px);
  border-color: var(--brand-yellow);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,246,69,0.6);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--brand-yellow);
  padding-left: 5px;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hour-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hour-row span {
  font-size: 12px;
  color: rgba(255,246,69,0.5);
  font-weight: 600;
}

.hour-row strong {
  font-size: 14px;
  color: var(--brand-yellow);
  font-weight: 800;
}

.hour-row.urgency strong {
  color: #7ED957;
}

.footer-bottom {
  border-top: 1px solid rgba(255,246,69,0.1);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,246,69,0.4);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,246,69,0.4);
  font-size: 13px;
}

/* ====================================================
   WHATSAPP FLOTANTE
   ==================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9999;
  border: 2.5px solid #1ebe5b;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,0.65);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2.5px solid rgba(37,211,102,0.35);
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.88); opacity: 1; }
  100% { transform: scale(1.22); opacity: 0; }
}

.wf-tooltip {
  position: absolute;
  right: 70px;
  background: var(--brand-blue-dark);
  color: var(--brand-yellow);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(8px);
  border: 1.5px solid rgba(255,246,69,0.2);
}

.wf-tooltip::after {
  content: '';
  position: absolute;
  right: -7px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--brand-blue-dark);
  border-right: none;
}

.whatsapp-float:hover .wf-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ====================================================
   SCROLL REVEAL
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* CONTENEDOR */
.hero-highlights{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  justify-content: center;
}

/* CARD */
.highlights{
  background: var(--bg-blue);
  border: 2px solid var(--border-yellow); /* amarillo suave */
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--border-yellow); /* azul marca */
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

/* HOVER SUAVE */
.highlights:hover{
  transform: translateY(-4px);
  background:var(--bg-main);
  color: var(--bg-blue-dark);
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
  border: var(--bg-blue-dark) 2px solid;
}

/* ANIMACIÓN DE ENTRADA */
.highlights{
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s ease forwards;
}

/* delay para efecto escalonado */
.highlights:nth-child(1){ animation-delay: .1s; }
.highlights:nth-child(2){ animation-delay: .2s; }
.highlights:nth-child(3){ animation-delay: .3s; }
.highlights:nth-child(4){ animation-delay: .4s; }

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}



/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text  { order: 1; }
  .hero-image { order: 2; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    background: var(--brand-blue);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
    padding: 80px 32px 40px;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    font-size: 18px;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    color: var(--brand-yellow) !important;
  }

  .nav-link:hover {
    background: var(--brand-yellow) !important;
    color: var(--brand-blue) !important;
  }

  .btn-cita {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
    background: var(--brand-yellow);
    color: var(--brand-blue);
    border-color: var(--brand-yellow-deep);
  }

  .hamburger { display: flex; z-index: 1001; }

  .hero-img-wrapper { width: 280px; height: 280px; }

  section { padding: 80px 0; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .hero { padding: 90px 20px 80px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }

  .about-grid { grid-template-columns: 1fr; }
.services-grid { grid-template-columns: 1fr;}

  .form-card { padding: 28px 20px; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width:768px){
  .hero-highlights{
    justify-content: center;
  }

  .highlights{
    font-size:14px;
    padding:10px 14px;
  }
}

/* ===== MODAL FONDO ===== */

.terms-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}

/* ===== CAJA ===== */

.terms-box{
  background:#fff;
  max-width:620px;
  width:100%;
  border-radius:14px;
  padding:30px;
  box-shadow:0 25px 60px rgba(0,0,0,0.25);
  animation: fadeUp .4s ease;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(25px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.terms-box h3{
  color:var(--brand-blue);
  margin-bottom:15px;
  font-size:22px;
}

/* ===== CONTENIDO ===== */

.terms-content{
  max-height:280px;
  overflow-y:auto;
  font-size:14px;
  color:#444;
  line-height:1.6;
  margin-bottom:20px;
}

.terms-content ul{
  padding-left:18px;
}

.terms-content a{
  color:var(--brand-blue);
  font-weight:600;
  text-decoration:none;
}

/* ===== BOTON TYC===== */

.btn-accept{
  width:100%;
  background:var(--brand-yellow);
  color:var(--brand-blue);
  border:none;
  padding:14px;
  font-weight:700;
  border-radius:8px;
  cursor:pointer;
  transition:.3s;
}

.btn-accept:hover{
  background:var(--brand-yellow-deep);
}

/* ===== CARD DESTACADA ===== */

.service-card--featured{
  grid-column: span 2;
  background: var(--bg-blue);
  border: 2.5px solid var(--brand-yellow);
  color: var(--brand-yellow-deep);
}

.service-card--featured:hover{
  background:var(--bg-blue-dark);
  transform: translateY(-6px);
}

/* LAYOUT INTERNO */

.service-featured-wrap{
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 25px;
}

/* IMAGEN */

.featured-image{
  width:100%;
  height:170px;
  overflow:hidden;
  border-radius: var(--radius-sm);
}

.featured-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* TEXTO */

.featured-content h3{
  color: var(--brand-yellow-deep);
  font-size:20px;
  margin-bottom:10px;
}

.featured-content p{
  color:var(--bg-main);
  font-size:14px;
  line-height:1.7;
  margin-bottom:14px;
}

/* RESPONSIVE */

@media(max-width:900px){
  .service-card--featured{
    grid-column: span 1;
  }

  .service-featured-wrap{
    grid-template-columns:1fr;
  }

  .featured-image{
    height:200px;
  }
}

.animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  /* Esto ayuda a que se sienta integrado en el círculo verde/amarillo del fondo */
  filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.1));
}

#pet-animation {
  /* Mantiene la proporción de la caricatura */
  aspect-ratio: 1 / 1; 
}