/* Base de escritorio. Las reglas @media por ancho se reconstruirán después. */

/* =========================================================
   GUÍA RÁPIDA
   Buscá estos nombres con Ctrl+F en Visual Studio Code:
   --ink / --paper / --lime / --violet : colores del sitio
   .topbar / .nav                       : barra superior y menú
   .hero / .orb-one / .orb-two          : portada e imágenes
   .intro / .fit / .three               : presentación y tarjetas
   .benefits / .timeline / .faq         : secciones de contenido
   .closing / footer                    : cierre y pie de página
   .service-card / .planes              : tarjetas de servicios y planes
   .lan-section / .lan-diagram          : bloque LAN to LAN
   @keyframes                           : animaciones
   

/* COLORES GLOBALES: modificá estos valores para cambiar la paleta */

.nav-cta-two + .nav-cta-one {
  margin-left: 20px;
}

:root {
  --ink:#171720;
  --paper:#f4f1e9;
  --lime:#c8ff4d;
  --violet:#6549ff;
  --muted:#aaa9b3;
  --line:rgba(255,255,255,.18)
}

/* Regla general para medir cajas de forma previsible. */
* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

/* Estilo general de toda la página. */
body {
  margin:0;
  background:var(--ink);
  color:#fff;
  font-family:'DM Sans',sans-serif
}

a {
  color:inherit;
  text-decoration:none
}

/* BARRA SUPERIOR: logo, enlaces y botones de navegación */
.topbar {
  height:65px;
  padding:0 6vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  inset:0 0 auto;
  background: rgba(4, 1, 17, 0.8);
  backdrop-filter: blur(2px);
  z-index:5
}

.brand {
  font:700 15px 'Space Grotesk',sans-serif;
  letter-spacing:.08em;
}

.nav {
  display:flex;
  align-items:center;
  gap:30px;}

.nav a {
  opacity:.8
}

.nav a:hover {
  opacity:1
}

.nav-cta {
  border:2px solid #ffffff77;
  padding:12px 16px;
  border-radius:30px;
  
}

.nav-cta-one {
  border:2px solid #ffffff77;
 
  padding:12px 16px;
  border-radius:30px;
 
}
.nav-cta-two {
 background-color: #08A057;
  padding:12px 16px;
  border-radius:30px;
  color:black;
  font-weight: bold;

}

.menu-toggle {
  display:none;
  background:none;
  color:white;
  border:0;
  font-size:24px;
  
}

/* PORTADA PRINCIPAL: título, texto, botones e imágenes decorativas. */
.hero {
  max-height:1000px;
  position:relative;
  display:flex;
  align-items:center;
  padding:130px 10vw 90px;
  background:radial-gradient(ellipse at 78% 48%,#4935b4 0%,#272051 27%,#171720 65%)
}

.hero-content {
  z-index:1;
  max-width:760px
}

.eyebrow,.section-tag {
  font-size:11px;
  letter-spacing:.17em;
  font-weight:700;
  color:var(--lime)
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,.hero-stamp {
  font-family: "Aktiv Grotesk Ex Trial", "Aktiv Grotesk Ex Trial XBold", sans-serif;
}

h1 {
  font-size:clamp(58px,9.5vw,138px);
  line-height:.87;
  letter-spacing:-.08em;
  margin:26px 0
}

.hero em {
  font-style:normal;
  color:var(--lime)
}

.hero-copy {
  font-size:clamp(16px,1.7vw,21px);
  max-width:490px;
  line-height:1.55;
  color:#d5d3df
}

.button {
  display:inline-flex;
  align-items:center;
  gap:32px;
  padding:17px 22px;
  border-radius:40px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  transition:transform .2s
}

.button:hover {
  transform:translateY(-3px)
}

.button span {
  font-size:19px
}

.button-bright {
  background:  #08A057;
  color:var(--ink);
  margin-top:20px;
  font-size: 17px;
}

.hero-note {
  font-size:10px;
  letter-spacing:.12em;
  color:#b1afbf;
  margin-top:20px
}

.hero-stamp {
  position:absolute;
  right:10%;
  top:38%;
  border:1px solid #ffffff72;
  border-radius:50%;
  width:155px;
  height:155px;
  display:grid;
  place-content:center;
  text-align:center;
  font-size:15px;
  font-weight:700;
  line-height:1.1;
  transform:rotate(12deg)
}

.hero-stamp span {
  color:var(--lime);
  font-size:26px
}

.hero-orb {
  position:absolute;
  border-radius:50%;
  filter:blur(0px);
  pointer-events:none
}

.orb-one { 
z-index: 2;
  width: 370px;
  height: auto;
  right: 17%;
  top: 24%;
  opacity: 1;
  border-radius: 0;
  filter: none;
  background: none;
  box-shadow: none;
  object-fit: contain;
}

@keyframes balanceo {
 
  50% { transform: scale(1.08);}
  50% {transform: translateY(-22px);}
  }

@keyframes balanceospin {
 
  50% {transform:rotate(360deg)}
  }



.orb-two {
    z-index: 1;
  width:800px;
  height:750px;
  right:3%;
  top:7%;
  border-radius: 0;
  filter: none;
  background: none;
  box-shadow: none;

  animation: balanceo 4s ease-in-out infinite;
  

}

.scroll-cue {
  position:absolute;
  bottom:32px;
  left:6vw;
  font-size:9px;
  letter-spacing:.17em;
  color:#c6c4ce
}

.scroll-cue span {
  padding-left:12px;
  color:var(--lime);
  font-size:17px
}

/* SECCIONES PRINCIPALES: presentación, tarjetas, beneficios y etapas. */
.section {
  padding:120px 10vw
}

.intro {

  position:relative;
  isolation: isolate;

  padding-top: 400px;
  padding-bottom: 160px;
  background-color: #fff;
   background: linear-gradient(
    to bottom,
    #171720 0%,
    #08A057 100%
  );
  

}

.intro .section-tag,.timeline .section-tag,.faq .section-tag {
  color:#cccccc
}

.intro-grid {
  display:grid;
  margin-top:50px
}

.intro h2,.section-title {
  font-size:clamp(42px,6vw,76px);
  line-height:.98;
  letter-spacing:-.065em;
  margin-bottom:0;
  color:white
}

.accent {
  color:white
}

.intro-copy {
  align-self:end;
  line-height:1.75;
  color:#f6f6fa;
  font-size:16px
}

.text-link {
  display:inline-block;
  margin-top:12px;
  color:var(--ink);
  font-weight:700;
  font-size:12px
}

.text-link span {
  color:var(--violet);
  padding-left:12px
}

.fit {
  background:radial-gradient(ellipse at 28% 48% ,#4935b4 0%,#272051 27%,#171720 65%);
}

.section-title {
  margin:28px 0 48px
}

.cards {
  display:grid;
  gap:16px
}

.three {
  grid-template-columns:repeat(3,1fr)
}

.info-card {
  border:2px solid var(--line);
  padding:8px;
  min-height:550px;
  transition:background .25s,transform .25s
}

.info-card:hover {
  background:#302f3a;
  transform:translateY(-5px)
}

.card-number {
  color:var(--lime);
  font-size:12px
}

.info-card h3 {
  margin:45px 0 0px;
  font:600 19px 'Space Grotesk',sans-serif
}

.info-card p {
  font-size:17px;
  line-height:1.6;
  color:#b5b3bf
}

.center-note {
  text-align:center;
  margin:44px auto 0;
  font-size:11px;
  letter-spacing:.12em;
  color:var(--lime)
}

.benefits {
  background:#08A057;
  color:var(--ink)
}

.benefits .section-tag {
  color:#494288
}

.benefits .accent {
  color:var(--violet)
}

.benefit-list {
  margin-top:56px;
  border-top:1px solid #17172045
}

.benefit {
  display:grid;
  grid-template-columns:50px 1.1fr 1fr 40px;
  gap:16px;
  align-items:center;
  padding:24px 0;
  border-bottom:1px solid #17172045
}

.benefit>span {
  font-size:24px;
  color:var(--violet)
}

.benefit h3 {
  font:600 18px 'Space Grotesk',sans-serif;
  margin:0
}

.benefit p {
  font-size:13px;
  margin:0;
  color:#464451
}

.benefit b {
  font-size:11px;
  text-align:right;
  color:#59576a
}

.timeline {
  background:var(--paper);
  color:var(--ink)
}

.timeline-list {
  margin-top:50px;
  border-top:1px solid #d3d0c8
}

.timeline-item {
  display:grid;
  grid-template-columns:100px 1fr;
  gap:20px;
  padding:25px 0;
  border-bottom:1px solid #d3d0c8
}

.timeline-item>span {
  color:var(--violet);
  font:600 19px 'Space Grotesk',sans-serif
}

.timeline-item h3 {
  font:600 22px 'Space Grotesk',sans-serif;
  margin:0 0 7px
}

.timeline-item p {
  color:var(--violet);
  font-weight:700;
  font-size:11px;
  letter-spacing:.09em;
  margin:0 0 8px
}

.timeline-item small {
  color:#686671;
  font-size:13px
}

.faq {
  background: linear-gradient(
    to bottom,
    #171720 80%,
    #272051 100%);
  color:var(--ink)
}

.faq-list {
  margin-top:46px;
  border-top:1px solid #dedde2
}

.faq details {
  border-bottom:1px solid #dedde2;
  padding:22px 0

}

.faq summary {
  cursor:pointer;
  list-style:none;
  font:600 17px 'Space Grotesk',sans-serif;
  display:flex;
  justify-content:space-between;
  color:white
}

.faq summary::-webkit-details-marker {
  display:none
}

.faq summary:after {
  content:'+';
  color:var(--violet);
  font-size:24px
}

.faq details[open] summary:after {
  content:'−'
}

.faq details p {
  color:#bdbcbcc9;
  max-width:80%;
  line-height:1.7;
  margin:16px 0 0
}

.closing {
  background:#272051;}

.closing .section-tag {
  color:var(--lime)
}



.closing>p {
  max-width:480px;
  margin:0 auto;
  color:#e2ddff;
  line-height:1.6
}
.closing > p {
  margin-bottom: 24px;
}

.closing-buttons .button {
  margin-top: 0;
}
.button-dark {
  background:rgba(0, 0, 0, 0.445);
  margin-top:15px;
  font-size:20px;
  border:2px solid #ffffff77;
}

.closing-shape {
  position:absolute;
  right:8%;
  top:14%;
  font-size:90px;
  color:#ffffff71;
  animation:spin 24s linear infinite;
  filter: blur(3px);
}
.closing-shape-two {
  position:absolute;
  right:12%;
  top:15%;
  font-size:160px;
  color:#ffffff71;
  animation: balanceospin  15s ease-in-out infinite;
  filter: blur(4px);
  
}

footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:2px 6vw;
  flex-wrap:wrap;
  font-size:15px;
  border-top-color: rgba(255, 255, 255, 0.178);
  border-top-style:double;
  color:#cbc9d2;
  background-color:#272051
}

footer p {
  margin:0
}

footer small {
  color:#85838f
}

/* ANIMACIONES GENERALES: aparición al entrar en pantalla y giros. */
.reveal {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s ease,transform .7s ease
}

.reveal.visible {
  opacity:1;
  transform:translateY(0)
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }

}

/* RESPONSIVE ORIGINAL: reglas para celulares. Más ajustes al final. */


@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    transition-duration:.01ms!important
  }

  .reveal {
    opacity:1;
    transform:none
  }

}

.brand {
  display: flex;
  align-items: center;
  gap: 1px;
}

.brand img {
  object-fit: contain;
}
.brandone img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand span {
  color: white;
  font-size: 22px;
  font-weight: 300;
  font-family: "Aktiv Grotesk Ex Trial", "Aktiv Grotesk Ex Trial Semibold", sans-serif;

}
.titulo-especial  {
 font-size:clamp(58px,9.5vw,138px);
  line-height:.87;
  letter-spacing:-.08em;
  margin:26px 0
}

.titulo-especial em {
    
  color: #08A057;
}


/* ICONO DE INSTAGRAM */
.instagram-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}
.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card-top {
  display: flex;
  justify-content: center;
  width: 100%;
}

.service-logo {
  width: 250px;
  height: 200px;
  object-fit: contain;
  animation: balanceo 2s ease-in-out infinite;
}

.service-card-bottom {
  width: 100%;
  margin-top: auto;
  text-align: center;
}

.service-card-bottom h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.service-card-bottom p {
  margin: 0;
}

.service-card-button {
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  color: white;
  text-decoration: none;
}



.nav-cta {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-3px);
}

.nav-cta-one,
.nav-cta-two {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.nav-cta-one:hover,
.nav-cta-two:hover {
  transform: translateY(-3px);
}

  
.service-card-button
{
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}
.service-card-button:hover {
  transform: translateY(-3px);
}

.intro-logo {
  position: absolute;
  width: 520px;
  height: auto;
  left: 30%;
  top: 40%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.intro-grid {
   gap: 60px;
  grid-template-columns: 1fr 1fr ;
  align-items: center;
  transform: translateY(-150px);

}

.intro-copy {
  grid-column: 2;
   max-width: 560px;
}
.intro-grid h2 {
  max-width: 580px;
  line-height: 0.95;
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}
.service-card:hover img {
  animation-play-state: paused;
}




/* TARJETAS DE PLANES */
.planes{
  background:radial-gradient(ellipse at 50% 48% ,#4935b4 0%,#272051 27%,#171720 65%);
}

.service-card-planes {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-planes:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.service-card-planes {
  min-height: 400px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.megas {
  display: inline-block;
  color: #021f01;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(64px, 10vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 3px #baffd5,
    0 0 9px #08A057,
    0 0 22px rgba(8, 160, 87, 0.8);
  animation: megas-float 3s ease-in-out infinite;
}

@keyframes megas-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}


.service-card-top-planes {
  display: flex;

}

.service-logo-planes {
  width: 300px;
  height: 300px;
  object-fit: contain;
  animation: balanceo 2s ease-in-out infinite;
}
/* RESPONSIVE EXTRA: estos ajustes finales adaptan tablet y celular. */

/* Valores generales y correcciones para reglas inválidas anteriores. */
img { max-width: 100%; }
.nav { font-size: clamp(12px, 1vw, 14px); }
.brand img { height: 42px; width: auto; }
.orb-one { animation: float 8s ease-in-out infinite; }
.button-dark { border-style: solid; }
.service-logo,
.service-logo-planes { max-width: 100%; height: auto; }

/* Tablet y notebook angosta. */


/* Celulares y tablets en vertical. */


/* Celulares angostos. */


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.hero {
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  .orb-two {
  max-height: 85vh;
  object-fit: contain;
}
}
.topbar .brand img {
  height: 90px;
  width: auto;
}
/* LAN TO LAN: distribución general de la sección */
.lan-section {
  min-height: 700px;
  padding: 100px 10vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  gap: 7vw;
  overflow: hidden;
  color: #f4f1e9;
  background:radial-gradient(ellipse at 20% 100% ,#08a057 0, #044224 27%,#171720 65%);
}

.lan-content {
  max-width: 570px;
}

.lan-eyebrow {
  margin-bottom: 22px;
  color: #08a057;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.lan-content h2 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
}

.lan-description {
  max-width: 490px;
  color: #c5c9c5;
  font-size: 16px;
  line-height: 1.7;
}

.lan-benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.lan-benefits li {
  color: #e4e8e4;
  font-size: 14px;
}

.lan-benefits li::before {
  content: ">";
  margin-right: 10px;
  color:#23c879;
  font-size: 18px;
}

.lan-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 15px 20px;
  border-radius: 30px;
  color: #080a09;
  background: #08a057;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.lan-button:hover {
  transform: translateY(-3px);
  background: #23c879;
}

.lan-button span {
  font-size: 18px;
}

.lan-diagram {
  min-height: 380px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 242, 242, 0.418);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 160, 87, .2), transparent 68%);
}

.lan-node {
  width: 112px;
  height: 112px;
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #08a057;
  border-radius: 50%;
  color: #f4f1e9;
  background: #101713;
  box-shadow: 0 0 28px rgba(8, 160, 87, .18);
}

.lan-node span {
  color: #aeb8b1;
  font-size: 15px;
  letter-spacing: .1em;
}

.lan-node strong {
  display: block;
  object-fit: contain;
  height: auto;
  width: 115px;
  transform: translateX(6px);
}
 
.lan-node-main {
  width: 140px;
  height: 140px;
}

.lan-node-left {
  left: 4%;
  top: 12%;
}

.lan-node-right {
  right: 4%;
  bottom: 12%;
}

.lan-line {
  height: 1px;
  z-index: 1;
  width: 38%;
  transform-origin: center;
}

.lan-line-one {
  top: 34%;
  left: 19%;
  transform: rotate(24deg);
}

.lan-line-two {
  right: 19%;
  bottom: 34%;
  transform: rotate(24deg);
}




@media (prefers-reduced-motion: reduce) {
  .lan-pulse {
    animation: none;
  }
}

/* Anillo alrededor del planeta */
.lan-node-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15px -25px;
  border: 1px solid rgba(180, 255, 213, .75);
  border-radius: 50%;
  transform: rotateX(72deg) rotateZ(-20deg) scale(1.35);
  animation: anillo-gira 12s linear infinite;
}

/* Luz suave detrás del planeta */
.lan-node-main::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -18px;
  border-radius: 50%;
  background: rgba(8, 160, 87, .32);
  filter: blur(18px);
  animation: aura-respira 3s ease-in-out infinite;
}

/* El logo queda por encima del efecto del planeta */
.lan-logo {
  position: relative;
  z-index: 1;
}

@keyframes planeta-flota {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes anillo-gira {
  from {
    transform: rotateX(72deg) rotateZ(-20deg) scale(1.35);
  }

  to {
    transform: rotateX(72deg) rotateZ(340deg) scale(1.35);
  }
}

@keyframes aura-respira {
  0%, 100% {
    opacity: .45;
    transform: scale(.92);
  }

  50% {
    opacity: .9;
    transform: scale(1.08);
  }
}

@keyframes sucursal-flota {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lan-node-main,
  .lan-node-main::before,
  .lan-node-main::after,
  .lan-node-left,
  .lan-node-right {
    animation: none;
  }
}

/* BARRA SUPERIOR: logo, enlaces y botones de navegación */
.topbar {
  position: fixed;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: #08A057;
}
/* LAN TO LAN: animaciones finales de anillos, sucursales y destellos */
.lan-diagram {
  isolation: isolate;
}

.lan-node-main {
  animation: lan-centro-brilla 3s ease-in-out infinite;
}

.lan-node-main::before,
.lan-node-main::after {
  content: none;
}

/* Dos anillos que giran alrededor de toda la red */
.lan-diagram::before,
.lan-diagram::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2% 3%;
  border: 1px solid rgba(8, 160, 87, .5);
  border-radius: 50%;
  pointer-events: none;
}

.lan-diagram::before {
  transform: rotate(-18deg) scaleY(.48);
  animation: lan-anillo-uno 18s linear infinite;
}

.lan-diagram::after {
  inset: 8% 7%;
  border-color: rgba(181, 255, 210, .28);
  background-position: 50% 100%;
  transform: rotate(18deg) scaleY(.55);
  animation: lan-anillo-dos 26s linear infinite reverse;
}

/* Las sucursales flotan levemente y pulsan con luz */
.lan-node-left,
.lan-node-right {
  animation: lan-sucursal-brilla 3.5s ease-in-out infinite;
}

.lan-node-right {
  animation-delay: -1.75s;
}

/* Los destellos recorren las conexiones */
.lan-line {
  background: linear-gradient(
    90deg,
    rgba(8, 160, 87, .15),
    #08A057,
    #b5ffd2,
    #08A057,
    rgba(8, 160, 87, .15)
  );
  background-size: 220% 100%;
  animation: lan-linea-brilla 2.5s linear infinite;
}

.lan-pulse {
  animation: lan-punto-pulsa 1.8s ease-in-out infinite;
}

.lan-pulse-two {
  animation-delay: -.9s;
}

@keyframes lan-anillo-uno {
  to {
    transform: rotate(342deg) scaleY(.48);
  }
}

@keyframes lan-anillo-dos {
  to {
    transform: rotate(378deg) scaleY(.55);
  }
}

@keyframes lan-centro-brilla {
  50% {
    box-shadow: 0 0 24px rgba(8, 160, 87, .45);
  }
}

@keyframes lan-sucursal-brilla {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 5px rgba(8, 160, 87, .15);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(8, 160, 87, .5);
  }
}

@keyframes lan-linea-brilla {
  to {
    background-position: -220% 0;
  }
}

@keyframes lan-punto-pulsa {
  50% {
    transform: scale(1.7);
    box-shadow: 0 0 14px #b5ffd2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lan-diagram::before,
  .lan-diagram::after,
  .lan-node-main,
  .lan-node-left,
  .lan-node-right,
  .lan-line,
  .lan-pulse {
    animation: none;
  }
}
.lan-line {
  position: absolute;
  overflow: visible;
}

.lan-line::before,
.lan-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8ffe9;
  box-shadow:
    0 0 6px 2px #8effbd,
    0 0 16px 5px rgba(8, 160, 87, .8);
  animation: lan-destello-viaja 2.4s linear infinite;
}

.lan-line::after {
  width: 4px;
  height: 4px;
  top: -2px;
  animation-delay: -1.2s;
}

.lan-node-left,
.lan-node-right {
  box-shadow:
    0 0 10px rgba(8, 160, 87, .35),
    inset 0 0 16px rgba(8, 160, 87, .08);
}

@keyframes lan-destello-viaja {
  from {
    left: 0;
    opacity: 0;
  }

  15%, 80% {
    opacity: 1;
  }

  to {
    left: 100%;
    opacity: 0;
  }
}
.lan-diagram::before,
.lan-diagram::after {
  background: none;
}
/* Sección de cobertura */
.coverage-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 8vw;
  padding: 110px 10vw;
  color: #f4f1e9;
  background:radial-gradient(ellipse at 20% 0% ,#08a057 0, #044224 27%,#171720 65%);
}

.coverage-copy {
 z-index: 2;
  max-width: 600px;
}

.coverage-eyebrow {
  margin-bottom: 22px;
  color: #08A057;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.coverage-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6vw, 78px);
  
  line-height: .94;
  letter-spacing: -.07em;
}

.coverage-description {
  max-width: 480px;
  
  color: #c5c4cc;
  font-size: 16px;
  line-height: 1.7;
}

.coverage-button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 15px 20px;
  border-radius: 30px;
  color: #080A09;
  background: #08A057;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}

.coverage-button:hover {
  background:#08a05600;
  color: white;
  border: 1px solid #08a056;
}

.coverage-button span {
  
  font-size: 18px;
}

.coverage-panel {
  
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
  border-radius: 10px;
}

.coverage-panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: #d7d6dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.coverage-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #08A057;
  box-shadow: 0 0 12px #08A057;
  animation: coverage-pulse 2s ease-in-out infinite;
}

.coverage-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  
}

.coverage-locations li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;

  
  font-size: 13px;
  border-radius: 5px;
}

.coverage-locations li:hover {
transform: translateY(-3px);
background: rgba(255, 255, 255, 0.096);

}

.coverage-locations li span {
  flex: 0 0 auto;
  color: #08A057;
  font-size: 11px;
  font-weight: 700;
}

.coverage-note {
  margin: 20px 0 0;
  color: #aaa9b3;
  font-size: 12px;
  line-height: 1.6;
}


@keyframes coverage-pulse {
  50% {
    opacity: .45;
    transform: scale(.75);
  }
}



@media (prefers-reduced-motion: reduce) {
  .coverage-status-dot {
    animation: none;
  }
}
  .fiby-cob{ 
  width: 270px;
  max-width: 270px;
  position: relative;
  top: 35% ;
  right: 50%;
  z-index: 1;
  }


@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.fiby-cob {
  animation: float 3s ease-in-out infinite;
}
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 13vh, 145px) 7vw;
  text-align: center;
  background-color:#272051
    
}

.closing-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin: 0 auto;
}

.closing-kicker {
  margin-bottom: 22px;
  color: #08A057;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.closing h2 {
  margin: 0;
  font-size: clamp(58px, 10vw, 120px);
  line-height: .84;
  letter-spacing: -.08em;
}

.closing-description {
  max-width: 480px;
  margin: 26px auto 0;
  color: #c8c7d0;
  font-size: 16px;
  line-height: 1.6;
}

.closing-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.portal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(280px, 100%);
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  text-align: left;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.portal-link:hover {
  transform: translateY(-4px);
}

.portal-link-primary {
  color: #ffffff;
  background: #08a0563b;
  border-color: #08A057;
}

.portal-link-primary:hover {
  background: #25c87991;
  border-color: #25c878;
}

.portal-link-secondary {
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.portal-link-secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #980ec2;
}

.portal-copy {
  display: grid;
  gap: 6px;
}

.portal-copy small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  opacity: .75;
}

.portal-copy strong {
  font-size: 14px;
}

.portal-arrow {
  font-size: 20px;
}



.contact {
  min-height: 560px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 90px 12vw;
  overflow: hidden;
  color: #f4f1e9;
  background: radial-gradient(ellipse at 140% 50%, #08a057 0, #044224 27%, #171720 65%);
  

}

.contact-div {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.contact-eyebrow {
  margin-bottom: 16px;
}

.contact-h1 {
  margin: 0 0 18px;
  font-size: clamp(52px, 7vw, 80px);
  line-height: .95;
}

.contact-div > p:not(.contact-eyebrow) {
  max-width: 480px;
  color: #d0d2d0;
  font-size: 16px;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 30px;
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}

.contact-cta:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .1);
}

.contact-cta-primary {
  border-color: #08a057;
  background: #08a057;
  color: #080a09;
}

.contact-cta-primary:hover {
  background: #24c879;
}

.fiby-contact {
  position: relative;
  z-index: 1;
  display: block;
  justify-self: center;
  width: min(100%, 400px);
  height: auto;
  object-fit: contain;
  animation: fiby-flota 5s ease-in-out infinite;
}

/* Asterisco decorativo difuminado y giratorio */
.contact-det-one {
  position: absolute;
  z-index: 0;
  top: 12%;
  right: 5%;
  color: rgba(233, 238, 236, 0.418);
  font-size: clamp(80px, 12vw, 150px);
  filter: blur(7px);
  pointer-events: none;
  animation: contact-gira 24s linear infinite;
}
.contact-det-two {
  position: absolute;
  z-index: 0;
  top: 25%;
  right: 8%;
  color: rgba(233, 238, 236, 0.418);
  font-size: clamp(60px, 25vw, 250px);
  filter: blur(8px);
  pointer-events: none;
  animation: contact-gira 20s linear infinite;
}
.contact-det-thre {
  position: absolute;
  z-index: 0;
  top: 15%;
  right: 85%;
  color: rgba(8, 160, 87, .65);
  font-size: clamp(60px, 25vw, 200px);
  filter: blur(9px);
  pointer-events: none;
  animation: contact-gira 24s linear infinite reverse;
}



@keyframes fiby-flota {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes contact-gira {
  to {
    transform: rotate(360deg);
  }
}



@media (prefers-reduced-motion: reduce) {
  .fiby-contact,
  .contact-det-one {
    animation: none;
  }
}
/* ===== CONTACTO Y SUCURSALES ===== */

.contact-section {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  padding: 100px 7vw;
  overflow: hidden;

  display: grid;
  grid-template-columns:
    minmax(220px, 0.8fr)
    minmax(300px, 1.1fr)
    minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(30px, 4vw, 80px);

  color: #f4f1e9;
  background:
    radial-gradient(
      ellipse at 80% 50%,
      rgba(8, 160, 87, 0.38),
      transparent 48%
    ),
    #171720;
}

/* Fiby queda en la primera columna */
.contact-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-mascot img {
  display: block;
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
  animation: fiby-float 5s ease-in-out infinite;
}

/* Texto del centro */
.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.contact-eyebrow {
  margin: 0 0 18px;
  color: #08a057;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-copy h2 {
  margin: 0 0 18px;
  color: #f4f1e9;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-description {
  max-width: 500px;
  margin: 0;
  color: #c6c4ce;
  font-size: 17px;
  line-height: 1.7;
}

/* Selector y tarjeta */
.branch-contact {
  position: relative;
  z-index: 1;
  display: grid;
}


.branch-contact select {
  width: 100%;
  padding: 15px 18px;
  color: #f4f1e9;
  background-color: #20202a;
  border: 1px solid rgba(244, 241, 233, 0.35);
  border-radius: 30px;
  font: inherit;
  cursor: pointer;
}

.branch-contact select:focus {
 background: #08a05600;
}

.branch-contact option {
  color: #ffffff;
  background: #20202a
}

.branch-card {
  backdrop-filter: blur(10px);
}

.branch-card-label {
  margin: 0 0 12px;
}

.branch-card h3 {
  margin: 0 0 8px;
  color: #f4f1e9;
}

.branch-card-address {
  margin: 0 0 16px;
  white-space: pre-line;
}


.branch-map-button {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 22px;
  padding: 12px 17px;
  color: #f4f1e9;
  border: 1px solid rgba(244, 241, 233, 0.5);
  border-radius: 30px;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.branch-map-button:hover {
  color: #101812;
  background: #08a057;
  border-color: #08a057;
  transform: translateY(-px);
}

/* Adorno difuminado que gira */
.contact-glow {
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 65%;
  color: rgba(8, 160, 87, 0.55);
  font-size: clamp(90px, 14vw, 190px);
  line-height: 1;
  filter: blur(10px);
  animation: glow-spin 22s linear infinite;
  pointer-events: none;
 
}
.contact-glow-two {
  position: absolute;
  z-index: -1;
  top: 60%;
  right: 3%;
  color: rgba(8, 160, 87, 0.55);
  font-size: clamp(90px, 14vw, 190px);
  line-height: 1;
  filter: blur(10px);
  animation: glow-spin 22s linear infinite;
  pointer-events: none;
}

@keyframes fiby-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes glow-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* En tablets, la tarjeta pasa abajo */


/* En teléfonos, todos los elementos quedan en una columna */


/* Respeta la preferencia de reducir animaciones del dispositivo */
@media (prefers-reduced-motion: reduce) {
  .contact-mascot img,
  .contact-glow {
    animation: none;
  }

  .branch-map-button {
    transition: none;
  }
}

/* Animación breve de la tarjeta al cambiar sucursal */
.branch-card.is-changing {
  animation: branch-change 380ms ease;
}

@keyframes branch-change {
  0% {
    opacity: 0.45;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Selector y tarjeta de sucursal */
.branch-contact {
  width: 100%;
  max-width: 480px;
  gap: 14px;
}

.branch-contact label {
  color: #08a057;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.branch-controls {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.branch-controls select {
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  color: #f4f1e9;
  background: rgba(0, 0, 0, 0.158);
  border: 1px solid rgb(8, 167, 42);
  border-radius: 14px;
  font: inherit;
  cursor: pointer;
}

.branch-arrow {
  width: 42px;
  height: 42px;
  color: #f4f1e9;
  background: rgba(0, 0, 0, 0.158);
  border: 1px solid rgb(8, 167, 42);
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  transition: 180ms ease;
}

.branch-arrow:hover {
  color: #101812;
  background: #08a057;
  border-color: #08a057;
  transform: translateY(-2px);
}

.branch-card {
  position: relative;
  overflow: hidden;
  margin-top: 2px;
  padding: 28px;
  border: 1px solid rgba(19, 192, 85, 0.979);
  border-left: 3px solid #0f7745;
  border-bottom: 3px solid #0f7745;
  border-radius: 20px;
  background: #080a0944;
}

.branch-card-label {
  margin-bottom: 18px;
  color: #08a057;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.branch-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.branch-card-address {
  margin-bottom: 20px;
  color: #c6c4ce;
  font-size: 14px;
  line-height: 1.6;
}

.branch-card .branch-map-button {
  padding: 12px 17px;
  color: #101812;
  background: #08a057;
  border: 1px solid #08a057;
  font-size: 14px;
  font-weight: 700;
}

.branch-card .branch-map-button:hover {
  color: #f4f1e9;
  background: transparent;
  transform: translateY(-4px);

}

/* Ajustes para celular */

.branch-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 12px 17px;
  color: #101812;
  background: #08a057;
  border: 1px solid #08a057;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 180ms ease;
}

.branch-whatsapp:hover {
  color: #f4f1e9;
  background: transparent;
  transform: translateY(-4px);
}

.branch-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.branch-card-actions .branch-whatsapp,
.branch-card-actions .branch-map-button {
  width: auto;
  margin: 0;
  justify-content: center;
  white-space: nowrap;
}


/* =========================================================
   ADAPTACIÓN DE POSICIONES PARA TABLETS Y CELULARES
   Estas reglas cambian distribución y tamaños; las animaciones
   originales se mantienen sin cambios.
   ========================================================= */

@media (max-width: 1024px) {
  body {
    min-width: 320px;
    overflow-x: hidden;
  }

  .topbar {
    height: 72px;
    padding-inline: clamp(18px, 5vw, 52px);
  }

  .topbar .brand img {
    width: auto;
    height:80px;
    max-width: 64vw;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    cursor: pointer;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    background: rgba(9,8,18,.97);
    backdrop-filter: blur(12px);
    z-index: 1001;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .nav .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  .hero {
    min-height: max(650px, 100svh);
    max-height: none;
    padding: 125px 7vw 88px;
  }

  .hero-content {
    width: min(100%, 680px);
  }

  .hero-content .titulo-especial {
    font-size: clamp(54px, 9vw, 96px);
  }

  .hero-copy {
    max-width: 430px;
  }

  .orb-two {
    width: min(72vw, 720px);
    height: auto;
    right: -7%;
    top: 16%;
    opacity: .48;
  }

  .hero > div.hero-orb.orb-two {
    max-height: none;
  }

  .hero > div.hero-orb.orb-two > img.hero-orb.orb-two {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: 78svh;
    object-fit: contain;
    opacity: 1;
  }

  .section {
    padding: 88px 7vw;
  }

  .intro {
    padding-top: 210px;
    padding-bottom: 100px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 30px;
    transform: none;
  }

  .intro-copy {
    grid-column: auto;
    max-width: 65ch;
  }

  .cards.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card-planes {
    min-width: 0;
  }

  .service-logo,
  .service-logo-planes {
    width: min(100%, 250px);
    height: 190px;
    object-fit: contain;
  }

  .service-card-planes {
    min-height: 340px;
    padding: 22px;
  }

  .megas {
    font-size: clamp(46px, 7vw, 72px);
  }

  .lan-section {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 88px 7vw;
  }

  .lan-content {
    max-width: 680px;
  }

  .lan-diagram {
    width: min(100%, 560px);
    min-height: 340px;
    justify-self: center;
  }

  /* Reservamos una columna para Fiby para que nunca tape el texto. */
  .coverage-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 88px 7vw;
  }

  .coverage-copy {
    width: min(100%, 760px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 190px);
    grid-template-areas:
      "eyebrow fiby"
      "title fiby"
      "description fiby"
      "button fiby";
    align-items: center;
    column-gap: 18px;
  }

  .coverage-eyebrow { grid-area: eyebrow; }
  .coverage-copy h2 { grid-area: title; }
  .coverage-description { grid-area: description; }

  .fiby-cob {
    position: static;
    grid-area: fiby;
    display: block;
    width: min(100%, 190px);
    max-width: 100%;
    height: auto;
    justify-self: center;
    
  }

  .coverage-button {
    grid-area: button;
    justify-self: start;
  }

  .coverage-panel {
    width: min(100%, 760px);
    justify-self: center;
  }

  .contact-section {
    min-height: 0;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 34px 28px;
    padding: 88px 7vw;
  }

  .contact-mascot img {
    width: min(100%, 300px);
  }

  .contact-copy {
    grid-column: 2;
  }

  .branch-contact {
    grid-column: 1 / -1;
    width: min(100%, 680px);
    max-width: none;
    justify-self: center;
  }

  .closing {
    padding: 92px 7vw;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 66px;
    padding-inline: 18px;
  }

  .topbar .brand img {
    height: 80px;
    max-width: 64vw;
  }

  .hero {
    min-height: max(620px, 100svh);
    padding: 108px 22px 78px;
  }

  .hero-content .titulo-especial {
    max-width: 11ch;
    font-size: clamp(48px, 13vw, 76px);
    line-height: .92;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 16px;
  }

  .hero-content > .nav-cta-one,
  .hero-content > .nav-cta-two {
    min-height: 46px;
    margin: 8px 8px 0 0;
    padding: 12px 14px;
    font-size: 11px;
  }

  .orb-two {
    width: min(112vw, 500px);
    right: -40%;
    top: 28%;
    opacity: .34;
  }

  .hero > div.hero-orb.orb-two {
    width: min(112vw, 500px);
    right: -40%;
    top: 28%;
    opacity: .34;
  }

  .hero > div.hero-orb.orb-two > img.hero-orb.orb-two {
    width: 100%;
    max-height: 64svh;
    opacity: 1;
  }

  .section {
    padding: 74px 22px;
  }

  .intro {
    padding-top: 150px;
    padding-bottom: 76px;
  }

  .intro h2,
  .section-title {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 1;
  }

  .intro-grid {
    margin-top: 26px;
    gap: 20px;
  }

  .cards.three {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .service-logo,
  .service-logo-planes {
    width: min(100%, 230px);
    height: 175px;
  }

  .service-card-planes {
    min-height: 300px;
    padding: 20px;
  }

  .service-card-top-planes {
    min-height: 130px;
  }

  .megas {
    font-size: clamp(42px, 12vw, 62px);
  }

  .lan-section {
    gap: 28px;
    padding: 74px 22px;
  }

  .lan-content h2,
  .coverage-copy h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .lan-diagram {
    min-height: 280px;
  }

  .lan-node {
    width: 86px;
    height: 86px;
  }

  .lan-node-main {
    width: 116px;
    height: 116px;
  }

  .lan-node span {
    font-size: 11px;
  }

  .lan-node strong {
    width: min(82%, 96px);
  }

  .coverage-section {
    gap: 28px;
    padding: 74px 22px;
  }

  .coverage-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "description"
      "fiby"
      "button";
    gap: 0;
  }

  .coverage-copy h2 {
    margin-bottom: 16px;
  }

  .coverage-description {
    margin-bottom: 0;
  }

  .fiby-cob {
    width: min(48vw, 180px);
    justify-self: end;
    margin: 0 4% 4px 0;
    
  }

  .coverage-button {
    justify-self: start;
  }

  .coverage-panel {
    padding: 20px;
  }

  .coverage-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .coverage-locations li {
    padding: 9px 6px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .contact-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 74px 22px;
    text-align: center;
  }

  .contact-mascot {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-mascot img {
    width: min(60vw, 220px);
  }

  .contact-copy {
    grid-column: 1;
    grid-row: 2;
    margin-inline: auto;
  }

  .contact-copy h2 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .branch-contact {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
  }

  .branch-controls {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 7px;
  }

  .branch-controls select {
    padding-inline: 10px;
    font-size: 14px;
  }

  .branch-card {
    padding: 20px;
  }

  .branch-card-actions {
    gap: 8px;
  }

  .branch-card-actions .branch-whatsapp,
  .branch-card-actions .branch-map-button {
    flex: 1 1 120px;
  }

  .faq.section {
    padding: 74px 22px;
  }

  .faq summary {
    gap: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  .faq details p {
    max-width: 100%;
  }

  .closing {
    padding: 82px 22px;
  }

  .closing h2 {
    font-size: clamp(50px, 13vw, 78px);
  }

  .closing-buttons {
    gap: 10px;
  }

  .closing-shape,
  .closing-shape-two {
    font-size: 72px;
    opacity: .45;
  }

  footer {
    justify-content: center;
    gap: 14px;
    padding: 18px 22px;
    text-align: center;
  }

  footer .brandone {
    flex-basis: 100%;
  }

  footer .brandone img {
    height: 58px;
  }
}

@media (max-width: 390px) {
  .coverage-locations {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content > .nav-cta-one,
  .hero-content > .nav-cta-two {
    font-size: 10px;
    padding-inline: 11px;
  }

  .branch-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .branch-card-actions .branch-whatsapp,
  .branch-card-actions .branch-map-button {
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .coverage-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(145px, 14vw, 190px);
    grid-template-areas:
      "eyebrow fiby"
      "title fiby"
      "description fiby"
      "button fiby";
    align-items: center;
    column-gap: 18px;
  }

  .coverage-eyebrow { grid-area: eyebrow; }
  .coverage-copy h2 { grid-area: title; }
  .coverage-description { grid-area: description; }

  .fiby-cob {
    position: static;
    grid-area: fiby;
    display: block;
    width: min(100%, 190px);
    max-width: 100%;
    height: auto;
    justify-self: center;
    
  }

  .coverage-button {
    grid-area: button;
    justify-self: start;
  }
}
/* Animación de la respuesta */
.faq-list details p {
  animation: respuesta-aparece 250ms ease both;
}

@keyframes respuesta-aparece {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quita el marcador predeterminado del navegador */
.faq-list summary {
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* Agrega una flecha que gira al abrir la pregunta */
.faq-list summary::after {
  content: "＋";
  float: right;
  color: #6549ff;
  transition: transform 200ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

/* Pequeño cambio de color al pasar el mouse */
.faq-list summary:hover {
  color:#08A057;
  transform: translateY(2px);
}
.service-card-top-planes {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-top-planes .megas {
  margin-top: 100px;
}

.service-card-bottom p {
  min-height: 2em;
}

/* COBERTURA: texto y distribución adaptable */
.coverage-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.coverage-copy {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  grid-template-areas:
    "eyebrow ."
    "title description"
    "button fiby";
  align-items: center;
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 8px;
}

.coverage-eyebrow {
  grid-area: eyebrow;
}

.coverage-copy h2 {
  grid-area: title;
  max-width: none;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 0.98;
}

.coverage-description {
    max-width: 42ch;
    margin-bottom: 8px;
}

.coverage-button {
  grid-area: button;
  justify-self: start;
  align-self: start;
}


/* Tablet */
@media (max-width: 900px) {
  .coverage-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 84px 7vw;
  }

  .coverage-copy {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  }

  .coverage-panel {
    width: 100%;
  }
}

/* Celular */
@media (max-width: 600px) {
  .coverage-section {
    max-width: 42ch;
    margin-bottom: 8px;
  }

  .coverage-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "description"
      "fiby"
      "button";
    row-gap: 0;
  }

  .coverage-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(42px, 11vw, 58px);
  }

  .coverage-description {
    max-width: 42ch;
    margin-bottom: 8px;
  }


  .coverage-panel {
    padding: 20px;
  }

  .coverage-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .coverage-locations li {
    min-width: 0;
    padding: 9px 6px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
}

/* Celulares angostos */
@media (max-width: 390px) {
  .coverage-locations {
    grid-template-columns: minmax(0, 1fr);
  }
}

.coverage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.coverage-eyebrow {
  margin-bottom: 22px;
}

.coverage-copy h2 {
  margin-bottom: 18px;
}

.coverage-description {
  max-width: 52ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.coverage-button {
  margin-top: 24px;
}

/* Pantallas chicas */
@media (max-width: 600px) {
  .coverage-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 72px 22px;
  }

  .coverage-copy h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .coverage-description {
    max-width: 42ch;
    font-size: 17px;
  }

  .coverage-panel {
    width: 100%;
    padding: 20px;
  }

  .coverage-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .coverage-locations {
    grid-template-columns: minmax(0, 1fr);
  }
}

.redes:hover{
  color: #ffffff; 
}

.requisitos {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.requisitos li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 20px;
  line-height: 1.5;
  color: rgba(173, 172, 172, 0.774);
}

.requisitos li::before {
  content: ">";
  position: absolute;
  left: 3px;
  color: rgba(173, 172, 172, 0.774);
  font-size: 22px; /* Tamaño de la viñeta */
  font-weight: 700;
  line-height: 1;
}

.portal-link-tres {
  background-color: #e047002d;
}

.portal-link-tres:hover {
  background-color: #e01a0052;
  }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-legal-links a {
  color: rgba(244, 241, 233, 0.7);
  font-size: 12px;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  color: #08a057;
}

.factura {
  margin-top: 15px;
}

.factura:hover {
  margin-top: 15px;
  transform: translateY(-1px);
}


.factura-link {
  color: #cdccd1;
  font-size: 20px;

}

.factura-link:hover {
  color:#08a057;
}

.nav-link {
  padding: 0;
  border: 0;
  background: transparent;
  color:#c8c7d0;
  font: inherit;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--green, #eef3f1);
}

.nav-tramite {
  position: relative;
}

.nav-tramite-card[hidden] {
  display: none;
}

.nav-tramite-card {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 14px);
  right: 0;
  width: min(340px, 90vw);
  padding: 22px;
  color: #f4f1e9;
  background:
    radial-gradient(ellipse at top right, rgba(8, 160, 86, 0.26), transparent 65%),
    #20202a;
  border: 1px solid rgba(218, 223, 217, 0.575);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  animation: tarjeta-aparece 0.2s ease-out;
}

.nav-tramite-card h3 {
  margin: 8px 24px 8px 0;
  font-size: 19px;
}

.nav-tramite-card p {
  margin: 0 0 16px;
  color: #c4c3ccb7;
  font-size: 14px;
  line-height: 1.5;
}

.tramite-etiqueta {
  color: #08a057;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav-tramite-card > a {
  display: inline-flex;
  gap: 8px;
  color: #08a057;
  font-weight: 700;
  text-decoration: none;
}

.tramite-cerrar {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #f4f1e9;
  font-size: 22px;
  cursor: pointer;
}

@keyframes tarjeta-aparece {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .nav {
    overflow: visible;
    gap: 8px;
  }

  .nav-tramite {
    width: 100%;
  }

  .nav-tramite > .nav-link {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
  }

  .nav-tramite-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: none;
    margin: 6px 0 10px;
    box-sizing: border-box;
  }
}

/* =========================
   Contacto y sucursales
========================== */
.contact-hub {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) clamp(22px, 7vw, 100px);
  color: #f4f1e9;
  background:
    radial-gradient(
      ellipse at 82% 35%,
      rgba(8, 160, 87, 0.18),
      transparent 42%
    ),
    #171720;
}

.contact-hub-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.contact-hub-heading {
  margin-bottom: 34px;
}

.contact-hub-eyebrow {
  margin: 0 0 10px;
  color: #08a057;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-hub-heading h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-hub-heading > p:last-child {
  margin: 14px 0 0;
  color: rgba(244, 241, 233, 0.72);
  font-size: 16px;
}

.contact-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-location-card {
  position: relative;
  min-width: 0;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(244, 241, 233, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.contact-location-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 160, 87, 0.65);
  background: rgba(8, 160, 87, 0.075);
}

.contact-location-number {
  color: #08a057;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-location-card h3 {
  margin: 12px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.25;
}

.contact-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.contact-location-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(244, 241, 233, 0.28);
  border-radius: 999px;
  color: #f4f1e9;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.contact-location-actions a:hover {
  border-color: #08a057;
  background: rgba(8, 160, 87, 0.16);
}

@media (max-width: 850px) {
  .contact-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .contact-hub {
    padding: 64px 20px;
  }

  .contact-hub-heading {
    margin-bottom: 26px;
  }

  .contact-hub-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .contact-location-card {
    min-height: 145px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-location-card,
  .contact-location-actions a {
    transition: none;
  }
}
/* Detalles visuales para las tarjetas */
.contact-location-card {
  overflow: hidden;
  isolation: isolate;
}

.contact-location-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #08a057,
    rgba(8, 160, 87, 0.15),
    transparent
  );
  opacity: 0.55;
  transition: opacity 220ms ease;
}

.contact-location-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(8, 160, 87, 0.13);
  filter: blur(38px);
  opacity: 0;
  transition: opacity 250ms ease;
}

.contact-location-card:hover::before,
.contact-location-card:hover::after {
  opacity: 1;
}

.contact-location-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-location-number::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #08a057;
  box-shadow: 0 0 10px rgba(8, 160, 87, 0.8);
}

.contact-location-actions a:first-child {
  border-color: rgba(8, 160, 87, 0.45);
}

.contact-location-actions a:first-child:hover {
  background: #08a057;
  color: #07130c;
}

.contact-location-actions a span {
  transition: transform 180ms ease;
}

.contact-location-actions a:hover span {
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  .contact-location-card::before,
  .contact-location-card::after,
  .contact-location-actions a span {
    transition: none;
  }
}
.contact-location-hours {
  margin: 10px 0 0;
  color: rgba(244, 241, 233, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.contact-location-card {
  min-height: 190px;
}