/* ==========================================================================
   SITIOFIRME.CL — HOJA DE ESTILOS OFICIAL
   Agencia de diseño y desarrollo web para Pymes y Emprendedores en Chile
   Paleta: #1557F0 | #10C7BE | #082B5C | #071B33 | #F5F8FC | #FFFFFF
   ========================================================================== */

/* --- 1. VARIABLES GLOBALES & RESET --- */
:root {
  /* Colores de Marca */
  --primary: #1557F0;
  --primary-hover: #0d46ce;
  --primary-light: #eef3fe;
  --primary-glow: rgba(21, 87, 240, 0.25);
  
  --secondary: #10C7BE;
  --secondary-hover: #0daea6;
  --secondary-light: #e8faf9;
  --secondary-glow: rgba(16, 199, 190, 0.25);
  
  --dark: #082B5C;
  --dark-hover: #06224a;
  --darker: #051a38;
  
  --text-main: #071B33;
  --text-muted: #475569;
  --text-light: #64748B;
  
  --bg-white: #FFFFFF;
  --bg-light: #F5F8FC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFD;
  
  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-focus: #1557F0;
  
  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #1557F0 0%, #10C7BE 100%);
  --grad-primary-soft: linear-gradient(135deg, rgba(21, 87, 240, 0.08) 0%, rgba(16, 199, 190, 0.08) 100%);
  --grad-dark: linear-gradient(135deg, #082B5C 0%, #051A38 100%);
  --grad-hero: radial-gradient(circle at 80% 20%, rgba(16, 199, 190, 0.12) 0%, transparent 40%),
               radial-gradient(circle at 10% 80%, rgba(21, 87, 240, 0.08) 0%, transparent 50%);

  /* Sombras */
  --shadow-xs: 0 1px 3px rgba(8, 43, 92, 0.05);
  --shadow-sm: 0 4px 12px rgba(8, 43, 92, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 43, 92, 0.08);
  --shadow-lg: 0 16px 36px rgba(8, 43, 92, 0.12);
  --shadow-hover: 0 20px 40px rgba(21, 87, 240, 0.14);
  --shadow-glow: 0 0 30px rgba(21, 87, 240, 0.25);
  
  /* Radios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --header-height: 80px;
  --container-max: 1200px;
}

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

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-white);
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Enfoque accesible */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Enlace para lectores de pantalla */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

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

/* --- 2. CONTENEDORES Y TIPOGRAFÍA --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-pad {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-pad-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--dark);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(21, 87, 240, 0.15);
}

.eyebrow.eyebrow-cyan {
  color: #0c8a84;
  background: var(--secondary-light);
  border-color: rgba(16, 199, 190, 0.25);
}

.eyebrow.eyebrow-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--secondary);
  border-color: rgba(16, 199, 190, 0.3);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.bg-dark .section-title {
  color: #fff;
}

.section-title span.highlight {
  color: var(--primary);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bg-dark .section-subtitle {
  color: #cbd5e1;
}

/* --- 3. BOTONES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 87, 240, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 87, 240, 0.38);
}

.btn-secondary {
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f8fafc;
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- 4. ENCABEZADO Y NAVEGACIÓN --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo img,
.brand-logo svg {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img,
.brand-logo:hover svg {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botón Hamburguesa Móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #fff;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all var(--transition-fast);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer Móvil */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 27, 51, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  padding: 6rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(8, 43, 92, 0.15);
  transition: right var(--transition-normal);
}

.mobile-drawer.is-active {
  right: 0;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- 5. HERO SECTION --- */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.35rem;
}

.hero-title span.highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero Mockup Híbrido Laptop + Mobile */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-scene {
  position: relative;
  width: 100%;
  max-width: 540px;
}

/* Laptop Frame */
.laptop-frame {
  position: relative;
  background: #18202c;
  border-radius: 16px 16px 4px 4px;
  padding: 10px 10px 0;
  box-shadow: 0 25px 50px -12px rgba(8, 43, 92, 0.25);
  border: 1px solid #2d3748;
}

.laptop-camera {
  width: 6px;
  height: 6px;
  background: #4a5568;
  border-radius: 50%;
  margin: 0 auto 8px;
}

.laptop-screen {
  background: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.browser-bar {
  background: #f8fafc;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.browser-url span.secure {
  color: #10b981;
}

/* UI Preview Interior Laptop */
.screen-content {
  flex: 1;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.preview-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.preview-nav .logo-pill {
  width: 70px;
  height: 12px;
  background: var(--dark);
  border-radius: 3px;
}

.preview-nav .nav-pills {
  display: flex;
  gap: 6px;
}

.preview-nav .nav-pills span {
  width: 28px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 2px;
}

.preview-nav .cta-pill {
  width: 45px;
  height: 12px;
  background: var(--primary);
  border-radius: 3px;
}

.preview-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.preview-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-badge {
  width: 80px;
  height: 8px;
  background: var(--secondary-light);
  border-radius: 4px;
}

.preview-h1 {
  width: 90%;
  height: 14px;
  background: var(--dark);
  border-radius: 3px;
}

.preview-h1-sub {
  width: 70%;
  height: 10px;
  background: var(--primary);
  border-radius: 3px;
}

.preview-p {
  width: 85%;
  height: 6px;
  background: #94a3b8;
  border-radius: 2px;
}

.preview-btn {
  width: 75px;
  height: 16px;
  background: #25d366;
  border-radius: 4px;
  margin-top: 4px;
}

.preview-hero-card {
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(8, 43, 92, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-card-img {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #1557F0, #10C7BE);
  border-radius: 4px;
}

.laptop-base {
  height: 14px;
  background: #cbd5e1;
  border-radius: 0 0 16px 16px;
  position: relative;
  margin: 0 -20px;
  box-shadow: 0 10px 20px rgba(8, 43, 92, 0.15);
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #94a3b8;
  border-radius: 0 0 6px 6px;
}

/* Smartphone Frame Flotante */
.phone-frame {
  position: absolute;
  right: -25px;
  bottom: -35px;
  width: 140px;
  aspect-ratio: 9 / 19;
  background: #0f172a;
  border-radius: 24px;
  padding: 7px;
  box-shadow: 0 20px 40px rgba(8, 43, 92, 0.35);
  border: 2.5px solid #334155;
  z-index: 10;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 7px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 8px 8px;
  gap: 6px;
}

.phone-mock-header {
  height: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 4px;
}

.phone-mock-logo {
  width: 35px;
  height: 6px;
  background: var(--dark);
  border-radius: 2px;
}

.phone-mock-menu {
  width: 10px;
  height: 6px;
  background: var(--primary);
  border-radius: 2px;
}

.phone-mock-hero {
  background: var(--grad-primary-soft);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-mock-line {
  height: 5px;
  border-radius: 2px;
  background: var(--dark);
  width: 80%;
}

.phone-mock-line.sm {
  width: 60%;
  background: var(--primary);
}

.phone-mock-cta {
  height: 12px;
  background: #25d366;
  border-radius: 3px;
  margin-top: 3px;
}

/* Floating Stats Badges */
.floating-stat {
  position: absolute;
  background: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(8, 43, 92, 0.12);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 12;
  white-space: nowrap;
}

.floating-stat.stat-speed {
  top: -15px;
  left: -20px;
  animation: floatSlow 5s ease-in-out infinite alternate;
}

.floating-stat.stat-conversion {
  bottom: 20px;
  left: -25px;
  animation: floatSlow 4.5s ease-in-out infinite alternate 1s;
}

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 12px;
}

.stat-speed .stat-icon {
  background: var(--secondary);
}

.stat-conversion .stat-icon {
  background: var(--primary);
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* --- 6. BENEFICIOS --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: #fff;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 87, 240, 0.2);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.benefit-card:hover .benefit-icon-wrapper {
  background: var(--grad-primary);
  color: #fff;
  transform: scale(1.05);
}

.benefit-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- 7. SERVICIOS Y PRECIOS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-light);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(21, 87, 240, 0.16);
  background: #fff;
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(21, 87, 240, 0.35);
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.pricing-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.pricing-price span.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-price span.period {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
}

.pricing-launch-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0c8a84;
  background: var(--secondary-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-top: 0.4rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-disclaimers {
  max-width: 780px;
  margin: 3rem auto 0;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.disclaimer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.disclaimer-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 8. PROCESO DE TRABAJO --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  position: relative;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 87, 240, 0.3);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(21, 87, 240, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  font-feature-settings: "tnum";
}

.process-step:hover .step-number {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 9. PORTAFOLIO Y PROYECTOS --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 2.5rem;
}

.portfolio-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 87, 240, 0.25);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img,
.portfolio-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-thumb img,
.portfolio-card:hover .portfolio-thumb svg {
  transform: scale(1.04);
}

.portfolio-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 43, 92, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
}

.portfolio-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-category {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.portfolio-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.portfolio-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.portfolio-action {
  margin-top: auto;
}

/* Filtros de Portafolio */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(21, 87, 240, 0.25);
}

/* --- 10. PREGUNTAS FRECUENTES (FAQ) --- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(21, 87, 240, 0.3);
}

.faq-item.is-open {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(21, 87, 240, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-fast);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --- 11. CIERRE Y LLAMADA A LA ACCIÓN (CTA) --- */
.cta-banner {
  background: var(--grad-dark);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 199, 190, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

/* --- 12. TABLA COMPARATIVA DE SERVICIOS --- */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #fff;
  margin-top: 3.5rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.comparison-table th {
  background: var(--bg-light);
  font-weight: 800;
  color: var(--dark);
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: #fafcff;
}

.comparison-table td.center {
  text-align: center;
}

.comparison-table .plan-highlight {
  font-weight: 700;
  color: var(--primary);
}

.check-icon {
  color: var(--secondary);
  font-weight: 900;
  font-size: 1.2rem;
}

/* --- 13. SERVICIOS ADICIONALES --- */
.extra-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.extra-service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.extra-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.extra-service-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.extra-service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.extra-service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 14. PÁGINA NOSOTROS & VALORES --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: #0c8a84;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- 15. PÁGINA CONTACTO Y FORMULARIO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.whatsapp {
  background: #e8f9ee;
  color: #25D366;
}

.channel-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.channel-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.channel-value a:hover {
  color: var(--primary);
}

/* Formulario */
.contact-form-wrapper {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-label span.req {
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 87, 240, 0.12);
  outline: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox-label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --- 16. BOTÓN FLOTANTE GLOBAL DE WHATSAPP --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  position: relative;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.4;
  animation: pulseRipple 2.2s infinite ease-out;
  z-index: -1;
}

.floating-whatsapp:hover .floating-whatsapp-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp-badge {
  background: #fff;
  color: var(--dark);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover .floating-whatsapp-badge {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseRipple {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --- 17. PIE DE PÁGINA (FOOTER) --- */
.site-footer {
  background: var(--darker);
  color: #cbd5e1;
  padding: 5rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img,
.footer-logo svg {
  display: block;
  height: 42px;
  width: auto;
  max-width: 100%;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-privacy-btn {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-privacy-btn:hover {
  color: #fff;
}

/* --- 18. MODAL DE POLÍTICA DE PRIVACIDAD --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 27, 51, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.is-open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--border-light);
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-right: 2.5rem;
}

.modal-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(21, 87, 240, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-header-icon svg {
  width: 28px;
  height: 28px;
}

.modal-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg-light);
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.privacy-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  transition: all var(--transition-fast);
}

.privacy-card:hover {
  background: #fff;
  border-color: rgba(21, 87, 240, 0.3);
  box-shadow: var(--shadow-sm);
}

.privacy-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.privacy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.privacy-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.privacy-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.privacy-card strong {
  color: var(--text-main);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.modal-footer-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.form-privacy-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  text-decoration: underline;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline;
}

.form-privacy-link:hover {
  color: var(--primary-dark);
}

@media (max-width: 680px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .modal-card {
    padding: 1.25rem;
    max-height: 92vh;
  }
  .modal-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-footer .btn {
    width: 100%;
  }
}

/* --- 19. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .brand-logo img,
  .brand-logo svg {
    height: 42px;
    width: auto;
  }

  .section-pad {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .main-nav,
  .header-actions .btn-quote {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .pricing-grid,
  .portfolio-grid,
  .extra-services-grid,
  .benefits-grid,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .pricing-disclaimers {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .floating-stat.stat-speed {
    left: 5px;
    top: -10px;
  }

  .floating-stat.stat-conversion {
    left: 5px;
    bottom: 5px;
  }

  .phone-frame {
    right: 5px;
    bottom: -20px;
    width: 110px;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-whatsapp-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .pricing-grid,
  .portfolio-grid,
  .extra-services-grid,
  .benefits-grid,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 2.25rem 1.25rem;
  }

  .contact-form-wrapper,
  .contact-info-card {
    padding: 1.75rem 1.15rem;
  }
}

/* --- 20. PREFERS-REDUCED-MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
