@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   RESET & SYSTEM VARIABLE DEFINITIONS
   ========================================================================== */
:root {
  --primary-orange: #FF4B00;
  --primary-orange-rgb: 255, 75, 0;
  --primary-yellow: #FFA600;
  --primary-yellow-rgb: 255, 166, 0;
  
  --bg-dark: #070709;
  --bg-dark-rgb: 7, 7, 9;
  --bg-darker: #040405;
  --bg-card: #121214;
  --bg-card-hover: #1A1A1E;
  --bg-input: #121214;
  
  --text-white: #FFFFFF;
  --text-gray: #A0AEC0;
  --text-dark: #0A0A0C;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 75, 0, 0.4);
  --border-hover: rgba(255, 255, 255, 0.16);
  
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(255, 75, 0, 0.1) 0%, rgba(255, 166, 0, 0.03) 100%);
  --gradient-text: linear-gradient(135deg, #FFFFFF 30%, #A0AEC0 100%);
  --gradient-orange-text: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-width: 1240px;
  --header-height: 110px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   SECTIONS & GRID SYSTEM (FLATMODERN STRUCT)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

section:last-of-type {
  border-bottom: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  font-family: var(--font-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-orange);
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 50px;
}

.section-header {
  margin-bottom: 60px;
}

/* ==========================================================================
   BUTTONS (Flat, 0px border-radius, strict elegant)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  box-shadow: 0 0 0 transparent;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 75, 0, 0.35);
}

.btn-secondary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 0 0 transparent;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 75, 0, 0.35);
}

.btn-text {
  padding: 0;
  background: transparent;
  color: var(--primary-orange);
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-text svg {
  transition: var(--transition-fast);
}

.btn-text:hover {
  color: var(--primary-yellow);
}

.btn-text:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
header {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

header.scrolled {
  height: 90px;
  background-color: rgba(4, 4, 5, 0.95);
  border-bottom: 1px solid rgba(255, 75, 0, 0.15);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-white);
}

.logo-img {
  height: 85px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 4px;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 65px;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-white);
  margin-left: 10px;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--primary-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-title);
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-action .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #040405;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 30px 0;
  margin-top: auto;
}

footer .logo-text,
footer .footer-description,
footer .footer-col h4,
footer .footer-links a,
footer .footer-contact-item,
footer .social-btn,
footer .footer-bottom,
footer .footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6) !important;
}

footer .logo-text,
footer .footer-col h4,
footer .social-btn {
  color: #FFFFFF !important;
}

footer .social-btn {
  border-color: rgba(255, 255, 255, 0.1);
}

footer .social-btn:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #FFFFFF !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col-brand .logo-container {
  margin-bottom: 20px;
}

.footer-description {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--primary-orange);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-orange);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-gray);
}

.footer-contact-item svg {
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--primary-orange);
  background-color: var(--primary-orange);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary-orange);
}

/* ==========================================================================
   PAGES: HOME (index.html)
   ========================================================================== */

.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-darker);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(7, 7, 9, 0.8) 0%, rgba(4, 4, 5, 0.95) 100%),
    linear-gradient(90deg, rgba(4, 4, 5, 0.95) 0%, rgba(255, 75, 0, 0.05) 50%, rgba(4, 4, 5, 0.95) 100%),
    url('../assets/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
  animation: heroBgScale 20s ease-in-out infinite alternate;
}

@keyframes heroBgScale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
  height: 100%;
}

.hero-content {
  padding-top: 60px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 75, 0, 0.1);
  border: 1px solid rgba(255, 75, 0, 0.25);
  padding: 8px 16px;
  margin-bottom: 24px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tag span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary-orange);
  box-shadow: 0 0 10px var(--primary-orange);
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 580px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero speed visual (right side) */
.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Speed Tunnel background effect */
.speed-tunnel {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 75, 0, 0.03) 0%, transparent 70%);
  z-index: 2;
}

.tunnel-svg {
  width: 100%;
  height: 100%;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 660px;
  height: 680px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: contrast(102%) brightness(103%);
  transition: var(--transition);
  
  /* Gradiente transparente en la parte inferior de la imagen */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.hero-image-wrapper:hover .hero-img {
  transform: scale(1.03);
}


/* 2. BENEFITS SECTION */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: 1;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
  transition: var(--transition);
}

.benefit-card:nth-child(1)::after { background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=800&auto=format&fit=crop'); }
.benefit-card:nth-child(2)::after { background-image: url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?q=80&w=800&auto=format&fit=crop'); }
.benefit-card:nth-child(3)::after { background-image: url('https://images.unsplash.com/photo-1520923642038-b4259acecbd7?q=80&w=800&auto=format&fit=crop'); }
.benefit-card:nth-child(4)::after { background-image: url('https://images.unsplash.com/photo-1516627145497-ae6968895b74?q=80&w=800&auto=format&fit=crop'); }

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-orange);
  background-color: var(--bg-card-hover);
}

.benefit-card:hover::before {
  width: 3px;
}

.benefit-card:hover::after {
  opacity: 0.35;
  transform: scale(1.1);
}

.benefit-card-content {
  position: relative;
  z-index: 2;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 75, 0, 0.05);
  border: 1px solid rgba(255, 75, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  margin-bottom: 28px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background-color: var(--primary-orange);
  color: var(--text-white);
  border-color: var(--primary-orange);
  box-shadow: 0 8px 20px rgba(255, 75, 0, 0.3);
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.benefit-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 3. PLANS SECTION (SUPER HIGHLIGHTED) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.plan-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 48px 32px 40px 32px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border: 1px solid var(--primary-orange);
  box-shadow: 0 10px 40px rgba(255, 75, 0, 0.15);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
}

.plan-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.plan-card.featured .plan-header {
  border-color: rgba(255, 75, 0, 0.2);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
  min-height: 50px;
}

.plan-speed-visual {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
}

.plan-card.featured .plan-speed-visual {
  background-color: rgba(255, 75, 0, 0.03);
  border-color: rgba(255, 75, 0, 0.1);
}

.plan-speed {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
}

.plan-speed span {
  font-size: 1.1rem;
  color: var(--primary-orange);
  margin-left: 4px;
  font-weight: 600;
}

.plan-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.plan-details li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
}

.plan-details li span {
  color: var(--text-gray);
}

.plan-details svg {
  color: var(--primary-orange);
  flex-shrink: 0;
}

.plan-price-wrapper {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.plan-card.featured .plan-price-wrapper {
  border-color: rgba(255, 75, 0, 0.2);
}

.plan-price {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 400;
  margin-left: 4px;
}

.plan-card .btn {
  width: 100%;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-orange);
}

.plan-card:hover .plan-name {
  color: var(--primary-orange);
}

/* 4. CTA SECTION */
.cta-section {
  background-color: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-glow-effect {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 75, 0, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 640px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/* 5. ABOUT COMPANY (PREVIEW) */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-visual {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  position: relative;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-preview-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--gradient-primary);
  opacity: 0.15;
  z-index: 1;
}

.about-preview-visual svg {
  z-index: 2;
  width: 60%;
  height: auto;
}

.about-preview-content .section-tag {
  margin-bottom: 12px;
}

.about-preview-content h2 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.about-preview-content p {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.about-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 2px solid var(--primary-orange);
  padding-left: 16px;
}

.about-badge-number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.2;
}

/* 6. SPEED TEST (PREVIEW) */
.speedtest-preview-section {
  background-color: var(--bg-darker);
}

.speedtest-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.speedtest-preview-content h2 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.speedtest-preview-content p {
  color: var(--text-gray);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.speedtest-preview-visual {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  padding: 48px;
  text-align: center;
  position: relative;
}

.speedtest-preview-visual::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-right: 2px solid var(--primary-orange);
  border-top: 2px solid var(--primary-orange);
}

.speedtest-preview-icon {
  margin-bottom: 24px;
  color: var(--primary-orange);
}

.speedtest-preview-visual h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.speedtest-preview-visual p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ==========================================================================
   PAGES: GENERAL INNER HERO (QUIENES SOMOS, PLANES, SPEEDTEST, NORMATIVAS, CONTACTO)
   ========================================================================== */
.inner-hero {
  padding: 160px 0 80px 0;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 75, 0, 0.02) 100%);
  pointer-events: none;
}

.inner-hero h1 {
  font-size: 3.75rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.inner-hero-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  max-width: 700px;
}

/* ==========================================================================
   PAGES: QUIENES SOMOS (nosotros.html)
   ========================================================================== */
.nosotros-hero {
  background-image: linear-gradient(rgba(7, 7, 9, 0.65), rgba(7, 7, 9, 0.95)), url('../assets/nosotros-banner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.nosotros-hero h1 {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nosotros-hero .inner-hero-desc {
  color: #EEEEEE;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
.about-detailed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-detailed-content h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.about-detailed-content p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-grid-img {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-grid-img svg {
  width: 70%;
  height: auto;
}

/* MVV Cards Grid */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mvv-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mvv-card:hover {
  border-color: var(--primary-orange);
  background-color: var(--bg-card-hover);
  transform: translateY(-5px);
}

.mvv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: var(--transition);
  z-index: 0;
  pointer-events: none;
}

.mvv-card:nth-child(1)::after { background-image: url('../assets/mision-real.jpg'); }
.mvv-card:nth-child(2)::after { background-image: url('../assets/vision-real.jpg'); }
.mvv-card:nth-child(3)::after { background-image: url('../assets/objetivo-real.jpg'); }

.mvv-card:hover::after {
  opacity: 0.35;
  transform: scale(1.05);
}

.mvv-card * {
  position: relative;
  z-index: 1;
}

.mvv-number {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 24px;
  display: block;
  letter-spacing: 0.1em;
}

.mvv-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.mvv-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   PAGES: PLANES DE INTERNET (planes.html)
   ========================================================================== */

.planes-hero {
  background-image: linear-gradient(rgba(7, 7, 9, 0.75), rgba(4, 4, 5, 0.95)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.planes-tech-info-section {
  background-image: linear-gradient(rgba(4, 4, 5, 0.8), rgba(4, 4, 5, 0.95)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.planes-subpage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.inclusive-plans {
  background-color: var(--bg-darker);
}

.inclusive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.inclusive-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 48px;
  transition: var(--transition);
  position: relative;
}

.inclusive-card:hover {
  border-color: var(--primary-orange);
}

.inclusive-card-tag {
  background-color: rgba(255, 75, 0, 0.1);
  color: var(--primary-orange);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  display: inline-block;
  margin-bottom: 20px;
}

.inclusive-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.inclusive-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.inclusive-benefit-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inclusive-benefit-list li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inclusive-benefit-list svg {
  color: var(--primary-orange);
}

.planes-tech-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-info-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 40px;
}

.tech-info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-info-card h3 svg {
  color: var(--primary-orange);
}

.tech-info-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   PAGES: SPEED TEST (speedtest.html)
   ========================================================================== */

.speedtest-hero {
  background-image: linear-gradient(rgba(4, 4, 5, 0.75), rgba(4, 4, 5, 0.95)), url('../assets/speedtest-banner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ==========================================================================
   PAGES: NORMATIVAS & CONTACTO HERO BACKGROUNDS
   ========================================================================== */
.normativas-hero {
  background-image: linear-gradient(rgba(4, 4, 5, 0.75), rgba(4, 4, 5, 0.95)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.contacto-hero {
  background-image: linear-gradient(rgba(4, 4, 5, 0.75), rgba(4, 4, 5, 0.95)), url('../assets/contacto-banner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.speedtest-container {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.speedtest-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 650px;
  background-color: #070709;
}

.speedtest-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.speedtest-instructions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.instruction-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 30px;
  text-align: center;
}

.instruction-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 75, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.instruction-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.instruction-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ==========================================================================
   PAGES: NORMATIVAS Y CALIDAD (normativas.html)
   ========================================================================== */
.normativas-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 48px;
  align-items: start;
}

.normativas-sidebar {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  padding: 24px;
}

.normativas-sidebar h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.normativas-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.normativas-nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 14px;
  display: block;
  transition: var(--transition-fast);
  border-left: 2px solid transparent;
}

.normativas-nav-link:hover,
.normativas-nav-link.active {
  color: var(--text-white);
  background-color: rgba(255,255,255,0.02);
  border-left-color: var(--primary-orange);
}

.normativas-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.normativa-section {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  padding: 48px;
}

.normativa-section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.normativa-section h3 {
  font-size: 1.25rem;
  margin: 30px 0 15px 0;
  color: var(--primary-orange);
}

.normativa-section p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.normativa-section ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 4px;
}

.normativa-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.normativa-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 2px;
  background-color: var(--primary-orange);
}

.params-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.params-table th,
.params-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.params-table th {
  background-color: rgba(255, 255, 255, 0.02);
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-white);
}

.params-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

/* ==========================================================================
   PAGES: CONTACTO (contacto.html)
   ========================================================================== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contacto-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto-detail-card {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contacto-detail-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 75, 0, 0.05);
  border: 1px solid rgba(255, 75, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  flex-shrink: 0;
}

.contacto-detail-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contacto-detail-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.contacto-detail-content a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contacto-detail-content a:hover {
  color: var(--primary-orange);
}

.cobertura-map-placeholder {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  border-radius: 15px;
  height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cobertura-map-placeholder svg {
  opacity: 0.15;
  width: 90%;
  height: auto;
  position: absolute;
}

.map-card-info {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}

.map-card-info svg {
  position: relative;
  opacity: 1;
  color: var(--primary-orange);
  margin-bottom: 12px;
}

.map-card-info h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.map-card-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Contact Form Styling */
.contacto-form-wrapper {
  background-color: var(--bg-card);
  border-radius: 15px;
  border: 1px solid var(--border-light);
  padding: 48px;
}

.contacto-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.contacto-form-wrapper > p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-gray);
}

.form-control {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 15px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  background-color: rgba(255, 75, 0, 0.02);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin-top: 20px;
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid transparent;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(46, 204, 113, 0.1);
  border-color: rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.form-status.error {
  display: block;
  background-color: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* ==========================================================================
   ANIMATION KEYFRAMES & UTILITIES
   ========================================================================== */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}

/* ==========================================================================
   MEDIA QUERIES (FULL RESPONSIVE LAYOUT)
   ========================================================================== */
@media (max-width: 1200px) {
  .plans-grid,
  .benefits-grid,
  .planes-subpage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 991px) {
  section {
    padding: 80px 0;
  }
  
  .hero {
    height: auto;
    padding: 140px 0 80px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .about-preview-grid,
  .speedtest-preview-grid,
  .about-detailed-grid,
  .inclusive-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-preview-visual,
  .about-grid-img {
    height: 350px;
  }
  
  .normativas-grid {
    grid-template-columns: 1fr;
  }
  
  .normativas-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 90px;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .logo-img {
    height: 65px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  /* Menu toggle and mobile navigation */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-darker);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition);
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .header-action {
    display: none; /* Hide contract button on mobile header to save space */
  }
  
  /* Hamburger menu transforms on open */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .benefits-grid,
  .plans-grid,
  .planes-subpage-grid,
  .mvv-grid,
  .planes-tech-info-grid,
  .speedtest-instructions {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .contacto-form-wrapper {
    padding: 30px 20px;
  }
  
  .normativa-section {
    padding: 30px 20px;
  }
  
  .params-table {
    display: block;
    overflow-x: auto;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  animation: floatPulse 2s infinite;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}
