/* ==========================================
   VIGUI TELECOMUNICACIONES - CSS
   ========================================== */

/* --- Tipografía autoalojada (sin Google Fonts) --- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Variables --- */
:root {
  --primary-lighter: #00b3ff;
  --primary-light: #0583f2;
  --primary-main: #0e58ea;
  --primary-dark: #0039a4;
  --primary-darker: #003494;
  --secondary-lighter: #ffc85f;
  --secondary-light: #ff912c;
  --secondary-main: #ff7a00;
  --secondary-dark: #ff4c00;
  --secondary-darker: #e54500;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --gray-950: #020617;
  --max-width: 1300px;
  --border-radius: 0.75rem;
  --gradient-orange: linear-gradient(90deg, #fbebd8, transparent 8% 93%, #fbebd8);
  --gradient-blue: linear-gradient(90deg, #c0cde8, transparent 8% 93%, #c0cde8);
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  scroll-margin-top: 3.5rem;
}

@media (min-width: 837px) {
  * { scroll-margin-top: 4.5rem; }
}

html { scroll-behavior: smooth; }

/* height:auto evita que los atributos width/height del HTML deformen la imagen
   cuando el CSS solo define el ancho */
img { display: block; user-select: none; height: auto; }
a, button { text-decoration: none; color: inherit; cursor: pointer; }
li { list-style: none; }

button, .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 0.3rem;
  background: var(--secondary-dark);
  font-weight: 700;
  color: #fff;
  border: none;
  transition: 0.3s ease;
  font-size: 0.95rem;
  text-align: center;
}

button:hover, .btn:hover {
  background: var(--secondary-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f9faff;
  overflow-x: hidden;
  color: var(--gray-800);
}

main { flex-grow: 1; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

h2.title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  background: #0044c0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header__inner {
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { width: 80px; }

.header__nav {
  gap: 1.5rem;
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 2;
  font-size: 0.95rem;
}

.header__nav a:not(.btn):hover,
.header__nav a:not(.header__button):hover {
  color: var(--secondary-lighter);
}

.header__button {
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.burgerIcon { display: none; cursor: pointer; }
.burgerIcon img { width: 28px; }

/* ==========================================
   HERO
   ========================================== */
.hero { position: relative; overflow: hidden; }

.hero__inner {
  height: calc(100vh - 3.5rem);
  display: grid;
  grid-template-rows: 1fr 1fr;
  place-items: center;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__article {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 85%;
  gap: 1.5rem;
}

.hero__article h1 {
  font-size: clamp(1.3rem, 5vw, 2.8rem);
  color: #000;
  font-weight: 400;
  line-height: 1.3;
}

.hero__article span {
  color: var(--primary-lighter);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
  display: block;
}

.hero__article button,
.hero__article .btn {
  width: max-content;
  margin: 0 auto;
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  border: 3px solid transparent;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
}

.hero__article button:hover,
.hero__article .btn:hover {
  background: #fff;
  color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 50%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__person { max-width: 280px; }

/* ==========================================
   ABOUT US
   ========================================== */
.aboutUs { background: #f9faff; }

.aboutUs__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

.aboutUs__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.aboutUs__card {
  color: #fff;
  box-shadow: inset 0 0 30px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  max-width: 31.25rem;
  padding: 2rem;
}

.aboutUs__card h2 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}

.aboutUs__card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.aboutUs__card:first-child {
  border-radius: 1rem 1rem 0 0;
  background: var(--primary-main);
  padding-right: 5rem;
}

.aboutUs__card:first-child h2 { color: var(--secondary-lighter); }

.aboutUs__card:nth-child(2) {
  background: var(--primary-dark);
  border-radius: 0 0 1rem 1rem;
  padding-left: 5rem;
  text-align: end;
}

.gradient_1 {
  width: 25px;
  height: 120px;
  background: linear-gradient(to bottom, var(--secondary-dark) 25%, var(--secondary-main) 25% 50%, var(--secondary-light) 50% 75%, var(--secondary-lighter) 75% 100%);
  position: absolute;
  right: 20px;
  top: 45px;
  border-radius: 4px;
}

.gradient_2 {
  width: 25px;
  height: 120px;
  background: linear-gradient(to bottom, var(--secondary-lighter) 25%, var(--secondary-light) 25% 50%, var(--secondary-main) 50% 75%, var(--secondary-dark) 75% 100%);
  position: absolute;
  left: 20px;
  top: 45px;
  border-radius: 4px;
}

/* ==========================================
   TEAM
   ========================================== */
.team {
  background: var(--gray-100);
}

.team__inner {
  padding: 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.cardTeam__wrapper {
  display: flex;
  place-items: center;
  place-content: center;
}

.cardTeam {
  background: var(--primary-dark);
  color: #fff;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  padding: 1rem 1rem 1rem 2.5rem;
  width: 150px;
  margin-left: 4rem;
  transition: transform 0.3s ease;
}

.cardTeam:hover {
  transform: translateY(-4px);
}

.cardTeam__img {
  position: absolute;
  left: -50px;
  top: 0;
  aspect-ratio: 1/1;
  width: 70px;
  border-radius: 0.5rem;
  border: 3.5px solid var(--secondary-light);
  overflow: hidden;
  transform: rotate(45deg);
}

.cardTeam__img img {
  width: 100%;
  transform: rotate(-45deg);
  scale: 1.35;
}

.cardTeam h2 {
  color: var(--secondary-lighter);
  font-size: 1rem;
}

.cardTeam p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ==========================================
   BENEFITS
   ========================================== */
.benefits { background: var(--gray-100); }

.benefits__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

.benefits__inner > h2 { color: var(--primary-main); }

.benefits__cards {
  display: flex;
  flex-wrap: wrap;
  place-content: center;
  gap: 1.5rem;
}

.benefitCard {
  width: 100%;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefitCard:hover {
  transform: translateY(-5px);
}

.benefitCard img { width: 65px; }
.benefitCard p { font-size: 0.85rem; line-height: 1.4; }

/* ==========================================
   SERVICES (Internet Plans)
   ========================================== */
.services {
  color: #fff;
  position: relative;
  background: var(--primary-main);
}

.services__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: -1;
}

.services__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

.subtitle {
  font-size: clamp(1rem, 4vw, 2.3rem);
  font-weight: 400;
  text-align: center;
}

/* Sobre el fondo azul/naranja el título en azul oscuro no contrasta */
.services h2.title,
.services .subtitle,
.services__footer h4 { color: #fff; }

.services__footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.services__footer h4 {
  font-size: clamp(0.95rem, 3vw, 1.4rem);
  max-width: 550px;
  line-height: 1.4;
}

.services__footer button,
.services__footer .btn {
  font-size: clamp(1rem, 3vw, 1.5rem);
  background: #fff;
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
}

.services__footer button:hover,
.services__footer .btn:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

/* ==========================================
   CARD PLAN
   ========================================== */
.cardPlan__wrapper {
  display: flex;
  place-content: center;
  place-items: center;
}

.cardPlan {
  height: max-content;
  padding: 1.5rem 1.5rem 0;
  position: relative;
  width: 260px;
  margin-top: 1rem;
}

.cardPlan--primary {
  --header-bg: var(--primary-dark);
  --header-bg--hover: #fff;
  --header-title: var(--secondary-light);
  --header-title--hover: var(--primary-main);
  --header-subtitle: var(--gray-50);
  --header-subtitle--hover: var(--gray-950);
  --body-bg: var(--gray-50);
  --body-bg--hover: var(--primary-dark);
  --body-title: var(--primary-dark);
  --body-title--hover: var(--gray-50);
  --button-bg: var(--secondary-dark);
  --button-bg--hover: var(--primary-light);
  --button-text: var(--gray-50);
}

.cardPlan--secondary {
  --header-bg: var(--secondary-dark);
  --header-bg--hover: var(--gray-50);
  --header-title: var(--gray-50);
  --header-title--hover: var(--secondary-dark);
  --header-subtitle: var(--gray-50);
  --header-subtitle--hover: var(--secondary-main);
  --body-bg: var(--gray-50);
  --body-bg--hover: var(--secondary-dark);
  --body-title: var(--secondary-dark);
  --body-title--hover: var(--gray-50);
  --button-bg: var(--primary-dark);
  --button-bg--hover: var(--secondary-light);
  --button-text: var(--gray-50);
}

.cardPlan__header {
  background: var(--header-bg);
  padding: 2rem 3rem;
  border-radius: 0.5rem;
  position: absolute;
  transform: translateX(-1.5rem) translateY(-1.5rem);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 0.5rem;
}

.recommended {
  background: var(--secondary-main);
  position: absolute;
  width: 100%;
  padding: 0.5rem 0;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0.25rem 0.25rem 0 0;
  top: -23px;
  font-size: 0.7rem;
}

.cardPlan__header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--header-title);
  white-space: nowrap;
}

.cardPlan__header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--header-subtitle);
  white-space: nowrap;
}

.cardPlan__header h4 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--header-subtitle);
  white-space: nowrap;
}

.cardPlan__body {
  background: var(--body-bg);
  border-radius: 0.5rem;
  padding: 11rem 3rem 6rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cardPlan__body p {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--body-title);
  transition: 0.3s ease;
}

.cardPlan__btn {
  padding: 0.6rem 2rem;
  position: absolute;
  right: 10px;
  bottom: 1.5rem;
  transition: 0.2s ease;
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  background: var(--button-bg);
  color: var(--gray-50);
  border-radius: 0.3rem;
}

.cardPlan__btn:hover {
  border: 2px solid var(--gray-50);
  border-right: 0;
}

.cardPlan:hover .cardPlan__header {
  transform: translateX(-0.5rem) translateY(-0.5rem);
  background: var(--header-bg--hover);
}

.cardPlan:hover .cardPlan__header h2 { color: var(--header-title--hover); }
.cardPlan:hover .cardPlan__header h3,
.cardPlan:hover .cardPlan__header h4 { color: var(--header-subtitle--hover); }

.cardPlan:hover .cardPlan__body { background: var(--body-bg--hover); }

.cardPlan:hover .cardPlan__body p {
  transform: translateY(0.4rem);
  color: var(--body-title--hover);
}

.cardPlan:hover .cardPlan__btn {
  background: var(--button-bg--hover);
  transform: translateY(0.2rem) translateX(-0.2rem);
}

/* ==========================================
   TV SECTION
   ========================================== */
.services--tv { background: var(--secondary-dark); }

.tv__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1100px;
  align-items: center;
  justify-content: center;
}

.tv__card {
  display: flex;
  justify-content: center;
}

.tv__video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 500px;
  position: relative;
  background: linear-gradient(150deg, #6d6d6d, #494949, #272727, #161616);
  margin: 0 auto;
}

.tv__border {
  position: absolute;
  width: 100%;
  transform: scale(1.065);
  display: none;
  pointer-events: none;
  top: 0;
}

.tv__shadow {
  width: 100%;
  position: absolute;
  bottom: -72px;
  transform: scale(1.08);
  display: none;
  pointer-events: none;
}

/* YouTube Lite */
.yt-lite {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.yt-lite__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-lite__playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 14px;
  transition: 0.2s ease;
}

.yt-lite__playbtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.yt-lite:hover .yt-lite__playbtn {
  background: rgba(255, 76, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================
   VALUES
   ========================================== */
.values {
  padding: 2rem 1rem;
  background: var(--gray-100);
}

.values__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.values__inner > h2 { color: var(--primary-main); }

.values__cards {
  display: flex;
  flex-wrap: wrap;
  place-items: center;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.valueCard {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.valueCard:hover { transform: translateY(-4px); }

.valueCard img { width: 55px; }
.valueCard h2 { font-weight: 600; font-size: 1.1rem; color: var(--primary-dark); }
.valueCard p { font-size: 0.9rem; line-height: 1.5; }

/* ==========================================
   CHARACTERISTICS
   ========================================== */
.characteristics {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 144, 18, 0.9), rgba(255, 122, 0, 0.7));
}

.characteristics__bg {
  height: 100%;
  position: absolute;
  z-index: -1;
  right: 0;
}

.characteristics__list {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #fff;
}

.characteristics__list p {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: clamp(1rem, 3.5vw, 1.6rem);
  max-width: 500px;
  gap: 0.75rem;
  line-height: 1.4;
}

.characteristics__list p:nth-child(2n) {
  flex-direction: row-reverse;
  text-align: end;
  align-self: flex-end;
}

.characteristics__list img { width: 28px; flex-shrink: 0; }

/* ==========================================
   DESCRIPTION (Internet Dedicado)
   ========================================== */
.description {
  background: var(--gray-100);
}

.description__inner {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.description__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.description__text .title {
  text-align: center;
}

.description__text h2 {
  color: var(--primary-main);
  margin: 0 1rem;
}

.description__text p {
  margin: 0 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.description__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.description__graphics {
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials { background: var(--gray-100); }

.testimonials__inner {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial__wrapper {
  display: flex;
  place-items: center;
  place-content: center;
}

.testimonial {
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.testimonial span {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 240px;
  color: var(--gray-600);
  font-style: italic;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  background: var(--primary-dark);
  padding: 1rem;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-content: center;
  place-items: center;
  padding: 2rem 1.5rem;
  margin: 0 auto;
  color: #fff;
  position: relative;
  z-index: 2;
  min-height: 200px;
  border-radius: 1rem;
  overflow: hidden;
}

.contact__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  object-fit: cover;
  right: 0;
}

.contact__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
}

.contact__text p {
  font-size: clamp(1.1rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}

.contact__text button,
.contact__text .btn {
  font-size: clamp(1rem, 3vw, 1.8rem);
  width: max-content;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
}

.contact__text button:hover,
.contact__text .btn:hover {
  background: #fff;
  color: var(--secondary-dark);
}

.contact__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact__person {
  transform: scale(1.15);
  width: 100%;
  max-width: 250px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--primary-dark);
  padding: 2rem 1rem;
  color: #fff;
}

.footer__inner {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__logo {
  width: 110px;
  margin-bottom: 0.5rem;
}

.footer__title {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  color: var(--secondary-lighter);
}

.footer__brand {
  margin-bottom: 1.5rem;
}

.footer__links {
  margin-bottom: 1.5rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links li a:hover,
.footer__location a:hover {
  color: var(--secondary-lighter);
}

.textIcon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.textIcon i { font-size: 1rem; min-width: 18px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.textIcon .icon { width: 1rem; height: 1rem; min-width: 18px; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social i { font-size: 1.5rem; }
.social .icon { width: 1.5rem; height: 1.5rem; transition: color .2s, transform .2s; }
.social a:hover .icon { transform: translateY(-2px); }
.social a:hover { color: var(--secondary-lighter); }

.footer__schedule ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__schedule li { font-size: 0.9rem; }

.map {
  margin-top: 0.8rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.map img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* ==========================================
   SWIPER
   ========================================== */
.swiper {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.swiper-pagination-bullet-active {
  background-color: var(--secondary-light);
}

/* ==========================================
   RESPONSIVE - Mobile First
   ========================================== */

/* Extra small phones < 400px */
@media (max-width: 400px) {
  .contact__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .contact__text { align-items: center; }
  .contact__person { display: none; }
}

/* Small phones < 480px */
@media (max-width: 480px) {
  .aboutUs__card { padding: 1.5rem; }
  .aboutUs__card:first-child { padding-right: 3rem; }
  .aboutUs__card:nth-child(2) { padding-left: 3rem; }
  .gradient_1 { right: 10px; height: 80px; }
  .gradient_2 { left: 10px; height: 80px; }
}

/* 381px+ */
@media (min-width: 381px) {
  .cardTeam { width: 200px; }
  .cardTeam h2 { font-size: 1.1rem; }
  .cardTeam__img { width: 75px; left: -55px; }
  .cardTeam p { font-weight: 600; font-size: 0.9rem; }
  .testimonial { max-width: 280px; }
}

/* 401px+ */
@media (min-width: 401px) {
  .footer { padding: 2rem 2rem; }
  .footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 481px+ */
@media (min-width: 481px) {
  .benefitCard { max-width: 160px; }
  .benefitCard img { width: 80px; }
  .valueCard { max-width: 250px; }
  .valueCard img { width: 65px; }
  .contact { padding: 2rem; }
  .contact__inner { padding: 1.5rem 3rem; border-radius: 1rem; }
}

/* 561px+ - Gradient backgrounds */
@media (min-width: 561px) {
  .aboutUs { background: linear-gradient(#f9faff, transparent), var(--gradient-blue); }
  .benefits { background: var(--gradient-blue); }
  .team { background: var(--gradient-blue); }
  .values { background: var(--gradient-blue); }
  .description { background: var(--gradient-orange); }
  .testimonials { background: var(--gradient-orange); }
  .contact { background: var(--gradient-orange); }
}

/* 601px+ */
@media (min-width: 601px) {
  .hero__bg { height: 65%; }
}

/* 721px+ */
@media (min-width: 721px) {
  .footer {
    padding: 2.5rem 3rem;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer__brand { margin-bottom: 0; }
  .footer__links { margin-bottom: 0; }
  .social { gap: 1.2rem; }
  .social i { font-size: 1.8rem; }
  .social .icon { width: 1.8rem; height: 1.8rem; }
  .textIcon i { font-size: 1.2rem; }
  .textIcon .icon { width: 1.2rem; height: 1.2rem; }

  .aboutUs__inner { gap: 2rem; padding: 2.5rem 1rem; }
  .benefits__inner { gap: 2rem; padding: 2.5rem 1rem 3.5rem; }
  .benefits__cards { gap: 2rem; }
  .benefitCard img { width: 100px; }
  .benefitCard p { font-size: 0.95rem; }

  .hero__inner {
    height: calc(100vh - 4.2rem);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding-right: 2rem;
  }
  .hero__article {
    text-align: end;
    width: 100%;
    margin-right: 3rem;
  }
  .hero__article h1 { color: #fff; }
  .hero__article button,
  .hero__article .btn {
    margin-right: 0;
    margin-top: 2rem;
    padding: 1rem 2rem;
  }
  .hero__bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .hero__person { width: 100%; max-width: 100%; }

  .team__inner { gap: 2rem; }
  .services__inner { padding: 2rem 1rem 3rem; }
  .services__footer { margin-top: 1rem; }
  .services--tv .services__inner { padding: 2.5rem 1rem; }
  .services--tv .services__footer { margin-top: 1rem; }

  .characteristics__list { padding: 3.5rem 3rem; gap: 2rem; }
  .characteristics__bg { height: 100%; object-fit: cover; top: 0; }
  .characteristics__list img { width: 35px; margin-top: 0.2rem; }

  .description__inner {
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    place-content: center;
    align-items: center;
  }
  .description__text .title { text-align: start; }
  .description__text h2 { margin: 0; }
  .description__text p { margin: 0; max-width: 500px; }

  .testimonials__inner { gap: 2rem; }
  .testimonials { padding: 1.5rem 1rem 0; }

  .contact__inner { grid-template-columns: 1fr 250px; }
  .contact__text { gap: 2rem; }

  .values__inner { padding: 2rem 0; gap: 2rem; }
  .values__cards { gap: 2rem; }
  .valueCard { max-width: 350px; }
  .valueCard img { width: 70px; }
}

/* Mobile nav <= 836px */
@media (max-width: 836px) {
  .header__inner { padding: 0.6rem 1rem; }
  .header__nav {
    position: absolute;
    width: 70%;
    max-width: 260px;
    height: calc(100vh - 3.5rem);
    top: 3.5rem;
    right: 0;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    flex-direction: column;
    display: none;
    background: var(--primary-darker);
    align-items: flex-start;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  }
  .header__nav.active { display: flex; }
  .burgerIcon { display: inherit; }
  /* Ocultar botón "Contratar ahora" en menú móvil */
  .header__button,
  a.header__button { display: none; }
}

@media (min-width: 837px) {
  .header__nav { display: flex; }
}

/* Card plan mobile < 799px */
@media (max-width: 799px) {
  .cardPlan { padding: 1rem 1rem 0; width: 250px; }
  .cardPlan__header {
    padding: 0.8rem 1.2rem;
    transform: translateX(-1rem) translateY(-1rem);
    gap: 0.3rem;
  }
  .cardPlan__header h2 { font-size: 1.5rem; }
  .cardPlan__header h3 { font-size: 1.3rem; }
  .cardPlan__header h4 { font-size: 0.75rem; }
  .cardPlan__body { padding: 6.5rem 2rem 4.5rem; }
  .cardPlan__body p { font-size: 1.15rem; }
  .cardPlan__btn {
    padding: 0.6rem 2rem;
    right: 5px;
    bottom: 1rem;
    font-size: 1.1rem;
  }

  /* TV card adjustments */
  .services--tv .cardPlan__header {
    padding: 0.6rem 0.8rem;
    transform: translateX(-1rem) translateY(-1rem);
    gap: 0.2rem;
  }
  .services--tv .cardPlan__header h2 { font-size: 1.3rem; }
  .services--tv .cardPlan__header h3 { font-size: 1.1rem; }
  .services--tv .cardPlan__header h4 { font-size: 0.7rem; }
  .services--tv .cardPlan__body { padding: 7rem 1.5rem 4rem; }
  .services--tv .cardPlan__body p { font-size: 1rem; }
}

/* 801px+ */
@media (min-width: 801px) {
  .cardPlan { width: 320px; margin-top: 2rem; }
  .cardPlan__body { padding: 11rem 3rem 6rem 2.5rem; }
  .recommended { top: -30px; font-size: 1rem; }
}

/* 981px+ */
@media (min-width: 981px) {
  .services--tv .services__inner { overflow: hidden; gap: 1.5rem; }
  .tv__content { flex-direction: row; align-items: center; }
  .tv__video { max-width: 680px; margin: 3rem 0 0; }
}

/* 1061px+ */
@media (min-width: 1061px) {
  .characteristics__list { padding: 5rem 8rem; gap: 2rem; }
  .characteristics__bg { height: 100%; width: 100%; }
}

/* 1121px+ */
@media (min-width: 1121px) {
  .aboutUs__cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 2rem;
  }
  .aboutUs__card p { font-size: 1rem; }
  .aboutUs__card:first-child {
    transform: translateX(70px);
    border-radius: 1rem;
    z-index: 1;
  }
  .aboutUs__card:nth-child(2) {
    transform: scale(0.85) translateY(-70px) translateX(-20px);
    border-radius: 1rem;
  }
  .aboutUs__cards:hover .aboutUs__card:first-child {
    transform: scale(0.85) translateY(-70px) translateX(20px);
  }
  .aboutUs__cards:hover .aboutUs__card:nth-child(2) {
    transform: translateX(-70px) translateX(-20px);
    z-index: 2;
  }
  .tv__video { margin-bottom: 4rem; overflow: initial; }
  .tv__content { margin-left: 5rem; gap: 4rem; }
  .tv__border { display: initial; top: -38px; }
  .tv__shadow { display: initial; }
  .services--tv .services__footer { margin-top: 3rem; margin-bottom: 1rem; }
}

/* 1141px+ */
@media (min-width: 1141px) {
  .tv__border { top: -42.5px; }
}

/* 1201px+ */
@media (min-width: 1201px) {
  .footer__inner > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 2rem;
  }
  .footer__inner > div:first-child { grid-template-columns: 1.8fr 1fr; }
  .footer__inner > div:last-child { grid-template-columns: 1fr 1.5fr; }

  .aboutUs__card { padding: 2.5rem 5rem 2.5rem 4rem; max-width: 38rem; }
  .gradient_1 { right: 40px; top: 55px; }
  .gradient_2 { left: 40px; top: 55px; }
  .benefits__cards { gap: 2rem; }
  .benefits__inner { padding: 2rem 1rem 4rem; }
  .hero__inner { padding-right: 0; }
  .description__inner { grid-template-columns: 600px 500px; }
  .contact { padding: 2.5rem 2rem 3rem; }
  .contact__inner { padding: 2rem 4rem; max-width: 1100px; }
  .values__cards { gap: 2.5rem; }
  .valueCard img { width: 80px; }
  .values__inner { padding: 2rem 0 3rem; }
}

/* --- Botón flotante de WhatsApp --- */
.waFloat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.waFloat .icon { width: 1.5rem; height: 1.5rem; }

.waFloat:hover,
.waFloat:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .waFloat span { display: none; }
  .waFloat { padding: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waFloat, .social .icon { transition: none; }
}

/* --- Foco visible para navegación por teclado --- */
a:focus-visible,
button:focus-visible,
.burgerIcon:focus-visible {
  outline: 3px solid var(--secondary-main);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================
   CABECERA — ANCHOS INTERMEDIOS (837px – 979px)
   ==========================================
   A esos anchos el menú horizontal cabía justo y "Planes y servicios"
   se partía en dos líneas, encimándose con el logo. Se mantiene el menú
   hamburguesa hasta los 980px, donde ya hay espacio de sobra.
*/
@media (max-width: 979px) {
  .header__nav {
    position: absolute;
    width: 70%;
    max-width: 260px;
    height: calc(100vh - 3.5rem);
    top: 3.5rem;
    right: 0;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    flex-direction: column;
    display: none;
    background: var(--primary-darker);
    align-items: flex-start;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  }

  .header__nav.active { display: flex; }
  .burgerIcon { display: inherit; }
  .header__button,
  a.header__button { display: none; }
}

@media (min-width: 980px) {
  .header__nav { display: flex; }
  /* Ningún enlace del menú debe partirse en dos líneas */
  .header__nav a { white-space: nowrap; }
}

/* ==========================================
   PROMOCIÓN — Paga, participa y gana
   ========================================== */
.promo {
  background: linear-gradient(160deg, #0b2a6b, #061c4d);
  padding: 2.5rem 1rem;
}

.promo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.promo__img {
  width: 100%;
  max-width: 1100px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.promo__texto {
  max-width: 640px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.promo__titulo {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  color: var(--secondary-lighter);
}

.promo__texto p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.promo__legal {
  font-size: 0.82rem !important;
  color: #c8d4ee;
  line-height: 1.5;
}

.promo__legal a {
  color: var(--secondary-lighter);
  text-decoration: underline;
}

.promo__btn {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  padding: 0.75rem 1.6rem;
  border-radius: 0.5rem;
}

@media (min-width: 981px) {
  .promo { padding: 3.5rem 1rem; }
  .promo__inner { gap: 2rem; }
}

/* Reserva del espacio correcto para cada versión del banner de la promoción
   (evita el salto de maquetación mientras carga la imagen) */
.promo__img { aspect-ratio: 2560 / 667; }

@media (max-width: 899px) {
  .promo__img {
    aspect-ratio: 1 / 1;      /* la versión de móvil es cuadrada */
    max-width: 480px;
  }
}

/* ==========================================
   CANALES — marquesina infinita
   ========================================== */
.canales {
  background: linear-gradient(180deg, var(--gray-100), #eef2fb);
  padding: 3rem 0;
  overflow: hidden;
}

.canales__cabecera {
  text-align: center;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.canales__intro {
  max-width: 620px;
  margin: 0.75rem auto 0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: var(--gray-600);
}

/* Difuminado en los bordes: los logos entran y salen sin cortarse en seco */
.marquee {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__fila { overflow: hidden; }

.marquee__pista {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: viguiDesliza var(--duracion, 80s) linear infinite;
  will-change: transform;
}

.marquee__fila--inversa .marquee__pista { animation-direction: reverse; }

@keyframes viguiDesliza {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Al pasar el cursor se detiene todo, para poder mirar un logo con calma */
.marquee:hover .marquee__pista,
.marquee:focus-within .marquee__pista { animation-play-state: paused; }

.canalCard {
  flex: 0 0 auto;
  width: 138px;
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.7rem 0.6rem 0.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.canalCard img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.canalCard__nombre {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.canalCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.canalCard:hover img { filter: grayscale(0); opacity: 1; }

@media (min-width: 768px) {
  .canalCard { width: 158px; }
  .canalCard img { height: 60px; }
  .canalCard__nombre { font-size: 0.72rem; }
}

/* ==========================================
   PARRILLA COMPLETA (desplegable)
   ========================================== */
.parrilla {
  margin: 2.25rem auto 0;
  max-width: 1000px;
  padding: 0 1rem;
}

.parrilla__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--primary-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.25s ease, transform 0.2s ease;
  width: max-content;
}

.parrilla { text-align: center; }
.parrilla__toggle::-webkit-details-marker { display: none; }
.parrilla__toggle:hover { background: var(--primary-dark); transform: translateY(-2px); }
.parrilla__toggle::after { content: "▾"; font-size: 0.85em; }
.parrilla[open] .parrilla__toggle::after { content: "▴"; }
.parrilla__cerrar { display: none; }
.parrilla[open] .parrilla__abrir { display: none; }
.parrilla[open] .parrilla__cerrar { display: inline; }

.parrilla__lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 0.4rem 1rem;
  margin-top: 1.5rem;
  text-align: left;
  animation: viguiAbre 0.35s ease;
}

.parrilla__lista li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 0.3rem 0.4rem;
  border-radius: 0.3rem;
}

.parrilla__lista li:hover { background: #fff; }

.parrilla__num {
  font-weight: 700;
  color: var(--primary-main);
  min-width: 1.9rem;
  font-variant-numeric: tabular-nums;
}

.parrilla__nota {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
}

@keyframes viguiAbre {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* Quien pide menos movimiento ve una fila normal que se desplaza a mano */
@media (prefers-reduced-motion: reduce) {
  .marquee__pista { animation: none; }
  .marquee__fila { overflow-x: auto; }
  .parrilla__lista { animation: none; }
  .canalCard img { filter: none; opacity: 1; }
}

/* ==========================================
   APARICIÓN AL HACER SCROLL
   ==========================================
   La clase la pone el JS. Si el JS no corre, nada se oculta:
   el contenido siempre queda visible.
*/
.revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.revelar--visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; transition: none; }
}

/* ==========================================
   PAGOS
   ========================================== */
.pagos {
  background: linear-gradient(165deg, #06225c, #0b3a8f 55%, #0e58ea);
  color: #fff;
  padding: 3.5rem 1rem;
}

.pagos__cabecera { text-align: center; margin-bottom: 2.5rem; }
.pagos h2.title { color: #fff; }

.pagos__intro {
  max-width: 640px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #cfdcf6;
}

.pagos__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 1050px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .pagos__grid { grid-template-columns: minmax(300px, 380px) 1fr; gap: 2.5rem; }
}

/* --- Tarjeta con los datos bancarios --- */
.cuentaCard {
  background: linear-gradient(140deg, #ffffff, #eef3ff);
  color: var(--gray-800);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
}

/* franja naranja decorativa en la esquina */
.cuentaCard::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,0.22), transparent 70%);
}

.cuentaCard__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.cuentaCard__banco {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.cuentaCard__tipo {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--secondary-main);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.cuentaCard__etiqueta {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.cuentaCard__numero strong {
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  font-weight: 800;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  display: block;
}

.cuentaCard__copiar {
  width: 100%;
  margin: 1rem 0 1.25rem;
  background: var(--primary-main);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.cuentaCard__copiar:hover { background: var(--primary-dark); }
.cuentaCard__copiar.copiado { background: #1a9e54; }

.cuentaCard__datos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

.cuentaCard__datos dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
}

.cuentaCard__datos dd {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-800);
}

/* --- Pasos --- */
.pagos__pasos {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pagos__pasos li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pagos__paso {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--secondary-main);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pagos__pasos h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-lighter);
}

.pagos__pasos p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d6e1f7;
}

.pagos__pasos strong { color: #fff; }

/* --- Aviso --- */
.pagos__aviso {
  max-width: 1050px;
  margin: 2.5rem auto 0;
  background: rgba(255, 76, 0, 0.14);
  border: 1px solid rgba(255, 144, 44, 0.55);
  border-left: 5px solid var(--secondary-main);
  border-radius: 0.6rem;
  padding: 1rem 1.25rem;
}

.pagos__aviso p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffe3cd;
}

.pagos__aviso strong { color: var(--secondary-lighter); }

/* --- Ejemplos antes / después --- */
.pagos__ejemplos { max-width: 1050px; margin: 3rem auto 0; }

.pagos__subtitulo {
  text-align: center;
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  margin-bottom: 1.75rem;
  color: #fff;
}

.ejemplos__grid {
  display: grid;
  gap: 1.75rem;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
}

.ejemplo {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.9rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ejemplo:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 200, 95, 0.6);
}

.ejemplo__etiqueta {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #fff;
}

.ejemplo__etiqueta--antes   { background: #b45309; }
.ejemplo__etiqueta--despues { background: #15803d; }

.ejemplo img {
  width: 100%;
  border-radius: 0.55rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.ejemplo figcaption {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #cfdcf6;
}

.ejemplo figcaption strong { color: var(--secondary-lighter); }

.pagos__nota {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: #a9bde3;
  font-style: italic;
}

/* --- Llamado final --- */
.pagos__cta { text-align: center; margin-top: 2.5rem; }

.pagos__btn {
  font-size: 1.08rem;
  padding: 0.85rem 1.9rem;
  border-radius: 0.6rem;
}

.pagos__ctaNota {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #a9bde3;
}

/* ==========================================
   AVISO DE PAGOS — versión enfática
   ========================================== */
.pagos__avisoTitulo {
  font-size: clamp(1rem, 3vw, 1.2rem) !important;
  font-weight: 800;
  color: var(--secondary-lighter) !important;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.pagos__avisoTexto {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.pagos__no,
.pagos__si {
  display: block;
  font-size: clamp(0.95rem, 2.8vw, 1.15rem) !important;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
  border-radius: 0.4rem;
  line-height: 1.35;
}

.pagos__no {
  background: rgba(220, 38, 38, 0.22);
  border-left: 4px solid #ef4444;
  color: #ffd9d9 !important;
}

.pagos__si {
  background: rgba(21, 128, 61, 0.24);
  border-left: 4px solid #22c55e;
  color: #d6ffe4 !important;
}

.pagos__avisoPie { font-size: 0.9rem !important; color: #ffe3cd; }

/* El nombre de la empresa, siempre destacado */
.pagos__nombre {
  color: var(--secondary-lighter) !important;
  font-weight: 800;
  white-space: nowrap;
}

.cuentaCard__titular {
  color: var(--primary-dark) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.3;
}

/* ==========================================
   PRUEBA DE VELOCIDAD
   ========================================== */
.footer__speed {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.speedBtn {
  background: var(--secondary-main);
  padding: 0.6rem 1.3rem;
  border-radius: 0.45rem;
}

.speedBtn:hover { background: var(--secondary-dark); }

.speedModal {
  width: min(96vw, 900px);
  max-height: 92vh;
  border: none;
  border-radius: 0.9rem;
  padding: 0;
  overflow: hidden;
  background: #fff;
  color: var(--gray-800);
  /* el body es flex y le quita el centrado por defecto al <dialog> */
  inset: 0;
  margin: auto;
}

.speedModal::backdrop { background: rgba(3, 12, 35, 0.72); }

.speedModal__cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--primary-main);
  color: #fff;
}

.speedModal__cabecera h2 { font-size: clamp(1rem, 3.5vw, 1.3rem); }

.speedModal__cerrar {
  background: transparent;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  padding: 0 0.4rem;
  border-radius: 0.35rem;
}

.speedModal__cerrar:hover { background: rgba(255, 255, 255, 0.18); transform: none; box-shadow: none; }

.speedModal__ayuda {
  padding: 0.9rem 1.25rem;
  background: var(--gray-100);
  font-size: 0.92rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--gray-200);
}

.speedModal__marco {
  height: min(62vh, 560px);
  background: var(--gray-50);
}

.speedModal__marco iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.speedModal__nota {
  padding: 0.7rem 1.25rem 1rem;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .speedModal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .speedModal__marco { height: calc(100dvh - 230px); }
}

/* --- Enlace discreto al sitio anterior --- */
.sitioAnterior {
  background: var(--gray-950);
  text-align: center;
  padding: 0.7rem 1rem;
}

.sitioAnterior a {
  font-size: 0.76rem;
  color: var(--gray-400);
  border: 1px solid var(--gray-700);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  display: inline-block;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.sitioAnterior a:hover {
  color: var(--gray-200);
  border-color: var(--gray-500);
}

/* ==========================================
   CABECERA — menú más compacto
   ==========================================
   Con las secciones nuevas el menú quedó apretado y el logo se tocaba
   con el primer enlace. Se reduce el tamaño y se separa del logo.
*/
.header__inner { gap: 1.5rem; }

.header__nav {
  gap: 1.15rem;
  font-size: 0.85rem;
}

.header__button {
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
}

@media (min-width: 1200px) {
  .header__nav { gap: 1.4rem; font-size: 0.9rem; }
}

/* El menú horizontal solo aparece cuando de verdad hay espacio */
@media (max-width: 1099px) {
  .header__nav {
    position: absolute;
    width: 70%;
    max-width: 260px;
    height: calc(100vh - 3.5rem);
    top: 3.5rem;
    right: 0;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    flex-direction: column;
    display: none;
    background: var(--primary-darker);
    align-items: flex-start;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  }

  .header__nav.active { display: flex; }
  .burgerIcon { display: inherit; }
  .header__button,
  a.header__button { display: none; }
}

@media (min-width: 1100px) {
  .header__nav { display: flex; }
  .header__nav a { white-space: nowrap; }
}

/* Nota bajo el botón de velocidad */
.footer__speedNota {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
  max-width: 260px;
}

/* ==========================================
   PÁGINA DE PQR
   ========================================== */
.paginaPqr { background: var(--gray-100); }

.pqr { padding: 2.5rem 1rem 3.5rem; }

.pqr__cabecera { text-align: center; margin-bottom: 2.5rem; }

.pqr h1.title { color: var(--primary-dark); }

.pqr__intro {
  max-width: 640px;
  margin: 0.85rem auto 0;
  line-height: 1.65;
  color: var(--gray-600);
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
}

.pqr__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 1150px;
  margin: 0 auto;
}

@media (min-width: 980px) {
  .pqr__grid { grid-template-columns: minmax(280px, 360px) 1fr; gap: 2.5rem; }
}

/* --- Tarjetas informativas --- */
.pqr__tarjeta {
  background: #fff;
  border-radius: 0.8rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-main);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.pqr__tarjeta h2 {
  font-size: 1.02rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.pqr__tarjeta p,
.pqr__tarjeta li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.pqr__tarjeta--otros { border-left-color: var(--secondary-main); }
.pqr__tarjeta--otros ul { display: flex; flex-direction: column; gap: 0.45rem; }
.pqr__tarjeta--otros a { color: var(--primary-main); text-decoration: underline; }

/* --- Formulario --- */
.pqr__formulario {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) { .pqr__formulario { padding: 2rem; } }

.pqrForm__fila { display: grid; gap: 1rem; }

@media (min-width: 620px) {
  .pqrForm__fila { grid-template-columns: 1fr 1fr; }
}

.pqrForm__campo { display: block; margin-bottom: 1rem; }

.pqrForm__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

.pqrForm__label b { color: var(--secondary-dark); }

.pqrForm__control,
.pqr__formulario input[type="text"],
.pqr__formulario input[type="email"],
.pqr__formulario input[type="tel"],
.pqr__formulario select,
.pqr__formulario textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.45rem;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pqr__formulario textarea { resize: vertical; min-height: 8rem; line-height: 1.55; }

.pqr__formulario input:focus,
.pqr__formulario select:focus,
.pqr__formulario textarea:focus {
  outline: none;
  border-color: var(--primary-main);
  box-shadow: 0 0 0 3px rgba(14, 88, 234, 0.15);
}

.pqrForm__ayuda {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.pqrForm__legal {
  background: var(--gray-100);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gray-600);
}

.pqrForm__legal input[type="checkbox"] { margin-right: 0.4rem; }

.pqrForm__enviar {
  width: 100%;
  font-size: 1.02rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Mensajes de Contact Form 7 */
.pqr__formulario .wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.pqr__formulario .wpcf7-response-output {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 0.5rem;
  border-width: 2px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pqr__formulario form.sent .wpcf7-response-output {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #14532d;
}

.pqr__formulario form.invalid .wpcf7-response-output,
.pqr__formulario form.failed .wpcf7-response-output {
  border-color: #dc2626;
  background: #fef2f2;
  color: #7f1d1d;
}

/* --- Política de datos --- */
.pqr__politica {
  max-width: 900px;
  margin: 3rem auto 0;
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.pqr__politicaTitulo {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.pqr__politica p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 0.85rem;
}

.pqr__politica a { color: var(--primary-main); text-decoration: underline; }
.pqr__politicaNota { font-size: 0.8rem !important; font-style: italic; color: var(--gray-500) !important; }

.pqr__aviso {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 1rem;
  color: #7f1d1d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.pqr__aviso a { color: #b91c1c; text-decoration: underline; }

/* --- Pie de la página de PQR --- */
.pqr__pie {
  background: var(--primary-darker);
  color: #cfdcf6;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.pqr__pie a {
  color: var(--secondary-lighter);
  text-decoration: underline;
  display: inline-block;
  margin-top: 0.4rem;
}

/* El enlace de PQR comparte franja con el del sitio anterior */
.sitioAnterior { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.sitioAnterior__pqr {
  color: var(--gray-200) !important;
  border-color: var(--gray-500) !important;
  font-weight: 600;
}

.sitioAnterior__pqr:hover {
  color: #fff !important;
  border-color: var(--secondary-main) !important;
}

/* --- Captcha propio del formulario de PQR --- */
.viguiCaptcha {
  display: block;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem;
}

.viguiCaptcha__pregunta {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.viguiCaptcha__campo { max-width: 160px; }

/* Campo trampa: fuera de la vista y del recorrido por teclado, pero
   presente en el HTML para que los bots lo rellenen. No se usa
   display:none porque muchos bots ignoran los campos ocultos así. */
.viguiCaptcha__trampa {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --- PQR simplificado: el formulario primero, la información al lado --- */
@media (min-width: 980px) {
  .pqr__grid { grid-template-columns: 1fr minmax(260px, 320px); }
}

.pqr__detalles {
  background: #fff;
  border-radius: 0.7rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.pqr__detalles summary {
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.pqr__detalles summary::-webkit-details-marker { display: none; }
.pqr__detalles summary::after { content: "▾"; font-size: 0.8em; color: var(--gray-400); }
.pqr__detalles[open] summary::after { content: "▴"; }

.pqr__detalles p {
  padding: 0 1.1rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 0.8rem;
}

.pqr__detalles p:last-child { padding-bottom: 1rem; }
.pqr__detalles a { color: var(--primary-main); text-decoration: underline; }

/* ==========================================
   PREGUNTAS FRECUENTES
   ========================================== */
.faq { background: #fff; padding: 3rem 1rem; }

.faq__inner { max-width: 820px; margin: 0 auto; }

.faq__intro {
  text-align: center;
  margin: 0.75rem auto 2rem;
  max-width: 560px;
  color: var(--gray-600);
  line-height: 1.6;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.faq__lista { display: flex; flex-direction: column; gap: 0.6rem; }

.faq__item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.6rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq__item[open] {
  border-color: var(--primary-light);
  box-shadow: 0 4px 14px rgba(14, 88, 234, 0.1);
}

.faq__item summary {
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.4;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--secondary-main);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { background: #fff; }

.faq__item p {
  padding: 0 1.1rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.faq__pie {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.faq__pie p { color: var(--gray-600); font-size: 0.95rem; }

/* ==========================================
   VERIFICADOR DE COBERTURA
   ========================================== */
.cobertura {
  background: linear-gradient(180deg, #fff, var(--gray-100));
  padding: 3rem 1rem;
}

.cobertura__cabecera { text-align: center; margin-bottom: 1.75rem; }

.cobertura__intro {
  max-width: 560px;
  margin: 0.75rem auto 0;
  color: var(--gray-600);
  line-height: 1.6;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.cobertura__caja { max-width: 900px; margin: 0 auto; text-align: center; }

.cobertura__abrir { font-size: 1.02rem; padding: 0.8rem 1.8rem; border-radius: 0.5rem; }

.cobertura__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cobertura__ubicar { background: var(--primary-main); }
.cobertura__ubicar:hover { background: var(--primary-dark); }
.cobertura__ubicar:disabled { opacity: 0.6; cursor: wait; }

.cobertura__pista { font-size: 0.85rem; color: var(--gray-500); }

.cobertura__mapa {
  height: min(60vh, 460px);
  border-radius: 0.8rem;
  border: 1px solid var(--gray-300);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  z-index: 1;
}

.cobertura__leyenda {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.cobertura__muestra {
  width: 24px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 145, 44, 0.45);
  border: 2px solid var(--secondary-main);
}

.cobertura__resultado { margin-top: 1.25rem; }
.cobertura__resultado:empty { display: none; }

.cobertura__resultado {
  border-radius: 0.7rem;
  padding: 1.15rem 1.25rem;
  text-align: left;
  border-left: 5px solid var(--gray-400);
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
}

.cobertura__resultado--si     { border-left-color: #16a34a; background: #f0fdf4; }
.cobertura__resultado--no     { border-left-color: var(--primary-main); background: #eff6ff; }
.cobertura__resultado--aviso  { border-left-color: var(--secondary-main); background: #fff7ed; }

.cobertura__resTitulo {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--gray-800);
}

.cobertura__resTexto {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 0.9rem;
}

/* Leaflet no debe taparle el encabezado fijo ni el botón de WhatsApp */
.leaflet-pane, .leaflet-control { z-index: 2 !important; }
.leaflet-top, .leaflet-bottom { z-index: 3 !important; }

/* ==========================================
   MAPA DE COBERTURA — acabado profesional
   ==========================================
   El mapa base se apaga en gris claro para que la zona naranja resalte,
   igual que hacen los operadores en sus mapas de cobertura.
*/
.mapaBaseApagado {
  filter: grayscale(0.92) brightness(1.06) contrast(0.92);
}

/* Halo difuso alrededor de la cobertura */
.cobertura__mapa .leaflet-overlay-pane path { stroke-linejoin: round; }

.cobertura__mapa .leaflet-overlay-pane {
  filter: drop-shadow(0 0 5px rgba(255, 122, 0, 0.55));
}

/* Marcador propio, con pulso */
.marcadorVigui { position: relative; }

.marcadorVigui__punto {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--primary-main);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.marcadorVigui__pulso {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(14, 88, 234, 0.35);
  animation: viguiPulso 1.9s ease-out infinite;
}

@keyframes viguiPulso {
  0%   { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marcadorVigui__pulso { animation: none; opacity: 0.35; }
}

/* Controles y atribución más discretos */
.cobertura__mapa .leaflet-control-zoom a {
  border-radius: 6px;
  color: var(--primary-dark);
  font-weight: 700;
}

.cobertura__mapa .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px 0 0 0;
}

.cobertura__mapa .leaflet-control-attribution a { color: var(--gray-600); }

/* El atributo hidden lo pisa cualquier clase con display propio (.btn, por
   ejemplo). Esta regla se lo devuelve. */
[hidden] { display: none !important; }
