:root {
  --black: #161212;
  --beige: #C6BEB5;
  --light: #FAFAF8;
  --soft-gray: #D5D2CB;
  --camel: #9C8D7C;
  --dark: #191A1E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--light);
  color: var(--black);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;

  
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.logo img{
  height:60px;
  width:auto;
  display:block;
}


@media(max-width:768px){

  .logo img{
    height:50px;
  }

}
nav {
  display: flex;
  gap: 35px;
}

nav a {
  text-decoration: none;
  color: var(--black);
  font-size: 0.95rem;
  transition: 0.3s;
}

nav a:hover {
  opacity: 0.6;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.hero{
  height: 100vh;
  background-image: url('../assets/hero.webp?v=1.0.8');
  background-position: center 5%;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  position: relative;
  padding-top: 120px;
}

/* Imagen mobile */


@media(max-width: 768px) {

 .hero-overlay {
  padding: 25px 24px;

  background: rgba(22, 18, 18, 0.30);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

  .hero{

    background-image: url('../assets/herophone.webp?v=1.0.8');

    background-position: center top;

    justify-content: center;

    padding-top: 80px;
  }
.hero-overlay{

    margin-left: 0;

    text-align: center;

    padding: 0 24px;

    margin-top: 120px;
  }

  .hero h1{

    font-size: 2.2rem;

    line-height: 1.3;
  }

}

.hero-overlay {
  color: white;

  max-width: 700px;

  margin-left: 8%;
  margin-top: 40px;

  text-align: left;

  padding: 32px 38px;

  /* Fondo translúcido para mejorar el contraste */
  background: rgba(22, 18, 18, 0.32);

  /* Efecto vidrio sutil */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Borde casi imperceptible */
  border: 1px solid rgba(255, 255, 255, 0.10);

  /* Sombra muy suave */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.hero h1 {
  font-size: 4rem;

  font-weight: 300;

  line-height: 1.25;

  max-width: 650px;

  margin-bottom: 40px;
}

.subtitlecole{
  margin-bottom: 30px;
}

.hero h1{
  margin-top: 20px;
}

.btn,
.btn-outline {
  padding: 14px 32px;
  text-decoration: none;
  letter-spacing: 2px;
  transition: 0.3s;
  display: inline-block;
}
.hero .btn{
  display: inline-block;
}

.btn {
  background: white;
  color: var(--black);
}

.btn-outline {
  border: 1px solid var(--black);
  color: var(--black);
}

.brand-section,
.newsletter,
.experience-login {
  padding: 120px 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 80px;
  align-items: center;
}


.brand-grid img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

@media(max-width: 768px) {

  .brand-grid img {
    height: 500px;
  }

}

.subtitle {
  letter-spacing: 4px;
  color: var(--camel);
}

.subtitlecole,
.subtitle-login,
.subtitle-contact,
.subtitle-marca {

  display: inline-block;

  padding: 10px 18px;

  background: rgba(255,255,255,0.08);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.12);

  color: rgba(255,255,255,0.92);

  letter-spacing: 5px;

  text-transform: uppercase;

  font-size: 0.78rem;

  font-weight: 400;
}

.brand-text h2 {
  font-size: 2.5rem;
  margin: 20px 0;
  font-weight: 300;
}

.brand-text p {
  max-width: 500px;
}

.brand-second-text {
  margin-top: 20px;
}

.brand-btn {
  display: inline-block;
  margin-top: 35px;
}

.newsletter {
  background: var(--soft-gray);
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

#newsletter-form {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#newsletter-form input {
  padding: 15px;
  width: 320px;
  border: none;
}

#newsletter-form button {
  padding: 15px 25px;
  border: none;
  background: var(--black);
  color: white;
  cursor: pointer;
}

.experience-box {
  text-align: center;
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

footer {
  background: var(--black);
  color: white;
  padding: 60px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid white;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  background: white;
  color: var(--black);
}

@media(max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 90px;
    right: 0;
    background: var(--light);
    width: 100%;
    flex-direction: column;
    padding: 30px;
    display: none;
  }

  nav.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  #newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  #newsletter-form input {
    width: 100%;
  }
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================
   CUENTA EN HEADER
========================================== */

.header-account {
  margin-left: 10px;
}


.header-login,
.header-user a {

  text-decoration: none;

  color: var(--black);

  font-size: 0.85rem;

}


.header-user {

  display: flex;

  align-items: center;

  gap: 15px;

}


.header-user button {

  background: none;

  border: none;

  cursor: pointer;

  font-family: 'Josefin Sans', sans-serif;

  font-size: 0.8rem;

  color: var(--camel);

  padding: 0;

}


.header-user button:hover {

  opacity: 0.6;

}


@media(max-width: 768px) {

  .header-account {

    margin-left: 0;

  }


  .header-user {

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;

  }

}

.newsletter-note {

  margin-top: 18px;

  font-size: 0.8rem;

  letter-spacing: 0.5px;

  opacity: 0.65;

}


/* =====================================================
   FOOTER CREDIT
===================================================== */

.footer-credit {

  margin-top: 45px;

  padding: 18px 20px 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;

  font-size: 0.68rem;

  letter-spacing: 1.5px;

  color: rgba(255, 255, 255, 0.38);

}


.footer-credit a {

  margin-left: 5px;

  color: rgba(255, 255, 255, 0.55);

  text-decoration: none;

  transition: opacity 0.3s ease;

}


.footer-credit a:hover {

  color: white;

  opacity: 1;

}


/* =====================================================
   FOOTER CREDIT - MOBILE
===================================================== */

@media (max-width: 768px) {

  .footer-credit {

    margin-top: 35px;

    padding: 18px 15px 20px;

    font-size: 0.65rem;

    letter-spacing: 1.3px;

  }

}
