/* ================================
   VARIABLES DE COLORES Y FUENTES
   ================================ */
:root {
  --color-principal: #145858;
  --color-secundario: #f0a500;
  --color-acento: #e63946;
  --color-fondo: #fefefe;
  --color-texto: #333;
  --color-gris-claro: #f6f6f6;
  --color-footer: #0e2f2e;

  --fuente-titulo: 'Montserrat', sans-serif;
  --fuente-cuerpo: 'Roboto', sans-serif;
}

/* ======================
   RESET UNIVERSAL
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--fuente-cuerpo);
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ======================
   ESTRUCTURA GENERAL
   ====================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--fuente-titulo);
  font-size: 2.5rem;
  color: var(--color-principal);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--color-secundario);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ======================
   PRELOADER
   ====================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  text-align: center;
}

.loader-logo {
  width: 100px;
  animation: pulse 1.5s infinite;
}

.loader p {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--color-principal);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

/* ======================
   HEADER STICKY
   ====================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  height: 60px;
  transition: transform 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--fuente-titulo);
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-secundario);
}

/* ======================
   BOTÓN DE MENÚ RESPONSIVO
   ====================== */
.btn-mobile-nav {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--color-texto);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--color-texto);
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}
/* ======================
   FRASE INICIAL DESTACADA
   ====================== */
.frase-inicial {
  background-color: var(--color-gris-claro);
  padding: 2rem 0;
  text-align: center;
}

.frase-inicial blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-texto);
}

.frase-inicial footer {
  margin-top: 0.5rem;
  color: var(--color-principal);
  font-weight: 600;
}

/* ======================
   HERO PRINCIPAL
   ====================== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-content {
  text-align: center;
  color: white;
}

.hero-title {
  font-family: var(--fuente-titulo);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--color-secundario);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  font-family: var(--fuente-titulo);
  border: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #cc8800;
}

/* ======================
   SECCIÓN NOSOTROS
   ====================== */
.section-nosotros .nosotros-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.nosotros-text {
  flex: 1 1 50%;
}

.nosotros-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.nosotros-image {
  flex: 1 1 45%;
}

.nosotros-image img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ======================
   SECCIÓN VALORES
   ====================== */
.section-valores .valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.valor-card {
  background-color: var(--color-gris-claro);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.valor-card:hover {
  transform: translateY(-5px);
}

.valor-card h3 {
  color: var(--color-principal);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ======================
   SECCIÓN ÚNICOS
   ====================== */
.section-unicos .unicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.unico-box {
  background-color: white;
  padding: 1.5rem;
  border-left: 5px solid var(--color-principal);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.unico-box:hover {
  transform: scale(1.03);
  border-color: var(--color-secundario);
}

.unico-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-principal);
}

/* ======================
   SECCIÓN TOURS
   ====================== */
.section-tours .tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tour-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-5px);
}

.tour-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-info {
  padding: 1rem;
}

.tour-info h3 {
  font-family: var(--fuente-titulo);
  color: var(--color-principal);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.tour-info p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn-secondary {
  display: inline-block;
  background-color: var(--color-principal);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  font-family: var(--fuente-titulo);
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: #0c3d3d;
}
/* ======================
   SECCIÓN GALERÍA
   ====================== */
.section-galeria .galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.galeria-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.galeria-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ======================
   SECCIÓN BLOG
   ====================== */
.section-blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-content {
  padding: 1rem;
}

.post-content h3 {
  font-size: 1.2rem;
  color: var(--color-principal);
  margin-bottom: 0.5rem;
}

.post-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ======================
   CTA: VIAJA DIFERENTE
   ====================== */
.cta-viaja-diferente {
  background: linear-gradient(to right, var(--color-principal), var(--color-secundario));
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  margin-top: 4rem;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-family: var(--fuente-titulo);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ======================
   SECCIÓN EQUIPO
   ====================== */
.section-equipo .equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.miembro-equipo {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.miembro-equipo:hover {
  transform: translateY(-5px);
}

.miembro-equipo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.miembro-equipo h3 {
  color: var(--color-principal);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.miembro-equipo p {
  font-size: 0.95rem;
  color: #444;
}

/* ======================
   SECCIÓN RESERVAS
   ====================== */
.section-reservas form {
  margin-top: 2rem;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.form-group a {
  color: var(--color-principal);
  text-decoration: underline;
}

.btn-primary[type="submit"] {
  margin-top: 1rem;
}
/* ======================
   SECCIÓN VOLUNTARIADO
   ====================== */
.section-voluntariado .voluntariado-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.voluntariado-info {
  padding-right: 1rem;
}

.voluntariado-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.checklist li::before {
  content: "✔️";
  margin-right: 0.5rem;
  color: var(--color-secundario);
}

.voluntariado-img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* ======================
   SECCIÓN SOSTENIBILIDAD
   ====================== */
.section-sostenibilidad .sostenibilidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.card-sostenibilidad {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card-sostenibilidad:hover {
  transform: translateY(-5px);
}

.card-sostenibilidad img {
  height: 60px;
  margin-bottom: 1rem;
}

.card-sostenibilidad h3 {
  margin-bottom: 0.5rem;
  color: var(--color-principal);
  font-size: 1.2rem;
}

/* ======================
   SECCIÓN FAQ
   ====================== */
.section-faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  color: var(--color-principal);
  font-size: 1.1rem;
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ======================
   SECCIÓN MAPA
   ====================== */
.section-mapa .mapa-wrapper {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ======================
   FOOTER
   ====================== */
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 4rem 1rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 140px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-secundario);
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
}

.footer-social img {
  width: 28px;
  transition: transform 0.3s;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-newsletter input {
  padding: 0.75rem;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.footer-newsletter button {
  padding: 0.75rem;
  background-color: var(--color-secundario);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-newsletter button:hover {
  background-color: var(--color-principal);
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
  color: #aaa;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 100%;
    right: 0;
    width: 70%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav.nav-open .nav-list {
    display: flex;
  }

  .btn-mobile-nav {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .container {
    padding: 1rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .section-formacion {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.formacion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.formacion-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.equipo-descripcion {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.miembro-equipo .dni {
  font-weight: bold;
  margin-top: 10px;
  color: #2d572c;
}
/* ================================
   ÍCONOS DE MIEMBROS DEL EQUIPO
   ================================ */
.miembro-equipo .icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background-color: #e5f5ee; /* Fondo suave */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

  /* Filtro para que el SVG negro se vuelva verde institucional (#295C30) */
  filter: invert(26%) sepia(25%) saturate(692%) hue-rotate(88deg) brightness(95%) contrast(90%);
}

/* Íconos específicos */
.icon-guia {
  background-image: url("../img/iconos/outline/user.svg");
}

.icon-conductor {
  background-image: url("../img/iconos/outline/car.svg");
}

.icon-reservas {
  background-image: url("../img/iconos/outline/calendar-event.svg");
}

.icon-social {
  background-image: url("../img/iconos/outline/heart-handshake.svg");
}


}



