/* ==========================================================================
   INK SOLUTIONS - ESTILOS CORPORATIVOS & SECCIONES COMPLETAS
   Fuentes obligatorias:
   - Instrument Serif 400 (H1, H2, títulos editoriales con cursivas)
   - Dancing Script 400 (Detalles de marca)
   - Inter 300, 400, 500, 600 (Interfaz, botones, tarjetas, cápsulas y párrafos)
   ========================================================================== */

/* --- Reseteo base y variables --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-brand: 'Dancing Script', cursive;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, 0.90);
  --color-white-75: rgba(255, 255, 255, 0.75);
  --color-white-60: rgba(255, 255, 255, 0.60);
  --color-overlay: rgba(0, 0, 0, 0.20);
  --color-dark-bg: #080a0f;
  --color-card-bg: rgba(255, 255, 255, 0.04);
  --color-glass: rgba(255, 255, 255, 0.12);
  --color-glass-border: rgba(255, 255, 255, 0.28);
  --color-card-border: rgba(255, 255, 255, 0.12);
  --color-dark-text: #0b0d12;

  /* Márgenes 24-48 px */
  --space-margin: clamp(24px, 4vw, 48px);

  /* Radios de borde redondeados */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Foco visible accesible en toda la interfaz */
*:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.celestia-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-margin);
  overflow: hidden;
  background-color: var(--color-dark-bg);
}

/* Fondo de Video y Capa Negra al 20% */
.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video,
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none;
  display: block;
}

/* Capa negra al 20% especificada */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
  z-index: 1;
}

/* --- Navegación Superior --- */
.hero-header {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Marca y Logo Ink Solutions */
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: clamp(38px, 4vw, 46px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: transform 0.25s ease;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

/* Enlaces Desktop */
.hero-desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(18px, 2.5vw, 32px);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.015em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover {
  color: var(--color-white);
  opacity: 1;
}

/* CTA superior */
.hero-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Botón hamburguesa móvil */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 8px;
  border-radius: 9999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Entrada única de opacidad y ascenso de 12–24 px durante 0.8–1 s --- */
@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Contenido Central del Hero --- */
.hero-center-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1024px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Cápsula / Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.3vw, 13px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  padding: 7px 18px;
  margin-bottom: clamp(20px, 3.5vw, 32px);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-white);
  opacity: 0.85;
}

/* Título H1:
   - Instrument Serif 400
   - Segunda línea cursiva
   - Interlineado 0.95
   - 48 px móvil, 72–96 px tablet, 120 px escritorio
   - Máximo 1024 px
   - Brillo blanco suave al título
*/
.hero-title {
  width: 100%;
  max-width: 1024px;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.95;
  color: var(--color-white);
  letter-spacing: -0.015em;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.40),
    0 0 52px rgba(255, 255, 255, 0.22);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.hero-title .title-first-line {
  display: block;
}

.hero-title .title-second-line {
  display: block;
  font-style: italic;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 48px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero-title {
    font-size: clamp(72px, 8.5vw, 96px);
  }
}

@media (min-width: 1025px) {
  .hero-title {
    font-size: 120px;
  }
}

/* Párrafo descriptivo */
.hero-description {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-white-75);
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(28px, 4vw, 40px);
  letter-spacing: 0.01em;
}

/* Grupo de botones redondos */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  min-height: 50px;
}

.hero-btn-white {
  background-color: var(--color-white);
  color: var(--color-dark-text);
  font-weight: 500;
  border: 1px solid var(--color-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.hero-btn-white:hover {
  background-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.25);
}

.hero-btn-whatsapp,
.btn-whatsapp {
  background-color: #25D366;
  color: #080a0f;
  font-weight: 600;
  border: 1px solid #20ba5a;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-btn-whatsapp svg,
.btn-whatsapp svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.hero-btn-whatsapp:hover,
.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #080a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}

.hero-btn-whatsapp:active,
.btn-whatsapp:active {
  transform: translateY(0);
}

.hero-btn-glass {
  background-color: var(--color-glass);
  color: var(--color-white);
  font-weight: 400;
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* Pie del Hero: «Desplázate» */
.hero-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-white-75);
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-indicator:hover {
  color: var(--color-white);
  opacity: 1;
  transform: translateY(2px);
}

.scroll-icon {
  animation: subtleBob 2s infinite ease-in-out;
}

@keyframes subtleBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ==========================================================================
   ESTRUCTURA Y ESTILOS DE SECCIONES (GLASSMORFISMO & TIPOGRAFÍA EDITORIAL)
   ========================================================================== */
.section-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 110px) var(--space-margin);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 56px) auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white-90);
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.italic-serif {
  font-style: italic;
  font-family: var(--font-serif);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-white-75);
}

/* Paneles de vidrio oscuro */
.glass-panel {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 255, 255, 0.05);
}

/* Rejilla de Servicios (4 Pilares) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr));
  gap: 32px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}



.service-card:hover .card-link {
  border-color: #ffffff;
  color: #ffffff;
  transform: translateX(6px);
}

.card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background-color: #0b0d14;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.card-content {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-white-75);
  margin-bottom: 22px;
  font-weight: 300;
}

.card-bullets {
  list-style: none;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.card-bullets li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.card-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.card-bullets strong {
  color: var(--color-white);
  font-weight: 500;
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
  width: fit-content;
  transition: all 0.25s ease;
}

.card-link:hover {
  border-color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN: POR QUÉ ELEGIRNOS
   ========================================================================== */
.why-us-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

.feature-item {
  padding: 34px 26px;
}

.feature-icon {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-white-75);
  font-weight: 300;
}

/* ==========================================================================
   SECCIÓN DE CONTACTO
   ========================================================================== */
.contact-section {
  padding-bottom: clamp(80px, 9vw, 130px);
}

.contact-card {
  padding: clamp(36px, 6vw, 70px) clamp(24px, 5vw, 56px);
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
}

.contact-header {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px) auto;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--color-white-75);
  line-height: 1.6;
  font-weight: 300;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto clamp(32px, 4vw, 48px) auto;
  text-align: left;
}

.contact-info-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px;
  border-radius: 16px;
  transition: all 0.25s ease;
}

.contact-info-block:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-info-block.span-full {
  grid-column: 1 / -1;
}

.info-label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.info-value {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-value:hover {
  color: #ffffff;
  text-decoration: underline;
}

.info-value-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-white);
}

.info-hint {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER CORPORATIVO (MINIMALISTA)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050608;
  padding: 40px var(--space-margin) 28px var(--space-margin);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 38px;
  width: 38px;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.3));
}

.footer-brand-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-white);
}

.footer-simple-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-simple-nav a {
  color: var(--color-white-75);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-simple-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-dot-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 13.5px;
  color: var(--color-white-60);
}

/* ==========================================================================
   MENÚ MÓVIL NEGRO TRANSLÚCIDO
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: var(--space-margin);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-logo-img {
  height: 36px;
  width: auto;
}

.mobile-brand {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  border-radius: 9999px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

.mobile-link {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: var(--color-white);
}

.mobile-cta-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 12px;
}

.mobile-cta-btn {
  width: 100%;
  max-width: 320px;
}

/* ==========================================================================
   ESTILOS PARA PÁGINAS INTERNAS
   ========================================================================== */
.page-hero {
  min-height: 58vh;
  min-height: 58dvh;
  justify-content: flex-start;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.page-hero .hero-center-content {
  margin-top: clamp(20px, 3vw, 40px);
  margin-bottom: 0;
  padding: 0;
}

.page-hero .hero-title {
  font-size: clamp(40px, 6vw, 84px);
  margin-bottom: 18px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-white-60);
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  color: var(--color-white-75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: var(--color-white);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* Grillas detalladas para páginas interiores */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 28px;
  margin-top: 40px;
}

.detail-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.detail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.detail-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-white);
  line-height: 1.2;
}

.detail-card-badge {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white-90);
}

.detail-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-white-75);
  margin-bottom: 20px;
  font-weight: 300;
}

.detail-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-bullets li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.detail-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

/* Fila de comparación / beneficios */
.split-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: clamp(48px, 6vw, 80px) 0;
}

.split-feature-row.reverse {
  direction: rtl;
}

.split-feature-row.reverse > * {
  direction: ltr;
}

.split-visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 420px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
  line-height: 1.15;
}

.split-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-white-75);
  margin-bottom: 24px;
  font-weight: 300;
}

@media (max-width: 900px) {
  .split-feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-visual {
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 320px;
  }
}

/* Formulario de Contacto Elegante */
.contact-form-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-box {
  padding: clamp(32px, 5vw, 48px);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  cursor: pointer;
  border: none;
}

.contact-side-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-placeholder-box {
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

@media (max-width: 900px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .footer-simple-nav {
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .hero-desktop-nav,
  .hero-nav-actions .nav-cta-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta-group,
  .contact-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn {
    width: 100%;
  }

  .celestia-hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-center-content {
    padding: 24px 0;
  }

  .card-image-box {
    height: 220px;
  }

  .card-content {
    padding: 24px 20px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ACCESIBILIDAD: MOVIMIENTO REDUCIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-center-content,
  .glass-panel,
  .card-img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .scroll-icon {
    animation: none !important;
  }

  .mobile-menu-overlay {
    transition: none !important;
  }

  * {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   ESTILOS EDITORIALES PARA ARTÍCULOS Y ENLAZADO INTERNO
   ========================================================================== */
.article-layout {
  max-width: 960px;
  margin: 0 auto;
}

.article-body {
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 40px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--color-white);
  margin: 36px 0 16px 0;
  line-height: 1.25;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-family: var(--font-sans);
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--color-white-90);
  margin: 24px 0 12px 0;
}

.article-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-white-75);
  margin-bottom: 18px;
  font-weight: 300;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 20px;
  color: var(--color-white-75);
  font-size: 15.5px;
  line-height: 1.7;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--color-white);
  font-weight: 600;
}

.article-body a {
  color: #a8d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.article-body a:hover {
  color: var(--color-white);
}

.faq-box {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item {
  margin-bottom: 20px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-q {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-white-75);
}

.related-silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.related-silo-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.related-silo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
}

.related-silo-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.related-silo-desc {
  font-size: 13.5px;
  color: var(--color-white-75);
  line-height: 1.5;
  margin-bottom: 12px;
}

.related-silo-link {
  font-size: 13px;
  color: var(--color-white);
  font-weight: 500;
}

.cta-banner-box {
  text-align: center;
  padding: clamp(36px, 5vw, 56px) 24px;
  margin: 48px 0;
  border-radius: 24px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-banner-desc {
  font-size: 16px;
  color: var(--color-white-75);
  max-width: 600px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

/* ==========================================================================
   ESTILOS PARA IMÁGENES INLINE EN ARTÍCULOS
   ========================================================================== */
.article-inline-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  border-radius: 16px;
  margin: 32px auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  background-color: rgba(255, 255, 255, 0.03);
  object-fit: cover;
}

.article-inline-img.is-portrait,
.article-inline-img[src*="chaleco"] {
  width: auto;
  max-width: 100%;
  max-height: 480px;
  margin: 32px auto;
  object-fit: contain;
  display: block;
}

.article-inline-img.is-square,
.article-inline-img[src*="impresion-de-publicidad"] {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  margin: 32px auto;
  object-fit: contain;
  display: block;
}

figure.wp-block-image {
  margin: 28px 0;
  padding: 0;
}

figure.wp-block-image figcaption {
  font-size: 13.5px;
  color: var(--color-white-60);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* =========================================================================
   COBERTURA COMARCAL / LOCAL SEO STYLING
   ========================================================================= */
.coverage-comarca-section {
  padding: clamp(24px, 4vw, 36px);
  margin-top: 36px;
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 22, 34, 0.65);
}
.coverage-header {
  margin-bottom: 20px;
}
.coverage-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 30px);
  color: var(--color-white);
  margin: 10px 0 12px 0;
  line-height: 1.25;
}
.coverage-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-white-75);
  line-height: 1.6;
  max-width: 820px;
}
.coverage-grid-localities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.coverage-col {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-white-75);
}
.coverage-col strong {
  display: block;
  color: #a8d5ff;
  font-size: 14px;
  margin-bottom: 6px;
}
.footer-coverage-bar {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-white-60);
  line-height: 1.6;
}
.footer-coverage-bar strong {
  color: var(--color-white-90);
}

/* =========================================================================
   TABLA DE CONTENIDOS EN ACORDEÓN (TOC ACCORDION)
   ========================================================================= */
.toc-accordion {
  margin-bottom: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.toc-accordion:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.toc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--color-white-90);
  background: rgba(255, 255, 255, 0.02);
  list-style: none;
  border-radius: 22px;
  transition: background 0.2s ease;
}
.toc-summary:hover {
  background: rgba(255, 255, 255, 0.05);
}
.toc-summary::-webkit-details-marker {
  display: none;
}
.toc-summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc-icon {
  font-size: 16px;
}
.toc-title {
  color: var(--color-white);
  font-weight: 500;
}
.toc-count {
  font-size: 12.5px;
  color: var(--color-white-60);
  font-weight: 400;
}
.toc-toggle-badge {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #a8d5ff;
  transition: all 0.2s ease;
}
.toc-accordion[open] .toc-toggle-badge {
  background: rgba(168, 213, 255, 0.15);
  color: #ffffff;
}
.toc-accordion[open] .toc-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.toc-nav {
  padding: 18px 24px 24px 24px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px 24px;
}
.toc-item {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
}
.toc-link {
  color: var(--color-white-75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 3px 0;
}
.toc-link::before {
  content: "→";
  color: #a8d5ff;
  font-size: 12px;
  opacity: 0.7;
}
.toc-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}


/* ==========================================================================
   WIDGET FLOTANTE DE WHATSAPP (VENTANA Y BOTÓN INTERACTIVO)
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 9999;
  font-family: var(--font-sans);
}

/* Ventana emergente tipo chat */
.wa-chat-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: #0f141c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(37, 211, 102, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(12px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.wa-chat-window.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Cabecera del chat */
.wa-chat-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  position: relative;
}

.wa-header-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.wa-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.wa-status-badge {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  background: #25D366;
  border: 2px solid #075E54;
  border-radius: 50%;
}

.wa-header-text {
  flex: 1;
  min-width: 0;
}

.wa-header-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.wa-header-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.wa-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease;
}

.wa-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Cuerpo del chat */
.wa-chat-body {
  padding: 16px;
  background: rgba(11, 20, 26, 0.7);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-bubble {
  background: #1f2c34;
  color: #e9edef;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
  max-width: 92%;
  border-left: 3px solid #25D366;
}

.wa-bubble p {
  margin: 0 0 6px 0;
}
.wa-bubble p:last-of-type {
  margin-bottom: 0;
}

.wa-bubble-time {
  display: block;
  font-size: 10.5px;
  color: rgba(233, 237, 239, 0.6);
  text-align: right;
  margin-top: 4px;
}

/* Pie y botón de acción */
.wa-chat-footer {
  padding: 14px 16px;
  background: #0f141c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25D366;
  color: #080a0f;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.wa-action-btn:hover {
  background: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
}

/* Botón flotante redondo */
.wa-float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.wa-float-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  background: #20ba5a;
}

.wa-float-btn:active {
  transform: scale(0.96);
}

.wa-icon-whatsapp {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.wa-icon-close {
  position: absolute;
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.wa-float-btn.is-active .wa-icon-whatsapp {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.wa-float-btn.is-active .wa-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Globo informativo tipo Tooltip */
.wa-tooltip-pill {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 20, 28, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wa-tooltip-pill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 20, 28, 0.95);
}

.wa-float-btn.is-active .wa-tooltip-pill {
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
}

/* Animación de pulso sutil */
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: wa-pulse 2.4s infinite;
  pointer-events: none;
}

.wa-float-btn.is-active .wa-pulse-ring {
  display: none;
}
