/*
Theme Name: TDN Fiber
Theme URI: https://tdnfiber.net
Description: A modern, high-performance, glassmorphic ISP theme designed for Team Digital Network.
Author: Team Digital Network
Author URI: https://tdnfiber.net
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tdn-fiber
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool!
*/

/* 
   TDN Fiber Custom Stylesheet
   Designed for Team Digital Network (tdnfiber.net)
   Features: Glassmorphism, Auto Dark/Light theme, fluid typography, responsive layout
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: dark light;
  
  /* Color Palette */
  --primary-cyan: #d60703;
  --primary-blue: #9c0000;
  --gradient-brand: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 50%);
  --accent-rose: #ff007f;
  --accent-green: #10b981;
  
  /* Fonts */
  --font-heading: 'Outfit', century, serif;
  --font-body: 'Inter', sans-serif;
  
  /* Default Theme Variables (Dark Mode Default) */
  --bg-main: #060913;
  --bg-sec: #060913;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --card-bg: rgba(13, 18, 34, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(6, 9, 19, 0.8);
  
  --header-bg: rgba(6, 9, 19, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.25);
  --hero-grid-line: rgba(255,255,255,0.03);
  
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
}

/* Light Mode Overrides */
@media (prefers-color-scheme: light) {
  :root {
    --bg-main: #f8fafc;
    --bg-sec: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-inverse: #f8fafc;
    
    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(0, 0, 0, 0.07);
    --input-bg: rgba(255, 255, 255, 0.9);
    
    --header-bg: rgba(248, 250, 252, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.15);
    --hero-grid-line: rgba(214, 7, 3, 0.05);
  }
}

/* Explicit data-theme targets for toggle persistence */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-sec: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;
  
  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: rgba(0, 0, 0, 0.07);
  --input-bg: rgba(255, 255, 255, 0.9);
  
  --header-bg: rgba(248, 250, 252, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
  --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.15);
  --hero-grid-line: rgba(214, 7, 3, 0.05);
}

[data-theme="dark"] {
  --bg-main: #060913;
  --bg-sec: #060913;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --card-bg: rgba(13, 18, 34, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(6, 9, 19, 0.8);
  
  --header-bg: rgba(6, 9, 19, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.25);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Custom Scrollbar */
@supports (scrollbar-color: auto) {
  body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--bg-sec);
  }
}

@supports not (scrollbar-color: auto) {
  body::-webkit-scrollbar {
    width: 10px;
  }
  body::-webkit-scrollbar-track {
    background: var(--bg-sec);
  }
  body::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
  }
}

/* Glassmorphism utility */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

/* Button & CTA Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(214, 7, 3, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--text-main);
}

.btn-secondary:hover {
  background: var(--text-main);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Header & Navigation */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 1000;
  display: flex;
  align-items: center;
  /* Always solid — no transparent hover state */
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  height: 100px;
  box-shadow: var(--glass-shadow);
  border-bottom-color: var(--card-border);
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
}

.logo-text span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Drawer / Dialog Overlay */
dialog.nav-drawer {
  width: 80%;
  max-width: 320px;
  height: 100vh;
  margin: 0 0 0 auto;
  border: none;
  outline: none;
  background: var(--bg-sec);
  color: var(--text-main);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
}

dialog.nav-drawer::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

dialog.nav-drawer .drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

dialog.nav-drawer .drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

dialog.nav-drawer .drawer-nav a {
  font-size: 1.2rem;
  font-weight: 600;
}

/* ═══════════════════════════════
   Hero Section — Bento Grid V2
═══════════════════════════════ */

/* Light mode hero tokens */
:root {
  --hero-bg-from: #fdf4f4;
  --hero-bg-to: #f8f9fc;
  --hero-orb-1: rgba(214, 7, 3, 0.10);
  --hero-orb-2: rgba(150, 0, 200, 0.06);
  --hero-grid-line: rgba(214, 7, 3, 0.05);
  --hero-chip-bg: rgba(255,255,255,0.85);
  --hero-chip-border: rgba(214,7,3,0.12);
  --hero-mini-bg: rgba(255,255,255,0.90);
  --hero-mini-border: rgba(0,0,0,0.07);
  --hero-speed-track: rgba(0,0,0,0.06);
  --hero-badge-bg: rgba(214,7,3,0.06);
  --hero-badge-border: rgba(214,7,3,0.18);
}

[data-theme="dark"] {
  --hero-bg-from: #08060f;
  --hero-bg-to: #0c0812;
  --hero-orb-1: rgba(214, 7, 3, 0.18);
  --hero-orb-2: rgba(100, 0, 180, 0.12);
  --hero-grid-line: rgba(255,255,255,0.03);
  --hero-chip-bg: rgba(255,255,255,0.05);
  --hero-chip-border: rgba(255,255,255,0.08);
  --hero-mini-bg: rgba(255,255,255,0.04);
  --hero-mini-border: rgba(255,255,255,0.07);
  --hero-speed-track: rgba(255,255,255,0.08);
  --hero-badge-bg: rgba(214,7,3,0.12);
  --hero-badge-border: rgba(214,7,3,0.3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --hero-bg-from: #08060f;
    --hero-bg-to: #0c0812;
    --hero-orb-1: rgba(214, 7, 3, 0.18);
    --hero-orb-2: rgba(100, 0, 180, 0.12);
    --hero-grid-line: rgba(255,255,255,0.03);
    --hero-chip-bg: rgba(255,255,255,0.05);
    --hero-chip-border: rgba(255,255,255,0.08);
    --hero-mini-bg: rgba(255,255,255,0.04);
    --hero-mini-border: rgba(255,255,255,0.07);
    --hero-speed-track: rgba(255,255,255,0.08);
    --hero-badge-bg: rgba(214,7,3,0.12);
    --hero-badge-border: rgba(214,7,3,0.3);
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--hero-bg-from), var(--hero-bg-to));
  overflow: hidden;
}

/* Background decorations */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-bg-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--hero-orb-1), transparent 70%);
  top: -150px; left: -150px;
}
.hero-bg-orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, var(--hero-orb-2), transparent 70%);
  bottom: -80px; right: 5%;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Container */
.hero-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Left: Content ── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-cyan);
  border: 1px solid var(--hero-badge-border);
  background: var(--hero-badge-bg);
  margin-bottom: 1.6rem;
  width: fit-content;
}

.hero-badge span {
  width: 8px; height: 8px;
  background: #d60703;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(214,7,3,0.7);
  animation: pulse-glow 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-title-accent {
  background: linear-gradient(135deg, #d60703 0%, #ff4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

/* Stat chips */
.hero-chips {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  width: fit-content;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-chip-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(214,7,3,0.1);
  border: 1px solid rgba(214,7,3,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d60703;
  flex-shrink: 0;
}

.hero-chip-val {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.hero-chip-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-chip-divider {
  width: 1px;
  height: 32px;
  background: var(--card-border);
  margin: 0 1.1rem;
  flex-shrink: 0;
}

/* ── Right: Bento grid ── */
.hero-bento {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-bento-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hero-mini-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  aspect-ratio: 16/9;
}

.hero-bento-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-bento-main:hover img {
  transform: scale(1.03);
}

.hero-bento-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.2rem;
}

.hero-speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.hero-speed-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
  animation: pulse-glow 1.8s infinite;
}

/* Bottom mini-cards row */
.hero-bento-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.9rem;
}

.hero-mini-card {
  border-radius: 14px;
  border: 1px solid var(--hero-mini-border);
  background: var(--hero-mini-bg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Speed card */
.hero-mini-speed {
  padding: 1.1rem 1.2rem;
}

.hero-mini-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.hero-mini-speed-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.hero-mini-speed-val span {
  font-size: 1rem;
  font-weight: 600;
  color: #d60703;
  margin-left: 0.2rem;
}

.hero-speed-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.hero-speed-bar {
  flex: 1;
  height: 6px;
  background: var(--hero-speed-track);
  border-radius: 10px;
  overflow: hidden;
}

.hero-speed-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: linear-gradient(90deg, #d60703, #ff6b6b);
  box-shadow: 0 0 10px rgba(214,7,3,0.4);
  animation: speedFill 1.8s 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes speedFill {
  to { width: 95%; }
}

.hero-speed-bar-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d60703;
}

.hero-mini-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Globe card */
.hero-mini-globe {
  position: relative;
  min-height: 130px;
}

.hero-mini-globe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-mini-globe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem 1rem;
}

.hero-mini-label-light {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.2rem;
}

.hero-mini-val-light {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

/* Common Section Layout */
.section {
  position: relative;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Subtle grid overlay shared across all sections */
.section::before,
.ftth-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Ensure section content sits above the grid */
.section > * {
  position: relative;
  z-index: 1;
}

.section-container {
  position: relative;
  z-index: 1;
}

.section-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
}

/* Plans & Pricing Cards */
.plan-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.plan-toggle-label {
  font-weight: 600;
  font-size: 1rem;
}

.plan-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.plan-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-sec);
  border: 1px solid var(--card-border);
  transition: 0.4s;
  border-radius: 34px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background: var(--gradient-brand);
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input:checked + .slider-switch:before {
  transform: translateX(28px);
}

.discount-badge {
  background: linear-gradient(135deg, #ff0055, #d60703);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.25rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.plan-card {
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-shadow);
}

.plan-card.popular {
  border: 1.5px solid var(--primary-cyan);
  background: radial-gradient(circle at 100% 0%, rgba(214, 7, 3, 0.15) 0%, transparent 60%), var(--card-bg);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}

.plan-header {
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-speed {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-speed span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-cyan);
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.plan-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary-cyan);
}

.plan-cta {
  width: 100%;
}

/* ═══════════════════════════════════════════
   Coverage Section V2 — Full redesign
═══════════════════════════════════════════ */
.coverage-section-v2 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d0d12 0%, #13080a 55%, #0a0d16 100%);
  padding: 7rem 0;
}

/* Decorative glow blobs */
.cov-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.cov-blob-left {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(214, 7, 3, 0.18) 0%, transparent 70%);
  top: -100px; left: -150px;
}
.cov-blob-right {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(80, 30, 200, 0.12) 0%, transparent 70%);
  bottom: -80px; right: -100px;
}

.cov-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── Hero header ── */
.cov-hero-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cov-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d60703;
  margin-bottom: 1.1rem;
}

.cov-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d60703;
  box-shadow: 0 0 10px rgba(214,7,3,0.7);
  animation: statusBlink 2s ease-in-out infinite;
}

.cov-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1.1rem 0;
  letter-spacing: -0.02em;
}

.cov-title-accent {
  background: linear-gradient(90deg, #d60703, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cov-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}

/* ── Search bar ── */
.cov-search-wrap {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cov-search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 0.45rem 0.45rem 0.45rem 1.2rem;
  gap: 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(12px);
}

.cov-search-box:focus-within {
  border-color: rgba(214,7,3,0.6);
  box-shadow: 0 0 0 4px rgba(214,7,3,0.12), 0 12px 40px rgba(0,0,0,0.3);
}

.cov-search-icon {
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.cov-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
}

.cov-search-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.cov-search-btn {
  background: linear-gradient(135deg, #d60703, #a00000);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(214,7,3,0.35);
}

.cov-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(214,7,3,0.5);
}

.cov-result-bar {
  min-height: 28px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

/* ── Two-panel body ── */
.cov-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Zone cards panel ── */
.cov-zones-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}

.cov-panel-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.cov-live-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a34a;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.cov-zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.cov-zone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cov-zone-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214,7,3,0.08), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.cov-zone-card:hover {
  border-color: rgba(214,7,3,0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(214,7,3,0.18);
}

.cov-zone-card:hover::before { opacity: 1; }

.cov-zone-pin {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(214,7,3,0.1);
  border: 1px solid rgba(214,7,3,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d60703;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.cov-zone-card:hover .cov-zone-pin {
  background: #d60703;
  border-color: #d60703;
  color: #fff;
  box-shadow: 0 4px 14px rgba(214,7,3,0.45);
}

.cov-zone-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
  z-index: 1;
}

.cov-zone-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22,163,74,0.6);
  animation: statusBlink 2.5s ease-in-out infinite;
}

.cov-zones-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1.1rem;
  margin-bottom: 0;
}

/* ── Stats + CTA panel ── */
.cov-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cov-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  transition: border-color 0.22s, transform 0.22s;
}

.cov-stat-card:hover {
  border-color: rgba(214,7,3,0.3);
  transform: translateX(4px);
}

.cov-stat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(214,7,3,0.1);
  border: 1px solid rgba(214,7,3,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d60703;
  flex-shrink: 0;
}

.cov-stat-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.cov-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.cov-cta-block {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(214,7,3,0.12), rgba(214,7,3,0.04));
  border: 1px solid rgba(214,7,3,0.2);
  border-radius: 14px;
  padding: 1.4rem 1.25rem;
}

.cov-cta-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.cov-cta-btn {
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

/* Legacy city pill (used elsewhere) */
.city-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.city-pill {
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  background: rgba(214, 7, 3, 0.05);
  border: 1px solid rgba(214, 7, 3, 0.15);
  color: var(--text-main);
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-block;
}

.city-pill:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(214, 7, 3, 0.35);
  transform: translateY(-2px);
  cursor: pointer;
}

/* FTTH Section Diagram */
.ftth-section {
  position: relative;
}

.ftth-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Coverage Diagram Styles */
.diagram-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.network-nodes {
  width: 100%;
  max-width: 450px;
  height: 320px;
  position: relative;
  background: radial-gradient(circle at center, rgba(214, 7, 3, 0.04) 0%, transparent 70%);
}

.node-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 2px solid var(--primary-cyan);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 20px rgba(214, 7, 3, 0.25), inset 0 0 10px rgba(214, 7, 3, 0.1);
  color: var(--text-main);
  font-family: var(--font-heading);
  text-align: center;
  transition: var(--transition-smooth);
}

.node-center span {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.node-child {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 3;
  border: 2px solid #d60703;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  text-align: center;
  line-height: 1.2;
}

.node-child:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 22px rgba(214, 7, 3, 0.35);
  transform: scale(1.06);
  cursor: pointer;
}

.node-1 { top: 5%; left: 8%; }
.node-2 { top: 5%; right: 8%; }
.node-3 { bottom: 5%; left: 8%; }
.node-4 { bottom: 5%; right: 8%; }

.node-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, #d60703 0%, rgba(214, 7, 3, 0.15) 100%);
  transform-origin: 0% 50%;
  z-index: 1;
}

.line-1 { transform: translate(0, -50%) rotate(210deg); }
.line-2 { transform: translate(0, -50%) rotate(330deg); }
.line-3 { transform: translate(0, -50%) rotate(150deg); }
.line-4 { transform: translate(0, -50%) rotate(30deg); }

/* ─── Premium Coverage Map Card ─── */
.coverage-map-card {
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.coverage-map-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at top right, rgba(214, 7, 3, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.coverage-map-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
}

.coverage-hub-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d60703 0%, #a00000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 20px rgba(214, 7, 3, 0.35);
}

.hub-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid rgba(214, 7, 3, 0.35);
  animation: hubPulse 2s ease-out infinite;
  pointer-events: none;
}

.hub-pulse-ring-2 {
  inset: -9px;
  border-radius: 18px;
  border-color: rgba(214, 7, 3, 0.15);
  animation-delay: 0.6s;
}

@keyframes hubPulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25); }
}

.coverage-map-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.coverage-map-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.coverage-live-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.coverage-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.coverage-loc-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--bg-sec);
  transition: var(--transition-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.coverage-loc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214, 7, 3, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.coverage-loc-card:hover {
  border-color: rgba(214, 7, 3, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 7, 3, 0.1);
}

.coverage-loc-card:hover::after {
  opacity: 1;
}

.loc-pin-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(214, 7, 3, 0.08);
  border: 1px solid rgba(214, 7, 3, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d60703;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.coverage-loc-card:hover .loc-pin-icon {
  background: #d60703;
  border-color: #d60703;
  color: #fff;
  box-shadow: 0 4px 12px rgba(214, 7, 3, 0.3);
}

.loc-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  flex: 1;
  letter-spacing: -0.01em;
}

.loc-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.5);
  animation: statusBlink 2.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.coverage-map-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* FAQ Accordion Styling (Supporting hidden search index) */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.faq-card[open] {
  background: var(--bg-sec);
  border-color: var(--primary-cyan);
}

.faq-card summary {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary:after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-cyan);
  transition: var(--transition-smooth);
}

.faq-card[open] summary:after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Testimonials Carousel */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.stars {
  color: #fbbf24;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-shadow);
}

.client-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.client-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Support & Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.enquiry-form {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.required-star {
  color: #ef4444;
  font-weight: 700;
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text-main);
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(214, 7, 3, 0.15);
}

/* Footer Styling */
footer.site-footer {
  background: var(--bg-sec);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 40px;
}

.footer-logo-panel p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-nav-col h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Modals */
dialog.enquiry-modal {
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(214, 7, 3, 0.2);
  outline: none;
  margin: auto;
  padding: 2.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(25px);
}

dialog.enquiry-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

dialog.enquiry-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1rem;
}

dialog.enquiry-modal .modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animations and Responsive Breakpoints */
/* ═══════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════ */
@media (max-width: 1024px) {
  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-chips {
    margin: 0 auto;
  }

  .hero-bento {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  /* Layout grids */
  .coverage-layout,
  .ftth-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-graphic,
  .diagram-container {
    order: -1;
  }

  /* Plans */
  .plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  /* Coverage V2 */
  .cov-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cov-stats-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
}

/* ═══════════════════════════
   RESPONSIVE — MOBILE (≤768px)
═══════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  header.site-header {
    height: 70px;
  }

  header.site-header.scrolled {
    height: 60px;
  }

  .site-logo-img {
    height: 52px !important;
  }

  header.site-header.scrolled .site-logo-img {
    height: 44px !important;
  }

  .nav-menu,
  .header-actions .btn:not(.btn-icon) {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .mobile-nav-toggle {
    display: block;
  }

  /* Hero */
  .hero-section {
    padding: 110px 0 60px;
  }

  .hero-container {
    width: 94%;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-bento-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hero-mini-globe {
    min-height: 160px;
  }

  .hero-chips {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
  }

  .hero-chip-divider {
    display: none;
  }

  .hero-chip {
    flex: 1 1 120px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Sections */
  .section {
    padding: 70px 0;
  }

  .section-container {
    width: 94%;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  /* Plans */
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .plan-toggle-container {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  /* Coverage V2 */
  .coverage-section-v2 {
    padding: 70px 0;
  }

  .cov-hero-header {
    padding: 0 1rem;
  }

  .cov-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .cov-search-bar {
    flex-direction: column;
    border-radius: 14px;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .cov-search-bar input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }

  .cov-search-bar button {
    width: 100%;
    border-radius: 10px;
    padding: 0.85rem;
  }

  .cov-zone-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .cov-stats-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .cov-body {
    padding: 0 1rem;
    gap: 1.5rem;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Support steps */
  .support-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* FAQ */
  .faq-card summary {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Modal */
  dialog.enquiry-modal {
    width: 95vw;
    margin: auto;
    max-height: 90vh;
  }

  dialog.enquiry-modal .modal-body {
    padding: 1.25rem;
  }
}

/* ═══════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
═══════════════════════════ */
@media (max-width: 480px) {
  /* Header */
  header.site-header {
    height: 60px;
  }

  .site-logo-img {
    height: 42px !important;
  }

  /* Hero */
  .hero-section {
    padding: 90px 0 50px;
  }

  .hero-bento-main {
    aspect-ratio: 4/3;
  }

  .hero-chips {
    width: 100%;
    justify-content: space-around;
  }

  /* Plans */
  .plan-card {
    padding: 1.5rem 1.25rem;
  }

  .plan-speed {
    font-size: 2.5rem;
  }

  .plan-price {
    font-size: 2.5rem;
  }

  /* Coverage */
  .cov-zone-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .cov-zone-card {
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
  }

  .cov-stats-col {
    grid-template-columns: 1fr 1fr;
  }

  .cov-stat-card {
    padding: 0.9rem;
  }

  .cov-stat-val {
    font-size: 1.5rem;
  }

  /* Sections */
  .section {
    padding: 55px 0;
  }

  .section-container {
    width: 92%;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1.25rem;
  }

  /* FAQ */
  .faq-card summary {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  /* Buttons */
  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Modal */
  dialog.enquiry-modal {
    width: 100vw;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
    margin: auto auto 0;
  }
}

/* Partner ISPs Styles */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-logo-box {
  width: 150px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.partner-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Image Logo Styles */
.site-logo-img {
  height: 120px;
  width: auto;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  object-fit: contain;
}

header.site-header.scrolled .site-logo-img {
  height: 90px;
}


/* ═══════════════════════════
   COVERAGE MOBILE ALIGNMENT FIX
═══════════════════════════ */
@media (max-width: 768px) {
  .cov-zones-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .cov-zone-card {
    padding: 0.9rem 0.6rem !important;
    min-height: 70px;
    justify-content: center;
  }
  .cov-zone-name {
    font-size: 0.88rem !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .cov-stats-col, .cov-stats-panel {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .cov-stat-card {
    padding: 1rem 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .cov-zones-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }
  .cov-zone-card {
    padding: 0.85rem 0.5rem !important;
  }
  .cov-zone-name {
    font-size: 0.85rem !important;
  }
}
