:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --teal: #0d9488;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

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

.btn-wa {
  background: var(--teal);
  color: #fff;
}

.btn-wa:hover {
  background: #0b7d74;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.brand img {
  width: 180px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.primary-nav a {
  color: var(--ink);
  font-weight: 500;
}

.primary-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78vh;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img,
.hero-media video {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.30), rgba(15, 23, 42, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  max-width: 640px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 4.5rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
}

/* ---------- Tours ---------- */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.tour-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.tour-card > a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-card > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

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

.tour-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.3;
}

.tour-body h3 a {
  color: inherit;
}

.tour-body h3 a:hover {
  color: var(--blue);
}

.tour-duration {
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.tour-features {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tour-features li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

.tour-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 1.4rem;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.service-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  padding-inline: 1.4rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  padding-inline: 1.4rem;
}

/* ---------- Testimonial ---------- */
.testimonial .quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial figcaption {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--teal));
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.cta p {
  margin-bottom: 1.75rem;
  opacity: 0.92;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.footer-col h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: #cbd5e1;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.social {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.social a {
  color: #cbd5e1;
}

.social a:hover {
  color: #fff;
}

/* ---------- Página de tour ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--teal));
  color: #fff;
  padding-block: 3.5rem;
}

.page-hero .eyebrow {
  color: #bfdbfe;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: #dbeafe;
}

.breadcrumb a {
  color: #dbeafe;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-hero .tour-duration {
  background: rgba(255, 255, 255, 0.2);
}

.tour-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.tour-hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.tour-desc {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

.tour-main h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.days {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.day-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: #fff;
}

.day-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.day-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.day-items li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

.tour-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  background: #fff;
}

.sidebar-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.includes li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

.sidebar-card .btn {
  width: 100%;
}

.sidebar-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.related-grid {
  margin-top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour-layout {
    grid-template-columns: 1fr;
  }

  .tour-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

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

  .primary-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .primary-nav .btn {
    justify-content: center;
  }

  .tours-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
