/* =========================================================
VARIABLES
========================================================= */
:root {
  --color-primary: #019df4;
  --color-primary-dark: #0085d1;
  --color-dark: #0b2739;
  --color-light-bg: #f5f7fa;
  --color-text: #1f2d3d;
  --color-muted: #6c757d;
  --color-white: #ffffff;
  --color-verde: #5CB615;
  --plan-azul: #0b2d4f;
  --plan-naranja: #f28c00;
  --plan-coral: #f05a45;
  --plan-magenta: #e13b86;

  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================================
RESET BASE
========================================================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Telefonica-Regular', sans-serif;
  background-color: var(--color-light-bg);
  color: var(--color-text);
  margin: 0;
}

/* =========================================================
FUENTES
========================================================= */

@font-face {
  font-family: 'GuthenBlootsBasic';
  src: url('../fonts/guthen-bloots.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Telefonica-Regular';
  src: url('../fonts/Telefonica-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Telefonica-Bold';
  src: url('../fonts/Telefonica-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* =========================================================
TOPBAR
========================================================= */
.topbar {
  background-color: var(--color-dark);
  color: var(--color-white);
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
  letter-spacing: 0.5px;
}

/* =========================================================
HEADER
========================================================= */
.main-header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.logo img {
  max-height: 90px;
  height: auto;
}

.btn-contacto {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  padding: 12px 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-contacto:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

/* =========================================================
CAROUSEL
========================================================= */

/* Contenedor del slide */
.carousel-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Imagen responsive */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Flechas personalizadas */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--color-primary);
  border-radius: 50%;
  padding: 18px;
  background-size: 60%;
}

/* Opcional: mejorar posición de flechas */
.carousel-control-prev,
.carousel-control-next {
  width: 6%;
}

/* Dots más prolijos */
.carousel-indicators [data-bs-target] {
  background-color: var(--color-primary);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ======================================================
  PLANES SECTION - HEAD
========================================================= */

.subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 1px;
}

.planes-title {
  font-size: 42px;
  font-weight: 600;
}

.font-plan {
  font-family: 'GuthenBlootsBasic', cursive;
  font-size: 52px;
  color: var(--color-primary);
  font-weight: normal;
}

.planes-description {
  font-size: 20px;
  color: var(--color-muted);
}

.planes-description strong {
  color: var(--color-primary);
}

.plan-header h5.plan-azul-tx,
.plan-header h5.plan-naranja-tx,
.plan-header h5.plan-coral-tx,
.plan-header h5.plan-magenta-tx { 
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: unset;
}

.plan-card a.uso-justo {
  font-weight: 700;
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  color: var(--color-verde);
  text-decoration: none;
}

/* ======================================================
TABS
========================================================= */

.planes-tabs {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.planes-tabs .tab-active {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 25px;
  border: none;
  font-weight: 600;
}


.planes-tabs .tab-button {
  background: var(--color-white);
  color: var(--color-dark);
  padding: 10px 25px;
  border: none;
  font-weight: 600;
}

/* ======================================================
  CARD PLANES - BASE
========================================================= */

.plan-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-10px);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.icon-plan {
  width: 22px;
}

/* ======================================================
  COLORES PLANES
========================================================= */

.plan-azul-tx     { color: var(--plan-azul); }
.plan-naranja-tx  { color: var(--plan-naranja); }
.plan-coral-tx    { color: var(--plan-coral); }
.plan-magenta-tx  { color: var(--plan-magenta); }

.box-azul     { background: var(--plan-azul); }
.box-naranja  { background: var(--plan-naranja); }
.box-coral    { background: var(--plan-coral); }
.box-magenta  { background: var(--plan-magenta); }

.azul     { color: var(--plan-azul); }
.naranja  { color: var(--plan-naranja); }
.coral    { color: var(--plan-coral); }
.magenta  { color: var(--plan-magenta); }

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

.plan-box {
  border-radius: 22px;
  padding: 30px 20px;
  color: #fff;
  margin-bottom: 18px;
  height: 240px;
}

.plan-box h2 {
  font-size: 4.2rem;
  font-weight: 900;
  margin-bottom: unset;
}

.plan-box small {
  font-size: 2.1rem;
  font-weight: 900;
  margin-bottom: unset;
}

.plan-box p {
  margin: 0;
  line-height: 1.1;
  font-family: 'telefonica-regular', sans-serif;
  font-size: 20px;
}

.plan-box p.mes {
  margin-top: 2px;
  font-family: 'telefonica-regular', sans-serif;
  font-size: 1.1rem;
}

.plan-box p.ilimitados {
  font-family: 'GuthenBlootsBasic', cursive;
  font-size: 52px;
  color: var(--color-light-bg);
  font-weight: normal;
}

.gb-big {
  font-size: 40px;
  font-weight: 700;
}

.old-gb {
  text-decoration: line-through;
  font-size: 25px;
}

/* ======================================================
  PRECIO
========================================================= */

.plan-price {
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e6e6;
}

.plan-price h3 {
  margin: 6px 0;
  font-size: 2.8125rem;
  line-height: 1;
  font-weight: 800;
}

.plan-price small {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
}

.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 19px;
  font-weight: 700;
}

/* ======================================================
  BENEFICIOS
========================================================= */

.benefits p[class^="hotspot-"] {
  text-align: center;
  font-size: 21px;
  line-height: 2;
  font-weight: 600;
  margin: 0 auto;
}

.hotspot-azul    { color: var(--plan-azul); }
.hotspot-naranja { color: var(--plan-naranja); }
.hotspot-coral   { color: var(--plan-coral); }
.hotspot-magenta { color: var(--plan-magenta); }

[class^="benefit-item-"] {
  margin: 10px 0;
}

.benefit-item-azul    { border-bottom: 1px solid #0b2d4f; }
.benefit-item-naranja { border-bottom: 1px solid #f28c00; }
.benefit-item-coral   { border-bottom: 1px solid #f05a45; }

[class^="benefit-item-"] img {
  height: 30px;
  margin-bottom: 5px;
}

.small-benefit {
  padding-top: 10px;
  width: 100%;
  font-size: .8rem;
  line-height: 1.2;
  color: slategrey;
}

/* Apps */

.apps {
  margin: 15px 0;
}

.apps img {
  height: 22px;
}

.apps p {
  margin-top: 5px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: slategrey;
}

.apps-p18 {
  margin: 15px 0;
}

.apps-p18 img {
  height: 22px;
  width: 22px;
}

.apps-p18 p {
  margin-top: 5px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: slategrey;
  border-bottom: 1px solid #e6e6e6;
}

/* Perplexity */
.perplexity-container {
  margin: 10px 0;
  border-bottom: 1px solid var(--plan-magenta);
}

.perplexity-container img {
  height: 30px;
}

p.perplexity-txt {
  font-weight: 700;
  font-size: .9rem;
  color: slategrey;
  margin-bottom: inherit;
}
/* ======================================================
  BOTONES
========================================================= */

.btn-contratar {
  background: var(--color-verde);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: auto;
  transition: 0.3s ease;
}

.btn-contratar:hover {
  background: var(--color-verde);
  transform: translateY(-2px);
}

.btn-wsp {
  background: transparent;
  border: 2px solid var(--color-verde);
  color: var(--color-verde);
  padding: 10px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 10px;
  transition: 0.3s ease;
}

.btn-wsp:hover {
  background: var(--color-verde);
  color: #fff;
}

/* ======================================================
BENEFICIOS EXTRA
========================================================= */
.beneficios-extra {
  background: #f7f7f7;
}

.incluye-box {
  background: linear-gradient(90deg, #00a9e0, #0072ce);
  color: white;
  padding: 40px;
  border-radius: 20px;
}

.icon-incluye {
  font-size: 35px;
  margin-bottom: 15px;
}

.requisitos-box {
  background: #e9e9e9;
  border-radius: 10px;
}

.link-requisitos {
  color: var(--color-primary);
  text-decoration: none;
}

p.ventajas-txt {
  font-size: 20px;
  color: var(--color-muted);
}

h6.ventajas-txt-titulo {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.ventaja-card {
  border: 2px solid #009ee3;
  border-radius: 20px;
  padding: 22px 28px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  width: 420px;
  min-height: 120px;
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
}

.ventaja-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.ventaja-icon {
  width: 55px;
  flex-shrink: 0;
}

.mini-beneficio {
  background: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  width: 300px;
  min-height: 80px;
  height: 100px;
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
}

.col-auto img {
  width: 55px;
  height: 42px;
}

.mini-beneficio:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.input-numero {
  max-width: 280px;
  border-radius: 30px;
}

.cta-box {
  text-align: center;
}

.cta-box h4 {
  font-weight: 600;
  margin-bottom: 20px;
}

.input-numero {
  max-width: 320px;
  border-radius: 30px;
  border: 2px solid #0b2d3c;
  padding: 10px 20px;
}

.btn-llamar {
  background: #0b2d3c;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
}

.cta-box small {
  font-size: 12px;
  color: #555;
}

p.beneficios-txt {
  font-size: 1rem;
  color: var(--color-muted);
  margin-top: revert;
}

/* =====================================================
CONOCE MÁS SECTION
===================================================== */

.conoce-section {
  text-align: center;
  margin: 40px 0 40px;
  border-bottom: 1px solid #d3d4d3 !important;
}

.conoce-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}

.conoce-script {
  font-family: 'GuthenBlootsBasic', cursive;
  font-size: 2rem;
  color: var(--color-primary);
}

.conoce-text {
  font-family: 'Telefonica-Regular', sans-serif;
  font-size: 20px;
  color: var(--color-muted);
}

.conoce-icon {
  font-size: 14px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

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

.conoce-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: #ffffff;
}

.conoce-content.active {
  max-height: 3000px;
  padding: 40px 0;
}

.conoce-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-family: 'Telefonica-Regular', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.conoce-wrapper ul {
  padding-left: 18px;
  margin-bottom: 20px;
}

.conoce-wrapper li {
  margin-bottom: 8px;
}

.conoce-wrapper h4 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Rotación del icono */
.conoce-link.active .conoce-icon {
  transform: rotate(180deg);
}

/* =====================================================
FOOTER
===================================================== */
.footer-movistar {
  background: #f1f1f1;
  padding: 30px 0;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: #0b2d3c;
}

.footer-logo {
  width: 40px;
}

.footer-right {
  font-size: 13px;
  color: #666;
}

/* =====================================================
BOTONES FLOTANTES
===================================================== */
#wsp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-verde);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99999;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: none;
}

#wsp-btn img {
    width: 32px;
    height: auto;
}

#wsp-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* =====================================================
ANIMACIONES
===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: .6s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}