/* iaxn telecom - design system & site styles */

:root {
  --color-primary: #E30613;
  --color-primary-dark: #B8050F;
  --color-primary-light: #FF4552;
  --color-dark: #17181C;
  --color-dark-soft: #2A2C33;
  --color-text: #292B31;
  --color-text-muted: #6B6E76;
  --color-grey-light: #F6F7F9;
  --color-border: #E7E8EC;
  --color-white: #FFFFFF;
  --color-accent: #FFC107;
  --shadow-sm: 0 2px 8px rgba(23, 24, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 24, 28, 0.10);
  --shadow-lg: 0 20px 45px rgba(23, 24, 28, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --header-h: 108px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--color-dark);
}
p { margin: 0 0 16px; color: var(--color-text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.icon { width: 1em; height: 1em; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-primary); transform: translateY(-2px); }
.btn-dark-outline { background: transparent; border-color: var(--color-dark); color: var(--color-dark); }
.btn-dark-outline:hover { background: var(--color-dark); color: var(--color-white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--color-primary);
  color: #FFFFFF;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  gap: 16px;
}
.topbar-left { display: flex; gap: 20px; }
.topbar-left a, .topbar-left span { display: flex; align-items: center; gap: 6px; color: #FFFFFF; }
.topbar-left .icon { width: 14px; height: 14px; }

/* Home / Business / Partner section switcher (sits in the red topbar) */
.section-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.section-switcher a {
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0.85;
  white-space: nowrap;
}
.section-switcher a:hover { opacity: 1; }
.section-switcher a.active {
  background: var(--color-white);
  color: var(--color-primary);
  opacity: 1;
}

.switcher-item { position: relative; display: flex; }
.switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  opacity: 0.85;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.switcher-toggle:hover { opacity: 1; }
.switcher-toggle.active { background: var(--color-white); color: var(--color-primary); opacity: 1; }
.switcher-caret { width: 12px; height: 12px; flex-shrink: 0; transition: transform 0.18s ease; }
.switcher-item:hover .switcher-caret, .switcher-item.open .switcher-caret { transform: rotate(180deg); }
.switcher-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  margin-top: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20,20,20,0.18);
  min-width: 190px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
}
.switcher-item:hover .switcher-dropdown, .switcher-item.open .switcher-dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.switcher-item .switcher-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-dark);
  opacity: 1;
  white-space: nowrap;
}
.switcher-item .switcher-dropdown a:hover { background: rgba(227,6,19,0.07); color: var(--color-primary); }
.switcher-dropdown .nav-dropdown-icon { width: 16px; height: 16px; }

.topbar-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.topbar-about-link {
  color: #FFFFFF;
  opacity: 0.8;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.3);
}
.topbar-about-link:hover { opacity: 1; }

/* ---------------- Header / Nav ---------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--color-primary); font-weight: 700; }
.logo-text span { font-size: 11px; color: var(--color-text-muted); letter-spacing: 0.03em; }

nav.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
nav.main-nav a,
nav.main-nav .nav-parent-toggle {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
nav.main-nav a:hover, nav.main-nav a.active,
nav.main-nav .nav-parent-toggle:hover, nav.main-nav .nav-parent-toggle.active { color: var(--color-primary); }
nav.main-nav a.active::after,
nav.main-nav .nav-parent-toggle.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-primary);
}

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.pay-bill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.pay-bill-btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.pay-bill-btn .icon { width: 16px; height: 16px; }

.talk-expert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.talk-expert-btn:hover { background: var(--color-dark); color: var(--color-white); transform: translateY(-1px); }
.talk-expert-btn .icon { width: 16px; height: 16px; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--color-dark); }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ---------------- Nav dropdown ---------------- */
.nav-item { position: relative; }
.nav-item > .nav-parent-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.18s ease; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%; left: -14px;
  margin-top: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20,20,20,0.14);
  min-width: 250px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
}
.nav-item:hover .nav-dropdown, .nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-dark);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: rgba(227,6,19,0.07); color: var(--color-primary); }
.nav-dropdown-icon { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

/* ---------------- Integrated Solutions - service select grid ---------------- */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.service-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-dark);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.service-select-item:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.service-select-item input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.service-select-check {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--color-border);
  color: transparent;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.service-select-check .icon { width: 14px; height: 14px; }
.service-select-item.selected {
  border-color: var(--color-primary);
  background: rgba(227,6,19,0.05);
}
.service-select-item.selected .service-select-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7A0000 100%);
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227,6,19,0.92) 0%, rgba(50,0,0,0.88) 100%);
}
.hero.has-media .hero-overlay {
  background: rgba(0, 0, 0, 0.12);
}
.hero.has-media.has-text .hero-overlay {
  background: linear-gradient(90deg, rgba(15,0,0,0.75) 0%, rgba(227,6,19,0.45) 42%, rgba(227,6,19,0.12) 75%, rgba(0,0,0,0.05) 100%);
}

/* Auto-sliding hero banner (multiple images) */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
/* Per-slide overlay: light scrim by default, stronger left-gradient when the slide carries text */
.hero-slide .hero-overlay { background: rgba(0, 0, 0, 0.12); }
.hero-slide.has-text .hero-overlay {
  background: linear-gradient(90deg, rgba(15,0,0,0.75) 0%, rgba(227,6,19,0.45) 42%, rgba(227,6,19,0.12) 75%, rgba(0,0,0,0.05) 100%);
}
.hero-slide .hero-content { padding: 0; }
.hero-slide-dots {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-slide-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero-slide-dots button.active {
  background: var(--color-white);
  transform: scale(1.3);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 1s ease; transform: none; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 92px 0 100px;
  max-width: 640px;
}
.hero-spacer { position: relative; z-index: 1; height: 460px; }
@media (max-width: 768px) {
  .hero-spacer { height: 320px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { color: var(--color-white); font-size: 44px; margin-bottom: 18px; }
.hero p.lead { color: rgba(255,255,255,0.9); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-wave {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -2px;
  fill: var(--color-white);
}

/* ---------------- Compact hero (balanced height: navbar + hero + "Buy a New Connection"
   should fit in one screen; everything after that scrolls).
   IMPORTANT: .hero-slideshow/.hero-slide/.hero-slide-dots are all position:absolute, so
   .hero has no normal-flow content of its own to derive a height from - it needs an
   explicit min-height here or the section collapses and clips its own content. */
.hero.hero-compact { min-height: 430px; }
.hero.hero-compact .hero-content { padding: 32px 0; max-width: 580px; }
.hero.hero-compact .hero-spacer { height: 430px; }
.hero.hero-compact .hero-eyebrow { margin-bottom: 16px; }
.hero.hero-compact h1 { font-size: 33px; margin-bottom: 12px; }
.hero.hero-compact p.lead { font-size: 15.5px; }
.hero.hero-compact .hero-actions { margin-top: 22px; gap: 14px; }
.hero.hero-compact .hero-slide-dots { bottom: 16px; }
@media (max-width: 768px) {
  .hero.hero-compact { min-height: 380px; }
  .hero.hero-compact .hero-content { padding: 24px 0; }
  .hero.hero-compact .hero-spacer { height: 380px; }
  .hero.hero-compact h1 { font-size: 25px; }
}

/* ---------------- Sections ---------------- */
section { padding: 76px 0; }
section.section-compact { padding: 36px 0 64px; }
section.section-compact .section-head { margin-bottom: 28px; }
.section-alt { background: var(--color-grey-light); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; }
.section-head p { font-size: 16px; }

/* ---------------- Grids ---------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------- Feature cards ---------------- */
.feature-card {
  scroll-margin-top: 140px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(227,6,19,0.08);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; margin: 0; }

/* ---------------- Service cards ---------------- */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .feature-icon { margin-bottom: 4px; }
.service-card h3 { font-size: 17px; margin-bottom: 0; }
.service-card p { font-size: 14px; margin: 0; }

/* ---------------- Plan / pricing cards ---------------- */
.plan-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 4px solid var(--color-primary);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.popular { border: 2px solid var(--color-primary); }
.plan-ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.plan-name { font-size: 19px; margin-bottom: 4px; }
.plan-spec { color: var(--color-primary); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.plan-price { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 700; color: var(--color-dark); }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--color-text-muted); }
.plan-desc { font-size: 14px; margin: 12px 0 20px; }
.plan-features { margin: 0 0 26px; flex-grow: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; color: var(--color-text); }
.plan-features .icon { width: 16px; height: 16px; color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }
.plan-ott-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ott-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-grey-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ---------------- Broadband "product" plan cards (ribbon + router image + OTT icons) ---------------- */
.plan-card-product {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card-product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card-product.popular { border-color: var(--color-primary); }

.plan-card-product .ribbon-banner {
  position: relative;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 30px 10px 18px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
  width: 78%;
  letter-spacing: 0.01em;
}

.plan-card-product-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.plan-v2-name { color: var(--color-primary); font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.plan-v2-speed { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 34px; color: var(--color-dark); line-height: 1.1; }
.plan-v2-speed span { font-size: 16px; font-weight: 600; color: var(--color-text-muted); margin-left: 4px; }
.plan-v2-data { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; }

.plan-v2-product {
  background: var(--color-grey-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  margin-bottom: 18px;
  min-height: 76px;
}
.plan-v2-product img { max-height: 56px; width: auto; object-fit: contain; }
.plan-v2-product .placeholder-icon { color: var(--color-text-muted); width: 40px; height: 40px; }
.plan-v2-product span { font-size: 13px; font-weight: 600; color: var(--color-text); }

.plan-v2-includes-label { font-size: 12.5px; color: var(--color-text-muted); font-weight: 600; margin-bottom: 10px; }
.plan-v2-ott-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ott-icon-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}
.ott-icon-circle img { width: 100%; height: 100%; object-fit: cover; }

.plan-v2-reco {
  font-size: 13.5px;
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
  position: relative;
  margin: 4px 0 22px;
  padding-bottom: 10px;
}
.plan-v2-reco::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 6px;
  border-bottom: 2px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0.5;
}

.plan-v2-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 15px;
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 -26px -26px;
}
.plan-card-product .plan-v2-btn { margin-top: auto; }
.plan-card-product:hover .plan-v2-btn { background: var(--color-primary-dark); }

/* ---------------- Home page plan cards v3 (price-led, spec icons, OTT logo tray) ---------------- */
.plan-v3-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-v3-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-v3-card.popular { border-color: var(--color-primary); }
.plan-v3-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.plan-v3-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-v3-price { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 32px; color: var(--color-primary); line-height: 1; }
.plan-v3-price .rupee { font-size: 22px; margin-right: 2px; }
.plan-v3-price small { font-size: 13px; font-weight: 500; color: var(--color-text-muted); margin-left: 4px; }
.plan-v3-arrow { color: var(--color-primary); flex-shrink: 0; margin-top: 6px; }
.plan-v3-arrow .icon { width: 20px; height: 20px; }
.plan-v3-divider { border: none; border-top: 2px solid var(--color-primary); opacity: 0.45; margin: 16px 0 18px; }
.plan-v3-specs { display: flex; gap: 22px; margin-bottom: 20px; flex-wrap: wrap; }
.plan-v3-spec-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--color-dark); }
.plan-v3-spec-item .icon { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }
.plan-v3-ott-block { margin-bottom: 20px; }
.plan-v3-ott-label {
  display: inline-block;
  background: var(--color-grey-light);
  color: var(--color-text-muted);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.plan-v3-ott-logos { display: flex; align-items: center; gap: 8px; background: var(--color-grey-light); border-radius: 10px; padding: 10px; min-height: 56px; }
.plan-v3-ott-logos .ott-icon-circle { width: 36px; height: 36px; flex-shrink: 0; }
.plan-v3-ott-more {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-white); border: 1px solid var(--color-border);
  font-size: 12px; font-weight: 700; color: var(--color-text-muted);
  flex-shrink: 0;
}
.plan-v3-buy-btn {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 999px;
  margin-top: auto;
  transition: background 0.2s ease;
}
.plan-v3-buy-btn:hover { background: var(--color-primary-dark); }
.plan-v3-special-offer {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13.5px;
  padding: 14px 0 0;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.plan-v3-special-offer:hover { color: var(--color-primary-dark); }

/* ---------------- Modal (Special Offer form) ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--color-white);
  border-radius: 18px;
  padding: 34px 30px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-box h3 { font-size: 21px; margin-bottom: 8px; }
.modal-box > p { font-size: 14px; margin-bottom: 22px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
}
.modal-close .icon { width: 20px; height: 20px; }
.modal-success { text-align: center; padding: 10px 0; }
.modal-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #E6F7ED;
  color: #147A3E;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.modal-success-icon .icon { width: 26px; height: 26px; }
.modal-success h3 { margin-bottom: 8px; }
.modal-success p { margin: 0; }

/* ---------------- Reasons ("More Reasons to Switch") ---------------- */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
.reason-card img { width: 100%; height: 210px; object-fit: cover; }
.reason-card-fallback {
  width: 100%; height: 210px;
  background: var(--color-grey-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
}
.reason-card-fallback .icon { width: 40px; height: 40px; }
.reason-card-body { padding: 20px; text-align: center; }
.reason-card-body h3 { color: var(--color-primary); font-size: 19px; margin-bottom: 4px; }
.reason-card-body p { margin: 0; font-size: 14px; color: var(--color-text-muted); }
@media (max-width: 768px) {
  .reasons-grid { grid-template-columns: 1fr; }
}

/* ---------------- Quick links grid (Buy a New Connection) ---------------- */
.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}
.quick-link-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 110px;
  text-align: center;
  transition: transform 0.2s ease;
}
.quick-link-tile:hover { transform: translateY(-4px); }
.quick-link-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(227,6,19,0.08);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.quick-link-icon .icon { width: 26px; height: 26px; }
.quick-link-tile:hover .quick-link-icon { background: var(--color-primary); color: var(--color-white); }
.quick-link-tile span:last-child { font-size: 13.5px; font-weight: 600; color: var(--color-dark); }

/* ---------------- OTT strip ---------------- */
.ott-strip { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.ott-strip-item {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  height: 64px; padding: 0 26px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-weight: 700;
  color: var(--color-dark-soft);
  font-size: 15px;
}
.ott-strip-badge {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.ott-strip-name { white-space: nowrap; }

/* ---------------- Client logo strip ---------------- */
.clients-strip { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.clients-strip img { height: 46px; width: auto; object-fit: contain; transition: transform 0.2s ease; }
.clients-strip img:hover { transform: translateY(-2px); }

/* ---------------- Testimonials ---------------- */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.testimonial-stars { display: flex; gap: 3px; color: var(--color-accent); margin-bottom: 14px; }
.testimonial-stars .icon { width: 16px; height: 16px; fill: currentColor; }
.testimonial-quote { font-size: 15px; color: var(--color-text); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Poppins', sans-serif;
}
.testimonial-name { font-weight: 700; font-size: 14.5px; color: var(--color-dark); }
.testimonial-role { font-size: 13px; color: var(--color-text-muted); }

/* ---------------- Pricing table ---------------- */
.pricing-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pricing-table th {
  text-align: left;
  padding: 16px 22px;
  background: var(--color-grey-light);
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}
.pricing-table td { padding: 16px 22px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); white-space: nowrap; }
.pricing-table tr td:first-child { font-weight: 600; color: var(--color-dark); }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--color-white);
}
.cta-banner h2 { color: var(--color-white); font-size: 26px; margin-bottom: 8px; }
.cta-banner p { color: #B9BBC3; margin: 0; }

/* ---------------- Footer ---------------- */
footer.site-footer { background: var(--color-dark); color: #B9BBC3; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 38px; }
.footer-logo strong { font-family: 'Poppins', sans-serif; font-size: 19px; color: var(--color-white); }
.footer-col h4 { color: var(--color-white); font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #B9BBC3; font-size: 14px; }
.footer-col a:hover { color: var(--color-white); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact-item .icon { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.footer-social .icon { width: 15px; height: 15px; }
.footer-social a:hover { background: var(--color-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------------- Generic content blocks ---------------- */
.page-intro { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.page-intro .eyebrow { display: block; }
.page-banner-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  .page-banner-image { height: 170px; }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,6,19,0.08); color: var(--color-primary);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}
.stat-row { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.stat-item strong { display: block; font-family: 'Poppins', sans-serif; font-size: 30px; color: var(--color-primary); }
.stat-item span { font-size: 13px; color: var(--color-text-muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-info-card { background: var(--color-dark); color: var(--color-white); border-radius: var(--radius); padding: 40px 32px; }
.contact-info-card h3 { color: var(--color-white); }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-item .feature-icon { background: rgba(255,255,255,0.1); color: var(--color-white); width: 46px; height: 46px; }
.contact-info-item .icon { width: 20px; height: 20px; }
.contact-info-item strong { display: block; color: var(--color-white); font-size: 14px; margin-bottom: 4px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: #B9BBC3; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--color-dark); }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); font-size: 14.5px; font-family: inherit;
  transition: border-color 0.15s ease;
}
.form-control:focus { outline: none; border-color: var(--color-primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.radio-row { display: flex; gap: 22px; margin-bottom: 20px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }

.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 14.5px; }
.alert-success { background: #E6F7ED; color: #147A3E; border: 1px solid #B4E8C7; }
.alert-error { background: #FDEBEC; color: var(--color-primary-dark); border: 1px solid #F7C1C5; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); height: 100%; min-height: 260px; background: var(--color-grey-light); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); }

.subcategory-block { margin-bottom: 56px; }
.subcategory-block:last-child { margin-bottom: 0; }
.subcategory-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.subcategory-head h3 { margin: 0; font-size: 22px; }

.not-found { text-align: center; padding: 120px 0; }
.not-found .code { font-family: 'Poppins', sans-serif; font-size: 100px; font-weight: 700; color: var(--color-primary); margin-bottom: 10px; }

/* ---------------- Scroll reveal animations (fast, subtle, reliable) ---------------- */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
  will-change: transform, opacity;
}
.reveal { transform: translateY(24px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal.in-view, .reveal-left.in-view, .reveal-right.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .card-fan { opacity: 1; transform: none; transition: none; }
}

.hero-content.reveal { transform: translateY(20px); transition-delay: 0s; }

/* Fanned deck entrance (Klarna-card style) - cards start slightly stacked/offset,
   then settle flat into the grid. Kept subtle so content never disappears for long. */
.card-fan {
  opacity: 0;
  transform-origin: bottom center;
  transform: translateX(calc(var(--fan-x, 0px) * 0.35)) translateY(22px) rotate(calc(var(--fan-rot, 0deg) * 0.4)) scale(0.96);
  transition: opacity 0.5s ease-out, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: transform, opacity;
  z-index: calc(10 - var(--reveal-i, 0));
}
.card-fan.in-view {
  opacity: 1;
  transform: none;
  z-index: 1;
}

/* Interactive 3D tilt cards (mouse-driven, applied via JS) */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.tilt-card:hover { box-shadow: 0 30px 60px rgba(227, 6, 19, 0.22); z-index: 2; }
.tilt-card .feature-icon, .tilt-card .plan-price, .tilt-card h3, .tilt-card .plan-name {
  transform: translateZ(30px);
}

/* Pulsing glow on the popular plan card */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.35), var(--shadow-md); }
  50% { box-shadow: 0 0 0 14px rgba(227, 6, 19, 0), var(--shadow-lg); }
}
.plan-card.popular { animation: pulseGlow 2.6s ease-in-out infinite; }
.plan-card.popular:hover { animation-play-state: paused; }

/* Infinite marquee strips (clients / OTT badges) */
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 44px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Magnetic buttons */
.btn-magnetic { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 768px) {
  .topbar-left span:last-child { display: none; }
  nav.main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 99;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .nav-toggle { display: block; }
  .nav-item > .nav-parent-toggle { padding: 14px 0; border-bottom: 1px solid var(--color-border); width: 100%; justify-content: space-between; text-align: left; }
  .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; margin: 0; padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
  }
  .nav-item.open .nav-dropdown { max-height: 400px; padding: 6px 0 8px 14px; }
  nav.main-nav .nav-dropdown a { padding: 10px 0; border-bottom: none; }
  .header-actions .pay-bill-btn span, .header-actions .talk-expert-btn span { display: none; }
  .talk-expert-btn { padding: 9px 12px; }
  .topbar-left a:first-child span { display: none; }
  .section-switcher a { padding: 5px 10px; font-size: 11.5px; }
  .topbar-about-link { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 0 70px; }
  .hero h1 { font-size: 28px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
