/* ==============================================
   TICTELECOM — styles.css  v20260525
   Distribuidor Oficial TMovil
   ============================================== */

/* ---------- Custom Properties ---------- */
:root {
  --blue:     #F5A020;
  --cyan:     #F5B830;
  --blue-mid: #F5AC28;
  --dark:     #FFFFFF;
  --dark-2:   #F7F7F7;
  --dark-3:   #EEEEEE;
  --glass:    rgba(0, 0, 0, 0.03);
  --glass-b:  rgba(0, 0, 0, 0.1);
  --glass-h:  rgba(0, 0, 0, 0.04);
  --text:     #111111;
  --muted:    rgba(17, 17, 17, 0.55);
  --dim:      rgba(17, 17, 17, 0.35);

  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;

  --r-sm: 12px;
  --r:    20px;
  --r-lg: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.3s;
  --ts:   0.65s;

  --max: 1200px;
  --hh:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--body); border: none; background: none; }

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(125deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons on yellow need dark text */
.btn-on-yellow { color: #0D0D0D !important; }

/* ---------- Container ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--ts) var(--ease), transform var(--ts) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-split] { opacity: 1; transform: none; }

/* ==============================================
   HEADER
   ============================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--hh);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: background var(--t) var(--ease);
  box-shadow: 0 1px 12px rgba(0,0,0,0.07);
}
.site-header.solid { background: rgba(255, 255, 255, 0.99); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { display: flex; align-items: center; }
.logo-name {
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
  -webkit-text-fill-color: #111111;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}
.logo-img-footer {
  height: 80px;
}

.header-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t);
}
.header-nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-call-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t);
  white-space: nowrap;
}
.btn-call-header:hover { color: var(--cyan); }

.btn-primary-sm {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  font-family: var(--head);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t);
}
.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245,160,32,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--hh) 0 0 0;
  background: rgba(255,255,255,0.99);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.mobile-nav.open { display: flex; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav nav a {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t);
}
.mobile-nav nav a:hover { color: var(--cyan); }
.mobile-call {
  margin-top: 8px;
  color: var(--cyan) !important;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--hh) + 60px) 24px 80px;
  text-align: center;
}

/* Orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 9s ease-in-out infinite;
}
.orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(245,160,32,.18) 0%, transparent 70%);
  top: -180px; left: -160px;
  animation-delay: 0s;
}
.orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245,184,48,.15) 0%, transparent 70%);
  top: 15%; right: -120px;
  animation-delay: -3.5s;
}
.orb-3 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(245,172,40,.1) 0%, transparent 70%);
  bottom: -80px; left: 25%;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(18px,-22px) scale(1.04); }
  66%      { transform: translate(-14px,16px) scale(.96); }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,160,32,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,160,32,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  animation: heroIn 1s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: .03em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.75); }
}

.hero-title {
  font-family: var(--head);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #111;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 100px;
  transition: transform var(--t), box-shadow var(--t);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,160,32,.45);
  color: #0D0D0D;
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.28);
  color: #25D366;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 100px;
  transition: background var(--t), transform var(--t);
}
.btn-whatsapp-hero:hover {
  background: rgba(37,211,102,.18);
  transform: translateY(-2px);
  color: #25D366;
}

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-item strong {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
}
.trust-item span {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.trust-sep {
  width: 1px; height: 36px;
  background: var(--glass-b);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; height: 28px; }
  50%      { opacity: 1;  height: 44px; }
}

/* ==============================================
   SECTION HEADERS
   ============================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 4px 14px;
  background: rgba(245,184,48,.08);
  border-radius: 100px;
  border: 1px solid rgba(245,184,48,.16);
}
.section-header h2 {
  font-family: var(--head);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #111;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ==============================================
   TARIFAS FIBRA + MÓVIL
   ============================================== */
.tarifas-section { padding: 100px 0; }

.tarifas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tarifa-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  box-shadow: 0 4px 32px rgba(245,160,32,.07);
}
.tarifa-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245,160,32,.22);
  box-shadow: 0 18px 52px rgba(245,160,32,.16);
}

.tarifa-featured {
  background: linear-gradient(145deg, rgba(245,160,32,.13) 0%, rgba(245,184,48,.06) 100%);
  border-color: rgba(245,160,32,.32);
  box-shadow: 0 8px 48px rgba(245,160,32,.24);
  transform: scale(1.025);
}
.tarifa-featured:hover { transform: scale(1.025) translateY(-7px); }

.card-badge-top {
  position: absolute; top: 0; left: 0; right: 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px;
}

.card-inner { padding: 32px; }
.tarifa-featured .card-inner { padding-top: 48px; }

.card-tag {
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.spec-main {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.spec-value {
  font-family: var(--head);
  font-size: 4.25rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.04em;
}
.spec-unit {
  font-family: var(--head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cyan);
}
.spec-label {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 16px;
}

.card-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(245,184,48,.07);
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  border: 1px solid rgba(245,184,48,.11);
}
.mobile-data {
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
}
.mobile-divider {
  width: 1px; height: 18px;
  background: rgba(245,184,48,.2);
  flex-shrink: 0;
}
.mobile-calls {
  font-size: .8125rem;
  color: var(--muted);
}

.card-features {
  list-style: none;
  margin-bottom: 28px;
}
.card-features li {
  font-size: .875rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 9px;
}
.card-features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.card-features li:last-child { border-bottom: none; }

.card-price { margin-bottom: 24px; }
.price-num {
  font-family: var(--head);
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.03em;
}
.price-num sup {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
}
.price-period {
  font-size: .875rem;
  color: var(--muted);
  margin-left: 4px;
}

.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: var(--r-sm);
  font-family: var(--head);
  font-size: .9375rem;
  font-weight: 600;
  background: var(--glass-h);
  border: 1px solid var(--glass-b);
  color: #111;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.btn-card:hover {
  background: rgba(245,160,32,.15);
  border-color: rgba(245,160,32,.35);
  transform: translateY(-1px);
  color: #111;
}
.btn-card-featured {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: #0D0D0D;
}
.btn-card-featured:hover {
  background: linear-gradient(135deg, #e09500, #f5c800);
  border-color: transparent;
  box-shadow: 0 5px 22px rgba(245,160,32,.42);
  color: #0D0D0D;
}

/* ==============================================
   TARIFAS SOLO MÓVIL
   ============================================== */
.tarifas-movil-section { background: var(--dark-2); }

.movil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.movil-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
  padding: 28px 22px;
  position: relative;
  text-align: center;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.movil-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,160,32,.22);
  box-shadow: 0 14px 42px rgba(245,160,32,.13);
}

.movil-featured {
  background: linear-gradient(145deg, rgba(245,160,32,.1) 0%, rgba(245,184,48,.05) 100%);
  border-color: rgba(245,160,32,.3);
}

.movil-badge {
  position: absolute; top: 0; right: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 var(--r) 0 var(--r-sm);
}

.movil-data {
  font-family: var(--head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.movil-name {
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.movil-calls {
  font-size: .875rem;
  color: var(--text);
  margin-bottom: 16px;
}
.movil-extras {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.movil-extras li {
  font-size: .75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.movil-extras li::before {
  content: '✓';
  color: var(--cyan);
  font-size: .625rem;
  font-weight: 700;
}

.movil-price {
  font-family: var(--head);
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.movil-price small {
  font-size: .875rem;
  color: var(--muted);
}

.btn-movil {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-family: var(--head);
  font-size: .875rem;
  font-weight: 600;
  background: var(--glass-h);
  border: 1px solid var(--glass-b);
  color: #111;
  transition: background var(--t), border-color var(--t);
}
.btn-movil:hover {
  background: rgba(245,160,32,.15);
  border-color: rgba(245,160,32,.3);
  color: #111;
}
.btn-movil-featured {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: #0D0D0D;
}
.btn-movil-featured:hover {
  background: linear-gradient(135deg, #e09500, #f5c800);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(245,160,32,.38);
  color: #0D0D0D;
}

/* ==============================================
   WHY TICTELECOM
   ============================================== */
.why-section { padding: 100px 0; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text .section-tag { display: inline-block; margin-bottom: 16px; }
.why-text h2 {
  font-family: var(--head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #111;
  margin-bottom: 20px;
}
.why-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.why-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-call-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  font-family: var(--head);
  font-size: .9375rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  transition: transform var(--t), box-shadow var(--t);
}
.btn-call-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,160,32,.42);
  color: #0D0D0D;
}

.why-features { display: flex; flex-direction: column; gap: 26px; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(245,160,32,.1);
  border: 1px solid rgba(245,160,32,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.why-item strong {
  display: block;
  font-family: var(--head);
  font-size: .9375rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
.why-item p { font-size: .875rem; color: var(--muted); line-height: 1.55; }

/* ==============================================
   FORMULARIO
   ============================================== */
.form-section {
  padding: 100px 0;
  background: var(--dark-2);
}

.form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg);
  padding: 48px;
}

.contract-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group-sm { max-width: 160px; }
.form-group-hidden { display: none; }

.form-group label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
}
.req { color: var(--cyan); }

.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: .9375rem;
  outline: none;
  transition: border-color var(--t), background var(--t);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245,160,32,.5);
  background: rgba(245,160,32,.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim); }
.form-group input.error { border-color: rgba(255,80,80,.45); }

.select-wrapper { position: relative; }
.select-wrapper select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}
.select-wrapper select option { background: #ffffff; color: var(--text); }
.select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
}
.radio-label input[type="radio"] {
  accent-color: var(--blue);
  width: 16px; height: 16px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.55;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--blue);
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-link { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(245,184,48,.3); }
.form-link:hover { text-decoration-color: var(--cyan); }

.form-submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #25D366, #1cb856);
  color: #fff;
  font-family: var(--head);
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.35);
}

.form-note { font-size: .8125rem; color: var(--dim); text-align: center; }

/* Success state */
.form-success {
  text-align: center;
  padding: 60px 20px;
  display: none;
}
.form-success.visible { display: block; }
.success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #25D366, #1cb856);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  margin: 0 auto 24px;
}
.form-success h3 {
  font-family: var(--head);
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}
.form-success p { color: var(--muted); margin-bottom: 32px; line-height: 1.65; }

/* ==============================================
   CONTACTO
   ============================================== */
.contact-section {
  padding: 100px 0;
  background: var(--dark-3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
  padding: 44px 36px;
  text-align: center;
  transition: transform var(--t), border-color var(--t);
}
.contact-card:hover { transform: translateY(-5px); }
.contact-call  { border-color: rgba(245,160,32,.15); }
.contact-whatsapp { border-color: rgba(37,211,102,.15); }

.contact-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.contact-call .contact-icon  { background: rgba(245,160,32,.12); color: var(--blue); }
.contact-whatsapp .contact-icon { background: rgba(37,211,102,.1); color: #25D366; }

.contact-card h3 {
  font-family: var(--head);
  font-size: 1.375rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}
.contact-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-action {
  display: inline-block;
  font-family: var(--head);
  font-size: 1.175rem;
  font-weight: 700;
  color: var(--blue);
  transition: color var(--t);
}
.contact-call .contact-action:hover { color: var(--cyan); }

.contact-wa {
  background: linear-gradient(135deg, #25D366, #1cb856);
  color: #fff !important;
  padding: 13px 30px;
  border-radius: 100px;
  font-size: .9375rem;
  transition: transform var(--t), box-shadow var(--t);
}
.contact-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(37,211,102,.32);
  color: #fff !important;
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--glass-b);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand { flex: 1; }
.footer-brand p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

.footer-links { display: flex; gap: 60px; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col strong {
  font-family: var(--head);
  font-size: .875rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}
.footer-col a { font-size: .875rem; color: var(--muted); transition: color var(--t); }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--glass-b);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--dim); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: var(--dim); transition: color var(--t); }
.footer-legal a:hover { color: var(--cyan); }

/* ==============================================
   FABs
   ============================================== */
.fab-container {
  position: fixed;
  bottom: 28px; right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t), box-shadow var(--t);
}
.fab:hover { transform: scale(1.09) translateY(-2px); }

.fab-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 22px rgba(37,211,102,.5);
}
.fab-whatsapp:hover { box-shadow: 0 8px 34px rgba(37,211,102,.62); }

.fab-phone {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  box-shadow: 0 4px 22px rgba(245,160,32,.5);
}
.fab-phone:hover { box-shadow: 0 8px 34px rgba(245,160,32,.62); }

/* ==============================================
   TARIFAS TABLES
   ============================================== */
.tarifas-tables-section {
  padding: 100px 0;
}

/* Tabs nav */
.tabs-wrapper { margin-bottom: 48px; }

.tabs-nav {
  display: inline-flex;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
  padding: 5px;
  gap: 4px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: calc(var(--r) - 4px);
  font-family: var(--head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #0D0D0D;
  box-shadow: 0 4px 16px rgba(245,160,32,.35);
}

/* Tab panels */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Tables grid layout */
.tables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.table-block-wide {
  grid-column: 1 / -1;
}

/* Table block card */
.table-block {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.table-block:hover {
  border-color: rgba(245,160,32,.2);
  box-shadow: 0 8px 32px rgba(245,160,32,.1);
}

.table-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--glass-b);
}
.table-title {
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-subtitle {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 3px;
}

/* 5G badge */
.badge-5g {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #0D0D0D;
  flex-shrink: 0;
}

/* Scrollable wrapper for mobile */
.table-wrap { overflow-x: auto; }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 360px;
}

thead tr {
  background: rgba(245,160,32,.08);
}
th {
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  text-align: left;
  white-space: nowrap;
}
th:last-child { text-align: right; }

tbody tr {
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background var(--t);
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(245,160,32,.05); }

td {
  font-size: .875rem;
  color: var(--text);
  padding: 11px 16px;
  vertical-align: middle;
}
td strong { color: #111; font-weight: 600; }
td:last-child { text-align: right; }

/* Price cell */
.price-cell {
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
}
.price-cell span {
  font-size: .72rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 1px;
}
/* Cartera price (slightly dimmer) */
.price-alt {
  color: rgba(245,184,48,.65);
}

/* Contratar button per row */
.btn-table {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 600;
  background: rgba(245,160,32,.12);
  border: 1px solid rgba(245,160,32,.25);
  color: var(--cyan);
  white-space: nowrap;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.btn-table:hover {
  background: rgba(245,160,32,.25);
  border-color: rgba(245,160,32,.5);
  transform: translateY(-1px);
  color: #111;
}

/* Footnote */
.table-note {
  font-size: .75rem;
  color: var(--dim);
  padding: 8px 16px 10px;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
  .tables-grid { grid-template-columns: 1fr; }
  .table-block-wide { grid-column: auto; }
  .why-grid { gap: 52px; }
}

@media (max-width: 768px) {
  :root { --hh: 60px; }

  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .tabs-nav { width: 100%; flex-direction: column; }
  .tab-btn { justify-content: center; }

  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-ctas { flex-direction: column; }
  .btn-call-big, .btn-primary { width: 100%; justify-content: center; }

  .form-wrapper { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group-sm { max-width: 100%; }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-trust { gap: 16px; }
  .trust-sep { height: 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-whatsapp-hero { width: 100%; justify-content: center; }
  .fab-container { bottom: 18px; right: 14px; }
  .fab { width: 52px; height: 52px; }
  th, td { padding: 9px 12px; }
}
