@import url('brand-tokens.css');

/* Main-site hero tokens (not needed on signup subdomain) */
:root,
[data-theme="light"] {
  --c-hero-overlay-top:    rgba(245,247,250,0.30);
  --c-hero-overlay-mid:    rgba(245,247,250,0.60);
  --c-hero-overlay-bottom: rgba(245,247,250,1.00);
  --c-hero-glow:           rgba(26,111,212,0.10);
  --hero-img-home:         url('../images/GrindersSwitchSunrise.jpg');
  --hero-img-packages:     url('../images/Parsons_Tower.jpg');
  --hero-img-infra:        url('../images/Trenching3-scaled2.jpg');
}
[data-theme="dark"] {
  --c-hero-overlay-top:    rgba(13,17,23,0.55);
  --c-hero-overlay-mid:    rgba(13,17,23,0.78);
  --c-hero-overlay-bottom: rgba(13,17,23,1.00);
  --c-hero-glow:           rgba(56,139,253,0.15);
}

/* =============================================
   NAV
============================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2rem;
  background: var(--c-nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, box-shadow 0.3s;
}
.nav-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
}
.nav-logo img { height: 42px; width: auto; }
.nav-phone {
  margin-left: auto;
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-accent); white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0.5rem 0.85rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--c-muted); border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--c-text); background: var(--c-surface2); }
.nav-links > li > ul {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute; top: 100%; left: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0.5rem; padding-top: 0.75rem;
  margin-top: 0;
  list-style: none;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  z-index: 200;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  transform: translateY(4px);
}
.nav-links > li > ul::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-links > li:hover > ul {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-links > li > ul li a {
  display: block; padding: 0.5rem 0.85rem;
  font-size: 0.85rem; color: var(--c-muted);
  border-radius: 6px; transition: color 0.2s, background 0.2s;
}
.nav-links > li > ul li a:hover { color: var(--c-text); background: var(--c-surface2); }
.nav-actions {
  display: flex; align-items: center; gap: 0.65rem;
  margin-left: auto;
}
.nav-phone-in-actions { margin-left: 0; }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--c-text);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.theme-toggle:hover { background: var(--c-surface); border-color: var(--c-accent); }
.theme-toggle--footer {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  z-index: 900;
  box-shadow: var(--shadow-md);
  background: var(--c-surface);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"]  .theme-toggle .icon-sun  { display: block; }
.nav-cta {
  display: inline-block; padding: 0.5rem 1.25rem;
  background: var(--c-accent); color: #fff;
  font-size: 0.875rem; font-weight: 600; border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--c-accent2); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--c-text); border-radius: 2px; transition: all 0.3s;
}

/* =============================================
   BUTTONS
============================================= */
.btn-primary {
  display: inline-block; padding: 0.9rem 2rem;
  background: var(--c-accent); color: #fff;
  font-size: 1rem; font-weight: 600; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(26,111,212,0.30);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--c-accent2); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(26,111,212,0.38); }
.btn-ghost {
  display: inline-block; padding: 0.9rem 2rem;
  border: 1.5px solid var(--c-border); color: var(--c-text);
  font-size: 1rem; font-weight: 500; border-radius: 10px;
  background: var(--c-btn-ghost-bg);
  transition: background 0.2s, transform 0.15s;
}
.btn-ghost:hover { background: var(--c-surface); transform: translateY(-2px); }
.btn-white {
  display: inline-block; padding: 0.85rem 1.75rem;
  background: #fff; color: var(--c-accent);
  font-size: 0.95rem; font-weight: 700; border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-outline-white {
  display: inline-block; padding: 0.85rem 1.75rem;
  border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  font-size: 0.95rem; font-weight: 600; border-radius: 10px;
  transition: background 0.15s, transform 0.15s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* =============================================
   SECTIONS
============================================= */
section { padding: 6rem 2rem; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800; line-height: 1.1; color: var(--c-text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--c-muted); max-width: 560px; line-height: 1.7;
}

/* =============================================
   HERO (homepage)
============================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to bottom,
      var(--c-hero-overlay-top) 0%,
      var(--c-hero-overlay-mid) 55%,
      var(--c-hero-overlay-bottom) 100%),
    var(--hero-img-home);
  background-size: cover;
  background-position: center;
  transition: filter 0.25s;
}
[data-theme="dark"] .hero-bg { filter: brightness(0.55) saturate(0.85); }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 30%, var(--c-hero-glow) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--c-text);
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--c-accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--c-muted);
  max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; color: var(--c-accent);
}
.stat-label { font-size: 0.8rem; color: var(--c-muted); margin-top: 0.2rem; }

/* =============================================
   PAGE HERO (inner pages) — light wash, dark text
============================================= */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  text-align: center;
  color: var(--c-text);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.25s;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 30%, var(--c-hero-glow) 0%, transparent 70%);
}
.page-hero--packages .page-hero-bg {
  background-image:
    linear-gradient(to bottom,
      var(--c-hero-overlay-top) 0%,
      var(--c-hero-overlay-mid) 55%,
      var(--c-hero-overlay-bottom) 100%),
    var(--hero-img-packages);
  background-position: center 35%;
}
.page-hero--infrastructure .page-hero-bg {
  background-image:
    linear-gradient(to bottom,
      var(--c-hero-overlay-top) 0%,
      var(--c-hero-overlay-mid) 55%,
      var(--c-hero-overlay-bottom) 100%),
    var(--hero-img-infra);
  background-position: center 60%;
}
[data-theme="dark"] .page-hero-bg {
  filter: brightness(0.55) saturate(0.85);
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
  padding: 0;
}
.page-hero-eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #1a6fd4; /* var(--c-accent); */
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.1; color: var(--c-text);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.05rem; color: var(--c-muted); line-height: 1.7;
  max-width: 560px; margin: 0 auto 2rem;
}
.page-hero-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.page-hero-tab {
  padding: 0.55rem 1.25rem; border-radius: 30px;
  font-size: 0.875rem; font-weight: 600;
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  background: var(--c-surface);
  cursor: pointer; transition: all 0.2s;
}
.page-hero-tab:hover {
  color: var(--c-text);
  border-color: var(--c-accent);
  background: var(--c-accent-lt);
}
.page-hero-tab.active {
  background: var(--c-accent); color: #fff;
  border-color: var(--c-accent);
}

/* =============================================
   FEATURES
============================================= */
.features { background: var(--c-surface); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 3.5rem;
}
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card-photo {
  width: 100%; height: 160px;
  object-fit: cover; display: block;
}
.feature-card-body { padding: 1.5rem 1.75rem 1.75rem; flex: 1; }
.feature-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--c-text); margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.9rem; color: var(--c-muted); line-height: 1.65; }

/* =============================================
   PLANS / PACKAGES
============================================= */
.packages { background: var(--c-bg); }
.packages-page { padding: 4rem 2rem 6rem; }
.pkg-section { margin-bottom: 5rem; }
.pkg-section-header {
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.pkg-section-tag {
  display: inline-block; padding: 0.25rem 0.8rem; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tag-residential { background: var(--c-accent-lt); color: var(--c-accent); }
.tag-business    { background: var(--c-amber-lt);  color: var(--c-amber); }
.tag-addons      { background: var(--c-surface2);  color: var(--c-muted); }
.tag-infra       { background: var(--c-green-lt);  color: var(--c-green); }
.pkg-section-header h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--c-text); }
.pkg-section-header p  { font-size: 0.9rem; color: var(--c-muted); margin-top: 0.3rem; }
.pkg-section-cta a {
  display: inline-block; padding: 0.6rem 1.4rem;
  background: var(--c-accent); color: #fff;
  font-size: 0.875rem; font-weight: 600; border-radius: 8px;
  transition: background 0.2s;
}
.pkg-section-cta a:hover { background: var(--c-accent2); }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.plans-grid-2col { grid-template-columns: repeat(auto-fit, minmax(280px, 480px)); }
.plan-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, background 0.25s;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.featured { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent), var(--shadow-md); }
.plan-card.business-card { border-top: 3px solid var(--c-amber); }
.plan-card.business-card.featured { border-color: var(--c-amber); box-shadow: 0 0 0 1px var(--c-amber), var(--shadow-md); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.25rem 0.8rem; border-radius: 20px; white-space: nowrap;
}
.plan-badge-blue  { background: var(--c-accent); }
.plan-badge-amber { background: var(--c-amber); }
.plan-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--c-text); margin-bottom: 0.35rem; }
.plan-type { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.75rem; }
.plan-speed { font-size: 2.4rem; font-weight: 800; font-family: var(--font-display); color: var(--c-accent); line-height: 1; }
.plan-card.business-card .plan-speed { color: var(--c-amber); }
.plan-speed-unit { font-size: 1rem; font-weight: 500; color: var(--c-muted); }
.plan-price { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; color: var(--c-text); }
.plan-price span { font-size: 0.85rem; font-weight: 400; color: var(--c-muted); }
.plan-setup { font-size: 0.8rem; color: var(--c-muted); margin-top: 0.25rem; }
.plan-divider { border: none; border-top: 1px solid var(--c-border); margin: 1.25rem 0; }
.plan-perks { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.plan-perks li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--c-muted); }
.plan-perks li::before { content: '✓'; color: var(--c-green); font-weight: 700; font-size: 0.8rem; flex-shrink: 0; margin-top: 1px; }
.plan-perks li.highlight,
.plan-perks li.great-for { color: var(--c-text); font-weight: 500; }
.plan-perks li.highlight::before,
.plan-perks li.great-for::before { content: '⚡'; }
.plan-perks li.note { color: var(--c-muted); font-style: italic; }
.plan-perks li.note::before { content: 'ℹ'; color: var(--c-muted); }
.plan-action { margin-top: 1.75rem; }
.plan-action a {
  display: block; text-align: center; padding: 0.75rem;
  background: var(--c-accent); color: #fff;
  font-weight: 600; font-size: 0.9rem; border-radius: 8px; transition: background 0.2s;
}
.plan-action a:hover { background: var(--c-accent2); }
.plan-card:not(.featured) .plan-action a { background: var(--c-accent-lt); color: var(--c-accent); border: 1px solid rgba(26,111,212,0.2); }
.plan-card:not(.featured) .plan-action a:hover { background: var(--c-plan-alt-hover); }
.plan-card.business-card .plan-action a { background: var(--c-amber); color: #fff; }
.plan-card.business-card .plan-action a:hover { background: #b45309; }
.plan-card.business-card:not(.featured) .plan-action a { background: var(--c-amber-lt); color: var(--c-amber); border: 1px solid rgba(217,119,6,0.2); }
.plan-card.business-card:not(.featured) .plan-action a:hover { background: var(--c-business-alt-hover); }
.plans-note { font-size: 0.8rem; color: var(--c-muted); margin-top: 1rem; padding: 0.75rem 1rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 8px; }
.plans-note a { color: var(--c-accent); font-weight: 600; }
.plans-note a:hover { color: var(--c-accent2); }
.pkg-callout {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.pkg-callout--dedicated { border-left-color: var(--c-green); }
.pkg-callout-text { flex: 1; min-width: 240px; }
.pkg-callout-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--c-text);
  margin: 0.5rem 0 0.65rem;
}
.pkg-callout-text p { font-size: 0.9rem; color: var(--c-muted); line-height: 1.65; max-width: 52ch; }
.pkg-callout-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  flex-shrink: 0;
}
.pkg-callout-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s;
}
.pkg-callout-btn:hover { background: var(--c-accent2); }
.pkg-callout--dedicated .pkg-callout-btn { background: var(--c-green); }
.pkg-callout--dedicated .pkg-callout-btn:hover { background: #15803d; }
.pkg-callout-link { font-size: 0.9rem; font-weight: 600; color: var(--c-accent); }
.pkg-callout-link:hover { color: var(--c-accent2); }
.pkg-callout--dedicated .pkg-callout-link { color: var(--c-green); }
.pkg-callout--dedicated .pkg-callout-link:hover { color: #15803d; }
.packages-cta { text-align: center; margin-top: 2.5rem; }
.packages-cta a { color: var(--c-accent); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.packages-cta a:hover { color: var(--c-accent2); }

/* Add-ons */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.addon-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.addon-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.addon-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--c-text); }
.addon-price { font-size: 1.15rem; font-weight: 700; color: var(--c-accent); white-space: nowrap; }
.addon-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.addon-card ul li { font-size: 0.85rem; color: var(--c-muted); display: flex; align-items: flex-start; gap: 0.5rem; }
.addon-card ul li::before { content: '–'; color: var(--c-accent); flex-shrink: 0; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th { background: var(--c-accent); color: #fff; padding: 1rem 1.25rem; text-align: left; font-size: 0.85rem; font-weight: 600; }
.compare-table th:first-child { background: var(--c-surface2); color: var(--c-muted); }
.compare-table td { padding: 0.875rem 1.25rem; font-size: 0.875rem; color: var(--c-muted); border-bottom: 1px solid var(--c-border); }
.compare-table td:first-child { font-weight: 600; color: var(--c-text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--c-bg); }
.check { color: var(--c-green); font-weight: 700; }
.dash  { color: var(--c-border); }

/* FCC Broadband Facts labels */
.bcl-wrap { margin-top: 1rem; }
.bcl-details { border-top: 1px solid var(--c-border); padding-top: 0.75rem; }
.bcl-summary {
  cursor: pointer; list-style: none;
  font-size: 0.8rem; font-weight: 600; color: var(--c-accent);
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  user-select: none;
}
.bcl-summary::-webkit-details-marker { display: none; }
.bcl-summary::after {
  content: '▼'; font-size: 0.65rem; transition: transform 0.2s; flex-shrink: 0;
}
.bcl-details[open] .bcl-summary::after { transform: rotate(180deg); }
.bcl-summary-hint { font-weight: 400; color: var(--c-muted); font-size: 0.72rem; }
.bcl-label {
  margin-top: 0.85rem;
  border: 2px solid var(--c-text);
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 0.72rem;
  line-height: 1.45;
  overflow: hidden;
}
[data-theme="dark"] .bcl-label {
  background: #f8f9fa;
  color: #111;
  border-color: #e2e8f0;
}
.bcl-header {
  background: #111; color: #fff;
  padding: 0.55rem 0.75rem;
  border-bottom: 2px solid #111;
}
.bcl-header-title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: 0.02em; }
.bcl-header-type { font-size: 0.65rem; opacity: 0.85; margin-top: 0.15rem; }
.bcl-provider { padding: 0.65rem 0.75rem; border-bottom: 1px solid #ccc; }
.bcl-provider-name { font-weight: 700; font-size: 0.78rem; }
.bcl-plan-name { font-size: 0.72rem; margin-top: 0.2rem; }
.bcl-section { padding: 0.55rem 0.75rem; border-bottom: 1px solid #ccc; }
.bcl-section:last-of-type { border-bottom: none; }
.bcl-section-title {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 0.35rem;
}
.bcl-section-price .bcl-price-main { font-size: 1.35rem; font-weight: 800; font-family: var(--font-display); }
.bcl-note { margin-top: 0.25rem; color: #333; }
.bcl-table { width: 100%; border-collapse: collapse; }
.bcl-table td, .bcl-table th { padding: 0.2rem 0; vertical-align: top; text-align: left; }
.bcl-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.bcl-table-group { font-weight: 700; padding-top: 0.35rem !important; }
.bcl-section-inline p { color: #333; }
.bcl-section-inline a { color: #1258b0; font-weight: 600; }
.bcl-speeds { display: grid; gap: 0.35rem; }
.bcl-speed { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.bcl-speed-label { color: #333; }
.bcl-speed-value { font-weight: 800; font-size: 0.85rem; text-align: right; }
.bcl-speed-value small { font-weight: 500; font-size: 0.65rem; }
.bcl-data-row { display: flex; flex-direction: column; gap: 0.2rem; }
.bcl-data-charges { color: #333; }
.bcl-section-links .bcl-link-row {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.2rem 0; flex-wrap: wrap;
}
.bcl-section-links a { color: #1258b0; font-weight: 600; }
.bcl-footer { padding: 0.55rem 0.75rem; background: #f3f4f6; border-top: 1px solid #ccc; }
.bcl-footer p { color: #333; margin: 0; }
.bcl-footer p + p { margin-top: 0.35rem; }
.bcl-footer a { color: #1258b0; font-weight: 600; }
.bcl-meta { font-size: 0.65rem; }
.bcl-plan-id { font-size: 0.65rem; word-break: break-all; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1258b0 0%, #2b8ae8 100%);
  border-radius: var(--radius); padding: 3.5rem 2.5rem;
  text-align: center; color: #fff; margin-top: 2rem;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #0d2137 0%, #1f6feb 100%); }
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-band p  { opacity: 0.85; margin-bottom: 2rem; line-height: 1.6; }
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   INFRASTRUCTURE SERVICES
============================================= */
.infra-intro {
  background: var(--c-surface);
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--c-border);
}
.infra-intro-inner {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.infra-services { padding: 4rem 2rem 2rem; }
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.infra-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.infra-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.infra-card-photo {
  width: 100%; height: 180px;
  object-fit: cover; display: block;
}
.infra-card-photo--wide { height: 220px; }
.infra-card-body {
  padding: 1.75rem 2rem 2rem;
  display: flex; flex-direction: column; flex: 1;
}
.infra-card-icon {
  width: 52px; height: 52px;
  background: var(--c-accent-lt);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.infra-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}
.infra-card-body > p,
.infra-card > p {
  font-size: 0.9rem; color: var(--c-muted);
  line-height: 1.65; margin-bottom: 1.25rem;
}
.infra-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-top: auto;
}
.infra-card ul li {
  font-size: 0.875rem; color: var(--c-muted);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.infra-card ul li::before {
  content: '✓'; color: var(--c-green);
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0; margin-top: 2px;
}
.infra-card.wide {
  grid-column: 1 / -1;
}
.infra-card.wide .infra-card-body { min-width: 0; }

/* =============================================
   ABOUT
============================================= */
.about { background: var(--c-surface); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text .section-sub { max-width: 100%; margin-top: 1rem; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img img { width: 100%; height: 320px; object-fit: cover; }

/* =============================================
   CONTACT
============================================= */
.contact { background: var(--c-bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info .section-sub { margin-top: 1rem; max-width: 100%; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-top: 1.5rem; font-size: 0.9rem; color: var(--c-muted);
}
.contact-detail strong { color: var(--c-text); display: block; margin-bottom: 0.15rem; }
.contact-detail-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.contact-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--c-muted); letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 8px; padding: 0.75rem 1rem;
  color: var(--c-text); font-family: var(--font-ui); font-size: 0.9rem;
  width: 100%; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--c-accent); background: var(--c-surface); }
.form-group textarea { resize: vertical; min-height: 120px; }
.hp-field { display: none !important; visibility: hidden; }
.form-submit-btn {
  width: 100%; padding: 0.9rem;
  background: var(--c-accent); color: #fff;
  font-size: 1rem; font-weight: 600; border: none; border-radius: 10px;
  cursor: pointer; margin-top: 0.5rem; font-family: var(--font-ui);
  transition: background 0.2s, transform 0.15s;
}
.form-submit-btn:hover:not(:disabled) { background: var(--c-accent2); transform: translateY(-1px); }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message {
  margin-top: 1rem; padding: 0.85rem 1rem;
  border-radius: 8px; font-size: 0.875rem; font-weight: 500; display: none;
}
.form-message.success { background: var(--c-green-lt); border: 1px solid rgba(22,163,74,0.3); color: var(--c-green); }
.form-message.error   { background: var(--c-error-bg); border: 1px solid var(--c-error-border); color: var(--c-error-text); }

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--c-footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand img { height: 38px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 240px; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w); margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.8rem;
}

/* =============================================
   SCROLL REVEAL
============================================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 0.75rem 0.875rem; }
}
@media (max-width: 700px) {
  .nav-links, .nav-phone-in-actions, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--c-surface); padding: 1rem;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md); gap: 0;
  }
  nav.open .nav-links > li > ul {
    position: static; box-shadow: none;
    border: none; background: var(--c-bg); margin-left: 0.5rem; margin-top: 0.25rem;
    display: block; visibility: visible; opacity: 1; pointer-events: auto; transform: none;
  }
  nav.open .nav-actions {
    position: absolute; top: var(--nav-h);
    right: 1rem; margin-left: 0;
    padding-top: 0.5rem;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 2rem; }
  .page-hero-inner { padding: 0; }
  .pkg-section-header { flex-direction: column; align-items: flex-start; }
  .compare-table { display: block; overflow-x: auto; }
  .infra-grid { grid-template-columns: 1fr; }
}

/* =============================================
   INFRASTRUCTURE PAGE — orange accent theme
============================================= */
.page-infrastructure {
  --c-accent:    #d97706;
  --c-accent2:   #b45309;
  --c-accent-lt: #fef3c7;
  --c-hero-glow: rgba(217,119,6,0.12);
}
[data-theme="dark"] .page-infrastructure {
  --c-accent:    #f59e0b;
  --c-accent2:   #d97706;
  --c-accent-lt: #2a2007;
  --c-hero-glow: rgba(245,158,11,0.15);
}
.page-infrastructure .cta-band {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
}
[data-theme="dark"] .page-infrastructure .cta-band {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #d97706 100%);
}
.page-infrastructure .btn-white {
  color: #b45309;
}
.page-infrastructure .btn-white:hover {
  color: #92400e;
}
.page-infrastructure .infra-card ul li::before {
  color: var(--c-accent);
}
.page-infrastructure .theme-toggle:hover {
  border-color: var(--c-accent);
}

/* =============================================
   LEGAL / POLICY PAGES
============================================= */
.page-hero--legal {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 3rem;
}
.page-hero--legal .page-hero-inner p.legal-updated {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.legal-content {
  padding: 3rem 2rem 5rem;
  max-width: 760px;
  margin: 0 auto;
}
.legal-content p,
.legal-content li {
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
  color: var(--c-text);
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 1rem;
}
.legal-content ol { list-style: decimal; }
.legal-content ul { list-style: disc; }
.legal-content a { color: var(--c-accent); }
.legal-content a:hover { text-decoration: underline; }
.legal-contact {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.legal-contact p { margin-bottom: 0.35rem; }
.policy-hub {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.policy-hub-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.policy-hub-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.policy-hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.35rem;
}
.policy-hub-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}
