/* ==========================================================
   Zona Eventos Los Santos - Hoja de Estilos Principal
   Versión: 1.0 (2026)
   ========================================================== */

:root {
  --primary: #1e3a8a;          /* Azul corporativo confiable */
  --primary-dark: #172554;
  --primary-light: #3b82f6;
  --accent: #ea580c;           /* Naranja festivo y cálido */
  --accent-hover: #c2410c;
  --secondary: #059669;        /* Verde fresco/WhatsApp */
  --secondary-hover: #047857;
  --warning: #f59e0b;
  --text-dark: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ================= Top Bar ================= */
.top-bar {
  background-color: var(--primary-dark);
  color: #dbeafe;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-link {
  color: #dbeafe;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-link:hover {
  color: #ffffff;
}

/* ================= Header & Nav ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-badge {
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

.nav-cta {
  background-color: var(--accent);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 4px rgba(234, 88, 12, 0.25);
}

.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary);
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
  color: white;
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(234, 88, 12, 0.25) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fed7aa;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #fdba74;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--secondary);
  color: white;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--secondary-hover);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
}

.hero-stat-card h3 {
  font-size: 1.5rem;
  color: #fdba74;
  margin-bottom: 0.25rem;
}

.hero-stat-card p {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* ================= Section Layout ================= */
.section {
  padding: 5rem 1.5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

/* ================= Services Section ================= */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: white;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--primary);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.service-card-img {
  width: 100%;
  height: 200px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  content-visibility: auto;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.service-features {
  list-style: none;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

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

/* ================= Cotizador Express ================= */
.calculator-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc-group {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.calc-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.calc-item:last-child {
  margin-bottom: 0;
}

.calc-item label {
  color: var(--text-dark);
  font-weight: 500;
}

.calc-item span.unit-price {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-input {
  width: 75px;
  padding: 0.4rem 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
}

.calc-summary {
  border-top: 2px dashed #cbd5e1;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.calc-total-label {
  font-size: 1rem;
  color: var(--text-muted);
}

.calc-total-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.calc-tax-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================= How It Works ================= */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

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

/* ================= Coverage & Conditions ================= */
.coverage-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}

.badge-pill {
  display: inline-block;
  background: #1e3a8a;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ================= About Section ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature-item {
  background: white;
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.about-feature-item h4 {
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

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

/* ================= Footer ================= */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: white;
  padding: 2px;
}

.footer-col h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #334155;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* ================= WhatsApp Floating Button ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ================= Responsive Queries ================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }

  .calc-summary {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ================= Páginas de Error (403 y 404) ================= */
.error-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-light);
}

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at 50% 30%, rgba(30, 58, 138, 0.04) 0%, rgba(249, 250, 251, 1) 75%);
}

.error-card {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 3.5rem 2rem;
  animation: fadeInError 0.4s ease-out;
}

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

.error-code {
  font-size: clamp(5.5rem, 15vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #2876bf 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  user-select: none;
}

.error-title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
}

.error-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-action-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.btn-error-home {
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.error-countdown-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  transition: var(--transition);
  max-width: 90%;
}

.error-countdown-box.canceled {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.countdown-badge {
  font-weight: 700;
  color: var(--primary);
  background-color: white;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  min-width: 28px;
  display: inline-block;
  text-align: center;
}

/* ================= Footer Simplificado ================= */
.site-footer-simple {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 1.1rem 1.5rem;
  margin-top: auto;
  border-top: 1px solid #334155;
  width: 100%;
}

.footer-simple-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.2rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.footer-simple-content p {
  margin: 0;
  text-align: left;
}
