:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray: #828282;
  --color-steel: #669096;
  --color-blue-dark: #01909E;
  --color-blue-medium: #39A0A8;
  --color-teal: #11BE97;
  --color-cyan: #32C2CD;
  --color-purple-dark: #1C0E43;
  --color-blue-soft: #CBEFED;
  --color-black-55: rgba(0, 0, 0, 0.55);
  --color-blue-muted: #a5d0d4;
  --color-gray-light: #D9D9D9;
  --color-white-soft: #F8FFFF;
}



body {
  font-family: 'Istok Web', sans-serif !important;
  background-color: var(--color-white-soft);
}

a, p, h1, h2, h3, h4, h5, h6 {
  font-family: 'Istok Web', sans-serif !important;
 
}



[id^="nosotros"] {
  scroll-margin-top: 90px; /* o el alto exacto de tu navbar */
}

header {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px 0;
  text-align: center;
}

footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 10px 0;
  text-align: center;
}

.navbar-brand img {
  max-width: 300px;
  transition: max-width 0.3s ease-in-out;
}

.navbar.scrolled .navbar-brand img {
  max-width: 150px;
}

.navbar {
  transition: all 0.3s ease-in-out;
}

.navbar .mod-menu .nav-item .nav-link,
.navbar .mod-menu .nav-item a {
  color: var(--color-white) !important;
  text-transform: uppercase !important;
  font-size: 1.5em !important;
  padding: 0.5rem 1rem !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

.navbar.scrolled .navbar .mod-menu .nav-item .nav-link,
.navbar.scrolled .navbar .mod-menu .nav-item a {
  font-size: 1.3em !important;
}

@media (max-width: 767px) {
  .navbar .mod-menu .nav-item .nav-link,
  .navbar .mod-menu .nav-item a {
    font-size: 1.2em !important;
    padding: 0.4rem 0.8rem !important;
  }
}

.navbar .d-flex a {
  color: var(--color-white) !important;
  font-size: 30px !important;
}

.navbar .d-flex a:hover {
  color: var(--color-blue-dark) !important;
}

.navbar .d-flex a span {
  font-size: 16px !important;
  color: var(--color-white) !important;
  margin-left: 8px;
}

#logo {
  transition: all 0.3s ease-in-out;
}

.navbar.scrolled #logo {
  max-width: 150px !important;
}

.navbar.fixed-top {
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

.seccion-hero {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background-size 0.2s ease-out;
}


.seccion-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: var(--color-black-55);
  z-index: 2;
}

.seccion-hero > * {
  position: relative;
  z-index: 3;
}

.hero-logo {
  max-width: 500px !important;
  width: 80%;
  height: auto;
}

.btn-primary {
  background-color: var(--color-blue-medium) !important;
  border-color: var(--color-blue-medium) !important;
  color: var(--color-white) !important;
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-blue-muted) !important;
  border-color: var(--color-blue-muted) !important;
  color: var(--color-purple-dark) !important;
}
/* Tamaño por defecto (móvil primero): ya lo tienes, pero lo dejamos aquí para claridad */
.btn-primary {
  font-size: 1rem !important;
  padding: 0.6rem 1.5rem;
}

/* Para pantallas mayores a 768px (escritorio y tablets grandes) */
@media (min-width: 768px) {
  .btn-primary {
    font-size: 2rem !important;
    padding: 1rem 2.5rem;
  }
}




.navbar-brand img {
  max-width: 300px;
  transition: max-width 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  max-width: 150px;
}

@media (max-width: 768px) {
  .navbar {
    background-color: var(--color-black) !important;
  }

  .navbar-brand {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .navbar-brand img {
    max-width: 100px !important;
  }

  .navbar .navbar-collapse {
    justify-content: center;
  }

  .navbar-brand {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    height: 0;
    overflow: hidden;
  }

  .navbar.scrolled .navbar-brand {
    opacity: 1;
    transform: translateY(0);
    height: auto;
  }

  .navbar.scrolled .navbar-brand img {
    max-width: 100px !important;
  }
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.lead {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .lead {
    font-size: 1.1rem;
  }
}


/* Sección 2 */
.seccion-2 {
  background-color: var(--color-white);
  width: 100%;
}

.img-cuadrada-sombra {
  width: 300px;
  height: 300px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background-color: var(--color-white);
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover SOLO en pantallas mayores a 768px */
@media (min-width: 768px) {
  .img-cuadrada-sombra:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }
}


.seccion2-titulo {
  font-size: 2.5rem;
  font-weight: bold;
   color: var(--color-blue-dark) !important;
}

.seccion2-descripcion {
  font-size: 1.2rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto;
}

.item-titulo {
  font-size: 1.5rem;
  font-weight: 600;
   color: var(--color-blue-dark) !important;
  margin-bottom: 10px;
}

.item-texto {
  font-size: 1.2rem;
  color: var(--color-gray);
}
@media (max-width: 768px) {
  .item-titulo {
    font-size: 1.2rem;
  }

  .item-texto {
    font-size: 1rem;
  }
}

/*seccion3*/

.seccion-3 {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


.seccion-3 > * {
  position: relative;
  z-index: 3;
}


/*nice hr*/

.nice-hr {
  border: none;
  height: 5px;
  width: 200px;
  background-color: var(--color-teal);
  margin: 1rem auto 2rem auto;
  opacity: 1;              /* fuerza opacidad total */
  background-image: none;  /* elimina degradados heredados */
  border-radius: 5px;
}