/* ==========================================================================
   AHORAWEB.CL - DESIGN SYSTEM MODERNO & RESPONSIVO
   ========================================================================== */

:root {
  --bg-dark: #09090b;
  --bg-dark-elevated: #111114;
  --bg-dark-card: rgba(255, 255, 255, 0.035);
  --bg-light: #f5f5f7;
  --bg-white: #ffffff;

  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #f8fafc;
  --text-light-muted: #9ca3af;

  --primary: #0066cc;
  --primary-hover: #0052a3;
  --accent: #3b82f6;
  --accent-violet: #64748b;
  --whatsapp: #1f9d55;
  --whatsapp-hover: #178044;

  --border-light: rgba(17, 24, 39, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.22);
  --shadow-glow: 0 10px 30px rgba(0, 102, 204, 0.22);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

a {
  text-decoration: none;
}

/* ==========================================================================
   UTILIDADES Y BOTONES (CONTÁCTANOS + WHATSAPP)
   ========================================================================== */

.container-aw {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-dark {
  background: linear-gradient(135deg, #111827 0%, #0066cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dark {
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.eyebrow-light {
  background: rgba(79, 70, 229, 0.09);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.18);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.cta-group-center {
  justify-content: center;
}

.btn-aw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn-aw:hover {
  transform: translateY(-2px);
}

.btn-aw:active {
  transform: translateY(0);
}

.btn-aw-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn-aw-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-hover) 0%, #4f46e5 100%);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.48);
}

.btn-aw-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-aw-whatsapp:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.btn-aw-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-aw-outline-light:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-aw-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(15, 23, 42, 0.18);
}

.btn-aw-outline-dark:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
}

.btn-aw-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}

.btn-aw svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* ==========================================================================
   NAVBAR GLASSMORPHISM
   ========================================================================== */

.navbar-aw {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 0.85rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-aw.scrolled {
  padding: 0.65rem 0;
  background: rgba(7, 11, 20, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.navbar-aw-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

.brand-logo span.dot {
  color: #22d3ee;
}

.nav-links-aw {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-aw a {
  color: #cbd5e1;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links-aw a:hover {
  color: #ffffff;
}

.nav-actions-aw {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle-aw {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer-aw {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  width: 100%;
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 1025;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-aw.open {
  display: flex;
}

.mobile-drawer-aw a.drawer-link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   HERO DE IMPACTO
   ========================================================================== */

.hero-aw {
  position: relative;
  padding: 7.5rem 0 4.5rem;
  background: radial-gradient(circle at 18% 20%, rgba(79, 70, 229, 0.28) 0%, transparent 45%),
              radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.22) 0%, transparent 42%),
              linear-gradient(180deg, #070b14 0%, #0b1224 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.35rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  margin: 1.1rem 0 1.25rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 1.9rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #ffffff;
}

.hero-metric span {
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Visual derecho del Hero: Tarjeta de 3 planes rápidos */
.hero-showcase-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-plan-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-plan-mini:hover {
  transform: translateX(4px);
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.12);
  color: #ffffff;
}

.hero-plan-mini-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.plan-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.plan-icon-mobile { background: rgba(56, 189, 248, 0.16); color: #38bdf8; }
.plan-icon-pc { background: rgba(129, 140, 248, 0.18); color: #a5b4fc; }
.plan-icon-custom { background: rgba(16, 185, 129, 0.16); color: #34d399; }

.hero-plan-mini h6 {
  margin: 0 0 0.15rem;
  font-weight: 700;
  font-size: 0.98rem;
}

.hero-plan-mini small {
  color: #94a3b8;
  font-size: 0.8rem;
}

.hero-plan-price {
  text-align: right;
  flex-shrink: 0;
}

.hero-plan-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-plan-price span {
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN PLAN MÓVIL (.mobile-wrapper AHORA FULL WIDTH EN PC + RESPONSIVO)
   ========================================================================== */

.mobile-wrapper {
  width: 100%;
  max-width: none; /* Antes era 400px: ahora pantalla completa en computador */
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: var(--text-dark);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.section-header-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.section-title-lg {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0.75rem 0 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Tarjeta resumen del Plan (Precio + checklist) */
.plan-summary-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.plan-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.plan-price-big {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.plan-price-currency {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.09);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.45rem;
  display: grid;
  gap: 0.62rem;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: #334155;
}

.feature-checklist .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Barra de filtros + controles de galería */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.gallery-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery-heading h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.gallery-count {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #475569;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.filter-pill.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

.filter-pill-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
}

.filter-pill-dark:hover {
  border-color: #38bdf8;
  color: #ffffff;
}

.filter-pill-dark.active {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border-color: transparent;
  color: #ffffff;
}

/* ==========================================================================
   SHOWCASE DE PLANTILLAS MÓVIL: GRILLA FULLSCREEN EN PC + CARRUSEL EN MÓVIL
   ========================================================================== */

.mobile-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.75rem;
}

.mobile-template-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mobile-template-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.28);
}

/* Marco realista de Smartphone CSS */
.phone-frame {
  position: relative;
  width: 214px;
  height: 416px;
  background: #0f172a;
  border-radius: 34px;
  padding: 9px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  margin-bottom: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.mobile-template-item:hover .phone-frame {
  transform: scale(1.02);
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 17px;
  background: #090d16;
  border-radius: 999px;
  z-index: 6;
  pointer-events: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: #1e293b;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vista previa HTML escalada en vivo dentro del celular */
.phone-live-iframe {
  width: 390px;
  height: 790px;
  border: 0;
  transform: scale(0.503);
  transform-origin: top left;
  pointer-events: none;
  background: #ffffff;
}

.device-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.08) 0%, rgba(7, 11, 20, 0.72) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.15rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.phone-frame:hover .device-hover-overlay,
.laptop-screen:hover .device-hover-overlay {
  opacity: 1;
}

.preview-pill-btn {
  background: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.template-meta {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.template-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.template-name {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
}

.template-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.template-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
}

.template-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

/* ==========================================================================
   SECCIÓN PLAN NOTEBOOK / COMPUTADOR (.notebook-wrapper)
   ========================================================================== */

.notebook-wrapper {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  color: var(--text-dark);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.notebook-wrapper .section-lead {
  color: var(--text-muted);
}

.notebook-wrapper .plan-summary-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.notebook-wrapper .plan-price-big {
  color: var(--text-dark);
}

.notebook-wrapper .plan-price-currency {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
}

.notebook-wrapper .feature-checklist li {
  color: var(--text-muted);
}

.notebook-wrapper .gallery-count {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
}

.notebook-wrapper .gradient-text {
  background: linear-gradient(135deg, #111827 0%, #0066cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notebook-wrapper .filter-pill-dark {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid rgba(17, 24, 39, 0.14);
}

.notebook-wrapper .filter-pill-dark:hover {
  background: #f1f5f9;
  border-color: rgba(0, 102, 204, 0.35);
}

.notebook-wrapper .filter-pill-dark.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Grilla de plantillas PC con marco MacBook realista */
.pc-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.pc-template-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.pc-template-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: var(--shadow-lg);
}

.laptop-mockup {
  margin-bottom: 1.25rem;
  cursor: pointer;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.18));
}

.laptop-bezel {
  background: #18181b;
  border-radius: 14px 14px 4px 4px;
  padding: 8px 8px 10px;
  border: 1.5px solid #3f3f46;
}

.laptop-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  padding-left: 4px;
}

.laptop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.laptop-dot.r { background: #ef4444; }
.laptop-dot.y { background: #f59e0b; }
.laptop-dot.g { background: #22c55e; }

.laptop-url-bar {
  margin-left: 8px;
  flex: 1;
  max-width: 190px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.62rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #1e293b;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vista previa HTML escalada en vivo para PC (1280x800 escalado automáticamente via JS/CSS) */
.laptop-live-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1280px;
  height: 800px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
  background: #ffffff;
}

.laptop-base {
  height: 10px;
  background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
  border-radius: 0 0 12px 12px;
  width: 96%;
  margin: 0 auto;
  position: relative;
}

.laptop-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: #0f172a;
  border-radius: 0 0 6px 6px;
}

.pc-template-item .template-name {
  color: var(--text-dark);
}

.pc-template-item .template-tag {
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
}

.pc-template-item .template-desc {
  color: var(--text-muted);
}

/* ==========================================================================
   BANNER INSPIRACIONAL (FRASES DE EMPRENDEDORES)
   ========================================================================== */

.quote-banner-section {
  background: #070b14;
  padding: 2.5rem 0;
}

.quote-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.quote-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.quote-card:hover img {
  transform: scale(1.05);
}

.quote-card-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.15) 0%, rgba(7, 11, 20, 0.88) 70%, rgba(7, 11, 20, 0.96) 100%);
  color: #ffffff;
}

.quote-card-overlay small {
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.76rem;
}

.quote-card-overlay blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  margin: 0.45rem 0 0.5rem;
  line-height: 1.3;
}

.quote-card-overlay cite {
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* ==========================================================================
   SECCIÓN HOSTING
   ========================================================================== */

.hosting-section {
  background: #ffffff;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.hosting-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hosting-box::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%);
  pointer-events: none;
}

.hosting-price-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
}

.hosting-price-card .price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.hosting-price-card .period {
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.95rem;
}

.hosting-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN PROYECTO A MEDIDA (SIN VALORES)
   ========================================================================== */

.custom-project-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, rgba(7, 11, 20, 0.92) 0%, rgba(30, 27, 75, 0.86) 100%),
              url('../images/tuproyecto.png') center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.custom-project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.custom-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.custom-benefit-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.35rem;
}

.custom-benefit-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.6rem 0 0.35rem;
}

.custom-benefit-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   PROCESO EN 3 PASOS + FOOTER
   ========================================================================== */

.steps-section {
  background: var(--bg-light);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.footer-aw {
  background: #050811;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-aw h6 {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.78rem 1.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   MODALES DE VISTA PREVIA Y CONTACTO
   ========================================================================== */

.preview-modal-content {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
}

.preview-modal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-modal-body-mobile {
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%);
}

.modal-phone-shell {
  width: 390px;
  max-width: 100%;
  height: min(76vh, 720px);
  background: #000000;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.modal-phone-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 26px;
  background: #ffffff;
}

.preview-modal-body-pc {
  padding: 1rem;
  background: #090d16;
}

.preview-modal-body-pc iframe {
  width: 100%;
  height: min(78vh, 740px);
  border: 0;
  border-radius: 14px;
  background: #ffffff;
}

.contact-modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.contact-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
  color: #ffffff;
  padding: 1.35rem 1.5rem;
  border-bottom: none;
}

/* ==========================================================================
   ANIMACIONES AL HACER SCROLL
   ========================================================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET Y MÓVIL)
   ========================================================================== */

/* Deja espacio al botón flotante de WhatsApp para que no tape el pie de página */
.footer-aw {
  padding-bottom: 5.5rem;
}

/* Si el menú móvil quedó abierto y la pantalla se agranda, se oculta */
@media (min-width: 992px) {
  .mobile-drawer-aw,
  .mobile-drawer-aw.open {
    display: none;
  }
}

@media (max-width: 991px) {
  .nav-links-aw,
  .nav-actions-aw {
    display: none;
  }

  .menu-toggle-aw {
    display: inline-flex;
  }

  .hero-layout,
  .section-header-split,
  .hosting-box,
  .custom-project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-cards-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pc-templates-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 767px) {
  .hero-aw {
    padding: 6.2rem 0 3.25rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .cta-group {
    width: 100%;
  }

  .cta-group .btn-aw {
    flex: 1 1 auto;
    padding: 0.8rem 1.15rem;
    font-size: 0.9rem;
  }

  /* En móvil, las plantillas de celular se deslizan horizontalmente con snap suave */
  .mobile-templates-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0.25rem 0.25rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-templates-grid::-webkit-scrollbar {
    height: 6px;
  }

  .mobile-templates-grid::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.25);
    border-radius: 999px;
  }

  .mobile-template-item {
    flex: 0 0 82vw;
    max-width: 300px;
    scroll-snap-align: center;
  }

  .pc-templates-grid {
    grid-template-columns: 1fr;
  }

  .custom-benefits-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.85rem;
  }

  .device-hover-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 58%, rgba(7, 11, 20, 0.72) 100%);
  }
}
