/* ================================================================
   VCONEXION S.A.S. — Sistema de Diseño CSS Premium
   PHP 8.2 · Vanilla CSS · Mobile-First
   ================================================================ */

/* ─── 1. IMPORT FONTS ─────────────────────────────────────────── */
/* Fonts cargadas desde Google Fonts en layout.php con preconnect */

/* ─── 2. DESIGN TOKENS (Custom Properties) ────────────────────── */
:root {
  /* Colors — Paleta Vconexion */
  --clr-primary: #0D2B5F;
  --clr-primary-dark: #071A3E;
  --clr-primary-light: #1A3D7A;
  --clr-accent: #00B4D8;
  --clr-accent-dark: #0096B7;
  --clr-accent-light: #48CAE4;
  --clr-blue-mid: #1A56A8;
  --clr-white: #FFFFFF;
  --clr-bg: #FFFFFF;
  --clr-bg-alt: #F2F4F7;
  --clr-bg-dark: #070F1E;
  --clr-text: #1A1A2E;
  --clr-text-muted: #64748B;
  --clr-text-light: #94A3B8;
  --clr-border: #E2E8F0;
  --clr-border-dark: rgba(255, 255, 255, 0.12);
  --clr-success: #10B981;
  --clr-error: #EF4444;
  --clr-warning: #F59E0B;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #071A3E 0%, #0D2B5F 50%, #0F3070 100%);
  --grad-accent: linear-gradient(135deg, #00B4D8 0%, #1A56A8 100%);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  --grad-shine: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.07) 50%, transparent 60%);

  /* Typography */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Fluid Font Scale */
  --text-xs: clamp(0.72rem, 1.2vw, 0.8rem);
  --text-sm: clamp(0.85rem, 1.5vw, 0.938rem);
  --text-base: clamp(0.938rem, 2vw, 1.063rem);
  --text-lg: clamp(1.063rem, 2.2vw, 1.2rem);
  --text-xl: clamp(1.2rem, 2.5vw, 1.375rem);
  --text-2xl: clamp(1.375rem, 3vw, 1.75rem);
  --text-3xl: clamp(1.75rem, 4vw, 2.375rem);
  --text-4xl: clamp(2.375rem, 5vw, 3.25rem);
  --text-5xl: clamp(3rem, 7vw, 4.5rem);
  --text-hero: clamp(2.5rem, 6vw, 5rem);

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-loose: 1.8;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-section: clamp(4rem, 9vw, 8rem);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.35);
  --shadow-card: 0 4px 24px rgba(13, 43, 95, 0.10), 0 1px 4px rgba(13, 43, 95, 0.06);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast: 0.15s var(--ease-fast);
  --t-base: 0.25s var(--ease-fast);
  --t-slow: 0.4s var(--ease-fast);
  --t-entry: 0.6s var(--ease-out);

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 2rem);
  --navbar-h: 70px;
}

/* ─── 3. RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  font-weight: 700;
  color: var(--clr-text);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* Accessibility: Focus visible */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── 4. TIPOGRAFÍA ────────────────────────────────────────────── */
.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-base {
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-4xl {
  font-size: var(--text-4xl);
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--clr-text-muted);
}

.text-light {
  color: var(--clr-text-light);
}

.text-accent {
  color: var(--clr-accent);
}

.text-white {
  color: var(--clr-white);
}

.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-accent);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
  max-width: 620px;
}

/* ─── 5. LAYOUT ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-section);
}

.section--alt {
  background-color: var(--clr-bg-alt);
}

.section--dark {
  background-color: var(--clr-bg-dark);
  color: var(--clr-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--clr-white);
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section__header .section-subtitle {
  margin-inline: auto;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

/* ─── 6. BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.btn--primary {
  background: var(--grad-accent);
  color: var(--clr-white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn--secondary:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn--outline-dark:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-accent);
  border-color: transparent;
  padding-inline: var(--sp-4);
}

.btn--ghost:hover {
  background: rgba(0, 180, 216, 0.08);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-xs);
}

.btn--lg {
  padding: var(--sp-5) var(--sp-10);
  font-size: var(--text-base);
}

.btn--xl {
  padding: var(--sp-6) var(--sp-12);
  font-size: var(--text-lg);
}

.btn--block {
  width: 100%;
}

.btn svg {
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ─── 7. BADGE ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
}

.badge--success {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.badge--accent {
  background: rgba(0, 180, 216, 0.15);
  color: var(--clr-accent);
}

.badge--primary {
  background: rgba(13, 43, 95, 0.15);
  color: var(--clr-primary);
}

.badge--popular {
  background: var(--grad-accent);
  color: var(--clr-white);
  font-size: var(--text-xs);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
}

/* ─── 8. PAGE LOADER ───────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease-fast), visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader__logo svg {
  animation: loaderSpin 2s linear infinite;
}

.loader__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.05em;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* ─── 9. NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed, 300);
  height: var(--navbar-h);
  transition: background var(--t-slow), box-shadow var(--t-slow), backdrop-filter var(--t-slow);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(7, 26, 62, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  gap: var(--sp-6);
}

/* Brand */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo svg {
  flex-shrink: 0;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: var(--text-xs);
  color: var(--clr-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav links */
.navbar__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.navbar__link {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
  position: relative;
  background: none;
  border: none;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.08);
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-accent);
}

/* Dropdown */
.navbar__item--dropdown {
  position: relative;
}

.dropdown-arrow {
  transition: transform var(--t-fast);
}

.navbar__item--dropdown:hover .dropdown-arrow,
.navbar__item--dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: rgba(10, 22, 50, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--sp-3);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  pointer-events: none;
}

/* Puente para evitar que el menú se cierre al mover el mouse por el espacio vacío */
.navbar__dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.navbar__item--dropdown:hover .navbar__dropdown,
.navbar__item--dropdown.open .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--t-fast);
  text-decoration: none;
}

.dropdown__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-white);
}

.dropdown__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-text-light);
  transition: all var(--t-fast);
}

.dropdown__icon.accent {
  background: rgba(0, 180, 216, 0.15);
  color: var(--clr-accent);
}

.dropdown__item:hover .dropdown__icon {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.dropdown__item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-white);
}

.dropdown__item small {
  display: block;
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  margin-top: 2px;
}

/* Navbar Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.navbar__cta {
  font-size: var(--text-xs) !important;
  padding: var(--sp-2) var(--sp-4) !important;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}

.navbar__hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}

.navbar__hamburger.open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── 10. HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: var(--navbar-h);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0, 180, 216, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 86, 168, 0.2) 0%, transparent 60%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding-block: var(--sp-20);
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: var(--clr-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-6);
  animation: fadeInDown 0.6s var(--ease-out) both;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.7s 0.1s var(--ease-out) both;
}

.hero__title .gradient-text {
  background: linear-gradient(135deg, #00B4D8, #48CAE4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-8);
  animation: fadeInUp 0.7s 0.2s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
  animation: fadeInUp 0.7s 0.3s var(--ease-out) both;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.4s var(--ease-out) both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.trust-item svg {
  color: var(--clr-accent);
  flex-shrink: 0;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  z-index: 2;
  animation: fadeIn 1s 1s both;
}

.hero__scroll svg {
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ─── 11. STATS SECTION ────────────────────────────────────────── */
.stats {
  background: var(--clr-primary);
  padding-block: var(--sp-16);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.stat-item {
  text-align: center;
  padding: var(--sp-6);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--t-base);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.stat-item__number {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-item__number .counter {
  color: var(--clr-accent);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── 12. SERVICE CARDS ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-shine);
  opacity: 0;
  transition: opacity var(--t-slow);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--clr-accent);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  transition: all var(--t-base);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card__icon--internet {
  background: rgba(0, 180, 216, 0.12);
  color: var(--clr-accent);
}

.service-card__icon--domotica {
  background: rgba(26, 86, 168, 0.12);
  color: var(--clr-blue-mid);
}

.service-card__icon--cableado {
  background: rgba(13, 43, 95, 0.08);
  color: var(--clr-primary);
}

.service-card__icon--cctv {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}

.service-card__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.service-card__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--sp-4);
  color: var(--clr-text);
}

.service-card__desc {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-6);
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.service-card__feature svg {
  color: var(--clr-success);
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-accent);
  transition: gap var(--t-fast);
}

.service-card:hover .service-card__cta {
  gap: var(--sp-3);
}

/* ─── 13. PLANS SECTION ────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

.plan-card {
  background: var(--clr-bg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.plan-card--popular {
  border-color: var(--clr-accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.plan-card__popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: var(--clr-white);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-2) var(--sp-6);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.plan-card:hover:not(.plan-card--popular) {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-card__name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-4);
}

.plan-card--popular .plan-card__name {
  color: var(--clr-accent);
}

.plan-card__price {
  margin-bottom: var(--sp-2);
}

.plan-card__price-value {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--clr-text);
}

.plan-card__price-period {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.plan-card__speed {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--clr-accent);
  margin-bottom: var(--sp-1);
}

.plan-card__speed-label {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-6);
}

.plan-card__divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-block: var(--sp-6);
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.plan-card__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
}

.plan-card__feature svg {
  color: var(--clr-success);
  flex-shrink: 0;
}

/* ─── 14. FAQ SECTION ──────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--t-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
}

.faq-item.open {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6);
  cursor: pointer;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--clr-text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--t-fast);
}

.faq-item.open .faq-question {
  color: var(--clr-accent);
}

.faq-question__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-base);
}

.faq-item.open .faq-question__icon {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
}

/* ─── 15. TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  transition: all var(--t-base);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
  color: #F59E0B;
}

.testimonial-card__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--clr-white);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--clr-white);
}

.testimonial-card__location {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ─── 16. CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: var(--grad-accent);
  padding-block: var(--sp-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: var(--text-4xl);
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.cta-section p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-8);
  max-width: 520px;
  margin-inline: auto;
}

.cta-section .btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--clr-white);
}

/* ─── 17. WHY SECTION ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.why-item {
  padding: var(--sp-6);
  border-radius: var(--radius-xl);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  transition: all var(--t-base);
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.why-item:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.why-item__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.why-item__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.why-item__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
}

/* ─── 18. PAGE HERO (internas) ─────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding-top: calc(var(--navbar-h, 70px) + var(--sp-16, 4rem));
  padding-bottom: var(--sp-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
  z-index: 10;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--clr-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero__label {
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}

.page-hero__title {
  color: var(--clr-white);
  font-size: var(--text-4xl);
  margin-bottom: var(--sp-4);
}

.page-hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-lg);
  max-width: 600px;
  margin-inline: auto;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-6);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--clr-accent);
}

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--clr-accent);
  font-weight: 600;
}

/* ─── 19. CONTACT FORM ─────────────────────────────────────────── */
.contact-form {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.form-label .required {
  color: var(--clr-error);
}

.form-control {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-fast);
  outline: none;
}

.form-control:hover {
  border-color: var(--clr-text-light);
}

.form-control:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.form-control.error {
  border-color: var(--clr-error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.form-control.valid {
  border-color: var(--clr-success);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  color: var(--clr-error);
  font-weight: 600;
  margin-top: var(--sp-1);
  animation: fadeInUp 0.2s both;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

/* Honeypot (oculto para bots) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-6);
  font-weight: 600;
  font-size: var(--text-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.form-alert--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
}

.form-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--clr-error);
}

/* ─── 20. WHATSAPP FLOAT ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: all var(--t-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid #25D366;
  animation: waPulse 2s ease-out infinite;
  opacity: 0;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-float__icon {
  position: relative;
  z-index: 1;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--clr-bg-dark);
  color: var(--clr-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--clr-bg-dark);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* ─── 21. SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: var(--sp-8);
  left: var(--sp-8);
  width: 44px;
  height: 44px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: var(--shadow-md);
  transition: all var(--t-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--clr-accent);
  transform: translateY(-3px);
}

/* ─── 22. NATIVE CSS REVEAL ──────────────────────────────────────── */
@keyframes fadeInUpNative {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeftNative {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRightNative {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  animation: fadeInUpNative 0.6s cubic-bezier(0, 0, 0.2, 1) both;
}

.reveal--left {
  animation-name: fadeInLeftNative;
}

.reveal--right {
  animation-name: fadeInRightNative;
}

.reveal--delay-1 {
  animation-delay: 0.1s;
}

.reveal--delay-2 {
  animation-delay: 0.2s;
}

.reveal--delay-3 {
  animation-delay: 0.3s;
}

.reveal--delay-4 {
  animation-delay: 0.4s;
}

/* ─── 23. BLOG CARDS ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.blog-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--t-base);
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.3);
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__body {
  padding: var(--sp-6);
}

.blog-card__category {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}

.blog-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  line-height: var(--leading-snug);
}

.blog-card__title a {
  color: inherit;
  transition: color var(--t-fast);
}

.blog-card__title a:hover {
  color: var(--clr-accent);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-4);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

/* ─── 24. MAP SECTION ──────────────────────────────────────────── */
#coverage-map {
  height: 480px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
}

/* ─── 25. ALERT BANNERS ────────────────────────────────────────── */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid;
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.alert--info {
  background: rgba(0, 180, 216, 0.08);
  border-color: rgba(0, 180, 216, 0.25);
  color: var(--clr-accent-dark);
}

.alert--success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}

.alert--error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: var(--clr-error);
}

/* ─── 26. 404 PAGE ─────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-hero);
  text-align: center;
  color: var(--clr-white);
  padding: var(--sp-8);
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-4);
}

.error-page__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--sp-4);
  color: var(--clr-white);
}

.error-page__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-8);
}

/* ─── 27. UTILITIES ─────────────────────────────────────────────── */
.mt-4 {
  margin-top: var(--sp-4);
}

.mt-8 {
  margin-top: var(--sp-8);
}

.mt-12 {
  margin-top: var(--sp-12);
}

.mb-4 {
  margin-bottom: var(--sp-4);
}

.mb-8 {
  margin-bottom: var(--sp-8);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--clr-border);
  margin-block: var(--sp-8);
}

/* ─── 28. RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan-card--popular {
    transform: none;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Navbar mobile */
  .navbar__nav {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: rgba(7, 26, 62, 0.97);
    backdrop-filter: blur(20px);
    padding: var(--sp-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-slow);
    z-index: 250;
    max-height: calc(100vh - var(--navbar-h));
    overflow-y: auto;
  }

  .navbar__nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .navbar__link {
    padding: var(--sp-4) var(--sp-6);
    font-size: var(--text-base);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    width: 100%;
    justify-content: center;
  }

  .navbar__dropdown-toggle {
    justify-content: space-between;
  }

  .navbar__dropdown {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s, padding 0.3s;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    padding: 0;
    box-shadow: none;
    border-radius: var(--radius-xl);
  }

  .navbar__item--dropdown.open .navbar__dropdown {
    max-height: 500px;
    margin-top: var(--sp-2);
    padding: var(--sp-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown__item {
    padding: var(--sp-4);
    gap: var(--sp-4);
    border-radius: var(--radius-lg);
  }

  .dropdown__icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
  }

  .dropdown__item strong {
    font-size: var(--text-sm);
    margin-bottom: 2px;
  }

  .dropdown__item small {
    font-size: 11px;
    opacity: 0.7;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__cta {
    display: flex;
    font-size: 11px !important;
    padding: 6px 12px !important;
    border-radius: var(--radius-pill);
  }

  .navbar__cta svg {
    width: 14px;
    height: 14px;
  }

  .navbar__actions {
    gap: var(--sp-2);
  }
}

@media (max-width: 640px) {

  .grid-2,
  .grid-3,
  .services-grid,
  .why-grid,
  .plans-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .contact-form {
    padding: var(--sp-6);
  }

  .scroll-top {
    left: var(--sp-4);
    bottom: var(--sp-20);
  }

  .whatsapp-float {
    bottom: var(--sp-4);
    right: var(--sp-4);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* ─── 29. FOOTER CSS ─────────────────────────────────────────────── */
.footer {
  background: var(--clr-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
}

.footer__top {
  padding-block: var(--sp-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-12);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
}

.footer__description {
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-6);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--t-fast);
  text-decoration: none;
}

.social-link:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-3px);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--t-fast);
  font-size: var(--text-sm);
}

.footer__link:hover {
  color: var(--clr-accent);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}

.footer__contact-item svg {
  color: var(--clr-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--sp-5);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
}

.footer__bottom-links {
  display: flex;
  gap: var(--sp-3);
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--text-xs);
}

.footer__bottom-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__bottom-link:hover {
  color: var(--clr-accent);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── 30. PRINT STYLES ─────────────────────────────────────────── */
@media print {

  .navbar,
  .footer,
  .whatsapp-float,
  .scroll-top,
  .page-loader {
    display: none;
  }

  body {
    font-size: 12pt;
  }
}