* {
    margin: 0; padding: 0; box-sizing: border-box;
  }
html, body {
height: 100%;
overflow: hidden;
font-family: 'Satoshi', sans-serif;
background: white;
color: black;
font-weight: 400;
font-size: 20px;
line-height: 1.5;
}
/* Header fijo */
header {
  background: black;
}
.logo {
font-weight: bold;
font-size: 1.5rem;
letter-spacing: 1px;
cursor: pointer;
}
.header-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
font-size: 1.25rem;
font-weight: 600;
pointer-events: none; /* Para que no interfiera con clicks */
}
/* Botón hamburguesa */
.hamburger {
width: 30px;
height: 22px;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.hamburger span {
display: block;
height: 4px;
background: white;
border-radius: 2px;
transition: all 0.3s ease;
}
/* Animación del botón hamburguesa cuando está activo */
.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
opacity: 0;
}
.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translate(6px, -6px);
}

/* Menú lateral */
nav.menu {
position: fixed;
top: 60px;
right: -250px;
width: 250px;
height: calc(100% - 60px);
background: #111;
box-shadow: -4px 0 12px rgba(0,0,0,0.6);
transition: right 0.35s ease;
z-index: 999;
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
font-size: 1.1rem;
}
nav.menu.open {
right: 0;
}
nav.menu a {
color: white;
text-decoration: none;
border-bottom: 1px solid transparent;
padding-bottom: 4px;
transition: border-color 0.3s ease;
}
nav.menu a:hover {
border-bottom: 1px solid #ffca3a;
}

/* Carrusel se mueve abajo del header */
.carrusel-container {
display: flex;
flex-direction: row;
width: 500vw;
height: calc(100vh);
transition: transform 0.3s ease-out;
scroll-behavior: smooth;
}
.slide {
position: relative;
flex: 0 0 100vw;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px 20px 80px;
text-align: center;
opacity: 0;
transform: scale(0.95);
transition: opacity 0.6s ease, transform 0.6s ease;
user-select: none;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.4);
}
.slide.visible {
opacity: 1;
transform: scale(1);
}
.slide h1 {
font-size: 3.5rem;
margin-bottom: 0.3em;
z-index: 2;
  font-family: 'Satoshi', sans-serif;
  color: white;
  font-weight: 900;
  line-height: 70px;
  max-width: 100%;
  margin-top: 7rem;
}

.slide h1 span{

  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  margin-top: 50px;
    
}
.slide p {
font-size: 1.6rem;
margin-bottom: 2em;
max-width: 450px;
z-index: 2;
  font-size: 22px;
  font-family: 'Satoshi', sans-serif;
  font-style: bold;
  color: white;
}
.slide a.button-link {
cursor: pointer;
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
transition: background-color 0.3s ease;
z-index: 2;
  display: block;
  margin-bottom: 50px;
  border-radius: 30px;
  width: 60px;
  height: 60px;
  position: fixed;
    bottom: 40px;
}
.slide a.button-link:hover {
background-color: black !important;
}

/* Background images para cada slide */
.slide:nth-child(1) { background-image: url('../images/landing.webp'); }
.slide:nth-child(2) { background-image: url('../images/vecto_uno.webp'); }
.slide:nth-child(3) { background-image: url('../images/vector-dos.webp'); }
.slide:nth-child(4) { background-image: url('../images/vector-tres.webp'); }
.slide:nth-child(5) { background-image: url('../images/vector-cuatro.webp'); }


/* Navbar */
.navbar.bg-dark.azm-navbar {
  background-color: transparent !important;
  backface-visibility: hidden;
  padding-top: 25px;
}

.navbar.bg-dark.azm-navbar .dropdown-menu { background-color: #3d3d3d; }



.azm-navbar .nav-link { font-size: 1.6rem; color: white; font-family: 'Satoshi', sans-serif; font-weight: 700; text-align: right;
  padding-right: 100px;  }

.azm-navbar .nav-link:hover { font-family: 'Playfair Display'; font-style: italic;}

.azm-navbar .dropdown-menu { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }


.azm-navbar .navbar-toggler:focus { background: none; outline: 0; box-shadow: none; }

.azm-navbar .navbar-toggler span {
  display: block; width: 22px; height: 2px; margin: 6px auto; background: white;
  transition: all .6s cubic-bezier(0.250, 0.100, 0.250, 1.000);
}
.azm-navbar .navbar-toggler:hover span,
.azm-navbar .navbar-toggler:focus span { background: #fff; }

/* rotate first span */
.azm-navbar .navbar-toggler[aria-expanded="true"] span:first-of-type { transform: rotate(45deg) translate(6px, 6px); background: white !important; }
/* hide second span */
.azm-navbar .navbar-toggler[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
/* rotate third span */
.azm-navbar .navbar-toggler[aria-expanded="true"] span:last-of-type { transform: rotate(-45deg) translate(5px, -5px); background: white !important; }

.azm-navbar .navbar-toggler[aria-expanded="false"] span { transform: none; opacity: 1; }
#toggle-burguer{
  border: none;
  width: 42px;
  height: 42px;
  padding: 0;
  z-index: 101;
  position: fixed;
  right: 30px;
}

.title {
  font-family: 'Satoshi', sans-serif;
  color: white;
  font-weight: bold;
  display: inline-block;
    text-align: center;
    margin: 10px auto;
}
.title span{
  position: relative;
  left: -75px;
}

.navbar-collapse{
  background: black;
    top: 0;
    position: fixed;
    width: 60%;
    right: 0;
    z-index: 100;
    padding-top: 90px;
    padding-bottom: 90px;
    height: 100%;
}
.btn-ver-mas{
  background: transparent !important;
  border: solid 1px white;
}

.color-black span{
  background: black !important;
}

.card-nav {
  position: relative;
  border: none;
  padding: 0;
  width: 180px;
  height: 90px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: transparent;
  transition: background-color 0.3s ease;
  text-align: center;
}

.card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: filter 0.3s ease;
  z-index: 1;
}

.card-title {
  position: relative;
  z-index: 2;
  padding: 45px;
  font-weight: bold;
  text-align: center;
  user-select: none;
  margin: 0 auto;
  font-size: 13px;
  line-height: 17px;
}

.card-nav.active {
  border: none;
  color: white;
  text-decoration: underline;
}

.card-nav.active .card-img {
  filter: brightness(1);
}

.card-nav:hover {
  border: none;
  color: white;
  text-decoration: underline;
}
.nav-cards {
  position: fixed;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 15px;
}

.bg-b .navbar-collapse{
  background: black;
}

.bg-r .navbar-collapse{
  background: #E53E51;
}

.bg-p .navbar-collapse{
  background: #F88D2A;
}

.bg-a .navbar-collapse{
  background: #624B78;
}

.bg-s .navbar-collapse{
  background: #3D7CC9;
}

.bg-e .navbar-collapse{
  background: #4A9462;
}

/* Default: Extra-small devices such as small phones (less than 640px) */

/* Small devices such as large phones (640px and up) */
@media only screen and (min-width: 640px) {}

/* Medium devices such as tablets (768px and up) */
@media only screen and (max-width: 767px) {
  .slide h1 {
    font-size: 2.1rem !important;
    line-height: 50px !important;
    padding-top: 0px !important;
    margin-top: 4rem;
  }
  .slide p {
    font-size: 0.8rem !important;
  }
  .slide a.button-link {
    bottom: 90px;
  }
  .slide {
    padding: 0px 20px 80px;
  }
  .azm-navbar .nav-link{
    font-size: 17px;
    padding-right: 30px;
  }
}

/* Medium devices such as tablets (992px and down) */
@media only screen and (max-width: 992px) {
  #toggle-title,
  #miDiv{
    display: none !important;
  }
  #toggle-burguer{
    background: #E53E51;
  }
  .color-black span{
    background: white !important;
  }
}

/* Large devices such as laptops (1024px and up) */
@media only screen and (min-width: 1024px) {}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (min-width: 1280px) {}

@media (orientation: landscape) {
  .slide a.button-link {
      bottom: 0px;
  }
}