/* ========================================================
   M2CONTABLE — Estilos Oficiales de Demostración Comercial
   Paleta extraída fielmente del Logotipo Maestro M2
   ======================================================== */

:root {
  /* Paleta Base Light Ejecutiva (Extraída fielmente del fondo del logotipo M2) */
  --color-bg-base: #f0f4f8;
  --color-bg-alt: #e6edf4;
  --color-surface-card: #ffffff;
  --color-surface-card-hover: #fcfdfe;
  --color-border-subtle: #dbe4ec;
  --color-border-hover: #b4c7d7;

  /* Azul Marino Corporativo y Acero */
  --color-navy-dark: #0f1d2f;
  --color-navy-surface: #ffffff;
  --color-navy-card: #ffffff;
  --color-navy-border: #dbe4ec;

  --color-slate-blue: #3d637c;
  --color-steel-blue: #5b87a4;
  --color-highlight-blue: #2d5573;
  --color-ice-blue: #e8f1f7;

  /* Tipografía de Alto Contraste */
  --color-text-main: #0f1d2f;
  --color-text-muted: #4b6074;
  --color-text-dim: #71879c;

  /* Acentos de Especialidad */
  --color-emerald: #059669;
  --color-emerald-soft: rgba(5, 150, 105, 0.1);
  --color-gold: #b45309;
  --color-gold-hover: #d97706;
  --color-alert-red: #dc2626;

  /* Acento Damasco / Naranja Sunset */
  --color-damasco: #e87338;
  --color-damasco-hover: #f1874f;
  --color-damasco-light: #f97316;
  --color-damasco-soft: rgba(232, 115, 56, 0.1);
  --color-damasco-border: rgba(232, 115, 56, 0.35);
  --color-damasco-gradient: linear-gradient(135deg, #f07b3b 0%, #d45920 100%);
  --color-damasco-glow: 0 0 25px rgba(232, 115, 56, 0.25);

  /* Tipografías */
  --font-brand: 'Montserrat', sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-brand), sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transiciones y Sombras Suaves */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(15, 29, 47, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 29, 47, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 29, 47, 0.12);
  --shadow-glow: 0 0 30px rgba(91, 135, 164, 0.15);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

section[id], .hero-section {
  scroll-margin-top: 92px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Contenedores y Utilidades */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, #0f1d2f 0%, #2b4968 45%, #e87338 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--color-damasco-gradient);
  border-color: #f08b54;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(232, 115, 56, 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f1874f 0%, #db6022 100%);
  border-color: #fbb287;
  box-shadow: 0 6px 22px rgba(232, 115, 56, 0.52);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-navy-border);
  color: var(--color-text-main);
}

.btn-outline:hover {
  background: rgba(91, 135, 164, 0.12);
  border-color: var(--color-steel-blue);
  color: var(--color-navy-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Topbar */
.topbar {
  background-color: #0b1520;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0b3c6;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
}

.topbar-link {
  color: #a0b3c6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.topbar-link:hover {
  color: #ffffff;
}

.topbar-link.highlight {
  color: var(--color-damasco-light);
  font-weight: 600;
}

.topbar-link.highlight:hover {
  color: #ffffff;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 244, 248, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 0.75rem 0;
}

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

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

.brand-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #0f1d2f;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-brand);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #5b87a4;
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #3b5066;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-damasco);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  transition: var(--transition);
}

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

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

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

/* Menú Móvil - Oculto por defecto en pantallas grandes */
.nav-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-mobile:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 2px solid var(--color-border-subtle);
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    animation: fadeInDown 0.22s ease-out;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  color: #0f1d2f;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef2f6;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--color-bg-base);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(91, 135, 164, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(232, 115, 56, 0.06) 0%, transparent 50%);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e3549;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-damasco);
  box-shadow: 0 0 10px var(--color-damasco);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f1d2f;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.metric-divider {
  width: 1px;
  height: 28px;
  background-color: var(--color-border-subtle);
}

.emblem-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  padding: 3rem 2.25rem 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 45px -10px rgba(15, 29, 47, 0.1), 0 0 30px rgba(232, 115, 56, 0.1);
  overflow: visible;
}

.emblem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 25%, rgba(91, 135, 164, 0.05), transparent 70%);
  pointer-events: none;
}

.hero-emblem-img {
  width: 100%;
  max-width: 370px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(15, 29, 47, 0.14));
  transition: transform 0.3s ease;
}

.hero-emblem-img:hover {
  transform: translateY(-3px) scale(1.01);
}

.emblem-badge-floating {
  position: absolute;
  bottom: -16px;
  right: 18px;
  background: #0f1d2f;
  border: 1px solid var(--color-damasco);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(15, 29, 47, 0.25);
  z-index: 5;
}

.floating-badge-icon {
  font-size: 1.5rem;
}

.floating-badge-text {
  display: flex;
  flex-direction: column;
}

.floating-badge-text strong {
  font-size: 0.85rem;
  color: #ffffff;
}

.floating-badge-text span {
  font-size: 0.72rem;
  color: var(--color-damasco-light);
}

/* Secciones Generales */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-darker {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

#diferencial,
#diagnostico,
#planes,
#contacto {
  background-color: #ffffff;
}

#servicios,
#cotizador,
#abogado {
  background-color: var(--color-bg-base);
}

#faq {
  background-color: var(--color-bg-alt);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-damasco);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Grilla Comparativa: La Ventaja del Doble Título */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.comparison-card {
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.comparison-card.featured {
  background: #ffffff;
  border: 2px solid var(--color-damasco);
  box-shadow: var(--shadow-md);
  position: relative;
  transform: translateY(-8px);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-damasco-gradient);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(232, 115, 56, 0.4);
}

.card-icon-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-icon-header.muted svg {
  color: var(--color-text-dim);
}

.card-icon-header.brand svg {
  color: #0f1d2f;
}

.card-icon-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
}

.comparison-list li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.5;
}

.comparison-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
}

.comparison-list li.negative {
  color: var(--color-text-muted);
}
.comparison-list li.negative::before {
  content: '✕';
  color: var(--color-alert-red);
}

.comparison-list li.positive {
  color: var(--color-text-main);
}
.comparison-list li.positive::before {
  content: '✓';
  color: var(--color-emerald);
}

/* Grilla de Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 2.25rem;
  transition: var(--transition);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(91, 135, 164, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f1d2f;
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

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

.service-bullets {
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-bullets li::before {
  content: '•';
  color: var(--color-steel-blue);
  margin-right: 0.5rem;
}

/* Diagnóstico Rápido SII */
.diagnostico-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.diagnostico-card {
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.diag-question {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.diag-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.question-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-steel-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.diag-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f1d2f;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.option-pill:hover {
  background: rgba(91, 135, 164, 0.12);
  border-color: var(--color-steel-blue);
}

.option-pill input[type="radio"] {
  accent-color: var(--color-steel-blue);
}

.diag-submit {
  text-align: center;
  margin-top: 2rem;
}

.diag-result-box {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-badge-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.traffic-light {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #000000;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--color-navy-border);
}

.traffic-light .light {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  opacity: 0.2;
}

.traffic-light .light.active {
  opacity: 1;
  box-shadow: 0 0 12px currentColor;
}

.light.red { background-color: var(--color-alert-red); color: var(--color-alert-red); }
.light.yellow { background-color: #f59e0b; color: #f59e0b; }
.light.green { background-color: var(--color-emerald); color: var(--color-emerald); }

.result-status-text h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.result-status-text p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Cotizador de Planes */
.cotizador-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f1d2f;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-steel-blue);
  box-shadow: 0 0 0 3px rgba(91, 135, 164, 0.25);
}

.summary-box {
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.summary-label {
  font-size: 0.78rem;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-steel-blue);
  margin-bottom: 0.5rem;
}

.summary-plan-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.summary-price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.price-val {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f1d2f;
}

.currency, .frequency {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.summary-plan-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.summary-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.summary-features li::before {
  content: '✓';
  color: var(--color-emerald);
  margin-right: 0.6rem;
  font-weight: bold;
}

/* Grilla de Planes */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-steel-blue);
}

.pricing-card.featured-plan {
  background: #ffffff;
  border: 2px solid var(--color-damasco);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-10px);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-damasco-gradient);
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(232, 115, 56, 0.4);
}

.plan-type {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.plan-price .amount {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f1d2f;
}

.plan-price .from, .plan-price .period {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.plan-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.plan-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-checklist li::before {
  content: '✓';
  color: var(--color-emerald);
  margin-right: 0.6rem;
  font-weight: bold;
}

/* Perfil: José Marambio */
.profile-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.profile-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar-frame {
  width: 220px;
  height: 250px;
  background: linear-gradient(145deg, #ffffff 0%, #e8eef5 100%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.profile-logo-art {
  max-width: 170px;
  height: auto;
}

.profile-title-card {
  background: linear-gradient(145deg, #f4f7fa 0%, #e8eef5 100%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
}

.profile-title-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.profile-title-card p {
  color: var(--color-steel-blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-emerald-soft);
  color: var(--color-emerald);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.profile-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.profile-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.profile-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-icon {
  font-size: 1.35rem;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: #0f1d2f;
}

.highlight-item span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 840px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--color-steel-blue);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--color-steel-blue);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contacto */
.contact-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 3.5rem;
}

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

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--color-text-main);
  transition: var(--transition);
}

.channel-card:hover {
  border-color: var(--color-steel-blue);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.whatsapp { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }
.channel-icon.mail { background: rgba(91, 135, 164, 0.12); color: #2d5573; }
.channel-icon.direct { background: rgba(197, 155, 39, 0.15); color: var(--color-gold); }

.channel-body strong {
  display: block;
  font-size: 0.95rem;
}

.channel-body span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.contact-form {
  background: #f8fafc;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 2.25rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

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

/* Footer */
.site-footer {
  background: #0b1520;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  color: #c5d4e0;
}

.site-footer .brand-title {
  color: #ffffff;
}

.site-footer .brand-subtitle {
  color: #8eb4cc;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-text {
  color: #8aa0b5;
  font-size: 0.88rem;
  margin-top: 1.25rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col a, .footer-links-col span {
  color: #a0b3c6;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.vx1-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.badge-label {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-steel-blue);
  text-transform: uppercase;
}

.badge-host {
  font-family: monospace;
  font-size: 0.85rem;
  color: #ffffff;
}

.badge-tech {
  font-size: 0.75rem;
  color: #8aa0b5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #8aa0b5;
}

/* Responsividad */
@media (max-width: 1024px) {
  .hero-grid, .cotizador-grid, .profile-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .comparison-grid, .services-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop, .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-section {
    padding: 3.5rem 0;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-trust-metrics {
    flex-wrap: wrap;
  }
  .metric-divider {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cotizador-card, .profile-card, .contact-wrapper {
    padding: 1.75rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Widget Flotante WhatsApp Oficial (+56 9 4434 3350) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 18px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15, 1.25); opacity: 0; }
}

.whatsapp-float-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 12px;
    border-radius: 50%;
  }
  .whatsapp-float-label {
    display: none;
  }
}
