/* =========================================================================
   Landing page CONAFUT — hero, about, features, footer
   Paleta corporativa: #1C418C (brand) + #3FAFF9 (accent)
   ========================================================================= */

:root {
  --c-brand:        #1C418C;
  --c-brand-strong: #15326E;
  --c-accent:       #3FAFF9;
  --c-accent-soft:  #D7F0FC;
  --c-ink:          #1A2B45;
  --c-paper:        #F0F6FC;
}

* { font-family: 'Roboto', sans-serif; }

body.index-page {
  margin: 0; padding: 0; display: block;
  background: var(--c-paper);
  min-height: 100vh;
}

/* ---------- Hero con video de fondo ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.1);
}
.hero-bg-poster {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(28,65,140,0.85) 0%,
    rgba(21,50,110,0.65) 40%,
    rgba(63,175,249,0.25) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
}
.hero-logo {
  width: 220px;
  max-width: 60vw;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.5));
}
.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-section h1 b { color: var(--c-accent); }
.hero-section p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 36px;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.hero-section .btn-group {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
}
.btn-hero-primary {
  background: var(--c-accent);
  color: #fff;
  border: 2px solid var(--c-accent);
  padding: 14px 32px;
  font-size: 1.05rem; font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 8px 24px rgba(63,175,249,.35);
}
.btn-hero-primary:hover {
  background: #2D9BE0;
  border-color: #2D9BE0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(63,175,249,.45);
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: 14px 32px;
  font-size: 1.05rem; font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s ease;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Indicador scroll */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 8px); }
}

/* ---------- Sección Nosotros ---------- */
.about-section {
  background: #fff;
  padding: 80px 20px;
}
.about-section .container { max-width: 1200px; }
.about-section h2 {
  font-size: 2rem; font-weight: 900;
  color: var(--c-brand);
  margin-bottom: 20px;
  text-align: center;
}
.about-section h2::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: var(--c-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}
.about-section p {
  font-size: 1.1rem; line-height: 1.8;
  color: #555; max-width: 800px;
  margin: 0 auto; text-align: center;
}

/* ---------- Features ---------- */
.features-section {
  background: var(--c-paper);
  padding: 80px 20px;
}
.features-section .container { max-width: 1200px; }
.features-section h2 {
  font-size: 2rem; font-weight: 900;
  color: var(--c-brand);
  margin-bottom: 50px;
  text-align: center;
}
.features-section h2::after {
  content: ''; display: block;
  width: 60px; height: 4px;
  background: var(--c-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(28,65,140,.08);
  transition: all .3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(28,65,140,.12);
  border-color: var(--c-accent);
}
.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-accent) 100%);
  color: #fff; font-size: 1.8rem;
}
.feature-card h5 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.feature-card p {
  font-size: .95rem; line-height: 1.6;
  color: #666; margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-brand-strong);
  color: rgba(255,255,255,.8);
  padding: 40px 20px 20px;
  text-align: center;
}
.site-footer .footer-logo {
  width: 120px; margin: 0 auto 16px;
  filter: brightness(0) invert(1);
  opacity: .8;
}
.site-footer p { font-size: .85rem; margin: 4px 0; }
.site-footer .footer-links {
  display: flex; justify-content: center; gap: 24px;
  margin: 16px 0; flex-wrap: wrap;
}
.site-footer .footer-links a {
  color: var(--c-accent);
  text-decoration: none;
  font-size: .85rem; font-weight: 500;
}
.site-footer .footer-links a:hover { text-decoration: underline; }
.site-footer .footer-bottom {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .78rem; color: rgba(255,255,255,.5);
}
.site-footer .watermark {
  margin-top: 12px;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
}
.site-footer .watermark strong {
  color: var(--c-accent);
  font-weight: 700;
  letter-spacing: .03em;
}
.site-footer .watermark a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s ease;
}
.site-footer .watermark a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}
.site-footer .watermark a[href*="wa.me"] {
  color: #25D366;
}
.site-footer .watermark a[href*="wa.me"]:hover {
  color: #1ebe5a;
}
.site-footer .watermark .fab.fa-whatsapp {
  margin-right: 2px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 576px) {
  .hero-section { min-height: 90vh; }
  .hero-logo { width: 160px; }
  .hero-section .btn-group { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; }
}
