body {
  font-family: 'Lato', arial, sans-serif;
  color: black;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: black;
}
.table i {color:#072c5d;}
.table a {color:#333;font-weight:700;text-decoration:none;}
.table a:hover {color:#b72b2c;}
a {
  color: #333;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-weight: 700;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #b72b2c;
}
.carousel-inner a {font-weight:500;}
.btn-success, .btn-info, .btn-danger {color:white !important;}
.btn-success:hover, .btn-success:focus, .btn-success.focus, .btn-success:active, .btn-success.active, .open>.dropdown-toggle.btn-success {color:white;}
.profile-container i {font-size:35px; color:#072c5d;margin-right:6px;}
.nav>li>a {
  padding:10px 11px;
}
#map-container {
  height: 500px;
  overflow: hidden;
}
.offset-header-banner{padding-top:70px;}
.header a {text-decoration: none;font-weight:500;}
.footer a {color: #fff;}
.dropdown-menu {z-index:20000;}
.navbar {margin-bottom:0px; padding: 10px 6px;}
.navbar a {text-decoration: none; font-size:17px; font-family: 'Montserrat', sans-serif;font-weight:500;}
.dropdown-menu>li>a {padding:15px 6px;}
.dropdown-menu .btn {text-align:left;}
.red-row {background-color:#8C0000 !important; color:white;}
.red-row a {color:white;}
i.profile {font-size:100px;}
img.pilot-profile-image {max-height:200px;}
i.profile-small {font-size:30px;}
img.pilot-profile-image-small {width:30px; height:30px;}
.interest-panel {font-size:12px;line-height:30px;}
.interest-panel .row {min-height:37px;}
.interest-panel hr {margin-top:3px; margin-bottom:3px;}
.interest-panel button {margin-top:5px;}
.interest-users {max-height:120px; overflow-y:scroll;}
.registrations-panel {font-size:14px;line-height:30px;}
.registrations-panel .row {min-height:37px;}
.registrations-panel hr {margin-top:3px; margin-bottom:3px;}
.registration-items {max-height:250px; overflow-y:scroll;}
.event-panel {min-height:165px;}
.navbar-default {background-color:white;border:none;top:-20px;}
.activity-card-container {width:350px;height:350px;float:left;margin-right:30px;margin-bottom:30px;}
.activity-card-hidden {display:none;opacity:0.8;background-color:#333;font-size: 25px;z-index:99;width:350px;height:350px;cursor:pointer;}
.activity-card-hidden div {bottom: 0;opacity: 1;color:white;height:90px;background-color: black;width:350px;margin-bottom:15px;z-index:100;padding:15px;font-size:20px;}
.activity-card-hidden a {color:white;text-decoration:none;opacity: 1;}

.activity-card-container2 {width:350px;height:200px;float:left;margin-right:30px;margin-bottom:30px;}
.activity-card-hidden2 {display:none;opacity:0.8;background-color:#333;font-size: 25px;z-index:99;width:350px;height:200px;cursor:pointer;}
.activity-card-hidden2 div {bottom: 0;opacity: 1;color:white;height:90px;background-color: black;width:350px;margin-bottom:15px;z-index:100;padding:15px;font-size:20px;}
.activity-card-hidden2 a {color:white;text-decoration:none;opacity: 1;}

.btn,
a.btn {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  font-family: 'Montserrat', arial, sans-serif;
  padding: 8px 16px;
  font-weight: bold;
}
.btn .fa,
a.btn .fa {
  margin-right: 5px;
}

a.btn {text-decoration:none !important;}
a.scrollto {color:white; text-decoration: none}

.panel-title {font-family: 'Lato', arial, sans-serif; font-weight:400; font-size:22px;}
.metar-table table {width:95%;}
.metar-table td {padding:5px;}

.progress-bar {background-color:#b72b2c;}

/*  Leaflet Map Styling*/
.align-right {
  float:right;
  }
.label_content{
  position:relative;
  border-radius: 3px;
  padding:3px;
  color:#ffffff;
  background-color: #b72b2c;
  width:40px;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}
.label_content:after {
  content:'';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  height: 0;
  border-top: solid 5px #b72b2c;
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
}
.leaflet-popup-content p {
  font-size:14px;
  line-height: 22px !important;
  padding: 0 !important;
  margin: 0 !important;
  padding: 0;
}
.leaflet-popup-content div {
  margin-bottom: 10px;
}
.plane-icon {
  font-size: 27px;
  color: #072c5d;
}
/*  Leaflet Map Styling*/
.flightlog {
  max-height: 250px;
  overflow-y: scroll;

}
.activity-history{
  max-height:300px; overflow-y: scroll;
}
.pass {color:#00FF00;}
.fail {color:#B20000;}
.lg-text {font-size:30px;}
.btn:focus,
a.btn:focus {
  color: #fff;
}
a.btn-cta-primary,
.btn-cta-primary {
  background: #072c5d;
  border: 1px solid #072c5d;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}
a.btn-cta-primary:hover,
.btn-cta-primary:hover {
  background: #b72b2c;
  border: 1px solid #b72b2c;
  color: #fff;
}
a.btn-cta-secondary,
.btn-cta-secondary {
  background: #072c5d;
  border: 1px solid #072c5d;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

a.btn-cta-secondary:hover,
.btn-cta-secondary:hover {
  background: #b72b2c;
  border: 1px solid #b72b2c;
  color: #fff;
}
.text-highlight {
  color: #072c5d;
}
.offset-header {
  padding-top: 100px;
}
.offset-banner {
  padding-top: 70px;
}
pre code {
  font-size: 16px;
}

.roster .gold {font-size:30px; }
.roster .silver {font-size:30px; color:#c0c0c0;}
.roster .bronze {font-size:30px; color:#cd7f32;}

.row-space .row {margin-bottom:8px;}

/* ======= Profile ======= */
.profile .name {font-size:26px;}
.profile .social {font-size:30px; color:#333;}
.profile .row {margin-bottom:8px;}
/* ======= Header ======= */
.header {
  padding: 10px 0;
  background: linear-gradient(
  90deg,
  #38588f 0%,
  #38588f 10%,   /* zona clara hasta el 20% */
  #0d376f 20%,   /* transición rápida */
  #072c5d 100%   /* resto oscuro */
) !important;
  color: #fff;
  position: fixed;
  width: 100%;
  z-index: 9999;
}
.header.navbar-fixed-top {
   background: linear-gradient(
  90deg,
  #38588f 0%,
  #38588f 10%,   /* zona clara hasta el 20% */
  #0d376f 20%,   /* transición rápida */
  #072c5d 100%   /* resto oscuro */
) !important;
  z-index: 9999;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.header.navbar-fixed-top .logo a {
  color: #072c5d;
}
.header.navbar-fixed-top .main-nav .nav .nav-item a {
  color: #fff;
}
.header .logo {
  margin: 0;
  font-size: 34px;
  padding-top: 10px;
}

.header .logo a {
  color: #fff;
}
.header .logo a:hover {
  text-decoration: none;
}
.header .main-nav button {
   background-color: #072c5d !important;
  color: #fff !important;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.header .main-nav button:focus {
  outline: none;
}
.header .main-nav button .icon-bar {
  background-color: #fff;
}
.header .main-nav .navbar-collapse {
  padding: 0;
}
.header .main-nav .nav .nav-item {
  font-weight: normal;
  margin-right: 30px;
  font-family: 'Montserrat', sans-serif;
}
.header .main-nav .nav .nav-item.active a {
  color: #072c5d;
  background: none;
}
.header .main-nav .nav .nav-item a {
  color: white;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  font-size: 17px;
  padding: 15px 6px;
}
.header .main-nav .nav .nav-item a:hover {
  color: #b72b2c;
  background: none;
}
.header .main-nav .nav .nav-item a:focus {
  outline: none;
  background: none;
}
.header .main-nav .nav .nav-item a:active {
  outline: none;
  background: none;
}
.header .main-nav .nav .nav-item.active {
  color: #072c5d;
}
.header .main-nav .nav .nav-item.last {
  margin-right: 0;
}


.header .dropdown-menu a:hover {
  color:#666 !important;
}
.panel-default>.panel-heading {background-color:#fff;}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {border:none;}
.mini-stats-bar {width:1400px;}
.carousel-caption {bottom:80px;}
#myCarousel {
  margin:auto;
  
}
.carousel-caption { 
  background-color: rgba(0,0,0,.5); 
  width:750px;
  border-radius: 10px;
  margin:0 auto;
}
.carousel-caption h3 {
  color:white;
  font-size:40px;
}
.carousel-caption p {
  color:white;
  font-size:25px;
}

.container {position: relative !important;}
/* ======= Promo Section ======= */
.promo {
  background: #fff;
  color: #fff;
  height: auto;
}
.promobg {

}
.promo .title {
  font-size: 98px;
  color: #074f66;
  margin-top: 0;
}
.promo .title .highlight {
  color: #eebf3f;
}
.promo .intro {
  font-size: 37px;
  max-width: 750px;
  margin: 0 auto;
  margin-top:50px;
  text-shadow: black 0.1em 0.1em 0.2em;
}
.promo .btns .btn {
  margin-right: 15px;
  margin-top:50px;
  font-size: 18px;
  padding: 8px 30px;
}
.promo .meta {
  margin-top: 20px;
  margin-bottom: 30px;
  color: white;
}
.promo .meta li {
  margin-right: 15px;
}
.promo .meta a {
  color: #0a7396;
}
.promo .meta a:hover {
  color: #074f66;
}
.promo .social-media {
  background: #0c86ae;
  padding: 10px 0;
  margin: 0 auto;
}
.promo .social-media li {
  margin-top: 15px;
}
.promo .social-media li.facebook-like {
  margin-top: 0;
  position: relative;
  top: -5px;
}
/* ======= About Section ======= */
.about {
  padding: 30px 0;
  background: #f5f5f5;
}
.about img {
  display:block;
  margin:0 auto;
  margin-bottom:50px;
}
.about .title {
  color: #074f66;
  margin-top: 0;
  margin-bottom: 60px;
}
.about .intro {
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 60px;
}
.about .item {
  position: relative;
  margin-bottom: 30px;
}
.about .item .icon-holder {
  position: absolute;
  left: 30px;
  top: 0;
}
.about .item .icon-holder .fa {
  font-size: 24px;
  color: #074f66;
}
.about .item .content {
  padding-left: 60px;
}
.about .item .content .sub-title {
  margin-top: 0;
  color: black;
  font-size: 29px;
  text-align:center;
  font-weight: 200;
}

.stat-numbers {
  font-size:70px;
  font-weight: 400;
  color:black;
  text-align: center;
  line-height: 70px;
}

.stat-mini {
  text-align:center;
  font-size:21px;
}

.strip {
  height:15px;
  background: -webkit-linear-gradient(left, #b72b2c, #ce672d, #efbf43);
}
/* ======= Features Section ======= */
.features {
  padding: 80px 0;
  background: #1d2731;
  background-image:url(../images/about-bg.png);
  background-repeat:no-repeat;
  background-position: center;
  color: #fff;
  font-size:17px;
}
.features .title {
  color: white;
  margin-top: 0;
  margin-bottom: 30px;
}
.features .item .icon-holder {
  position: absolute;
  left: 30px;
  top: 0;
}
.features .item {
  position: relative;
  margin-bottom: 30px;
}
.features .item .icon-holder .fa {
  font-size: 45px;
  color: white;
}
.features a {
  color: white;
}
.features a:hover {
  color: #042a36;
}
.features .item .content {
  padding-left: 70px;
}
.features .item .content .sub-title {
  margin-top: 0;
  color: black;
  font-size: 29px;
  text-align:center;
  font-weight: 200;
}
/* ======= Map Section ======= */
.map {
  padding-bottom: 30px;
  background: white;
  color: black;
  font-size:15px;
}
.map .title {
  color: #074F66;
  margin-top: 0;
  margin-bottom: 30px;
}
.map .item .content {
  padding-left: 70px;
}
.map .item .content .sub-title {
  margin-top: 0;
  color: black;
  font-size: 29px;
  text-align:center;
  font-weight: 200;
}
/* ======= stats Section ======= */
.stats {
  padding: 0;

  background: white;
  color: black;
  font-size:17px;

}
.stats .title {
  color: #074F66;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight:200;
}
.stats .item .content {
  padding-left: 70px;
}
.stats .item .content .sub-title {
  margin-top: 0;
  color: black;
  font-size: 29px;
  text-align:center;
  font-weight: 200;
}
/* ======= Join Section ======= */
.join {
  padding-top: 20px;
  background: #EEE;
  color: #fff;
  font-size:17px;
}
.join .title {
  color: black;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight:200;
}
.join .item .content {
  padding-left: 70px;
}
.join .item .content .sub-title {
  margin-top: 0;
  color: black;
  font-size: 29px;
  text-align:center;
  font-weight: 200;
}

/* ======= License Section ======= */
.license {
  padding: 40px 0;
  background: #f5f5f5;
}
.license .title {
  margin-top: 0;
  margin-bottom: 60px;
  color: #074f66;
}
.license .license-inner {
  max-width: 800px;
  background: #fff;
  padding: 30px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  margin: 0 auto;
  margin-top:50px;
}
.license .info {
  max-width: 760px;
  margin: 0 auto;
}
.license .cta-container {
  max-width: 540px;
  margin: 0 auto;
  margin-top: 60px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.license .cta-container .speech-bubble {
  background: #d6f3fc;
  color: #074f66;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.license .cta-container .speech-bubble:after {
  position: absolute;
  left: 50%;
  bottom: -10px;
  margin-left: -10px;
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #d6f3fc;
}
.license .cta-container .icon-holder {
  margin-bottom: 15px;
}
.license .cta-container .icon-holder .fa {
  font-size: 56px;
}
.license .cta-container .intro {
  margin-bottom: 30px;
}
/* ======= Content Page ======= */
.cp {
 z-index:10;
}
/* ======= Footer ======= */
.footer {
  	padding: 15px 0;
  	background-color: #072c5d !important;
  	color: #fff;
}
.footer .copyright {
  -webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}
.footer .fa-heart {
  color: #fb866a;
}
.footer i {
  color:white;
  font-size:28px;
  margin-left:10px;
}
.footer i:hover {color:#b72b2c;}
.hidden {
  display:none;
}
.purple {
  color:#A300D9;
  font-weight:500;
}
.messageResponse {
  display:none;
}

.cookie-banner {
  position: fixed;
  bottom: 0px;
  width: 100%;
  padding-top: 10px;
  height: 57px;
  display: flex;
  color: white;
  background-color: #000;
  z-index: 1000;
}

  .cookie-banner p {
      width: 100%;
  }

  .cookie-banner button {
      margin-left: 10px;
  }
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 10312;
    display: none
}

    #loader:before {
        content: '';
        z-index: 10314;
        vertical-align: middle;
        margin: 0;
        font-size: 1em;
        position: absolute;
        text-indent: -9999em;
        border-top: 0.25em solid #b72b2c;
        border-right: 0.25em solid #b72b2c;
        border-bottom: 0.25em solid #b72b2c;
        border-left: .25em solid #fff;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation: loading 1.1s infinite linear;
        animation: loading 1.1s infinite linear;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        left: calc(50% - 2.5em);
        border-radius: 50%;
        width: 5em;
        height: 5em;
        display: inline-block
    }

    @-webkit-keyframes loading {
      0% {
          -webkit-transform: rotate(0deg);
          transform: rotate(0deg)
      }
  
      100% {
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg)
      }
  }
  
  @keyframes loading {
      0% {
          -webkit-transform: rotate(0deg);
          transform: rotate(0deg)
      }
  
      100% {
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg)
      }
  }

.gold {color:#F0CC00;}

.news-posted-by, .news-posted-by-main {margin-left:30px; color:#333; font-size:12px; }
.news-posted-by-main {margin-left:0px;}
.news-link {text-decoration: none !important; font-size:22px !important; font-weight:500 !important; margin-left:10px;}

.social-icons {color:black !important;}
.header .dropdown-menu a {
  color:black !important;
}
.profile-icon {
  width: 36px;
  height: 36px;
}


.modal {
    z-index: 10311;
}


@media (max-width: 1380px) {
  .mini-stats-bar {width:100%;}
  .stat-numbers {font-size:40px;}
  .about .item .content .sub-title {font-size:20px;}
  .about .item {margin-bottom:0;}
  .stat-mini {font-size:18px;}
  .carousel-caption {width:600px;}
  .carousel-caption h3 {font-size:28px;}
  .carousel-caption p {font-size:18px;}
  .carousel-caption {bottom:25px;}
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
  body{
    font-size:15px;
  }
  .about .item .content {padding-left:0px;}
  .about .item .content .sub-title {font-size:18px;}
  .stat-numbers {font-size:30px;line-height:30px;}
  .stat-mini {font-size:18px;}
  .about .item {margin-bottom:20px;}
  .stats {font-size:15px;}
.mini-stats-bar {width:100%;}
.panel-body {overflow-x:scroll}
.carousel-caption {display:none;}
  .header .main-nav button {
    margin-right: 0;
  }

  .header .main-nav .navbar-collapse {
    padding-left: 15px;
    padding-right: 15px;
  }
  .promo .btns .btn {
    margin-right: 0;
    clear: both;
    display: block;
    margin-bottom: 30px;
    margin-top:5px;
  }
  /* .promo {
    padding-top:70px;
    background: #fff url("./assets/images/banner.jpg") no-repeat scroll 0 center;
  } */
  .promo .title {
    font-size: 66px;
  }
  #platformimg {display:none;}
  .promo .intro {
    font-size:22px;
    text-shadow:none;
  }
  .promo .meta {
    margin-top: 5px;
  }
  .promo .meta li {
    float: none;
    display: block;
    margin-bottom: 5px;
  }
  .contact .author-message {
    text-align: center;
  }
  .contact .author-message .profile {
    position: static;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .contact .author-message .speech-bubble {
    margin-left: 0;
  }
  .contact .author-message .speech-bubble:after {
    display: none;
  }
  .contact .social-icons a {
    width: 36px;
    height: 36px;
    padding-top: 7px;
    margin-right: 2px;
  }
  .contact .social-icons a .fa:before {
    font-size: 18px;
  }
  
  /* .header .dropdown-menu a {
    color:white !important;
  } */
}
.error {color:red; font-size:17px;}
.white  {color:#fff !important;}
 /*Small devices (tablets, 768px and up) 
 Medium devices (desktops, 992px and up) 
 Large devices (large desktops, 1200px and up)*/
.bounce {
  display: inline-block;
  position: relative;
  -moz-animation: bounce 0.5s infinite linear;
  -o-animation: bounce 0.5s infinite linear;
  -webkit-animation: bounce 0.5s infinite linear;
  animation: bounce 0.5s infinite linear;
  color:000;
}
.img-responsive, .thumbnail>img, .thumbnail a>img, .carousel-inner>.item>img, .carousel-inner>.item>a>img {margin-left:auto;margin-right:auto;width:100%;max-height:550px;}
.fa-twitter{
  color: #027bdd;
  font-size: 30px;
  margin: 20px;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
  background-color:#072c5d;
  border-color:#072c5d;
}
/* ===== DataTables / Bootstrap pagination - Spanair ===== */

.pagination > li > a,
.pagination > li > span {
  color: #777;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
  color: #b72b2c;              /* naranja Spanair */
  background-color: #072c5d;   /* azul Spanair */
  border-color: #072c5d;
}

.pagination > .disabled > a,
.pagination > .disabled > span {
  color: #aaa;
  background-color: #f9f9f9;
  border-color: #ddd;
  cursor: not-allowed;
}

/* ===== Paginación tipo píldora continua ===== */

/* Quitar redondeo general */
.pagination > li > a,
.pagination > li > span {
  border-radius: 0;
}

/* Extremo izquierdo (Anterior) */
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

/* Extremo derecho (Siguiente) */
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

/* Texto "Mostrando X a Y..." más discreto */
.dataTables_info {
    font-size: 12px;
    color: #777;
}

@-webkit-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-moz-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-o-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-ms-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}

/* ===========================
   MEGA NAVBAR
   =========================== */
/* Item del navbar */
.nav-mega-wide {
    position: static !important;
}

/* Link del navbar */
#header .navbar-nav > li.nav-mega-wide > a {
    position: relative;
    z-index: 10000;
}

/* CONTENEDOR DESPLEGABLE */
#header .mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    width: 100vw;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    z-index: 9999;

    opacity: 0;
    transform: translateY(8px); /* ⬅ solo aquí */
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#header .mega-menu.open {
    opacity: 1;
    transform: translateY(0);   /* ⬅ perfectamente alineado */
    pointer-events: auto;
}

/* GRID PRINCIPAL: INFO + 2 COLUMNAS */
#header .mega-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
}

/* COLUMNA INFO */
#header .mega-info h4 {
    color: #072c5d;
    font-size: 20px;
    margin-bottom: 6px;
}

#header .mega-info p {
    font-size: 14px;
    line-height: 1.45;
    color: #444;
    margin: 0;
}

/* COLUMNA LINKS */
#header .mega-links {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    column-gap: 26px;
    row-gap: 10px;
}

/* LINKS */
#header .mega-menu .mega-links a,
#header .mega-menu .mega-links a:link,
#header .mega-menu .mega-links a:visited {
    position: relative;
    display: inline-block;
    padding: 6px 4px;
    font-weight: 700;
    font-size: 14px;
    color: #072c5d !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Línea inferior animada */
#header .mega-menu .mega-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #b72b2c;
    transition: width 0.25s ease, left 0.25s ease;
}

#header .mega-menu .mega-links a:hover {
    color: #b72b2c !important;
}

#header .mega-menu .mega-links a:hover::after {
    width: 100%;
    left: 0;
}

@media (max-width: 991px) {

    /* El li vuelve a flujo normal */
    .nav-mega-wide {
        position: static !important;
    }

    /* Mega menú integrado en el menú */
    #header .mega-menu {
        position: static;
        width: 100%;              /* ⬅ NO 100vw */
        background: #ffffff;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        /* OCULTO por defecto */
        display: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: none;
        padding: 10px 0;
    }

    /* Visible SOLO cuando está abierto */
    #header .mega-menu.open {
        display: block;
    }

    /* Navbar puede crecer */
    .navbar-collapse {
        max-height: none !important;
        overflow: visible !important;
    }

    /* Contenedor interno */
    #header .mega-container {
        max-width: 100%;
        padding: 10px 15px;
        display: block;
    }

    /* Info */
    #header .mega-info {
        margin-bottom: 12px;
    }

    #header .mega-info h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    #header .mega-info p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Links en una columna */
    #header .mega-links {
        display: block;
    }

    #header .mega-links a {
        display: block;
        padding: 10px 0;
        font-size: 14px;
    }

    /* Sin animaciones en móvil */
    #header .mega-links a::after {
        display: none;
    }
}

/* ===========================
   VIDEO PORTADA
   =========================== */
   
html, body {
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main.main-content {
  flex: 1;
}

.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-aspect-ratio: 21/9) {
  .video-background video {
    object-position: center 30%;
  }
}

@media (max-aspect-ratio: 4/3) {
  .video-background video {
    object-position: center 10%;
  }
}

.contenido {
  position: relative;
  z-index: 1;
  padding-top: 100vh;
  background-color: white;
}

/* Flecha scroll */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
  animation: bounce 2s infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.8;
}

.scroll-arrow:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.arrow-icon {
  width: 90px;
  height: 90px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

#next-section {
  scroll-margin-top: 60px; 
}

html {
  scroll-behavior: smooth;
}

/* ===========================
   BIENVENIDA – AJUSTE FINO
   =========================== */

#next-section {
  padding-top: 40px;
  padding-bottom: 45px;
  position: relative;
  background: transparent;
  scroll-margin-top: 60px; /* unificado */
}

/* Transición desde el vídeo */
#next-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08),
    rgba(0,0,0,0)
  );
}

/* Título */
#next-section h1 {
  margin-bottom: 6px;
}

/* Texto bienvenida */
#next-section h2 {
  font-weight: 400;
  font-size: 19px;
  color: #444;
  line-height: 1.45;
  margin: 0 auto 32px;
}

/* Pilares */
.block-animacion-zoom {
  padding: 18px 10px;
  transition: transform 0.3s ease;
}

.block-animacion-zoom:hover {
  transform: translateY(-6px);
}

.block-animacion-zoom h4 {
  color: #072c5d;
  font-weight: 600;
  position: relative;
}

.block-animacion-zoom h4::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #b72b2c;
  margin: 8px auto 0;
  transition: width 0.3s ease;
}

.block-animacion-zoom:hover h4::after {
  width: 80px;
}

.block-animacion-zoom p {
  font-size: 14px;
  line-height: 1.45;
  color: #555;
  margin-bottom: 0;
}

/* Reducir aire tras pilares */
#next-section .row.text-center {
  margin-bottom: 0;
}

/* ===========================
   TEXTO ANIMADO PORTADA
   =========================== */

.animate-charcter
{
   text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #072c5d 0%,
    #44107a 29%,
    #f37021 76%,
    #ef7b35 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
      font-size: 45px;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

/* =========================================================
   LAYOUT GENERAL
   ========================================================= */

.content-wrapper {
    max-width: 900px;
    margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h1 {
    font-size: 42px;
    color: #072c5d;
    margin-bottom: 10px;
}

/* Responsive títulos */
@media (max-width: 768px) {
    .section-header h1 {
        font-size: 32px;
    }
}

/* =========================================================
   PARTNERS
   ========================================================= */
   
.partners {
    padding: 30px 0;
}

.partners-slider {
    overflow: hidden;
    width: 100%;

    /* Fade lateral */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 12%,
        black 88%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 12%,
        black 88%,
        transparent 100%
    );
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scrollPartners 22s linear infinite;
}

.partner-item {
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.partner-item img {
    max-width: 160px;
    max-height: 80px;
    transition: transform 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.08);
}

.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* =========================================================
   ÍNDICE LATERAL (Historia / Normativa)
   ========================================================= */

.side-index {
    position: fixed;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 20;
}

.side-index a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: rgba(11, 46, 89, 0.35);
    transition: color 0.2s ease, transform 0.2s ease;
}

.side-index a:hover {
    color: #b72b2c;
    transform: translateX(3px);
    letter-spacing: 0.3px;
}

/* Ocultar índice en móvil */
@media (max-width: 1024px) {
    .side-index {
        display: none;
    }
}

/* =========================================================
   ANIMACIONES AL HACER SCROLL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =========================================================
   HISTORIA
   ========================================================= */

.history-section {
    padding: 80px 0;
}

.history-block {
    position: relative;
    padding-left: 30px;
    padding-top: 20px;
    margin-bottom: 60px;
    border-left: 4px solid #b72b2c;
    scroll-margin-top: 140px;
}

.history-year {
    position: absolute;
    left: -18px;
    top: -18px;
    background: #072c5d;
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 20px;
    z-index: 2;
}

.history-block h3 {
    font-size: 26px;
    color: #072c5d;
    margin-bottom: 15px;
}

.history-block p {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.image-card {
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    margin: 60px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.image-card img {
    width: 100%;
    border-radius: 12px;
}

.image-card span {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

/* Zoom suave */
.image-card.zoom img {
    transition: transform 0.5s ease;
}

.image-card.zoom img:hover {
    transform: scale(1.04);
}

.history-legacy {
    margin-top: 80px;
    background: #072c5d;
    color: #fff;
    padding: 40px 45px;
    border-radius: 22px;
    text-align: center;
}

.history-legacy h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #fff;
}

/* Responsive cierre */
@media (max-width: 768px) {
    .history-legacy {
        padding: 40px 25px;
    }
}

/* =========================================================
   NORMATIVA
   ========================================================= */

.rule-block {
    display: flex;
    gap: 35px;
    margin-bottom: 50px;
    align-items: flex-start;
    scroll-margin-top: 120px;
}

.rule-index {
    font-size: 76px;
    font-weight: 700;
    line-height: 1;
    min-width: 95px;
    color: #072c5d;
    opacity: 0.12;
}

.rule-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #0b2e59 0%,
        #1f5fa8 45%,
        rgba(31, 95, 168, 0) 100%
    );
    margin: 14px 0 18px;
}

.rule-content h3 {
    font-size: 26px;
    font-weight: 500;
    color: #072c5d;
    margin-bottom: 15px;
}

.rule-content p {
    font-size: 15px;
    margin-bottom: 12px;
    max-width: 680px;
    text-align: justify;
}

.rule-point span {
    font-weight: 700;
    color: #b72b2c;
    margin-right: 6px;
}

.rules-footer {
    text-align: center;
    margin: 80px 0 40px;
    font-size: 14px;
    color: #6c757d;
}

/* ===========================
   BOTONES AZULES GENERALES
   =========================== */
.button {
  background-color: #072c5d;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: color 0.3s, font-weight 0.3s;  /* transición para color y negrita */
}

.button1 {width: 250px;}
.button2 {width: 50%;}
.button3 {width: 100%;}
.button4 {
    width: auto;
    display: inline-block;
    padding: 10px 20px; /* ← AJUSTADO (más fino) */
    margin: 0px 0px;
}

.button.button3 i {
    margin-right: 8px;
}

.button:hover {
    color: #b72b2c;    /* naranja */
    background-color: #072c5d; /* fondo no cambia */
}

/* ===========================
   BOTONES / DASHBOARD
   =========================== */

/* Botón de vuelos sugeridos */
.flight-btn {
    display: inline-block;
    background-color: #072c5d;
    padding: 4px 10px;
    border-radius: 12px;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
    position: relative;
}

.flight-btn i {
    transition: 0.2s;
}

.flight-btn:hover {
    background-color: #072c5d;
    color: #f37021 !important;
}

.flight-btn::after {
    content: attr(data-hover);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: orange;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.flight-btn:hover::after {
    opacity: 1;
}

.flight-btn span {
    transition: opacity 0.2s;
}

.flight-btn:hover span {
    opacity: 0;
}

/* ===========================
   DASHBOARD BOTONES (FINAL)
   =========================== */

.dashboard-buttons-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
}

/* TODOS los botones exactamente iguales */
.dashboard-buttons-col .button {
    height: 56px;                 /* CLAVE */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;              /* NO vertical */
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Normalizar iconos y texto */
.dashboard-buttons-col .button i,
.dashboard-buttons-col .button b {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* ===== AJUSTE FINO: igualar base botones / notice ===== */
.dashboard-row .custom-panel {
    margin-bottom: 0;
}

/* ===========================
   NOTICE TO CREW
   =========================== */

.notice-to-crew {
    display: flex;
}

.notice-to-crew .custom-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.notice-to-crew .panel-body {
    flex: 1;
}

/* ===========================
   MÓVIL – SOLO ADAPTACIONES
   NO TOCA PC
   =========================== */
@media (max-width: 767px) {

    /* 1️⃣ Panel del piloto en vertical */
    .custom-panel .panel-body > div[class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center;
    }

    /* 2️⃣ Botones en una sola columna */
    .dashboard-row > .col-md-4,
    .dashboard-row > .col-xs-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    /* 3️⃣ Ocultar SOLO vuelos sugeridos */
    .row > .col-md-8.col-xs-8 {
        display: none;
    }

    /* 4️⃣ Ocultar Reyes Magos en móvil */
    .panel-header .header-icon {
        display: none;
    }
}


/* ===========================
   BOTÓN ACTIVO (NARANJA)
   =========================== */

.button-active-flight {
    background-color: #b72b2c;
    color: #072c5d !important;
}

.button-active-flight:hover {
    background-color: #072c5d;
    color: #fff !important;
}

/* ===========================
   HEADER PANELES
   =========================== */

.custom-panel {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-bottom: 25px;
  border-bottom: 4px solid #b72b2c;;
}

.panel-header {
  background-color: #072c5d;
  color: #ffffff;
  padding: 15px 20px;
  font-size: 1.2rem;
}

.panel-header a {
  color: #ffffff;
  text-decoration: none;
}

.panel-header a:hover {
  color: #b72b2c; /* opcional: cambia a naranja al pasar el mouse */
}

/* ===========================
   STAFF
   =========================== */
   
.staff-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  margin-bottom: 3rem; /* Añade espacio antes del footer */
}

/* Tarjeta con 3 por fila */
.staff-card-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
  width: calc(33.333% - 1.5rem); /* 3 columnas */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staff-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.staff-image {
  width: 50%;
  object-fit: cover;
  border-radius: 12px;
}

.card-separator {
  width: 50%;
  margin: 1rem 0;
  border: 0;
  border-top: 2px solid #b72b2c;
}

.staff-model {
  font-size: 1.6rem;       /* Más grande */
  margin-top: 0.2rem;      /* Más cerca del <hr> */
  margin-bottom: 0.5rem;
  color: #222;
  font-weight: 600;
}

.info-button {
  background-color: #072c5d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.info-button:hover {
  background-color: #072c5d;
}

/* Responsive: 2 por fila en tablets */
@media screen and (max-width: 991px) {
  .staff-card-modern {
    width: calc(50% - 1rem);
  }
}

/* Responsive: 1 por fila en móviles */
@media screen and (max-width: 600px) {
  .staff-card-modern {
    width: 100%;
  }
}
  
/* ===========================
   LATEST PILOTS PORTADA
   =========================== */

/* GRID */
.pilots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* CARD */
.pilot-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;
    height: 100%;

    transition: all 0.25s ease;
}

/* AVATAR */
.pilot-avatar {
    display: block;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* FLAG (solo bandera) */
.pilot-flag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

/* SEPARADOR */
.pilot-separator {
    width: 70%;
    height: 2px;
    background: #b72b2c;
    margin: 10px auto;
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* HOVER */
.pilot-card:hover {
    transform: translateY(-6px);
    background: #072c5d;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Forzar colores en hover */
.pilot-card:hover i,
.pilot-card:hover div,
.pilot-card:hover span {
    color: #ffffff !important;
}

/* Mantener línea naranja en hover */
.pilot-card:hover .pilot-separator {
    background: #b72b2c;
}

/* Efecto leve flags */
.pilot-card:hover .pilot-flag {
    filter: brightness(1.1);
}  
  
/* ===========================
   RANGOS
   =========================== */
   
/* FIX BOOTSTRAP */
.ranks-layout {
    margin-left: -15px;
    margin-right: -15px;
}

.ranks-layout > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
}

/* IZQUIERDA */
.ranks-info {
    background: #f3f5f8;
    border-radius: 16px;
    padding: 25px;
}

.ranks-title {
    font-size: 28px;
    font-weight: 700;
    color: #1c2b4a;
    margin-bottom: 15px;
}

.ranks-desc {
    color: #6c7a92;
    margin-bottom: 20px;
}

/* 🔥 PILOTO */
.pilot-rank-card {
    margin-top: 20px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ICONO MÁS PEQUEÑO */
.pilot-rank-img {
    width: 40px;
}

/* CENTRAR BLOQUE RANGO */
.rank-block-center {
    text-align: center;
}

/* DERECHA */
.ranks-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARDS */
.rank-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f5f8;
    border-radius: 16px;
    padding: 22px 28px;
    transition: 0.2s;
}

.rank-card:hover {
    background: #e9edf2;
}

/* IZQUIERDA */
.rank-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rank-left img {
    width: 50px;
}

.rank-name {
    font-size: 18px;
    font-weight: 600;
    color: #1c2b4a;
}

/* DERECHA */
.rank-right {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* BLOQUES */
.rank-block {
    text-align: right;
    min-width: 100px;
}

.rank-value {
    font-size: 16px;
    font-weight: 600;
    color: #1c2b4a;
}

.rank-value.xp {
    color: #f47c20;
}

.rank-label {
    font-size: 12px;
    color: #8a94a6;
    margin-top: 2px;
}   
   
/* ===========================
   FLOTA PORTADA - INDEX.PHP
   =========================== */

/* Contenedor flexible tipo grid */
.fleet-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* mínimo 250px, máximo 1fr */
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Tarjeta */
.aircraft-card-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hover más suave */
.aircraft-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background-color: #072c5d; /* azul spanair */
  color: white;
}

.aircraft-card-modern:hover .aircraft-model,
.aircraft-card-modern:hover .card-text {
  color: white;
}

/* Imagen de la aeronave */
.aircraft-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Separador */
.card-separator {
  width: 50%;
  margin: 1rem 0;
  border: 0;
  border-top: 2px solid #b72b2c;
}

/* Modelo del avión */
.aircraft-model {
  font-size: 1.8rem;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

/* Texto de la tarjeta */
.card-text {
  color: #555;
  font-size: 1.5rem; /* antes 1rem, ahora un poco más grande */
  line-height: 1.5;  /* para que no quede muy apretado */
  margin: 0.5rem 0 0 0; /* pequeño margen superior */
}


/* Responsive: 1 o 2 por fila según pantalla */
@media screen and (max-width: 991px) {
  .fleet-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .fleet-container {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FLOTA - FLEET.PHP
   =========================== */

.fleet-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* máximo 3 por fila */
  grid-auto-rows: auto;
  grid-auto-flow: dense; /* rellena huecos y mantiene tamaño consistente */
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  width: 100%;
}

/* Tarjeta */
.fleet-card-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.fleet-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.fleet-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.fleet-card-separator {
  width: 50%;
  margin: 1rem 0;
  border: 0;
  border-top: 2px solid #b72b2c;
}

/* Tarjeta */
@media (max-width: 991px) {
  .fleet-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .fleet-container {
    grid-template-columns: 1fr;
  }

  .fleet-card-image {
    height: 160px;
  }
}


/* ===========================
   TARJETAS DE DESCARGA
   =========================== */

.downloads-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;
    flex: 1 1 30%;
    max-width: 30%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Imagen de la tarjeta */
.download-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

/* Línea separadora naranja */
.card-separator {
    width: 50%;
    margin: 1rem 0;
    border: 0;
    border-top: 2px solid #b72b2c;
}

/* Botón de descarga */
.download-btn {
    background-color: #072c5d;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: white;
}

.download-btn .btn-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.download-btn .btn-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #b72b2c;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover .btn-text {
    opacity: 0;
}

.download-btn:hover .btn-hover {
    opacity: 1;
}

/* dropdown descarga */
.download-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown-card {
    background: #072c5d;
    border-radius: 12px;
    padding: 0;
    margin-top: 0.5rem;
    display: none;
    width: 100%; /* ocupa todo el ancho de la card */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    flex-direction: column;
}

.dropdown-card.show {
    display: flex;
    padding: 0.5rem 0;
}

.dropdown-card a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease;
    background: transparent;   /* evita recuadro azul */
    border-radius: 0;          /* quita esquinas en los enlaces */
}

.dropdown-card a:hover {
    color: #b72b2c;            /* texto naranja */
    background: transparent;    /* evita que se pinte el fondo azul */
}

@media screen and (max-width: 991px) {
    .download-card {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .download-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.download-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px; /* coincide con la imagen */
    width: 100%;
}

/* Banda y píldora de NUEVO */
.download-new-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(244,123,32,0.95);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 4px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

.dropdown-card a {
    position: relative;
}

.dropdown-new-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #b72b2c;
    color: #072c5d;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
}

.downloads-header-row {
    margin-bottom: 15px;
}

/* Filtros de descarga */
.downloads-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    border: 1px solid #072c5d;
    background: #ffffff;
    color: #072c5d;
    padding: 4px 14px;           /* ↓ altura contenida */
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.filter-pill:hover {
    background: #b72b2c;
    border-color: #b72b2c;
    color: #072c5d;
}

.filter-pill.active {
    background: #b72b2c;         /* 🟧 naranja */
    border-color: #b72b2c;
    color: #072c5d;              /* 🟦 texto azul */
}

/* ===========================
   TOURS/EVENTOS
   =========================== */
   
.activities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Card de actividad / tour */
.activity-card-modern {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;

    flex: 1 1 30%;
    max-width: 30%;
    min-width: 250px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    height: 220px;
}

.activity-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Overlay del botón de hover */
.activity-card-hover {
    position: absolute;
    bottom: 15px;
    background-color: #072c5d;
    color: orange;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.activity-card-modern:hover .activity-card-hover {
    opacity: 1;
    transform: scale(1.05);
}

@media screen and (max-width: 991px) {
    .activity-card-modern {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media screen and (max-width: 600px) {
    .activity-card-modern {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* ===========================
   PRÓXIMO EVENTO
   =========================== */

.next-activity-card-container {
    height: 193px;               
    display: flex;
    align-items: center;          
    justify-content: center;      
    background-color: #fff;       
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.next-activity-card-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* importante: cubre todo el contenedor */
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: none;
}


/* mensaje de hover como botón */
.next-activity-card-hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #072c5d;   /* azul */
    color: orange;                /* texto naranja */
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
}

/* hover: zoom de la imagen + mostrar botón */
.next-activity-card-container:hover img {
    transform: scale(1.1);
    filter: blur(2px);  /* borroso al hacer hover */
}

.next-activity-card-container:hover .next-activity-card-hover-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05); /* pequeño efecto de “pop” */
}

.next-activity-date-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(7,44,93,0.85);
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 4px 0;
}

/* =====================================
   IGUALAR ALTURA VUELOS / PRÓXIMO EVENTO
   ===================================== */

/* Altura total del panel Próximo evento */
:root {
    --next-event-panel-height: 281px;
}

/* Panel vuelos sugeridos */
.vuelos-sugeridos-panel {
    height: var(--next-event-panel-height);
    display: flex;
    flex-direction: column;
}

/* El cuerpo se adapta */
.vuelos-sugeridos-panel .panel-body {
    flex: 1;
    overflow: hidden;
    padding-bottom: 8px;
}

/* Tabla compacta */
.vuelos-sugeridos-panel table {
    margin-bottom: 0;
}

/* Mensaje compacto bajo vuelos sugeridos */
.vuelos-sugeridos-panel .help-block {
    display: block;
    margin: 4px 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.1;
    text-align: center;
    color: #777;
}

/* Evita que el texto estire el panel */
.vuelos-sugeridos-panel .panel-body {
    display: flex;
    flex-direction: column;
}

.vuelos-sugeridos-panel table {
    flex: 1;
}

/* ===========================
   FOOTER STICKY
   =========================== */
   
html, body {
    height: 100%;
}

.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

/* ===========================
   EFECTO NIEVE
   =========================== */

/* customizable snowflake styling */
.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px #000;
}

.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;pointer-events:none;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}

/* ===========================
   MARCA DE AGUA SPANAIR
   =========================== */
   
body::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80vh;
  aspect-ratio: 1 / 1; /* mantiene proporción cuadrada */
  background-image: url('/images/logos/Marca_agua_AeroLegado.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}
