* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Fonts */
@font-face {
  font-family: Mont;
  src: url('./Mont-Bold.otf'), url('./Mont-Book.otf'), url('./Mont-Light.otf'),
  url('./Mont-Regular.otf'), url('./Mont-Heavy.otf'),
}

:root {
  --font-default: Mont;
  --font-primary: Mont;
  --font-secondary: Mont;
}

/* Colors */
:root {
  --color-default: #FDC613;
  --color-primary: black;
  --color-secondary: #FDFDFD;
  --color-background: #F4E5BB;
  --color-other: #B2E0F0;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

h1,
h2 {
  color: var(--color-default);
}

h3,
h4 {
  color: var(--color-primary)
}

.section-title {
  font-size: 3rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

/* Header */
.main-header {
  background: black;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Scroll effect */
.main-header.scrolled {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Logo */
.logo img {
  width: 6vw;
  height: auto;
  transition: 0.3s;
}

@media (max-width: 991px) {
  .logo img {
    width: auto;
    height: 40px;
  }
}

.navbar-nav .nav-item {
  margin-left: 30px;
}

/* Nav links */
.nav-link {
  color: var(--color-secondary) !important;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* Subrayado amarillo institucional */
.nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--color-secondary);
}

/* Botón contacto */
.btn-contacto {
  background: var(--color-default);
  color: var(--color-primary) !important;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-contacto:hover {
  background: #e6b512;
}

/* Mobile */
@media (max-width: 991px) {
  .navbar-nav {
    background: #000000;
    padding: 20px;
  }

  .btn-contacto {
    padding: 10px 10px !important;
    display: inline-block;
    margin-top: 6px;
    font-size: 16px;
  }
}

/* Presentation */
.presentation-container {
  width: 100%;
  height: 100%; /* 100% de la altura del viewport */
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 0; 
}

.presentation-container-btn {
  display: flex;
  justify-content: flex-end;
  margin-right: 15%; 
}

.presentation-btn {
  background-color: var(--color-secondary);
  color: black;
  font-weight: 600;
  width: 20vw; 
  height: 2rem;
  margin-bottom: 3rem;
  border-radius: 4px;
}

.presentation-btn a {
  color: black;
  text-decoration: none;
}

.presentation-btn:hover {
  color: var(--color-default);
}

.navbar-toggler {
  border-color: var(--color-secondary);
  padding: 6px 10px;
}

.custom-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.bi-list {
  color: white;
}

@media only screen and (max-width: 575px) {
  .presentation-container {
    width: auto;
  }

  .presentation-container-btn {
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .presentation-btn {
    width: 15rem;
  }

}

@media only screen and(max-width: 768px) {

  .presentation-container-btn {
    display: flex;
    justify-content: center;
    margin: 0;
  }

}


/* Section title */
.section-title {
  height: 40vh;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;

}

.section-title .overlay {
  background: var(--color-primary);
  padding: 50px;
  text-align: center;
  color: var(--color-secondary);
  width: 100%;
}

.section-title h2 {
  font-size: 42px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 20px;
}

.banner-img {
  width: 100vw;
  margin-bottom: 20px;
  height: auto;
  display: block;
}



/* About us Section */
.historia-section {
  color: #1e2a38;
  padding-bottom: 80px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Section headings */
.section-heading {
  text-align: center;
  margin: 70px 0 50px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-default);
  background: rgba(253, 198, 19, 0.12);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Historia timeline */
.historia-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.historia-timeline::before {
  content: '';
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-default), transparent);
}

.historia-block {
  margin-bottom: 12px;
}

.historia-block-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 36px 40px;
  transition: box-shadow 0.3s ease;
}

.historia-block-inner:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.historia-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--color-default);
  color: #111;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.historia-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.historia-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

.historia-content p:last-child {
  margin-bottom: 0;
}

/* Quote block */
.historia-quote {
  margin: 50px 0 70px;
  padding: 40px 50px;
  background: #111;
  border-radius: 12px;
  position: relative;
}

.historia-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 40px;
  font-size: 100px;
  color: var(--color-default);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

.historia-quote blockquote {
  font-size: 17px;
  line-height: 1.9;
  color: #e8e8e8;
  font-style: italic;
  margin: 0;
  padding-top: 20px;
  border: none;
}

/* Mission / Vision */
.mv-wrapper {
  margin-bottom: 20px;
}

.mv-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.mv-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px 36px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mv-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.mv-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(253, 198, 19, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--color-default);
}

.mv-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.mv-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* Valores */
.valores-section {
  margin: 70px 0 80px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
}

.valor-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.valor-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.valor-card i {
  font-size: 28px;
  color: var(--color-default);
  margin-bottom: 16px;
  display: block;
}

.valor-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.valor-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .historia-timeline::before {
    display: none;
  }

  .historia-block-inner {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }

  .historia-quote {
    padding: 30px 28px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .historia-quote::before {
    left: 20px;
  }
}

/* Animaciones */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* Services Section */
.servicios-section {
  color: #1e2a38;
  padding-bottom: 80px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}

.servicio-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.servicio-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.servicio-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(253, 198, 19, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-default);
  flex-shrink: 0;
}

.servicio-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.servicio-card > p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.servicio-items {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.servicio-items li {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.servicio-items li i {
  color: var(--color-default);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.servicios-cierre {
  background: #111;
  border-radius: 12px;
  padding: 40px 50px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #e8e8e8;
}

.servicios-cierre i {
  font-size: 36px;
  color: var(--color-default);
  flex-shrink: 0;
}

.servicios-cierre p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .servicios-cierre {
    flex-direction: column;
    padding: 30px 24px;
    text-align: center;
  }
}

/* Animaciones */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Flota Section */

.flota-section {
  color: #1e2a38;
  padding-bottom: 80px;
}

.description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.flota-intro {
  margin: 40px 0 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.cards-complementarias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .cards-complementarias {
    grid-template-columns: 1fr;
  }
}

.card {
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  transform: translateY(30px);
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.card h3 {
  padding: 20px 24px 10px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.card p {
  padding: 0 24px 24px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.closing-text {
  background: #111;
  border-radius: 12px;
  padding: 40px 50px;
  margin-bottom: 0;
  text-align: center;
}

.closing-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #e8e8e8;
  font-style: italic;
  margin: 0;
  max-width: 800px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .closing-text {
    padding: 30px 24px;
  }
}

/* Animación activa */
.card.show {
  transform: translateY(0);
  opacity: 1;
}



/* Contact us Section */
.contact-section,
.contact-section * {
  font-family: var(--font-default);
}

.contact-section {
  padding: 60px 0 100px;
}

/* INFO */

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #111;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--color-primary);
}

.contact-item i {
  font-size: 22px;
  margin-right: 15px;
  color: var(--color-default);
}

.contact-item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: 0.3s;
}

.contact-item span {
  color: var(--color-primary);
  font-size: 18px;
}

/* CARD FORM */

.contact-card {
  background: var(--color-secondary);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-default);
  outline: none;
  box-shadow: 0 0 0 3px rgba(253,198,19,0.2);
}

/* BOTÓN */

.btn-submit {
  width: 100%;
  background: var(--color-default);
  color: var(--color-primary);
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #e6b512;
}

/* MENSAJE */

.form-message {
  margin-top: 20px;
  font-weight: 500;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-card {
    margin-top: 40px;
  }
}

/* Bases Section */
.bases-section {
  padding-bottom: 80px;
}

.bases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .bases-grid {
    grid-template-columns: 1fr;
  }
}

.base-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.base-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.base-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(253, 198, 19, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-default);
}

.base-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.bases-mapa {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  position: relative;
  width: 100%;
  padding-bottom: 45%;
  height: 0;
}

@media (max-width: 768px) {
  .bases-mapa {
    padding-bottom: 100%;
  }
}

.bases-mapa iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery Section */
.galeria-section {
  font-family: 'Segoe UI', sans-serif;
  color: #1e2a38;
}

.galeria-header {
  text-align: center;
  margin: 50px 0 40px;
}

.galeria-header h2 {
  font-size: 42px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--color-default);
}

.galeria-header p {
  font-size: 18px;
  color: #555;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 80px;
}

.galeria-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.galeria-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.9);
}

/* Lightbox */
.galeria-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.galeria-lightbox.active {
  display: flex;
}

.galeria-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--color-default);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 20px;
  transition: color 0.2s;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-default);
}

@media (max-width: 576px) {
  .galeria-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
}

/* Footer */
/* .main-footer,
.main-footer * {
  font-family: var(--font-default);
} */

.main-footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding-top: 60px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--color-default);
  letter-spacing: 1px;
}

.footer-col p,
.footer-col a {
  font-size: 15px;
  color: var(--color-secondary);
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: var(--color-default);
  padding-left: 5px;
}

.footer-col p i,
.footer-col a i {
  margin-right: 8px;
  color: var(--color-default);
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  background: var(--color-primary);
}
