
:root {
  --color-primary: #222222;
  --color-secondary: #ffcc33;
  --color-accent: #008cff;
  --color-bg: #f5f6fa;
  --color-text: #222222;
  --color-muted: #6c6c6c;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 60px rgba(0,0,0,0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* NAVBAR & HERO */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.5)), url("../img/portada-chaparrales.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  backdrop-filter: blur(16px);
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.7));
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-group img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid var(--color-secondary);
  background: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", system-ui, sans-serif;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.68rem;
  opacity: 0.85;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #111111 !important;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
  padding: 8rem 5vw 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(0,0,0,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 1.4rem 0 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 32rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1rem;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), #ffe27a);
  color: #111111;
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.7);
  color: #ffffff;
  background: rgba(0,0,0,0.25);
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.hero-contact a {
  color: #fff;
  text-decoration: underline;
}

/* SECTIONS */

.section {
  padding: 4.5rem 5vw;
}

.section-highlight {
  background: radial-gradient(circle at top left, #ffffff, #eaf3ff);
}

.section-alt {
  background: #ffffff;
}

.section-video {
  background: #0b1320;
  color: #f4f6ff;
}

.section h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-video .section-subtitle {
  color: #d0d4ff;
}

/* LAYOUT HELPERS */

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.two-columns-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.text-block p {
  margin: 0.3rem 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--color-muted);
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* IMAGES */

.image-stack {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.image-stack .img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.image-stack .img-float {
  position: absolute;
  width: 55%;
  border-radius: 1.5rem;
  bottom: -14%;
  right: -4%;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 780px) {
  .image-stack .img-float {
    position: static;
    width: 80%;
    display: block;
    margin: 1rem auto 0;
  }
}

/* TRIP CARDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.trip-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(15,45,90,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.trip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.trip-info {
  padding: 1.3rem 1.25rem 1.4rem;
}

.trip-info h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.trip-info p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.trip-info ul {
  padding-left: 1.1rem;
  margin: 0.7rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.destinos-note {
  margin-top: 2.3rem;
  text-align: center;
}

.destinos-note p {
  margin-bottom: 0.9rem;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 1.3rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.18);
}

.gallery-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* VIDEO */

.video-block {
  max-width: 520px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* REDES SOCIALES */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.4rem 0;
}

.social-card {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: #f5f7ff;
  color: #141b3f;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(8,18,60,0.06);
}

.social-card i {
  font-size: 1.2rem;
}

.embed-block {
  max-width: 400px;
  margin: 0 auto;
}

.embed-card {
  background: #f7f7f7;
  border-radius: var(--radius-md);
  padding: 0.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.embed-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

/* CONTACTO */

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.3rem 0 1rem;
}

.contact-card {
  flex: 1 1 200px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  font-size: 0.9rem;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.form-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 18px 60px rgba(0,0,0,0.12);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

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

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input,
select,
textarea {
  border-radius: 0.8rem;
  border: 1px solid #d7dbe5;
  padding: 0.65rem 0.75rem;
  font: inherit;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 140, 255, 0.15);
}

.btn-full {
  width: 100%;
  margin-top: 0.4rem;
}

.form-legend {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.tiny-text {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* WHATSAPP FLOAT */

.whatsapp-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.2rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  z-index: 50;
  text-decoration: none;
}

/* FOOTER */

.footer {
  background: #05060a;
  color: #e4e4e4;
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.6rem;
  align-items: flex-start;
}

.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid var(--color-secondary);
  background: #fff;
}

.footer-brand {
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-col p {
  margin: 0.2rem 0;
  font-size: 0.88rem;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  font-size: 1.2rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem 5vw 1.6rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .two-columns,
  .two-columns-reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    padding: 0.7rem 5vw 1rem;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: 260px;
  }
  .hero {
    min-height: 90vh;
  }
  .hero-content {
    padding-top: 6.2rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding-inline: 6vw;
  }
  .form-block {
    padding-inline: 1.2rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 1.1rem;
    right: 1rem;
  }
}
