/* === IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* === VARIABLES GLOBALES Y CONSTANTES === */
:root {
  /* Colores */
  --primary-color: #21c592;
  --primary-dark: #15cb96;
  --secondary-color: #0083b0;
  --tertiary-color: #4e4e4e;
  --text-dark: #222;
  --text-light: #fff;
  --bg-light: #f1f1f1;
  --bg-white: #fff;
  --border-color: #999;
  --border-light: rgba(255, 255, 255, 0.2);
  --icon-color: #9f9f9f;

  /* Sombras y transiciones */
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s;
  
  /* Layout y Espaciado */
  --section-padding-desktop: 60px 20px;
  --section-padding-about: 80px 40px;
  --section-margin: 50px 0;
  --container-width: 1200px;
  --section-gap: 2rem;

  /* Bordes y Radio */
  --card-radius: 30px;
  --button-radius: 8px;
}

/* === RESET Y ESTILOS GLOBALES === */
* {
  margin: 0;
  padding: 0;
  outline: none;
  
  box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--bg-light);
  scrollbar-width: thin;
}

::selection {
  background: #e3e3e3;
}

/* === NAVEGACIÓN === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar .logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.navbar .nav-links li a:hover {
  background: rgba(182, 182, 182, 0.4);
}

.navbar .btn-cotizar {
  background-color: var(--primary-dark);
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition-slow);
}

.navbar .btn-cotizar:hover {
  background-color: #14c190 !important;
}

/* Menú hamburguesa */
.menu-icon {
  display: none;
  font-size: 26px;
  color: var(--tertiary-color);
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* === SECCIÓN HERO === */
.hero {
  padding: 40px 20px;
  color: var(--text-light);
}

.hero .content {
  max-width: var(--container-width);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
}

.hero .left {
  flex: 1 1 500px;
}

.hero .left h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero .left h1 span {
  color: #c2ffee;
}

.hero .left p {
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 800;
}

.hero .apps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero .apps a {
  display: inline-flex;
  max-width: 185px;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--button-radius);
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.hero .apps a:hover {
  background: rgba(255,255,255,0.4);
}

/* === CONTENEDOR DE FORMULARIO === */
.right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 450px;
}

.right .exchange-box {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 30px;
  color: #333;
  box-shadow: var(--shadow);
  width: 100%;
  margin: 0 auto;
}

.right .exchange-box header {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
}

form :where(input, select, button){
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: none;
}

form p {
  font-size: 18px;
  margin-bottom: 5px;
}

form input {
  height: 50px;
  font-size: 17px;
  padding: 0 15px;
  border: 1px solid var(--border-color);
}

form input:focus {
  padding: 0 14px;
  border: 2px solid var(--secondary-color);
}

form .drop-list {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drop-list .from,
.drop-list .to {
  flex: 1;
}

.drop-list .select-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-white);
  height: 48px;
}

/* Estilos para el desplegable de detalles */
.details-toggle {
    cursor: pointer;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0; /* Un poco de padding para que se vea bien */
    border-bottom: 1px solid #eee; /* Una línea para separar */
}
.details-toggle i {
    transition: transform 0.3s ease;
}
.details-toggle.active i {
    transform: rotate(180deg);
}
.hidden-details {
    /* Los estilos aquí son los del `div` que oculta/muestra */
    padding: 10px 0;
    border-bottom: 1px solid #eee; /* Opcional, para enmarcar */
    margin-bottom: 15px; /* Espacio debajo de los detalles */
}
.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #555;
}
.detail-item p:first-child {
    font-weight: normal; /* Asegura que la etiqueta no sea negrita */
}
.detail-item p:last-child {
    color: #333;
}
.subtotal-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    font-weight: bold;
    color: #222;
}
.subtotal-item p:last-child {
    color: #222;
}

.select-box img {
  width: 24px;
  height: 18px;
  object-fit: contain;
}

.select-box select {
  width: auto;
  margin: 0 -5px 0 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  padding-left: 5px;
  cursor: pointer;
  font-size: 20px;  
}

.select-box select::-webkit-scrollbar {
  width: 8px;
}

.select-box select::-webkit-scrollbar-track {
  background: var(--bg-white);
}

.select-box select::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 8px;
  border-right: 2px solid #ffffff;
}

.drop-list .icon {
  cursor: pointer;
  margin-top: 30px;
  font-size: 22px;
  padding: 8px;
  background: #f3f3f3;
  border-radius: var(--button-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  transition: var(--transition);
}

.drop-list .icon:hover {
  background: #e0e0e0;
}

form .exchange-rate {
  font-size: 18px;
}

form button {
  margin: 10px 0;
  height: 52px;
  color: var(--text-light);
  font-size: 17px;
  cursor: pointer;
  border-radius: var(--button-radius);
  background: var(--primary-dark);
  transition: var(--transition-slow) !important; 
  outline: none !important;
}

form button:hover {
  background: #14c190;
}

/* === SECCIÓN DE SERVICIOS (Tarjetas) === */
.services-wrapper {
    background: rgba(255, 255, 255, 0.65);
    padding: var(--section-padding-desktop);
    text-align: center;
    margin: var(--section-margin);
}

.features-title {
    text-align: center;
    margin-bottom: 40px;
}

.features-title h2 {
    font-size: 2rem;
    color: var(--tertiary-color);
    font-weight: 700;
    margin-bottom: 40px;
}

.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--section-gap);    
    color: var(--text-light);    
}

.feature-card {
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 350px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
/* Estilos de las tarjetas */
.feature-card--dark {
    background-color: #4e4e4e;
    color: var(--text-light);
}

.feature-card--light {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--bg-light);
}

.feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card__description {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-card__list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-card__item {
    display: flex;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    text-align: left;
    gap: 5px;
}

/* Estilo para los íconos de Font Awesome */
.feature-card__item .fa-check-circle {
    color: var(--icon-color);
    font-size: 1.2rem;
}

.feature-card__button {
    display: inline-block;
    background-color: rgba(255,255,255,0.75);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: var(--button-radius);
    text-decoration: none;
    outline: none !important;
    border: none;
    font-weight: 400;
    text-align: center;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition-slow) !important;
    align-self: center; 
}

.feature-card__button:hover {
    background-color: rgba(255,255,255,0.65);
}

/* Estilo específico para el botón de la tarjeta clara */
.feature-card--light .feature-card__button {
    background-color: var(--primary-color);
    color: var(--bg-light);
    border: 1px solid var(--primary-color);
}

.feature-card--light .feature-card__button:hover {
    background-color: #14c190;
    border-color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* === SECCIÓN "NOSOTROS" === */
.about-us {
  background: #4e4e4e;
  color: var(--text-light);
  padding: var(--section-padding-about);
  margin: var(--section-margin);
}

.about-us h2 {
  text-align: center;
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-us .highlights {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-us .box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  width: 280px;
  margin: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-us .box:hover {
  background: rgba(255, 255, 255, 0.85);
}

.highlights .box h4,
.highlights .box p {
  color: #3d3d3d;
}

.about-us .box i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* === SECCIÓN TESTIMONIOS === */
.testimonials {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: var(--section-padding-desktop);
  text-align: center;
  position: relative;
  margin: var(--section-margin);
}

.testimonials h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimonial-slider {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
  height: 130px;
}

.testimonial {
  position: absolute;
  padding: 20px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.testimonial.active {
  transform: translateX(0);
  opacity: 1;
}

.testimonial p {
  font-style: italic;
  font-size: 1.2rem;
}

.testimonial span {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.quarrel {
  background: transparent;
  color: var(--text-light);
  border: none;
  outline: none !important;
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  margin: 0 10px;
  transition: var(--transition);
}

.quarrel:hover {
  color: #ffffff9e;
}

/* === SECCIÓN VIDEO === */
.video-section {
  background: url(../images/video-bg.jpg) no-repeat fixed center;
  background-size: cover;
  overflow: hidden;
}

.video-overlay {
  background: linear-gradient(to left, rgba(114, 114, 114, 0.87), rgba(190, 190, 190, 0.9));
  padding: 10px;
}

.video-section h3 {
  font-weight: 600;
  font-size: 38px;
}

.video-section i {
  display: block;
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 100px;
  background: var(--bg-white);
  color: var(--primary-color);
  font-size: 30px;
  line-height: 70px;
  margin: 0 auto;
  cursor: pointer;
}

.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center !important;
  justify-content: center !important;
}

.video-popup .video-src {
  position: relative;
  width: 700px;
  max-width: 80%;
}

.video-popup .iframe-src {
  width: 100%;
  height: 0;
  padding-top: 56.3%;
  position: relative;
  display: none;
}

.video-popup .iframe-src iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#how-to-send-money .nav-tabs .nav-link.active {
  border: none;
  outline: none;
  color: #28a745 !important;
  border-bottom: 3px solid #28a745;
  background: transparent;
}

#how-to-send-money .nav-tabs .nav-link {
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: #343a40 !important;
  border-bottom: 3px solid transparent;
  background-color: transparent;
}

#how-to-send-money h4, #how-to-send-money p {
  color: #343a40;
  margin: 10px 0;
}

#how-to-send-money .bank-logos img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

#how-to-send-money .bank-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.function-card__button {
  display: inline-flex;
  gap: 10px;
  background-color: rgb(20, 193, 144);
  color: var(--text-light);
  padding: 0.8rem 1.5rem;
  margin: 10px 0;
  border-radius: var(--button-radius);
  text-decoration: none;
  outline: none !important;
  border: none !important;
  font-weight: 400;
  text-align: center;
  font-size: 17px;
  cursor: pointer;
  transition: var(--transition-slow) !important;
  align-self: center;
}

.function-card__button:hover {
  scale: 1.01;
}

.function-card__button--dark {
    background-color: rgba(255,255,255,0.65);
    color: var(--text-dark);
    border: 1px solid var(--text-dark) !important;
}

/* === SECCIÓN DE BANCOS === */
.bank-section {
  background: transparent;
  color: #4e4e4e;
}

.bank-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #4e4e4e;
  font-weight: 600;
}

.logos-container img {
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* === FOOTER === */
.footer {
  background-color: #4e4e4e;
  color: var(--text-light);
  padding: var(--section-padding-desktop);
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: var(--container-width);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--text-light);
  border-bottom: 2px solid var(--text-light);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-column ul li i {
  margin-right: 10px;
  color: var(--icon-color);
}

.footer-column ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: #ffffff9e;
}

.footer .logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #00b4db;
}

.footer .logo span {
  color: #060c2b;
}

/* Newsletter */
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input[type="text"],
.newsletter input[type="email"] {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
}

.newsletter input[type="checkbox"] {
  margin-right: 5px;
}

.newsletter button {
  padding: 10px;
  background-color: #00b4db;
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter button:hover {
  background-color: var(--secondary-color);
}

/* Pie de página inferior */
.logo-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #ccc;
}

.footer-bottom .social {
  margin-bottom: 15px;
}

.footer-bottom .social a {
  color: var(--icon-color);
  margin: 0 10px;
  font-size: 18px;
  transition: var(--transition);
}

.footer-bottom .social a:hover {
  color: var(--text-light);
}

.commission-info {
  margin: 10px;
  padding: 10px;
  background: #f3f3f3;
  border-radius: var(--button-radius);
  text-align: center;
  font-size: 14px;
  color: #333;
}

.commission-info p {
  margin: 4px 0;
  font-weight: 500;
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: var(--bg-white);
  max-width: 700px;
  width: 90%;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.modal-body p {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 14px;
}

/* === proveedores === */
.proveedores-section {
  background: transparent;
  padding: 60px 20px;
}

.proveedores-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 40px;
}

.proveedores-content {
  flex: 1 1 500px;
}

.proveedores-title {
  font-size: 2rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 20px;
}

.proveedores-description {
  color: #555;
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 600;
}

.proveedores-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.proveedores-list li {
  font-size: 1.1rem;
  color: #444;
  font-weight: 700;
}

.proveedores-list i {
  color: #04c08a;
  margin-right: 10px;
}

.proveedores-pagos {
  color: #333;
  margin-bottom: 20px;
  font-weight: 560;
}

.proveedores-btn {
  background: #04c08a;
  border: none;
  padding: 12px 25px;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.proveedores-btn:hover {
  background: #029d6f;
}

.proveedores-img {
  flex: 1 1 400px;
  text-align: center;
}

.proveedores-img img {
  max-width: 100%;
  height: auto;
}

/* === cambio === */
.cambio-section {
  margin-top: 50px;
  padding: 60px 20px;
  background: #4e4e4e;
  text-align: center;
}

.cambio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.cambio-image {
  flex: 1 1 400px;
  text-align: center;
}

.cambio-image img {
  max-width: 100%;
  height: auto;
}

.cambio-content {
  flex: 1 1 400px;
  text-align: left;
}

.cambio-description {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}

.cambio-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.cambio-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}

.cambio-list i {
  color: #04c08a;
  margin-right: 10px;
}

.cambio-nota {
  color: #fff;
  margin-bottom: 20px;
  font-size: 15px;
}

.cambio-link {
  color: #04c08a;
  font-weight: bold;
  text-decoration: underline;
}
.cambio-link:hover {
  color: #ffffffe3;
  font-weight: bold;
  text-decoration: none;
}

.cambio-btn {
  background: #04c08a;
  border: none;
  padding: 12px 30px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cambio-btn:hover {
  background: #029d6f;
}

.cambio-quote {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}

.cambio-quote strong {
  font-weight: 900;
  color: #f3f3f3;
}

/* === reserve cita === */
.booking-section {
  position: relative;
  background-color: rgba(255, 255, 255, 0.65);
  padding: 3rem 1rem;
}

.booking-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.booking-info {
  flex: 1 1 48%;
}

.booking-info h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.booking-info .highlight {
  background-color: var(--tertiary-color);
  color: var(--text-light);
  padding: 0 0.3em;
  border-radius: 4px;
}

.booking-info p {
  margin-bottom: 1rem;
  color: var(--tertiary-color);
}

.booking-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.booking-location h4 {
  color: var(--tertiary-color);
  margin-bottom: 0.3rem;
}

.booking-location p {
  margin: 0.2rem 0;
  color: var(--text-dark);
}

.btn-location {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  margin-top: 0.8rem;
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s ease;
}

.btn-location:hover {
  background-color: var(--primary-dark);
}

.booking-form {
  flex: 1 1 30%;
  background-color: #4e4e4e;
  padding: 2rem;
  border-radius: 15px;
  color: var(--text-light);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.booking-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.required {
  color: #ff6666;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.booking-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  resize: vertical;
  font-size: 18px;
}

.slide-booking {
  display: none;
  animation: fadeSlide 0.5s ease-in-out forwards;
}

.slide-booking.active {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.booking-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* permite que clicks pasen por detrás excepto botones */
  z-index: 10;
}

.booking-arrows button {
  background: none;
  color: var(--text-dark);
  border: none !important;
  outline: none !important;
  font-size: 50px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  pointer-events: all; /* habilita clics solo en los botones */
}

.booking-arrows button:hover {
  color: rgba(0, 0, 0, 0.4);
}

/* === subscribe === */
.subscribe-section {
  background-color: var(--primary-dark);
  color: var(--text-light);
  margin-top: 50px;
  padding: 60px 20px;
  text-align: center;
}

.subscribe-container {
  max-width: 720px;
  margin: auto;
}

.subscribe-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-light);
}

.subscribe-underline {
  width: 100px;
  height: 4px;
  margin: 12px auto 24px auto;
  background-image: linear-gradient(to right, #FFA451 0%, #FFA451 33%, transparent 33%, transparent 66%, #FFA451 66%, #FFA451 100%);
  background-size: 15px 4px;
  background-repeat: repeat-x;
}

.subscribe-text,
.subscribe-text p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 35px;
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.subscribe-form input[type="email"] {
  padding: 15px 20px;
  width: 300px;
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

.subscribe-form button {
  padding: 15px 25px;
  border: none;
  background-color: #f3f3f3;
  color: #8b8b8b;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
  background-color: #e7e7e7;
}

/* faq-section */
.faq-section {
    padding: var(--section-padding-desktop);
    background-color: rgba(255, 255, 255, 0.75);
    font-family: 'Poppins', sans-serif;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.2em; /* Slightly larger title */
    margin-bottom: 50px;
    font-weight: 600; /* Slightly less bold for a cleaner look */
    letter-spacing: 0.5px; /* Subtle letter spacing */
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0; /* Increased padding */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.05)
}

.faq-question p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.15em; /* Slightly larger question text */
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.6em;
    color: var(--icon-color);
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--primary-color); /* Change color when active */
}

.faq-answer {
    max-height: 0; /* Crucial for hiding */
    overflow: hidden; /* Crucial to prevent content from spilling out */
    transition: max-height 0.3s ease-in-out; /* Smooth transition for expansion/collapse */
    font-size: 1em;
    color: var(--tertiary-color);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    /* When active, set a max-height large enough to contain content. */
    /* Using scrollHeight in JS is better for dynamic content. */
    max-height: 500px; /* This is a fallback; JS calculates precise height */
    padding: 10px; /* Add some top padding when visible */
}

/* === ANIMACIONES === */
@keyframes rotateIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(180deg); }
}

.rotate {
  animation: rotateIcon 0.4s ease-in-out;
}

/* about-section */
.story-section {
    background-color: var(--primary-color); /* Dark green background as per image */
    padding: var(--section-padding-desktop);
    font-family: 'Poppins', sans-serif;
    color: var(--text-light); /* Light text on dark background */
}

.story-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    gap: 40px; /* Space between columns */
    align-items: flex-start; /* Align columns to the top */
}

.story-left-column {
    flex: 1; /* Takes equal space, adjust if needed */
    max-width: 50%; /* Max width for left column */
    padding-right: 20px; /* Spacing from the right column */
}

.story-left-column h2 {
    font-size: 2.8em; /* Adjusted size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light); /* White text */
}

.story-left-column .highlight {
    color: var(--primary-color); /* Green highlight for specific words */
}

.story-left-column p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-light); /* White text */
}

.story-right-column {
    flex: 1; /* Takes equal space */
    max-width: 50%; /* Max width for right column */
    display: flex;
    justify-content: center; /* Center the grid within its column */
    align-items: center;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for grid items */
    gap: 30px; /* Space between grid items */
    width: 100%;
}

.story-grid-item {
    background-color: transparent; /* No background color for individual items as per image */
    padding: 10px 0; /* Adjust padding as needed */
    text-align: left; /* Text alignment within grid item */
}

.story-grid-item i {
    font-size: 2.5em; /* Icon size */
    margin-bottom: 10px;
    display: block; /* Ensures icon is on its own line */
}
.story-grid-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light); /* White text */
}

.story-grid-item p {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--text-light); /* White text */
}

/* === MEDIA QUERIES (RESPONSIVE) === */
@media (min-width: 1024px) {
    .feature-card__title {
        font-size: 1.2rem;
    }

    .feature-card__description {
        font-size: 1rem;
    }

    .feature-card__item {
        font-size: 0.9rem;
    }
    .booking-section {
      background-color: rgba(255, 255, 255, 0.65);
      padding: 3rem;
    }    

}

@media (max-width: 900px) {
  .hero .content {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }
  
  .hero .apps {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .right .exchange-box {
    margin-top: -90px;
  }
  .booking-section {
    background-color: rgba(255, 255, 255, 0.65);
    padding: 3rem;
    margin-top: -50px;
  }    
  .booking-form {
    flex: 1 1 48%;
  }
    .story-container {
        flex-direction: column; /* Stack columns vertically on smaller screens */
        gap: 30px;
        padding: 15px;
    }

    .story-left-column,
    .story-right-column {
        max-width: 100%; /* Allow columns to take full width */
        padding-right: 0;
        text-align: center; /* Center text when stacked */
    }

    .story-left-column h2 {
        font-size: 2.5em;
    }

    .story-left-column p {
        font-size: 1em;
    }

    .story-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust grid columns for flexibility */
        justify-items: center; /* Center grid items */
    }

    .story-grid-item {
        text-align: center; /* Center text within grid items when stacked */
    }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }
  
  .hero {
    padding: 90px 20px;
    color: var(--text-light);
  }
  
  .navbar .nav-links li a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  
  .navbar .btn-cotizar {
    width: 80%;
    border-radius: 0px !important;
  }
  
  .about-us .box {
    width: 90%;
  }
  
  .feature-card {
    flex-grow: 1; 
  }
  
  .features-section {
    align-items: stretch;
  }

  .faq-section {
      padding: 20px;
  }

  .faq-title {
      font-size: 1.8em;
      margin-bottom: 30px;
  }

  .faq-question p {
      font-size: 1em;
  }

  .faq-toggle {
      font-size: 1.4em;
  }
  
}

@media (max-width: 700px) {
  .wrapper {
    width: 370px;
  }
  
  .drop-list .select-box {
    width: 115px;
    height: 45px;
  }
  
  .testimonial-slider {
    height: 180px;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0 30px;
  }
  
  .footer-column {
    width: 100%;
  }

}

@media (max-width: 576px) {
    .story-section {
        padding: var(--section-padding-mobile);
    }

    .story-left-column h2 {
        font-size: 2em;
    }

    .story-left-column p {
        font-size: 0.9em;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .story-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 20px;
    }
}