* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

:root{
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;

  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 992px;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; 
  font-family: var(--font-sans);
  font-synthesis-weight: none;  
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.topbar {
  background-color: white;
  padding: 5px 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons a {
  display: inline-block;
  text-decoration: none;
}

.social-icons img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-sizing: content-box;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.social-icons img:hover {
  transform: scale(1.1);
}

@media (hover: hover){
  .social-icons img:hover{ transform: scale(1.1); }
}


.nav-bar {
  background: transparent;
  padding-left: 0;
  padding-right: 0; 
  position: relative; 
  width: 100%;  
  z-index: 10;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInRight 0.8s ease-out forwards;

}

.logo {
  position: absolute;
  top: 0;     
  left: 100px;    
  z-index: 20;
}

.logo img {
  height: 180px;   
  width: auto;
  max-width: none;
  object-fit: contain;
}

.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle .bar{
  position: relative;
  width: 22px; height: 2px;
  background: #111;
  border-radius: 2px;
}

.nav-toggle{ display: none; }

.nav-toggle .bar::before,
.nav-toggle .bar::after{
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle .bar::before{ top: -6px; }
.nav-toggle .bar::after{  top:  6px; }

.menu-box {
  background-color: #620000;
  padding: 0 40px;
  min-height: 70px;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-left: auto;
  max-width: 950px; 
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  order: 3; 

}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  padding-left: 100px;
  padding-right: 10px;
}

.nav-links li a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding-bottom: 6px;
  position: relative;
  font-size: 18px;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: white;
  transform: scaleX(0);
  transform-origin: right;  
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
  transform-origin: left;   
}

.nav-shadow {
  width: 600px; 
  background-color: white;
  border-bottom-left-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 20px;
  margin-top: 0px;
  margin-left: auto;
  animation: slideInRight 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.hero-header {
  background-image: url("../assets/images/header-home.jpeg"); 
  background-size: cover;
  background-position: center;
  position: relative;
  height: 750px;  
  top: -88px;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0)); 
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding-left: 120px;
}

.text-block {
  color: white;
  text-align: left;
  max-width: 600px;
}

.text-block h1 {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
  animation: slideDownFade 1s ease-out forwards;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.decorative-line {
  width: 200px;              
  height: 4px;
  background-color: #620000;  
  margin: 20px 0;          
  border-radius: 5px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); 
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right, #7c0000, #c40000);
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  animation: slideUpFade 1s ease-out forwards;
  opacity: 0;
  transition: background 0.3s ease;
}

.cta-inner {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-weight: bold;
  padding-left: 30px;
  padding-right: 10px;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-inner {
  transform: scale(1.05);
  cursor: pointer;
}

.cta-button:hover{
  background: linear-gradient(to right, #c40000, #7c0000 );
}



@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.cta-button span {
  white-space: nowrap; 
}



.icono-flecha {
  width: 50px;   
  height: auto;
  flex-shrink: 0;
}

.floating-cards-section {
  position: relative;
  top: -200px; 
  z-index: 5;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: -320px; 
}

.cards-container {
  display: flex;
  gap: 60px;
  height: 100%;
  background: transparent;
  animation: slideFadeUp 1s ease forwards;
  opacity: 0;
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  padding: 30px 25px;
  width: 350px;
  max-height: 800px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.card h3 {
  color: #620000;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}

.card .linea {
  width: 200px;
  height: 3px;
  background-color: #620000;
  margin: 10px auto;
  border-radius: 2px;
}

.card p {
  font-size: 18px;
  color: #2a2a2a;
  margin-bottom: 30px;
  line-height: 1.6;
}

.info-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(to right, #7c0000, #c40000);
  color: white;
  padding-left: 20px;
  border-radius: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  font-size: 18px;
}

.info-button:hover {
  background: linear-gradient(to right, #c40000, #7c0000);
  transform: scale(1.05);
}

.icon-button-cards {
  position: relative;
  width: 50px;
  height: 40px;
  flex-shrink: 0; 
}

.cotizar-section {
  background-color: #f4f4f4;
  padding: 100px 140px;
  padding-top: 250px;
  position: relative;
  z-index: 1;
}

.cotizar-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.cotizar-text {
  flex: 1;
  max-width: 400px;
}

.cotizar-subtitulo {
  background-color: #620000;
  color: white;
  padding: 10px 140px;
  border-top-right-radius: 50px;
  font-weight: bold;
  display: inline-block;
  width: 500px;
  margin-bottom: 20px;
  position: relative;
  left: -140px;
}

.cotizar-titulo {
  color: #620000;
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 10px;
}

.cotizar-linea {
  width: 160px;
  height: 4px;
  background-color: #620000;
  border-radius: 5px;
  margin-bottom: 20px;
}

.cotizar-descripcion {
  font-size: clamp(1rem, 1vw + 0.9rem, 1.6rem);
  color: #2a2a2a;
  margin-bottom: 40px;
  max-width: 400px;
  line-height: 1.6;
}

.cotizar-btn {
  height: 50px;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(to right, #7c0000, #c40000);
  color: white;
  padding-left: 30px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
  animation: bounce 2s infinite;
}

.cotizar-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #c40000, #7c0000);
}

.flecha-cotizar {
  width: 50px;
  height: auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}


.cotizar-imagenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 100%;
  width: 100%;
  place-items: center;
  align-items: center;
}

.img-avion {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 400px;
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
  object-fit: cover;
}

.img-camion {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: 400px;
  border-bottom-right-radius: 80px;
  border-top-left-radius: 80px;
  object-fit: cover;
}

.elegirnos-section {
  background-color: #fff;
  padding: 80px 100px;
  padding-bottom: 150px;
  text-align: center;
}

.elegirnos-titulo {
  color: #620000;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.elegirnos-linea {
  width: 150px;
  height: 4px;
  background-color: #620000;
  border-radius: 5px;
  margin: 0 auto 20px auto;
}

.elegirnos-descripcion {
  font-size: clamp(1rem, 0.9vw + 1rem, 1.5rem);
  color: #2a2a2a;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.elegirnos-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.elegir-card {
  background: linear-gradient(to bottom, #600000, #7c0000);
  color: white;
  border-radius: 12px;
  padding: 30px 20px;
  width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.elegir-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.elegir-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elegir-icono {
  width: 90px;
  height: 90px;
  background-color: white;
  border-radius: 50%;
  margin: -60px auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.596);

}

.elegir-icono img {
  width: 40px;
  height: 40px;
}

.elegir-titulo {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.elegir-texto {
  font-size: 14px;
  line-height: 1.6;
  color: #e2e2e2;
}


@media (min-width: 480px){
  .topbar{ padding: 6px 24px; }
  .social-icons{ gap: 14px; }
  .social-icons img{ width: 26px; height: 26px; }

  
}

@media (min-width: 768px){
  .topbar{
    padding: 5px 36px;
    justify-content: flex-end;  
  }
  .social-icons{ gap: 18px; }
  .social-icons img{ width: 28px; height: 28px; }
  
}

@media (min-width: 992px){
  .topbar{ padding: 5px 50px; }
  .social-icons{ gap: 20px; }
  .social-icons img{ width: 30px; height: 30px; }

  
}

@media (max-width: 991.98px){

  .nav-bar .logo img{ display:none; }

  .nav-bar .logo::after{
    content:"";
    display:block;
    width: 120px;   
    height: 56px;
    background: #620000;
    -webkit-mask: url("../assets/images/LogoJaesWhite.png") no-repeat center / contain;
            mask: url("../assets/images/LogoJaesWhite.png") no-repeat center / contain;
  }

  .nav-content{
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
  }

  .logo{
    position: static;
    top: auto;
    left: auto;
  }
  .logo img{
    height: 56px;    
    width: auto;
    object-fit: contain;
    display: block;
  }

  .menu-box{
    margin: 8px 16px 0;
    padding: 8px 12px;
    display: block;
    width: 100%;
    min-height: 0;
    border-radius: 10px;           
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
  }

  .nav-links{
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 8px 0;
    overflow: hidden;
    max-height: 0;                  
    transition: max-height .28s ease;
  }
  .nav-links.is-open{             
    max-height: 420px;             
  }

  .nav-shadow{ display: none; }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle .bar{
    position: relative;
    width: 22px; height: 2px;
    background: #111;
    border-radius: 2px;
  }
  .nav-toggle .bar::before,
  .nav-toggle .bar::after{
    content: "";
    position: absolute;
    left: 0;
    width: 22px; height: 2px;
    background: #111;
    border-radius: 2px;
    transition: transform .25s ease, top .25s ease;
  }
  .nav-toggle .bar::before{ top: -6px; }
  .nav-toggle .bar::after{  top:  6px; }

  .nav-toggle[aria-expanded="true"] .bar{ background: transparent; }
  .nav-toggle[aria-expanded="true"] .bar::before{ top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar::after{  top: 0; transform: rotate(-45deg); }

  .nav-links li a{ display: inline-block; padding: 8px 12px; }

    .hero-header{
    height: 520px;                 
    top: 0;                        
    background-position: center top;
  }

  .hero-overlay{
    background: linear-gradient(to right, rgba(0,0,0,0.70), rgba(0,0,0,0.20));
    align-items: flex-end;          
    padding-block: 24px;            
  }

  .hero-content{
    flex-direction: column;         
    justify-content: flex-end;
    align-items: flex-start;
    gap: 14px;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding-left: 16px;            
    padding-right: 16px;
  }

  .text-block{
    max-width: none;
    text-align: left;
  }

  .text-block h1{
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .decorative-line{
    width: 140px;
    height: 3px;
    margin: 12px 0;
  }

  .cta-button{
    border-radius: 12px;
  }

  .cta-inner{
    padding-left: 18px;            
    padding-right: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    gap: 10px;
  }

  .icono-flecha{
    width: 36px;                   
    height: auto;
  }

  .floating-cards-section{
    top: 0;
    margin-bottom: 24px;         
    padding-inline: 16px;        
  }

  .cards-container{
    gap: 24px;                   
    flex-wrap: wrap;              
    justify-content: center;
  }

  .card{
    width: clamp(260px, 48%, 360px);
    padding: 22px 18px;           
    max-height: none;            
  }

  .card h3{
    font-size: 18px;
    margin-bottom: 10px;
  }

  .card .linea{
    width: 140px;
    height: 3px;
    margin: 10px auto;
  }

  .card p{
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.55;
  }

  .info-button{
    gap: 12px;                  
    font-size: 16px;             
    padding-left: 16px;         
    border-radius: 12px;
  }

  .icon-button-cards{
    width: 40px;
    height: 34px;
  }

  @media (prefers-reduced-motion: reduce){
    .cards-container{ animation: none; }
  }

  .cotizar-section{
    padding: 80px 32px;      
    padding-top: 140px;     
  }

  .cotizar-content{
    gap: 32px;               
    align-items: center;
  }

  .cotizar-text{
    max-width: 520px;       
  }

  .cotizar-subtitulo{
    left: 0;
    width: auto;
    padding: 10px 24px;     
    border-top-right-radius: 40px;
    display: inline-block;
    margin-bottom: 16px;
  }

  .cotizar-titulo{
    font-size: 32px;         
    margin-bottom: 10px;
  }

  .cotizar-linea{
    width: 140px;
    height: 3px;
    margin-bottom: 16px;
  }

  .cotizar-descripcion{
    font-size: 16px;        
    max-width: 100%;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .cotizar-btn{
    height: 40px;
    font-size: 18px;        
    gap: 12px;
    padding-left: 20px;      
    border-radius: 10px;
  }

  .flecha-cotizar{ width: 40px; }

  .cotizar-imagenes{
    display: grid;
    grid-template-columns: 1fr;   
    gap: 16px;
    justify-items: center;       
    width: 100%;
  }

  .img-avion,
  .img-camion{
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 90%;
    max-width: 420px;          
    aspect-ratio: 4 / 3;        
    object-fit: cover;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    display: block;
  }
}




