@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #5B9279;
    --background-color: #F4F7F5;
    --accent-color: #A3BCB6;
    --dark-color: #1D1D1D;
    --light-gray: #EAEAEA;
}

html {
    font-family: 'Inter', sans-serif;
}

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

body {
    background-color: white;
    color: var(--dark-color);
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
}

/* UTILIDADES */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* HEADER */

.container-hero {
    background-color: #041c42;
    padding: 0.2rem 1rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #041c42;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding-top: 5px;
    padding-bottom: 5px;
}

.left-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.customer-support,
.customer-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1rem;
}

.customer-support i,
.customer-contact i {
    font-size: 1rem;
}

.container-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.5rem;
}

/* NAVBAR */

.container-navbar {
    position: fixed;
    top: 48px;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    z-index: 999;
    padding: 0.5rem 2rem;
}

.container-navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto;
}

.menu li {
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.container-navbar.scrolled .menu a {
    color: black;
}

/* Posiciona el texto como más conveniente; en este ejemplo, centrado */
.brand-title {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A1F44;
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Para que no interfiera con clics */
}
.hide {
    display: none;
}


/* Cuando la navbar tiene la clase "scrolled", se muestra el título */
.container-navbar.scrolled .brand-title {
    opacity: 1;
}

.mobile-header {
  display: none;
}


/* BANNER */

.banner {
    height: 55rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-banner h2 {
    color: white;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.content-banner a {
    background-color: #3B4B66;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
}

/* SECCION NOSOTROS */

.container-nosotros {
    display: flex;
    gap: 2rem;
    padding: 5rem 2rem;
    align-items: center;
    flex-wrap: wrap;
    height: 35rem;
    
}

.text-nosotros {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
}

.heading-1 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #0A1F44;
}

.container-us {
    font-size: 1.25rem;
    font-weight: 300;
    color: #333;
    font-family: 'Roboto', sans-serif;
    color: black;
}

.container-nosotros img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
}

/* FONDO FIJO 1 */

.Fondo1 {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 25rem;
    width: 100%;
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.Eslogan1 {
    color: white; /* Color de texto blanco */
    text-align: center; /* Centrado del texto */
    font-size: 3.5rem; /* Tamaño de fuente (ajusta a tu gusto) */
    margin: 0;
}

/* SECCION DOBLE TEXTO */

.container-texto {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 2rem;
    background-color: #f6f6f6;
    flex-wrap: wrap;
    height: 20rem;
}

.container-texto1,
.container-texto2 {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.heading-2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0A1F44;
    text-transform: uppercase;
}
.heading-3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0A1F44;
    text-transform: uppercase;
}

.container-texto p {
    font-size: 1rem;
    line-height: 1.6;
    color: black;
}

/* FONDO FIJO 2 */

.Fondo2 {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 25rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Eslogan2 {
    color: white; /* Color de texto blanco */
    text-align: center; /* Centrado del texto */
    font-size: 3.5rem; /* Tamaño de fuente (ajusta a tu gusto) */
    margin: 0;
}

/* ESPACIOS */

.container-espacios {
    text-align: center;
    padding: 4rem 2rem;
}

.container-espacios h2{
    font-size: 1rem;
}

.heading-4 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #0A1F44;
}

.locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.location {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 300px;
}



/* FOOTER */

.footer {
    background: #041c42;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: center;
  align-items: flex-start;
}

.footer-section {
  min-width: 250px;
  text-align: left;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  list-style: none;
}

.footer-section a {
  color: #f0f0f0;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #ccc;
}

.edit-icon {
    margin-left: 8px;
    color: orange;
    cursor: pointer;
    font-size: 0.9rem;
}







/* =============================
   ESTILOS PARA CELULARES (≤ 768px)
   ============================= */
@media screen and (max-width: 768px) {

  /* BASE GENERAL */
  body {
    font-size: 16px;
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
  }

 /* HEADER y NAVBAR */
 .hero {
    display: flex;
    top: 49px;
  }
  
  .left-hero {
    display: flex;
}

.customer-support,
.customer-contact {
    display: none;
}


.container-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.5rem;
}


  .container-navbar {
    display: none;
  }
  
  .mobile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: white;
    z-index: 1000;
  }

  .mobile-logo {
    height: 40px; /* Ajusta según tamaño deseado */
    width: auto;
  }

  .mobile-title {
    color: #041c42;
    font-size: 1.3rem;
    margin: 0;
  }

  
  /* BANNER */
  .banner {
    height: 700px;
    padding: 3rem 1rem;
    text-align: center;
    top: 70px;
  }

  .content-banner h2 {
    font-size: 2.8rem;
  }

  .content-banner a {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }

  /* SECCIÓN NOSOTROS */
  .container-nosotros {
    flex-direction: column;
    height: auto;
    top: 200px;
    padding: 1rem .5rem;
    gap: 1rem;
    text-align: center;
  }

  .text-nosotros {
    font-size: 2.5rem;
  }

  .container-us {
    font-size: 1.1rem;
  }

  .container-nosotros img {
    max-width: 90%;
    font-size: 3rem;
  }

  /* FONDOS */
  .Fondo1,
  .Fondo2 {
    background-attachment: scroll;
    height: auto;
    padding: 3rem 1rem;
    text-align: center;
  }

  .Eslogan1,
  .Eslogan2 {
    font-size: 2.2rem;
  }

  /* SECCIÓN DOBLE TEXTO */
  .container-texto {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .container-texto1,
  .container-texto2 {
    max-width: 100%;
    padding: 1.5rem;
  }

  .heading-2,
  .heading-3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .container-texto p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  /* ESPACIOS */
  .container-espacios {
    padding: 2rem 1rem;
  }

  .heading-4 {
    font-size: 2.4rem;
  }

  .locations {
    gap: 1.2rem;
  }

  .location {
    width: 100%;
    max-width: 360px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-copy {
    font-size: 1rem;
  }
}









/* =============================
   ESTILOS ESPECIALES PARA DISPOSITIVOS MUY PEQUEÑOS (≤ 375px)
   ============================= */
@media screen and (max-width: 375px) {

  /* BASE GENERAL */
  body {
    font-size: 16px;
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
  }
  
  .mobile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: white;
    z-index: 1000;
  }

  .mobile-logo {
    height: 30px; 
    width: auto;
  }

  .mobile-title {
    color: #041c42;
    font-size: 1.3rem;
    margin: 0;
  }

  
  /* BANNER */
  .banner {
    height: 700px;
    padding: 3rem 1rem;
    text-align: center;
    top: 30px;
  }

  .content-banner h2 {
    font-size: 2.8rem;
  }

  .content-banner a {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }

  /* SECCIÓN NOSOTROS */
  .container-nosotros {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    gap: 2rem;
    text-align: center;
    top: 84px;
  }

  .text-nosotros {
    font-size: 1rem;
  }

  .container-us {
    font-size: 1rem;
  }

  .container-nosotros img {
    max-width: 90%;
  }

  /* FONDOS */
  .Fondo1,
  .Fondo2 {
    background-attachment: scroll;
    height: auto;
    padding: 3rem 1rem;
    text-align: center;
  }

  .Eslogan1,
  .Eslogan2 {
    font-size: 2.2rem;
  }

  /* SECCIÓN DOBLE TEXTO */
  .container-texto {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .container-texto1,
  .container-texto2 {
    max-width: 100%;
    padding: 1.5rem;
  }

  .heading-2,
  .heading-3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .container-texto p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  /* ESPACIOS */
  .container-espacios {
    padding: 2rem 1rem;
  }

  .heading-4 {
    font-size: 2.4rem;
  }

  .locations {
    gap: 1.2rem;
  }

  .location {
    width: 100%;
    max-width: 360px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-copy {
    font-size: 1rem;
  }
}













