
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f7f7f9;
  line-height: 1.5;
}

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

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

/* Layout */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-left img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.75)),
                    url("../img/portada.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(255,255,255,0.12), transparent 55%),
              radial-gradient(circle at 90% 100%, rgba(255,255,255,0.1), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.5;
  z-index: -1;
}

.hero-inner {
  max-width: 720px;
  padding: 4rem 1.5rem 3.5rem;
}

.hero-logo {
  width: 140px;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.6));
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #ffdd57;
}

.hero-title {
  font-size: clamp(2rem, 3.2vw + 1rem, 3rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: #f5f5f5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.35);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff512f, #f09819);
  color: #fff;
  box-shadow: 0 7px 18px rgba(0,0,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.4);
}

.btn-outline {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(0,0,0,0.7);
}

/* Sections */

.section {
  padding: 3.5rem 1.25rem;
}

.section:nth-of-type(even) {
  background: #ffffff;
}

.section:nth-of-type(odd) {
  background: #f1f2f6;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ff512f;
  font-weight: 700;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
}

.section-subtitle {
  font-size: 0.95rem;
  max-width: 480px;
  color: #555;
}

/* Tours Grid */

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.tour-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}

.tour-media {
  position: relative;
  overflow: hidden;
}

.tour-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-media img {
  transform: scale(1.05);
}

.tour-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
}

.tour-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tour-title {
  font-weight: 700;
  font-size: 1rem;
}

.tour-meta {
  font-size: 0.8rem;
  color: #666;
}

.tour-footer {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.price-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 81, 47, 0.09);
  color: #c0392b;
  font-weight: 700;
}

.chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #edf2ff;
  color: #364fc7;
}

/* Banner Mexico es tuyo */

.mexico-banner {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.mexico-banner img {
  width: 100%;
}

/* Gallery */

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

.gallery-item {
  position: relative;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "Ver más";
  position: absolute;
  bottom: 0.55rem;
  right: 0.7rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fff;
}

/* Lightbox */

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

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  border-radius: 16px;
}

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

/* Video + FB */

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 1.25rem;
}

.media-layout iframe {
  border-radius: 18px;
  border: none;
  width: 100%;
  min-height: 260px;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.contact-card,
.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.3rem 1.3rem 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.contact-card h3,
.info-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.contact-card p,
.info-card p {
  font-size: 0.9rem;
  color: #555;
}

.contact-card form {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
}

.form-field label {
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  border-radius: 12px;
  border: 1px solid #d0d4e4;
  padding: 0.45rem 0.6rem;
  font: inherit;
  resize: vertical;
}

.form-field textarea {
  min-height: 90px;
}

.form-note {
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.3rem;
}

.contact-card button {
  margin-top: 0.2rem;
}

.info-list {
  list-style: none;
  margin-top: 0.7rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.info-list li span {
  font-weight: 600;
}

.info-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.4rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e6fcf5;
  color: #087f5b;
  font-size: 0.75rem;
}

.map-embed {
  margin-top: 0.9rem;
  border-radius: 16px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  border: 0;
  min-height: 200px;
}

/* Footer */

footer {
  padding: 1.4rem 1.25rem 1.5rem;
  background: #050816;
  color: #e9ecef;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-links a {
  color: #ffdd57;
}

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

/* Floating WhatsApp */

.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 250;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
  color: #fff;
  font-size: 1.6rem;
}

/* Responsive */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-inner {
    padding-top: 3.2rem;
  }

  .media-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding-inline: 1rem;
  }

  .hero {
    min-height: 75vh;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
}
