/* ===== PALETA DE MARCA SERVICIOS 2000 Y VARIABLES ===== */
:root {
  --brand-blue:      #145DA1;
  --brand-navy:      #0A2C4C;
  --brand-yellow:    #F8D12A;
  --text-white:      #FFFFFF;
  --text-light-gray: #ccd6f6;
  --whatsapp-green:  #25D366;
  --font-family:     'Inter', sans-serif;
  --header-height:   80px;
  --footer-height:   50px;
}

/* ===== RESET Y ESTILOS BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  color: var(--text-light-gray);
  background: var(--brand-navy);
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
  overflow: hidden;
}

/* ===== HEADER Y FOOTER FIJOS ===== */
.fixed-header, .fixed-footer {
  position: fixed; left: 0; width: 100%;
  background-color: rgba(10, 44, 76, 0.85);
  backdrop-filter: blur(10px); z-index: 1000;
}
.fixed-header {
  top: 0; height: var(--header-height);
  box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7);
}
.fixed-footer {
  bottom: 0; height: var(--footer-height);
  font-size: 0.8rem; color: var(--text-light-gray);
}
.fixed-header .container, .fixed-footer .container {
  max-width: 1300px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex;
  justify-content: space-between; align-items: center;
}
.header-logo img { max-height: 45px; width: auto; }
.header-social { display: flex; gap: 1.5rem; }
.header-social a { color: var(--text-light-gray); font-size: 1.2rem; transition: all 0.3s ease; }
.header-social a:hover { color: var(--brand-yellow); transform: translateY(-2px); }
.fixed-footer .container { justify-content: center; text-align: center; }
.fixed-footer a { color: var(--brand-yellow); text-decoration: none; font-weight: 700; transition: color 0.3s ease; }
.fixed-footer a:hover { color: var(--text-white); }

/* ===== CONTENIDO PRINCIPAL CON FONDO DE PANTALLA COMPLETA ===== */
.main-content {
  position: relative; width: 100%;
  height: calc(100vh - var(--header-height) - var(--footer-height));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.main-content::before, .main-content::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.main-content::before {
  background-image: url('../img/bg-home-s2000.png');
  background-size: cover; background-position: center;
  animation: ken-burns 30s infinite alternate; z-index: -2;
}
.main-content::after {
  background: linear-gradient(180deg, rgba(20, 93, 161, 0.4) 0%, rgba(10, 44, 76, 0.8) 100%);
  z-index: -1;
}

/* CONTENIDO DEL HERO */
.hero-content {
  text-align: center; position: relative; z-index: 1;
  animation: fadeInContent 1.2s ease-out;
  max-width: 750px; padding: 1rem;
}
.hero-content h1 {
  font-size: 3.5rem; font-weight: 900;
  line-height: 1.2; color: var(--text-white);
}
.hero-content h1 .highlight { color: var(--brand-yellow); }
.hero-content p {
  font-size: 1.05rem; line-height: 1.7;
  margin: 1.5rem 0 2.5rem 0;
  color: var(--text-light-gray);
  max-width: 650px; margin-left: auto; margin-right: auto;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center;
  align-items: center; margin-bottom: 3rem; flex-wrap: wrap;
}

/* BOTONES ESTILO SERVICIOS 2000 */
.btn {
  padding: 0.8rem 2rem; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; border-radius: 50px; text-decoration: none;
  border: 2px solid var(--brand-yellow); transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 0.6rem; text-transform: uppercase;
}
.btn-primary { background: var(--brand-yellow); color: var(--brand-navy); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(248, 209, 42, 0.2); }
.btn-secondary { background: transparent; color: var(--brand-yellow); }
.btn-secondary:hover { background: var(--brand-yellow); color: var(--brand-navy); transform: translateY(-3px); }

/* COUNTDOWN */
.countdown { display: flex; gap: 2rem; justify-content: center; }
.countdown div { text-align: center; }
.countdown span { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--text-white); }
.countdown small { font-size: 0.7rem; letter-spacing: 1px; margin-top: 0.5rem; text-transform: uppercase; }

/* MODAL DE BRANDING */
.modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(8px); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal.is-active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--brand-navy); border: 1px solid rgba(248, 209, 42, 0.2);
  border-radius: 10px; padding: 2.5rem; width: 100%;
  max-width: 550px; position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal.is-active .modal-content { transform: translateY(0); }
.close-btn {
  position: absolute; top: 1rem; right: 1rem; background: transparent; border: none;
  color: var(--text-light-gray); font-size: 2rem; line-height: 1;
  cursor: pointer; transition: all 0.3s ease;
}
.close-btn:hover { color: var(--brand-yellow); transform: rotate(90deg); }
.modal-content h2 {
  color: var(--text-white); font-size: 2rem;
  font-weight: 900; text-align: center; margin-bottom: 2rem;
}
.modal-downloads { display: flex; flex-direction: column; gap: 1rem; }
.btn-download {
  display: flex; align-items: center; background: rgba(20, 93, 161, 0.3);
  border-radius: 8px; padding: 1rem; text-decoration: none;
  transition: all 0.3s ease;
}
.btn-download:hover {
  background: var(--brand-blue); transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.btn-download-icon { font-size: 2rem; color: var(--brand-yellow); margin-right: 1rem; }
.btn-download-text strong { color: var(--text-white); display: block; }
.btn-download-text small { color: var(--text-light-gray); font-size: 0.8rem; }
.modal-footer {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 209, 42, 0.1);
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-light-gray);
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed; width: 55px; height: 55px;
  right: 2rem; bottom: calc(var(--footer-height) + 1.5rem);
  background-color: var(--whatsapp-green); color: #FFF; border-radius: 50%;
  font-size: 28px; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 999; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ANIMACIONES */
@keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes fadeInContent { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE PREMIUM */
@media (max-width: 768px) {
  :root { --header-height: 70px; } body { overflow: auto; }
  .fixed-header .container, .fixed-footer .container { padding: 0 1.5rem; }
  .header-logo img { max-height: 35px; }
  .main-content { height: auto; min-height: calc(100vh - var(--header-height) - var(--footer-height)); padding: 3rem 0; }
  .hero-content h1 { font-size: 2.5rem; line-height: 1.25; }
  .hero-content p { font-size: 1rem; margin: 1.5rem 0 2rem 0; }
  .hero-actions { flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
  .countdown span { font-size: 2.5rem; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; right: 1.5rem; bottom: calc(var(--footer-height) + 1rem); }
}
@media (max-width: 480px) {
  .fixed-header .container, .fixed-footer .container { padding: 0 1rem; }
  .header-logo img { max-height: 30px; } .header-social { gap: 1rem; }
  .hero-content { padding: 1rem; } .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 0.9rem; } .countdown { gap: 1.5rem; }
  .countdown span { font-size: 2rem; } .countdown small { font-size: 0.6rem; }
  .fixed-footer p { font-size: 0.7rem; } .whatsapp-float { right: 1rem; }
  .modal-content { padding: 2rem 1.5rem; } .modal-content h2 { font-size: 1.5rem; }
  .modal-footer { flex-direction: column; align-items: center; gap: 0.5rem; }
}