:root {
  --bg-dark: #0b0f17;
  --bg-card: #131b2e;
  --bg-card-alt: #1a243b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --border-color: #27354f;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* Encabezado y Navegación */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  height: 48px;
}

.brand-logo {
  height: 42px;
  width: auto;
  aspect-ratio: 400 / 90;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

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

.header-cta-wrap {
  display: flex;
  align-items: center;
}

/* Botones con accesibilidad táctil min 48px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent);
  color: #0b0f17;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: var(--bg-card-alt);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: #222f4d;
  border-color: var(--accent);
}

/* Hero Section */
.hero-section {
  padding: clamp(48px, 8vw, 84px) 0;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent);
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

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

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Secciones Generales */
.section-block {
  padding: clamp(48px, 8vw, 84px) 0;
  border-bottom: 1px solid var(--border-color);
}

.section-block-alt {
  background-color: #0e1422;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px) auto;
}

.section-subtitle {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Configurador Interactivo de Sesión (100% visible, sin formularios ocultos) */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 860px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.calc-step-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: block;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.choice-btn {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  min-height: 52px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.choice-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #ffffff;
}

.choice-btn span.tag {
  font-size: 0.75rem;
  color: var(--accent);
}

.calc-summary-box {
  background: #090d16;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.summary-row strong {
  color: #ffffff;
}

.summary-price-wrap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.summary-price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-price-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.summary-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 18px;
}

/* Tarjetas de Espacios & Servicios */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.5);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.service-bullets {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-bullets li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Equipamiento Técnico Transparente */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.specs-table th, .specs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.specs-table th {
  background: var(--bg-card-alt);
  color: #ffffff;
  font-weight: 700;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--accent);
  width: 35%;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

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

/* Tarifas Transparentes (Sin pestañas ocultas) */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #18233b 0%, #131b2e 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #0b0f17;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 44px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✔";
  color: var(--accent);
}

/* Preguntas Frecuentes (100% Visibles en tarjetas abiertas para AdsBot) */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-q span {
  color: var(--accent);
}

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

/* Sección de Contacto Directo (ENABLE_FORM: OFF) */
.contact-box {
  background: linear-gradient(135deg, #131b2e 0%, #1a253f 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
}

.contact-step-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0 40px 0;
  text-align: left;
}

.step-card {
  background: rgba(11, 15, 23, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  display: inline-block;
  background: var(--accent);
  color: #0b0f17;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-email-badge {
  font-family: monospace;
  font-size: 1.15rem;
  color: var(--accent);
  background: #090d16;
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 9999px;
  margin-top: 10px;
}

/* Pie de Página */
.site-footer {
  background: #070a10;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie consent banner minimalista */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 460px;
  margin: 0 auto;
  background: #131b2e;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-cookie {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 38px;
  border-radius: 6px;
}