/* =========================================================
   🧭 HEADER FLOTANTE Y MENÚ
========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(15, 24, 56, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 17, 41, 0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: relative;
}

.logo a { display: flex; align-items: center; }
.logo-img {
  height: 68px; width: auto; display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.logo-img:hover { transform: scale(1.04); filter: drop-shadow(0 4px 12px rgba(252,152,3,0.3)); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 1999;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin: 0 6px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  opacity: 1;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 10px; right: 10px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover { background: rgba(255,255,255,0.07); text-decoration: none; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { background: var(--gold); color: #fff; font-weight: 700; }
.nav a.active:hover { background: var(--gold-700); }
.nav a.active::after { display: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  z-index: 2001;
}
.menu-toggle svg { display: block; }

@media (max-width: 768px) {
  .site-header .menu-toggle { display: inline-flex !important; margin-left: auto; }
  .site-header .container { position: relative; }
  .site-header .container .nav {
    display: none !important;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    padding: 12px 0;
    background: rgba(31,45,84,.97);
    border-top: 1px solid rgba(255,255,255,.15);
    z-index: 3001;
  }
  .site-header .container .nav.open { display: flex !important; }
  .site-header .container .nav a {
    width: calc(100% - 32px);
    margin: 6px 16px;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
    font-size: 1.05rem;
  }
}
@media (max-width: 480px) {
  .nav a { font-size: 0.9rem; padding: 8px 14px; }
}

/* =========================================================
   ⚓ FOOTER
========================================================= */
.site-footer {
  background: #0a1129;
  color: #fff;
  padding-top: 40px;
  position: relative;
  z-index: 5;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold), transparent) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  justify-items: center;
  padding: 48px 0 40px;
}
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; } }

.footer-brand.center {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.footer-brand.center .footer-logo img {
  width: 190px; height: auto; margin-bottom: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
.footer-brand.center .footer-logo img:hover { transform: scale(1.07); filter: drop-shadow(0 4px 12px rgba(255,255,255,0.2)); }
.footer-brand.center .footer-desc {
  max-width: 420px; margin: 0 auto 22px; font-size: 0.95rem; color: #cfd6f5; line-height: 1.6;
}
.footer-brand.center .footer-social {
  display: flex; justify-content: center; gap: 18px; padding: 0; margin: 0; list-style: none;
}
.footer-brand.center .footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #18224a; color: #e9eefc; font-size: 1.5rem;
  text-decoration: none; box-shadow: 0 3px 8px rgba(0,0,0,.3);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.footer-brand.center .footer-social a:hover { transform: translateY(-5px) scale(1.08); box-shadow: 0 0 18px rgba(255,255,255,0.2); }
.footer-brand.center .footer-social a[aria-label*="Facebook"]:hover { background: #1877f2; box-shadow: 0 0 18px rgba(24,119,242,0.5); }
.footer-brand.center .footer-social a[aria-label*="TikTok"]:hover { background: linear-gradient(45deg, #ff0050, #00f2ea); box-shadow: 0 0 18px rgba(255,0,80,0.4); }
.footer-brand.center .footer-social a[aria-label*="YouTube"]:hover { background: #ff0000; box-shadow: 0 0 18px rgba(255,0,0,0.5); }

.footer-whatsapp { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.footer-whatsapp .whatsapp-item {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(145deg,#18224a,#111832);
  border-radius: 16px; padding: 18px 24px; width: 100%; max-width: 460px;
  color: #e9eefc; text-decoration: none; box-shadow: 0 3px 10px rgba(0,0,0,.25);
  transition: all .25s ease;
}
.footer-whatsapp .whatsapp-item:hover { transform: translateY(-4px); filter: brightness(1.15); }
.footer-whatsapp .whatsapp-item i {
  font-size: 1.8rem; width: 50px; height: 50px; display:flex; align-items:center; justify-content:center;
  border-radius: 50%; background:#1F2D54; transition: all .25s ease;
}
.footer-whatsapp .ventas i { background:#25D366; color:#fff; }
.footer-whatsapp .activaciones i { background:#1877f2; color:#fff; }
.footer-whatsapp .soporte i { background:#ff9800; color:#fff; }
.footer-whatsapp .whatsapp-item:hover i { transform: scale(1.08); box-shadow:0 0 10px rgba(255,255,255,.25); }
.footer-whatsapp .whatsapp-text { display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.3; }
.footer-whatsapp .label { font-size: .95rem; color:#cfd6f5; text-transform:uppercase; letter-spacing:.4px; margin-bottom:4px; }
.footer-whatsapp .number { font-size: 1.2rem; font-weight: 800; color:#fff; display:flex; align-items:center; gap:8px; }

.footer-links.center { display:flex; flex-direction:column; align-items:center; text-align:center; gap:24px; }
.footer-links.center h4{ font-size:1.1rem; color:#fff; margin-bottom:10px; display:flex; gap:8px; text-transform:uppercase; }
.footer-links.center h4 i{ color:#00bcd4; font-size:1rem; }
.footer-links-nav{ display:flex; flex-direction:column; align-items:center; gap:12px; }
.footer-links-nav a{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  color:#cfd6f5; text-decoration:none; padding:8px 14px; border-radius:10px;
  transition: all .25s ease; font-weight:500; background:rgba(255,255,255,.03); width: 240px;
}
.footer-links-nav a i{ font-size:1rem; opacity:.9; width:18px; }
.footer-links-nav a:hover{ color:#fff; background:rgba(255,255,255,.08); transform: translateY(-3px); box-shadow:0 2px 10px rgba(0,0,0,.2); }
.footer-contact{ display:flex; flex-direction:column; align-items:center; gap:6px; color:#d7defc; line-height:1.5; }
.footer-contact p{ margin:0; font-size:.95rem; display:flex; align-items:center; gap:8px; justify-content:center; }
.footer-contact p i{ color:#00bcd4; width:18px; text-align:center; }
.footer-links.center .footer-contact .contact-link {
  color: #cfd6f5; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 6px 10px; min-height: 36px; border-radius: 8px; font-size: 0.95rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.footer-links.center .footer-contact .contact-link:hover { color: #ffffff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.footer-bar {
  width: 100%; border-top: 1px solid rgba(252,152,3,0.2); background: linear-gradient(180deg, #060c20, #040917);
  padding: 16px 0; text-align: center; display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.footer-bar-inner{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; font-size:.95rem; color:#bfc8f0; }
.footer-bar-inner p{ margin:0; color:#bfc8f0; font-size:.95rem; }
.footer-bar-inner a{ color:#cfd6f5; text-decoration:none; font-weight:500; transition: color .25s ease; }
.footer-bar-inner a:hover{ color:#00bcd4; text-decoration:underline; }
.footer-bar-inner .divider{ color:#7985ba; font-weight:600; }

@media (max-width: 480px){
  .footer-brand.center .footer-logo img { width:150px; }
  .footer-brand.center .footer-social a { width:48px; height:48px; font-size:1.3rem; }
}

/* =========================================================
   🔘 COMPONENTES REUTILIZABLES (BOTONES)
========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 10px;
  padding: 10px 20px; font-weight: 700; font-size: 0.88rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
}
.btn i { font-size: 1rem; }
.btn span { line-height: 1; }

.btn-info {
  background: linear-gradient(135deg, #1a3aff 0%, #0f2aaa 100%); color: #fff;
  box-shadow: 0 4px 14px rgba(26,58,255,0.35);
}
.btn-info:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26,58,255,0.45); filter: brightness(1.08); }

.btn-precios {
  background: linear-gradient(135deg, #FCA503 0%, #d98200 100%); color: #fff !important;
  box-shadow: 0 4px 14px rgba(252,165,3,0.4);
}
.btn-precios:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(252,165,3,0.55); filter: brightness(1.06); }

.fade-up { animation: fadeUp 0.55s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   LAYOUTS COMPARTIDOS (Secciones con Mascota)
========================================================= */
.redir-section {
  min-height: 100vh;
  padding: clamp(8px, 2vw, 20px) 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(6,182,212,0.16), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(31,45,84,0.22), transparent 60%),
    linear-gradient(180deg, #0b1430 0%, #14234f 100%);
  position: relative;
  overflow: hidden;
}

.redir-section::before,
.redir-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
  transition: transform .6s ease;
}
.redir-section::before { background: #06B6D4; top: -140px; left: -160px; }
.redir-section::after { background: #3b5eff; bottom: -160px; right: -180px; }
.redir-section:hover::before { transform: translate3d(0,6px,0); }
.redir-section:hover::after { transform: translate3d(0,-6px,0); }

.redir-mascota {
  width: clamp(200px, 34vw, 320px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
  animation: floaty 4.8s ease-in-out infinite;
}
@keyframes floaty { 
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

#redir-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  color: #fff;
  font-weight: 800;
  text-transform: none;
}
#redir-title strong { font-weight: inherit; }

@media (max-width: 768px) {
  .redir-mascota { width: clamp(150px, 58vw, 250px); }
  .redir-section {
    align-items: flex-start;
    padding-top: clamp(40px, 1vh, 10px) !important;
    min-height: auto;
  }
}

/* =========================================================
   📦 MODAL DE SERVICIOS
 ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 41, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay[hidden] { display: none; }

.modal-container {
  background: #0f1733;
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  animation: slideInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.05);
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }

.modal-body {
  padding: 40px;
  color: #cfd6f5;
}

.detalles-servicio h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detalles-servicio p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #a4afdb;
}

.detalles-servicio ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detalles-servicio li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.detalles-servicio li::before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--gold);
}

.modal-footer {
  padding: 0 40px 40px;
  text-align: center;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  padding: 14px 28px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover { box-shadow: 0 12px 28px rgba(37,211,102,0.4); filter: brightness(1.1); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 600px) {
  .modal-body { padding: 30px 20px; }
  .modal-footer { padding: 0 20px 30px; }
  .detalles-servicio h3 { font-size: 1.5rem; }
}
