/* ==========================================================================
   hdiowa.com - Soluciones de Soporte Técnico TI & Pólizas para Notarías en Puebla
   Versión: 3.0 Corporativa
   ========================================================================== */

:root {
  /* Paleta Corporativa de Confianza */
  --bg-dark: #070b14;
  --bg-card: #0f172a;
  --bg-card-hover: #162238;
  --bg-surface: #1e293b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(37, 99, 235, 0.4);

  /* Acentos de Marca */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.12);
  --accent-cyan: #0ea5e9;
  --accent-cyan-light: rgba(14, 165, 233, 0.15);
  
  /* Estados & Confianza */
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd56;

  /* Tipografías & Colores de Texto */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light-muted: #cbd5e1;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras y Efectos */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Global */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tipografía de Títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-whatsapp { color: var(--whatsapp); }

/* Botones Corporativos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: var(--bg-dark);
  font-weight: 700;
}

.btn-light:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-whatsapp-btn {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp-btn:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  background-color: #04070d;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-left .divider {
  color: var(--border-subtle);
}

.top-bar-left i {
  color: var(--accent-cyan);
  margin-right: 0.35rem;
}

.top-link {
  color: var(--text-light-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
#main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.2rem;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.highlight-nav {
  color: #60a5fa;
  font-weight: 600;
}

.nav-link i {
  font-size: 0.9rem;
  line-height: 1;
}

.nav-link.highlight-nav i {
  color: #38bdf8;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.18;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 760px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* Fila de Métricas / Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
  text-align: left;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.85);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Secciones Generales
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Sección Notarías Públicas (Pitch Central)
   ========================================================================== */
.notarias-section {
  background: linear-gradient(180deg, #070b14 0%, #0d1424 50%, #070b14 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.notarias-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.notaria-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.notaria-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.notaria-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.notaria-card:hover::before {
  opacity: 1;
}

.notaria-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.notaria-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.notaria-card p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.card-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card-list li i {
  color: var(--success);
  font-size: 0.8rem;
}

/* Banner Notarial */
.notaria-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-glow);
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.banner-content h3 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.banner-content p {
  color: #cbd5e1;
  font-size: 1.02rem;
  max-width: 650px;
}

.banner-action {
  flex-shrink: 0;
}

/* ==========================================================================
   Servicios de Soporte Técnico TI (Sub-apartados)
   ========================================================================== */
.services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.service-block-header {
  margin-bottom: 2rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.service-tag.tag-correctivo {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.service-tag.tag-usuarios {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.service-tag.tag-seguridad {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.service-block-header h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.service-lead {
  font-size: 1rem;
  color: var(--text-muted);
}

.service-block-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sub-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.sub-card:hover {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  transform: translateY(-3px);
}

.sub-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sub-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.sub-card p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Pólizas Mensuales & Comparativa
   ========================================================================== */
.polizas-section {
  background: linear-gradient(180deg, #070b14 0%, #0c1220 100%);
}

.comparativa-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 3.5rem;
}

.comparativa-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.comparativa-title i {
  color: #60a5fa;
}

.comparativa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comp-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.comp-negativo h4 {
  color: #f87171;
}

.comp-positivo h4 {
  color: #4ade80;
}

.comp-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comp-col li {
  font-size: 0.925rem;
  color: var(--text-light-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.comp-col li i {
  margin-top: 4px;
  flex-shrink: 0;
}

.comp-negativo li i {
  color: #ef4444;
}

.comp-positivo li i {
  color: #10b981;
}

/* Grid de Precios */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.price-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
}

.price-card.featured {
  background: linear-gradient(180deg, #13223f 0%, #0f172a 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
  transform: scale(1.02);
}

.price-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 1.2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
  white-space: nowrap;
}

.plan-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.price-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 44px;
  margin-bottom: 1.5rem;
}

.price-val {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 0;
  margin-bottom: 1.75rem;
}

.custom-quote {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light-muted);
  display: block;
}

.custom-quote.highlight {
  color: #60a5fa;
  font-size: 1.15rem;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
  text-align: left;
}

.price-features li i {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.price-features li span {
  flex: 1;
  display: inline;
  text-align: left;
}

.feature-disabled {
  color: var(--text-muted) !important;
  opacity: 0.5;
}

/* ==========================================================================
   Calculadora Interactiva de Póliza
   ========================================================================== */
.calculator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.calc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.calc-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.calc-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 2.2rem;
}

.calc-step {
  margin-bottom: 2rem;
}

.calc-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.calc-org-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-org {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-light-muted);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-org:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-org.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.slider-wrapper {
  position: relative;
  margin: 1.5rem 0 0.5rem;
}

.calc-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #60a5fa;
  border: 3px solid #ffffff;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-value-display {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #60a5fa;
  margin-top: 0.75rem;
}

.range-milestones {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.calc-result-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.2rem;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.calc-sub {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-cyan);
}

.calc-result-info {
  width: 100%;
}

.calc-result-info h4 {
  font-size: 1.4rem;
  margin: 0.35rem 0 0.6rem;
  color: #ffffff;
  font-weight: 800;
}

.calc-result-info p {
  font-size: 0.98rem;
  color: var(--text-light-muted);
  max-width: 100% !important;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.calc-result-action {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-result-action .btn-whatsapp-btn {
  max-width: 460px;
  width: 100%;
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Cobertura en Puebla
   ========================================================================== */
.cobertura-section {
  padding-top: 2rem;
}

.cobertura-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.city-item {
  font-size: 0.925rem;
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.city-item i {
  color: #60a5fa;
}

.nda-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.nda-badge i {
  color: var(--success);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.cobertura-visual {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
}

.visual-card i {
  font-size: 3rem;
  color: #60a5fa;
  margin-bottom: 1.25rem;
}

.visual-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.visual-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Contacto & Formulario
   ========================================================================== */
.contact-section {
  background: #05080f;
  border-top: 1px solid var(--border-subtle);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card, .contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
}

.contact-info-card h3, .contact-form-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.contact-info-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.info-text a, .info-text span {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
}

.direct-cta-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.direct-cta-box h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.direct-cta-box p {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
}

/* Formulario Inputs */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light-muted);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.form-control::placeholder {
  color: #64748b;
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-card);
  color: #ffffff;
}

/* ==========================================================================
   Footer Institucional
   ========================================================================== */
.footer {
  background-color: #03050a;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.6;
}

.footer-phone {
  font-size: 0.95rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-phone i {
  color: var(--accent-cyan);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col li, .footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #60a5fa;
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--bg-surface);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Responsive Breakpoints (Tablets, iPads & Móviles)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-4px);
  }
  .service-block-grid {
    grid-template-columns: 1fr;
  }
  .cobertura-card {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .nav-link {
    display: block;
    font-size: 1.1rem;
    text-align: center;
  }
  .header-cta {
    width: 100%;
  }
  .header-cta .btn {
    width: 100%;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-top: 1.75rem;
  }
  .trust-item {
    padding: 0.9rem 1.15rem;
    width: 100%;
  }
  .notarias-grid {
    grid-template-columns: 1fr;
  }
  .notaria-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .comparativa-grid {
    grid-template-columns: 1fr;
  }
  .calc-result-box {
    flex-direction: column;
    text-align: center;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   Servicios en Página Principal (Automatización, Web, Invitaciones, Soporte TI)
   ========================================================================== */
.services-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-main-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-main-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.icon-cyan {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.icon-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.icon-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.badge-emerald {
  color: #34d399;
}

.service-main-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.card-main-text {
  color: var(--text-light-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  min-height: 70px;
}

.card-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-feature-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.card-feature-list li i {
  color: var(--success);
  font-size: 0.82rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Tarjeta Destacada de Soporte TI en Home */
.card-spotlight {
  background: linear-gradient(180deg, #13223f 0%, #0c1527 100%);
  border: 2px solid rgba(37, 99, 235, 0.6);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.card-spotlight:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.spotlight-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Banner de Notarías en la Página Principal */
.section-notaria-preview {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.notaria-banner-home {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-glow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.banner-home-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.banner-home-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.banner-home-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.banner-home-features span {
  font-size: 0.92rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-home-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .services-main-grid {
    grid-template-columns: 1fr;
  }
  .notaria-banner-home {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
  .banner-home-features {
    justify-content: center;
  }
  .banner-home-actions {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .banner-home-actions {
    flex-direction: column;
  }
  .banner-home-actions .btn {
    width: 100%;
  }
}


/* Estilos de Botones y Chips de la Calculadora */
.calc-stepper-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.btn-stepper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-stepper:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.slider-value-display {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #60a5fa;
  min-width: 170px;
  text-align: center;
}

.calc-chips {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 1.5rem;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-light-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn:hover, .chip-btn.active {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--primary);
  color: #60a5fa;
}

.calc-badges-summary {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.calc-summary-badge {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.calc-summary-badge i {
  color: var(--success);
}

/* Botones y Acciones de Invitaciones */
.invitaciones-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.invitaciones-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.invitaciones-actions .btn-whatsapp-btn {
  margin-top: 14px !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}


/* ==========================================
   Interactividad de Selección de Planes
   ========================================== */
.interactive-plan-card {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.interactive-plan-card:hover {
  border-color: rgba(96, 165, 250, 0.6);
  transform: translateY(-4px);
}

.interactive-plan-card.featured {
  background: linear-gradient(180deg, #13223f 0%, #0f172a 100%);
  border: 2px solid #2563eb !important;
  box-shadow: 0 10px 35px rgba(37, 99, 235, 0.35) !important;
  transform: scale(1.02) !important;
}

.plan-select-indicator {
  margin-top: auto;
}

.calc-plan-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.btn-calc-plan {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-light-muted);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-align: center;
}

.btn-calc-plan:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-calc-plan.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.45);
}

.btn-calc-plan i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .calc-plan-buttons {
    grid-template-columns: 1fr;
  }
}
