/* ===================================
   RESET
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  background: #0c0c0c;
  color: #fff;
  font-family: 'Arial', sans-serif;
}


/* ===================================
   LAYOUT PRINCIPAL
=================================== */
.layout {
  display: flex;
  flex-direction: column;
  height: 100vh;            /* full screen */
  overflow: hidden;         /* sin scroll en PC */
}


/* ===================================
   HERO
=================================== */
.hero {
  position: relative;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 20px;
  background: #0c0c0c;
  flex: 1.4;                /* proporción */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 110px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.hero h2 {
  font-size: 1.5rem;
  margin-top: 4px;
  color: #ffb347;
}

.tagline {
  margin-top: 8px;
  font-size: 1rem;
  color: #ccc;
}


/* ===================================
   NAV MODERNO / PRO
=================================== */

nav {
  background: #000000cc;     /* leve transparencia muy pro */
  backdrop-filter: blur(6px);
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;                 /* espacio moderno entre items */
  flex: 0.22;                /* más fino y elegante */
  border-bottom: 1px solid #ffffff10;
}

nav a {
  color: #eaeaea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 2px;
  transition: color .2s, transform .2s;
  letter-spacing: 0.4px;
}

nav a:hover {
  color: #ffb347;
  transform: translateY(-1px);
}



/* ===================================
   MAIN / INTRO
=================================== */
.intro {
  text-align: center;
  padding: 20px 20px;
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.intro h2 {
  font-size: 2rem;
  color: #ffb347;
  margin-bottom: 10px;
}

.intro p {
  max-width: 750px;
  margin: 0 auto 16px auto;
  color: #ddd;
  line-height: 1.5;
}

.cta {
  display: inline-block;
  background: #ffb347;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  transition: .2s;
}

.cta:hover {
  background: #ffcf81;
  transform: scale(1.05);
}


/* ===================================
   DESKTOP SIN SCROLL
=================================== */
@media (min-width: 900px) {
  html, body {
    height: 100vh;
    overflow: hidden !important;
  }
}


/* ===================================
   BOTÓN FLOTANTE
=================================== */
.cta-float {
  position: fixed;
  top: 22px;
  right: 28px;
  background: #ffb347;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: .2s;
  z-index: 9999;
}

.cta-float:hover {
  background: #ffcf81;
  transform: scale(1.06);
}


/* ===================================
   RESPONSIVE 1024px
=================================== */
@media (max-width: 1024px) {

  .hero {
    flex: 1.2;
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .logo { width: 90px; }

  .hero h1 { font-size: 2.4rem; }
  .hero h2 { font-size: 1.3rem; }

  nav a { font-size: .95rem; }

  .intro h2 { font-size: 1.7rem; }
  .intro p { font-size: .95rem; max-width: 650px; }

  .cta-float {
    top: 18px;
    right: 20px;
    padding: 10px 22px;
    font-size: .9rem;
  }
}


/* ===================================
   RESPONSIVE 899px (MOBILE MODE)
=================================== */
@media (max-width: 899px) {

  /* permitir scroll */
  .layout {
    height: auto;
    overflow: visible;
  }

  html, body {
    overflow: auto !important;
  }

  .hero { padding: 40px 10px; flex: unset; }
  .intro { padding: 30px 10px; flex: unset; }
  nav { flex: unset; }

  /* BOTÓN FLOTANTE — versión final 20% más chica */
  .cta-float {
    top: 12px;
    right: 12px;
    padding: 7px 15px;
    font-size: .70rem;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
}


/* ===================================
   RESPONSIVE 768px
=================================== */
@media (max-width: 768px) {

  .logo { width: 75px; }

  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1.15rem; }

  nav a { font-size: .9rem; }

  .intro h2 { font-size: 1.45rem; }
  .intro p { font-size: .9rem; max-width: 550px; }
}


/* ===================================
   RESPONSIVE 480px (CELU CHICO)
=================================== */
@media (max-width: 480px) {

  .logo { width: 65px; }

  .hero h1 { font-size: 1.65rem; }
  .hero h2 { font-size: 1rem; }

  nav a { font-size: .85rem; }

  .intro h2 { font-size: 1.2rem; }
  .intro p { font-size: .85rem; }
}
/* ===================================
   NAV Responsive para 1024px >
=================================== */
@media (max-width: 1024px) {
  nav {
    gap: 20px;
    padding: 9px 0;
  }
  nav a {
    font-size: 0.88rem;
  }
}

/* ===================================
   NAV Responsive para 899px (mobile)
=================================== */
@media (max-width: 899px) {
  nav {
    gap: 16px;
    padding: 10px 0;
    flex-wrap: wrap;            /* 🔥 se acomoda solo en dos filas si hace falta */
  }
  nav a {
    font-size: 0.85rem;
    padding: 5px 2px;
  }
}

/* ===================================
   NAV Responsive para 768px
=================================== */
@media (max-width: 768px) {
  nav {
    gap: 14px;
  }
  nav a {
    font-size: 0.82rem;
  }
}

/* ===================================
   NAV Responsive para 480px (celu chico)
=================================== */
@media (max-width: 480px) {
  nav {
    padding: 8px 0;
    gap: 12px;
  }
  nav a {
    font-size: 0.78rem;
    padding: 4px 2px;
  }
}
