/* ═══════════════════════════════════════════════
   SecureNet Fiber - Base Styles
   ═══════════════════════════════════════════════ */

:root {
  /* Color system - light theme, SecureNet brand */
  --bg-deep:      #f7f8fb;
  --bg-surface:   #eef0f5;
  --bg-card:      #ffffff;
  --bg-elevated:  #e8eaf0;

  --navy:         #2E368F;
  --navy-dark:    #252b6e;
  --accent:       #3C91E6;
  --accent-hover: #2a7dd4;
  --accent-glow:  rgba(60, 145, 230, 0.12);
  --red:          #ED254E;
  --green:        #16a34a;

  --text-primary:   #1a1a2e;
  --text-secondary: #4a5068;
  --text-muted:     #7c8194;

  --border:       rgba(0, 0, 0, 0.07);
  --border-light: rgba(0, 0, 0, 0.12);

  /* Typography scale - generous for readability */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-base:  1.125rem;   /* 18px body - elderly friendly */
  --text-lg:    1.25rem;
  --text-xl:    1.5rem;
  --text-2xl:   2rem;
  --text-3xl:   2.75rem;
  --text-4xl:   3.75rem;
  --text-5xl:   4.5rem;
  --leading:    1.65;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 72rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}


/* ─── RESET ─── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--text-primary);
  background: var(--bg-deep);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--cyan);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ─── LAYOUT ─── */

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 38rem;
  line-height: 1.6;
}


/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
  min-height: 3rem; /* 48px touch target */
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: #242b78;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46, 54, 143, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-sm {
  font-size: var(--text-sm);
  padding: 0.5rem 1rem;
  min-height: 2.25rem;
}

.btn-lg {
  font-size: var(--text-lg);
  padding: 1rem 2.25rem;
  min-height: 3.5rem;
}

.btn-full {
  width: 100%;
}


/* ═══════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  height: 4.5rem;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo img {
  height: 2.75rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn {
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  min-height: 2.5rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

.hero {
  min-height: min(100vh, 56rem);
  display: flex;
  align-items: center;
  padding: 7rem 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80rem;
  height: 40rem;
  background: radial-gradient(ellipse at center, rgba(46, 54, 143, 0.08) 0%, rgba(60, 145, 230, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero-heading {
  font-size: clamp(2.75rem, 6vw, var(--text-5xl));
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.hero-heading em {
  font-style: normal;
  color: var(--accent);
  /* accent blue from brand */
}

.hero-sub {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.55;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.proof-item strong {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.proof-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.proof-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border-light);
}


/* ═══════════════════════════════════════════════
   PLANS
   ═══════════════════════════════════════════════ */

.plans {
  padding: var(--space-3xl) 0;
  background: var(--bg-surface);
}

.plans .section-heading,
.plans .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.plans .section-heading {
  margin-bottom: 0.5rem;
}

.plans .section-sub {
  margin-bottom: var(--space-xl);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.plan-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.plan-card--featured {
  border-color: var(--navy);
  background: linear-gradient(to bottom, rgba(46, 54, 143, 0.04), var(--bg-card) 40%);
  box-shadow: 0 4px 24px rgba(46, 54, 143, 0.08);
}

.plan-card--featured:hover {
  border-color: var(--navy);
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.plan-speed {
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.plan-speed span {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.price-dollar {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 0.35rem;
}

.price-amount {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  flex: 1;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-features li {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.plans-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
}


/* ═══════════════════════════════════════════════
   WHY FIBER
   ═══════════════════════════════════════════════ */

.why-fiber {
  padding: var(--space-3xl) 0;
}

.why-fiber .section-sub {
  margin-bottom: var(--space-xl);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.2s;
}

.benefit-card:hover {
  border-color: var(--border-light);
}

.benefit-icon {
  color: var(--navy);
  margin-bottom: var(--space-sm);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 54, 143, 0.08);
  border-radius: var(--radius-sm);
}

.benefit-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════
   AVAILABILITY CHECK
   ═══════════════════════════════════════════════ */

.availability {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.avail-box {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.avail-heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-xs);
  color: #fff;
}

.avail-sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.avail-form {
  max-width: 32rem;
  margin: 0 auto;
}

.avail-input-group {
  display: flex;
  gap: 0.5rem;
}

.avail-input-group input {
  flex: 1;
  font-family: var(--font);
  font-size: var(--text-base);
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 3.25rem;
}

.avail-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.avail-input-group input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.availability .btn-primary {
  background: #fff;
  color: var(--navy);
}

.availability .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.availability .btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.availability .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.avail-icon {
  margin-bottom: 1rem;
}

.avail-icon--yes {
  color: var(--green);
}

.avail-icon--no {
  color: rgba(255, 255, 255, 0.7);
}

.avail-icon--error {
  color: rgba(255, 200, 100, 0.9);
}

.avail-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.avail-phones {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-sm);
}

.avail-phone-link {
  color: #fff;
  font-weight: 600;
  font-size: var(--text-lg);
  text-decoration: none;
}

.avail-phone-link:hover {
  text-decoration: underline;
}

.avail-input-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.avail-input-group .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */

.about {
  padding: var(--space-3xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-top: var(--space-md);
  line-height: 1.7;
  font-size: var(--text-lg);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */

.contact {
  padding: var(--space-3xl) 0;
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info p {
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.contact-methods {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-method strong {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.contact-method a,
.contact-method span {
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.contact-method a:hover {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  min-height: 3rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
  font-family: var(--font);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  min-height: 3rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5068' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-radio-group {
  display: flex;
  gap: var(--space-md);
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base) !important;
  font-weight: 400 !important;
  color: var(--text-primary) !important;
  cursor: pointer;
}

.form-radio-label input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: auto;
  padding: 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-base) !important;
  font-weight: 400 !important;
  color: var(--text-primary) !important;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: auto;
  padding: 0;
  margin-top: 0.2rem;
  accent-color: var(--navy);
  cursor: pointer;
}

.form-help-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.form-help-text a {
  color: var(--accent);
  font-weight: 600;
}

.form-error {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 500;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: var(--space-lg);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}


/* ═══════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════ */

/* Hamburger animation when open */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Scrolled header */
.header--scrolled {
  background: rgba(247, 248, 251, 0.97);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* Mobile panel — slides down from header */
@media (max-width: 48rem) {
  .site-header.menu-open {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.menu-open .nav-container {
    flex-wrap: wrap;
    align-content: flex-start;
    height: auto;
  }

  .nav-links.nav-links--open {
    display: flex;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    padding: var(--space-md) 0 0;
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.nav-links--open li a {
    display: block;
    padding: 1rem 0;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
  }

  .nav-actions.nav-actions--open {
    display: flex;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding: var(--space-md) 0 var(--space-lg);
  }

  .nav-actions.nav-actions--open .btn {
    width: 100%;
    font-size: var(--text-base);
    padding: 1rem 1.5rem;
    min-height: 3.25rem;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 64rem) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 48rem) {
  :root {
    --text-3xl: 2.25rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.25rem;
    --space-3xl: 5rem;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 var(--space-xl);
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .proof-divider {
    display: none;
  }

  .avail-input-group {
    flex-direction: column;
  }

  .footer-top {
    gap: var(--space-lg);
  }

  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .footer-col {
    min-width: 45%;
  }
}

@media (max-width: 30rem) {
  :root {
    --text-3xl: 1.85rem;
    --text-4xl: 2.25rem;
    --text-5xl: 2.75rem;
    --text-base: 1.0625rem;
    --space-3xl: 4rem;
    --space-2xl: 4rem;
  }

  .section-container {
    padding: 0 var(--space-sm);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-col {
    min-width: 100%;
  }
}


/* ═══════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════ */

.page-hero {
  padding: 8rem 0 var(--space-xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero .section-heading {
  font-size: clamp(2.25rem, 5vw, var(--text-4xl));
  margin-bottom: var(--space-xs);
  color: #fff;
}

.page-hero .section-sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
}


/* ═══════════════════════════════════════════════
   COVERAGE / MARKET AREAS
   ═══════════════════════════════════════════════ */

.market-area {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.market-area--alt {
  background: var(--bg-surface);
}

.market-card {
  max-width: 48rem;
}

.market-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--space-md);
}

.market-speeds,
.market-cities {
  margin-top: var(--space-lg);
}

.market-speeds h3,
.market-cities h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.market-speeds ul,
.market-cities ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.market-speeds li,
.market-cities li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.market-speeds li strong {
  color: var(--text-primary);
}

.market-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

.market-status--live {
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
}

.market-status--expanding {
  background: rgba(60, 145, 230, 0.1);
  color: var(--accent);
}


/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */

.about-story {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.story-content {
  max-width: 42rem;
}

.story-content p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--space-md);
}

.about-values {
  padding: var(--space-3xl) 0;
  background: var(--bg-surface);
}

.about-values .section-sub {
  margin-bottom: var(--space-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.2s;
}

.value-card:hover {
  border-color: var(--border-light);
}

.value-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-stats-section {
  padding: var(--space-3xl) 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.about-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-cta .section-heading {
  color: #fff;
}

.about-cta .section-sub {
  color: rgba(255, 255, 255, 0.9);
}

.about-cta .btn-primary {
  background: #fff;
  color: var(--navy);
}

.about-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.about-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-box {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.cta-box .section-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-height: 42rem;
  width: 100%;
  min-width: 0;
}

.social-section {
  padding: var(--space-3xl) 0;
}

.social-box {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.social-box .section-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(46, 54, 143, 0.04);
}

.social-link svg {
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   WHAT'S INCLUDED (Residential)
   ═══════════════════════════════════════════════ */

.included {
  padding: var(--space-3xl) 0;
}

.included .section-sub {
  margin-bottom: var(--space-xl);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.included-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.2s;
}

.included-item:hover {
  border-color: var(--border-light);
}

.included-icon {
  color: var(--navy);
  margin-bottom: var(--space-sm);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 54, 143, 0.08);
  border-radius: var(--radius-sm);
}

.included-item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.included-item p {
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 64rem) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════
   SUBTLE DOT PATTERNS
   ═══════════════════════════════════════════════ */

/* Dot pattern on light bg-surface sections */
.plans,
.about-values,
.market-area--alt,
.contact {
  position: relative;
}

.plans::after,
.about-values::after,
.market-area--alt::after,
.contact::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(
    circle,
    var(--navy) 0.75px,
    transparent 0.75px
  );
  background-size: 24px 24px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.plans > *,
.about-values > *,
.market-area--alt > *,
.contact > * {
  position: relative;
  z-index: 1;
}

/* Dot pattern on dark navy sections (white dots) */
.page-hero::after,
.availability::after,
.about-cta::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5) 0.5px,
    transparent 0.5px
  );
  background-size: 20px 20px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.page-hero > *,
.availability > *,
.about-cta > * {
  position: relative;
  z-index: 1;
}


/* ─── RESPONSIVE: INNER PAGES ─── */

@media (max-width: 64rem) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }
}

@media (max-width: 48rem) {
  .page-hero {
    padding: 7rem 0 var(--space-lg);
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 100%;
    max-width: 16rem;
    justify-content: center;
  }
}

/* ─── Form success state ─── */
.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  width: 100%;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-success-icon {
  color: var(--accent);
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-secondary);
  max-width: 28rem;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════
   BROADBAND NUTRITION LABEL (FCC)
   ═══════════════════════════════════════════════ */

.plan-card-wrapper {
  display: flex;
  flex-direction: column;
}

.bb-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.75rem 0 0.25rem;
  text-align: center;
  transition: color 0.15s;
}

.bb-toggle:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.broadband-label {
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  overflow: hidden;
}

.bb-header {
  background: var(--text-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bb-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bb-plan-id {
  font-size: 0.75rem;
  opacity: 0.7;
  font-family: monospace;
}

.bb-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--text-primary);
  font-weight: 700;
}

.bb-plan-name {
  font-size: 0.95rem;
}

.bb-plan-price {
  font-size: 1.1rem;
}

.bb-section {
  border-bottom: 1px solid var(--border-light);
}

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

.bb-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.6rem 1rem 0.3rem;
}

.bb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
}

.bb-row span {
  color: var(--text-secondary);
}

.bb-row strong {
  color: var(--text-primary);
  text-align: right;
}

.bb-note {
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bb-footer {
  padding: 0.6rem 1rem;
  border-top: 2px solid var(--text-primary);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.bb-footer a {
  color: var(--accent);
  font-weight: 500;
}

.bb-sep {
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════
   NETWORK STATUS
   ═══════════════════════════════════════════════ */

.status-overview {
  padding: var(--space-lg) 0;
}

.status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--green);
  background: rgba(22, 163, 74, 0.06);
}

.status-banner--degraded {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.06);
}

.status-banner--outage {
  border-color: var(--red);
  background: rgba(237, 37, 78, 0.06);
}

.status-banner-text {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--operational {
  background: var(--green);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.4);
}

.status-dot--degraded {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.status-dot--outage {
  background: var(--red);
  box-shadow: 0 0 8px rgba(237, 37, 78, 0.4);
}

.status-markets {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.market-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.market-header h3 {
  margin: 0;
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.market-metrics--two {
  grid-template-columns: repeat(2, 1fr);
}

.market-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-sm);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}

.market-metric-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.market-metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-incidents {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--bg-surface);
}

.incidents-empty {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--green);
}

.incidents-empty svg {
  margin: 0 auto var(--space-sm);
}

.incidents-empty p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

@media (max-width: 48rem) {
  .market-metrics {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════
   SPEED COMPARISON WIDGET
   ═══════════════════════════════════════════════ */

.sc-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.sc-widget {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Tier selector pills */
.sc-tier-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: var(--space-xl);
}

.sc-tier-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  border: 1.5px solid var(--border-light);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sc-tier-btn:hover {
  border-color: var(--accent);
  color: var(--navy);
}

.sc-tier-btn--active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Gauges */
.sc-gauges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.sc-gauge-wrap {
  text-align: center;
}

.sc-gauge-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Badges */
.sc-badge-row {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
}

.sc-badge--navy {
  background: rgba(46, 54, 143, 0.08);
  color: var(--navy);
}

.sc-badge--accent {
  background: rgba(60, 145, 230, 0.1);
  color: var(--accent);
}

.sc-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.sc-section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

/* Provider cards */
.sc-compare-grid {
  display: grid;
  gap: var(--space-sm);
}

.sc-provider {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.2s;
}

.sc-provider--featured {
  border-color: var(--navy);
  background: linear-gradient(to bottom, rgba(46, 54, 143, 0.03), var(--bg-card) 40%);
  box-shadow: 0 4px 24px rgba(46, 54, 143, 0.08);
}

.sc-provider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.sc-provider-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.sc-provider-type {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.sc-our-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(46, 54, 143, 0.08);
  color: var(--navy);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.sc-metric {
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.sc-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.sc-metric-val {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
}

.sc-metric-val--good { color: var(--navy); }
.sc-metric-val--bad { color: var(--red); }

/* Bars */
.sc-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.sc-bar-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 5rem;
  flex-shrink: 0;
  font-weight: 500;
}

.sc-bar-track {
  flex: 1;
  height: 7px;
  background: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
}

.sc-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.9s cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 48rem) {
  .sc-gauges {
    gap: var(--space-md);
  }
  .sc-metrics {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */

.faq-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.faq-categories {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.faq-category-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--navy);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  width: 24px;
  height: 24px;
}

.faq-item--open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item--open .faq-answer {
  max-height: 20rem;
  padding-bottom: var(--space-md);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--text-base);
}


/* ═══════════════════════════════════════════════
   ALERT BAR
   ═══════════════════════════════════════════════ */

/* When alert bar is visible, push page content down to clear the taller fixed header */
body.has-alert-bar .hero {
  padding-top: 9.5rem;
}
body.has-alert-bar .page-hero {
  padding-top: 10.5rem;
}

.alert-bar {
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.6rem var(--space-md);
  position: relative;
  z-index: 101;
}

.alert-bar--warning {
  background: #f59e0b;
  color: #1a1a18;
}

.alert-bar--critical {
  background: var(--red);
  color: #fff;
}

.alert-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.alert-bar-message {
  font-weight: 500;
}

.alert-bar-message a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.alert-bar-dismiss {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.7;
  transition: opacity 0.15s;
  flex-shrink: 0;
  line-height: 1;
}

.alert-bar-dismiss:hover {
  opacity: 1;
}


/* ═══════════════════════════════════════════════
   NETWORK PERFORMANCE (coverage page)
   ═══════════════════════════════════════════════ */

.net-perf {
  padding: var(--space-2xl) 0;
  background: var(--bg-surface);
}

.net-perf-heading {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.net-perf-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Stats row */
.net-perf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.net-perf-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.net-perf-stat-value {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}

.net-perf-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Per-market performance cards */
.net-perf-markets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.net-perf-market {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.net-perf-market-region {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.net-perf-market-row {
  display: flex;
  gap: 2.5rem;
  margin-bottom: var(--space-sm);
}

.net-perf-market-metric-value {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.net-perf-market-metric-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.net-perf-bar-track {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 6px;
  overflow: hidden;
}

.net-perf-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  width: 0%;
  transition: width 1.2s ease-out;
}

/* Feature badges */
.net-perf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.net-perf-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.net-perf-badge-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--accent);
}

/* ── Responsive: network performance ── */

@media (max-width: 64rem) {
  .net-perf-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  .net-perf-markets {
    grid-template-columns: 1fr;
  }

  .net-perf-badges {
    gap: 0.5rem;
  }

  .net-perf-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 30rem) {
  .net-perf-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .net-perf-stat {
    padding: var(--space-sm) var(--space-md);
  }

  .net-perf-stat-value {
    font-size: var(--text-2xl);
  }

  .net-perf-market-row {
    gap: 1.5rem;
  }
}


/* ═══════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════ */

.legal-content {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.legal-body {
  max-width: 48rem;
}

.legal-body h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: var(--space-xl) 0 var(--space-sm);
  color: var(--text-primary);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}

.legal-body h2:first-of-type {
  border-top: none;
  margin-top: var(--space-lg);
}

.legal-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-md) 0 var(--space-xs);
  color: var(--text-primary);
}

.legal-body p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.legal-body ul,
.legal-body ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

.legal-body ol {
  list-style: decimal;
}

.legal-body li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.legal-body li strong {
  color: var(--text-primary);
}

.legal-body a {
  color: var(--accent);
}

.legal-body a:hover {
  color: var(--accent-hover);
}


/* ═══════════════════════════════════════════════
   CITY LANDING PAGES
   ═══════════════════════════════════════════════ */

.city-hero {
  padding: 8rem 0 var(--space-xl);
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.city-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80rem;
  height: 40rem;
  background: radial-gradient(ellipse at center, rgba(60, 145, 230, 0.15) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
  pointer-events: none;
}

.city-hero .section-container {
  position: relative;
}

.city-hero .section-heading {
  font-size: clamp(2.25rem, 5vw, var(--text-4xl));
  margin-bottom: var(--space-sm);
  color: #fff;
}

.city-hero .section-sub {
  max-width: 38rem;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.city-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(22, 163, 74, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

/* Stats row */
.city-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: var(--space-xl) 0;
}

.city-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.city-stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.city-stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Plans section */
.city-plans {
  padding: var(--space-2xl) 0;
  background: var(--bg-surface);
}

.city-plans .section-heading,
.city-plans .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.city-plans .section-heading {
  margin-bottom: 0.5rem;
}

.city-plans .section-sub {
  margin-bottom: var(--space-xl);
}

.city-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.city-plan-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 44rem;
}

.city-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.city-plan-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.city-plan-card--featured {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(46, 54, 143, 0.08);
}

.city-plan-speed {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.city-plan-speed span {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
}

.city-plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* What's included (city version) - base layout handled by .city-included-section */

/* Why fiber (city version) */
.city-why {
  padding: var(--space-2xl) 0;
  background: var(--bg-surface);
}

.city-why .section-heading {
  margin-bottom: 0.5rem;
}

.city-why .section-sub {
  margin-bottom: var(--space-xl);
}

.city-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.city-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.city-why-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.city-why-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA section (city) */
.city-cta-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.city-cta-section .section-heading {
  margin-bottom: 0.5rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.city-cta-section .section-sub {
  margin-bottom: var(--space-lg);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.city-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* City hero label */
.city-hero-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}

/* City stats wrapper section */
.city-stats-section {
  padding: 0;
}

/* City plan card popular variant */
.city-plan-card--popular {
  border-color: var(--navy);
  border-width: 2px;
  background: linear-gradient(to bottom, rgba(46, 54, 143, 0.04), var(--bg-card) 40%);
  box-shadow: 0 4px 24px rgba(46, 54, 143, 0.08);
}

.city-plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.city-plan-amount {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.city-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.city-plan-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.city-plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.city-coming-soon {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-weight: 500;
  font-style: italic;
}

/* City included section wrapper */
.city-included-section {
  padding: var(--space-2xl) 0;
}

.city-included-section .section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.city-included-section .city-included {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}

.city-included-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.city-included-item svg {
  flex-shrink: 0;
  color: var(--green);
}

/* City CTA buttons */
.city-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* City why section centered heading */
.city-why .section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ── Responsive: city pages ── */

@media (max-width: 64rem) {
  .city-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-included-section .city-included {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  .city-hero {
    padding-top: 6rem;
  }
  .city-plan-grid,
  .city-plan-grid--two {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin: 0 auto;
  }
  .city-why-grid {
    grid-template-columns: 1fr;
  }
  .city-included-grid {
    grid-template-columns: 1fr;
  }
  .city-included-section .city-included {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 30rem) {
  .city-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .city-stat {
    padding: var(--space-sm) var(--space-md);
  }
  .city-stat-value {
    font-size: var(--text-xl);
  }
  .city-included-section .city-included {
    grid-template-columns: 1fr;
  }
  .city-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}


/* ═══════════════════════════════════════════════
   PRE-REGISTRATION PAGE (St. Albans)
   ═══════════════════════════════════════════════ */

.prereg-hero {
  padding: 8rem 0 var(--space-xl);
  position: relative;
  overflow: hidden;
  background: var(--navy);
  text-align: center;
}

.prereg-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80rem;
  height: 40rem;
  background: radial-gradient(ellipse at center, rgba(60, 145, 230, 0.15) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
  pointer-events: none;
}

.prereg-hero .section-container {
  position: relative;
}

.prereg-hero .section-heading {
  font-size: clamp(2.25rem, 5vw, var(--text-4xl));
  margin-bottom: var(--space-sm);
  color: #fff;
}

.prereg-hero .section-sub {
  max-width: 36rem;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
}

.prereg-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

/* Timeline */
.prereg-timeline {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--bg-surface);
}

.prereg-timeline .section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.prereg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.prereg-step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.prereg-step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-weight: 800;
  font-size: 1.1rem;
}

.prereg-step--complete .prereg-step-icon {
  background: var(--green);
  color: #fff;
}

.prereg-step--active .prereg-step-icon {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(46, 54, 143, 0.15);
}

.prereg-step--upcoming .prereg-step-icon {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.prereg-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.prereg-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.prereg-step--upcoming h3,
.prereg-step--upcoming p {
  color: var(--text-muted);
}

/* What to expect */
.prereg-expect {
  padding: var(--space-2xl) 0;
}

.prereg-expect .section-heading {
  text-align: center;
  margin-bottom: 0.5rem;
}

.prereg-expect .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.prereg-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.prereg-expect-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.prereg-expect-item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.prereg-expect-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.prereg-expect-value {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

/* Pre-reg form */
.prereg-form-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-surface);
}

.prereg-form-section .section-heading {
  text-align: center;
  margin-bottom: 0.5rem;
}

.prereg-form-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
  max-width: 32rem;
}

.prereg-form-wrapper {
  max-width: 32rem;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.prereg-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.prereg-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prereg-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.prereg-input {
  font-family: var(--font);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  min-height: 3rem;
}

.prereg-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.prereg-input::placeholder {
  color: var(--text-muted);
}

.prereg-btn {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.85rem 2rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
}

.prereg-btn:hover {
  background: var(--navy-dark);
}

.prereg-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.prereg-success-icon {
  color: var(--green);
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.prereg-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.prereg-success p {
  color: var(--text-secondary);
  max-width: 28rem;
  margin: 0 auto;
}

/* Pre-reg FAQ mini */
.prereg-faq {
  padding: var(--space-2xl) 0;
}

.prereg-faq .section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.prereg-faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.prereg-faq-item h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.prereg-faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Responsive: pre-registration ── */

@media (max-width: 64rem) {
  .prereg-expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 48rem) {
  .prereg-hero {
    padding-top: 6rem;
  }
  .prereg-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .prereg-expect-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin: 0 auto;
  }
}

@media (max-width: 30rem) {
  .prereg-steps {
    grid-template-columns: 1fr;
    max-width: 16rem;
    margin: 0 auto;
  }
}


/* ═══════════════════════════════════════════════
   COGNITO FORMS EMBED OVERRIDES
   Chameleon styles for seamless Cognito embeds.
   Targets .cog-* classes injected by Cognito's
   seamless.js so embedded forms match our theme.
   ═══════════════════════════════════════════════ */

.cognito-embed {
  width: 100%;
}

/* Catch-all font override: beats Cognito's --protect-css */
.cognito-embed .cog-cognito,
.cognito-embed .cog-cognito * {
  font-family: var(--font) !important;
}

/* Main form container */
.cognito-embed .cog-cognito,
.cognito-embed .cog-cognito.cog-form {
  font-size: var(--text-base) !important;
  color: var(--text-primary) !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Kill Cognito wrapper backgrounds */
.cognito-embed .cog-cognito .cog-form__container,
.cognito-embed .cog-cognito .cog-body,
.cognito-embed .cog-cognito .cog-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Labels */
.cognito-embed .cog-cognito label,
.cognito-embed .cog-cognito .cog-label {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0.4rem !important;
}

/* All text inputs, textareas, selects */
.cognito-embed .cog-cognito input[type="text"],
.cognito-embed .cog-cognito input[type="email"],
.cognito-embed .cog-cognito input[type="tel"],
.cognito-embed .cog-cognito input[type="number"],
.cognito-embed .cog-cognito input[type="password"],
.cognito-embed .cog-cognito input[type="url"],
.cognito-embed .cog-cognito textarea,
.cognito-embed .cog-cognito select {
  font-size: 0.95rem !important;
  padding: 0.7rem 0.85rem !important;
  background: #fff !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  color: var(--text-primary) !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  min-height: 2.75rem !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
}

.cognito-embed .cog-cognito textarea {
  resize: vertical !important;
  min-height: 7.5rem !important;
}

/* Focus state */
.cognito-embed .cog-cognito input[type="text"]:focus,
.cognito-embed .cog-cognito input[type="email"]:focus,
.cognito-embed .cog-cognito input[type="tel"]:focus,
.cognito-embed .cog-cognito input[type="number"]:focus,
.cognito-embed .cog-cognito textarea:focus,
.cognito-embed .cog-cognito select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
}

/* Submit / action buttons */
.cognito-embed .cog-cognito .cog-button,
.cognito-embed .cog-cognito .cog-button--submit,
.cognito-embed .cog-cognito button[type="submit"] {
  font-size: var(--text-base) !important;
  font-weight: 600 !important;
  padding: 0.85rem 2rem !important;
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  width: 100% !important;
  min-height: 3.2rem !important;
}

.cognito-embed .cog-cognito .cog-button:hover,
.cognito-embed .cog-cognito button[type="submit"]:hover {
  background: var(--navy-dark) !important;
}

/* Field spacing: tighten up Cognito's defaults */
.cognito-embed .cog-cognito .cog-row {
  margin-bottom: 0.75rem !important;
}

/* Collapse empty conditional rows (hidden fields still in DOM) */
.cognito-embed .cog-cognito .cog-row:empty,
.cognito-embed .cog-cognito .cog-row:not(:has(*:not(:empty))) {
  margin: 0 !important;
  padding: 0 !important;
}

.cognito-embed .cog-cognito .cog-field {
  margin-bottom: 0.5rem !important;
}

/* Required asterisks */
.cognito-embed .cog-cognito .cog-required {
  color: var(--red) !important;
}

/* Error messages */
.cognito-embed .cog-cognito .cog-error,
.cognito-embed .cog-cognito .cog-validation-error {
  color: var(--red) !important;
  font-size: 0.85rem !important;
}

/* Hide Cognito branding */
.cognito-embed .cog-cognito .cog-branding,
.cognito-embed .cog-cognito .cog-powered-by {
  display: none !important;
}

/* Section headings inside forms */
.cognito-embed .cog-cognito .cog-heading,
.cognito-embed .cog-cognito .cog-section-heading {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
}

/* Description / help text */
.cognito-embed .cog-cognito .cog-description,
.cognito-embed .cog-cognito .cog-help-text {
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
}

/* Checkboxes and radios */
.cognito-embed .cog-cognito input[type="checkbox"],
.cognito-embed .cog-cognito input[type="radio"] {
  accent-color: var(--navy) !important;
  min-height: auto !important;
  padding: 0 !important;
}

/* Placeholder text */
.cognito-embed .cog-cognito input::placeholder,
.cognito-embed .cog-cognito textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7 !important;
}

/* Confirmation / success message */
.cognito-embed .cog-cognito .cog-confirmation {
  color: var(--text-primary) !important;
  padding: var(--space-lg) !important;
  text-align: center !important;
}

/* ========== Service Request / Sign Up ========== */

.signup-section {
  padding: var(--space-2xl) 0;
}

.signup-container {
  max-width: 860px;
  margin: 0 auto;
}

.signup-container--form {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.signup-form-area {
  min-width: 0;
}

.signup-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 6rem;
}

.signup-sidebar .signup-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.signup-sidebar .signup-steps {
  font-size: 0.95rem;
  gap: 0.5rem;
}

.signup-sidebar .signup-phone a {
  font-size: var(--text-lg);
}

@media (max-width: 48rem) {
  .signup-container--form {
    grid-template-columns: 1fr;
  }

  .signup-sidebar {
    position: static;
  }
}

.signup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.signup-card .section-heading {
  font-size: var(--text-xl);
  text-align: left;
  margin-bottom: var(--space-sm);
}

.signup-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.signup-steps {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: var(--space-md) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-steps li {
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 0.25rem;
}

.signup-phones {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.signup-phone {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.signup-phone strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.signup-phone a {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.signup-phone a:hover {
  color: var(--accent);
}

.signup-hours {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.signup-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

@media (max-width: 30rem) {
  .signup-phones {
    flex-direction: column;
    gap: var(--space-md);
  }

  .signup-actions {
    flex-direction: column;
  }

  .signup-actions .btn {
    width: 100%;
    text-align: center;
  }
}

