@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --forest:     #2C3B34;
  --forest-mid: #3D5147;
  --forest-lt:  #4D6659;
  --sand:       #F2EDE4;
  --ivory:      #FAF8F4;
  --stone:      #C4B99A;
  --muted:      #7A8C80;
  --charcoal:   #2A2A2A;
  --deep:       #1B2820;
  --dark-card:  #243329;
  --border:     rgba(61,81,71,0.15);
  --body:       #5A6B5F;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--ivory); color: var(--charcoal); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: transparent; border-bottom: 0.5px solid transparent;
  padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between;
  height: 68px; transition: background .35s, border-color .35s, transform .35s, opacity .35s;
}
.nav.solid { background: rgba(250,248,244,.97); border-bottom-color: var(--border); backdrop-filter: blur(10px); }
.nav.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav-brand .brand-name {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300;
  letter-spacing: .22em; color: var(--ivory); text-transform: uppercase; line-height: 1; transition: color .35s;
}
.nav.solid .brand-name { color: var(--forest); }
.nav-brand .brand-tag { font-size: 8px; letter-spacing: .22em; color: rgba(250,248,244,.55); text-transform: uppercase; transition: color .35s; }
.nav.solid .brand-tag { color: var(--muted); }
/* Nav on non-hero pages (solid from top) */
.nav.always-solid { background: rgba(250,248,244,.97); border-bottom-color: var(--border); backdrop-filter: blur(10px); }
.nav.always-solid .brand-name { color: var(--forest); }
.nav.always-solid .brand-tag { color: var(--muted); }
.nav.always-solid .nav-links a { color: var(--charcoal); opacity: .8; }
.nav.always-solid .nav-cta { background: var(--forest-mid); color: var(--ivory); border-color: var(--forest-mid); }
.nav.always-solid .nav-hamburger span { background: var(--forest); }

.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 13px; letter-spacing: .07em; color: rgba(250,248,244,.85); transition: color .35s; position: relative; padding-bottom: 3px; }
.nav-links a::after { content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:currentColor; transform:scaleX(0); transition:transform .25s ease; transform-origin:left; }
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }
.nav.solid .nav-links a { color: var(--charcoal); opacity: .8; }
.nav.solid .nav-links a:hover { opacity: 1; }
.nav.solid .nav-links a.active { opacity: 1; }
.nav-cta {
  background: rgba(250,248,244,.12); color: var(--ivory); border: 1px solid rgba(250,248,244,.3);
  padding: 9px 22px; font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; transition: background .25s, border-color .35s, color .35s; white-space: nowrap;
}
.nav.solid .nav-cta { background: var(--forest-mid); color: var(--ivory); border-color: var(--forest-mid); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ivory); transition: background .35s; }
.nav.solid .nav-hamburger span { background: var(--forest); }
.mobile-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--ivory); z-index: 998; flex-direction: column; padding: 2rem; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-family: 'Cormorant Garamond', serif; font-weight: 300; color: var(--forest); padding: .9rem 0; border-bottom: 0.5px solid var(--border); letter-spacing: .04em; }
.mobile-nav .m-cta { margin-top: 2rem; background: var(--forest-mid); color: var(--ivory); text-align: center; font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 16px; display: block; }

/* UTILITY */
.eyebrow { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.eyebrow-lt { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--stone); margin-bottom: .7rem; opacity: .8; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,4vw,42px); font-weight: 300; line-height: 1.2; color: var(--forest); margin-bottom: .75rem; }
.section-title-lt { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,4vw,42px); font-weight: 300; line-height: 1.2; color: var(--sand); margin-bottom: .75rem; }
.divider { width: 36px; height: 1px; background: var(--forest-mid); margin: 1rem auto 1.75rem; opacity: .4; }
.divider-lt { width: 36px; height: 1px; background: var(--stone); margin: 1rem auto 1.75rem; opacity: .4; }
.body-text { font-size: 14px; line-height: 1.85; color: var(--body); max-width: 580px; margin: 0 auto .9rem; }
.body-text-lt { font-size: 14px; line-height: 1.85; color: var(--stone); opacity: .85; max-width: 580px; margin: 0 auto .9rem; }
.text-center { text-align: center; }
.section { padding: 5rem 1.5rem; }
.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); }
.section-deep { background: var(--deep); }

/* BUTTONS */
.btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; padding: 14px 34px; cursor: pointer; border: none; transition: opacity .2s, transform .15s; }
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary { background: var(--ivory); color: var(--forest); }
.btn-secondary { background: transparent; color: var(--ivory); border: 1px solid rgba(196,185,154,.55); }
.btn-forest { background: var(--forest-mid); color: var(--ivory); }
.btn-dark { background: var(--forest); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--forest); border: 1px solid var(--forest-mid); }

/* INNER PAGE HERO (mini) */
.page-hero {
  position: relative; min-height: 70vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(18,28,22,.5); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; padding: 6rem 2rem 3rem; }
.page-hero-eyebrow { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); margin-bottom: 1.25rem; opacity: .8; }
.page-hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,4.5vw,52px); font-weight: 300; letter-spacing: .08em; color: var(--ivory); text-transform: uppercase; line-height: 1.1; margin-bottom: .75rem; }
.page-hero-title em { font-style: italic; }
.page-hero-sub { font-family: 'Cormorant Garamond', serif; font-size: clamp(16px,2vw,21px); font-weight: 300; font-style: italic; color: var(--ivory); opacity: .75; max-width: 520px; line-height: 1.55; margin: 0 auto 2rem; }
.page-hero-breadcrumb { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--stone); opacity: .6; margin-bottom: 2rem; }
.page-hero-breadcrumb a { color: var(--stone); text-decoration: underline; }

/* CARD GRID */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }

/* DESTINATION CARD */
/* DESTINATION CARD — 4-col horizontal grid */
.dest-card { position: relative; overflow: hidden; cursor: pointer; display: block; text-decoration: none; }
.dest-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s; }
.dest-card:hover img { transform: scale(1.04); }
.dest-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(18,28,22,.35); transition: background .3s; pointer-events: none; }
.dest-card:hover .dest-card-overlay { background: rgba(18,28,22,.2); }
.dest-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(to top, rgba(18,28,22,.85) 0%, rgba(18,28,22,0) 100%); }
.dest-card-region { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: .3rem; opacity: .75; }
.dest-card-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--ivory); letter-spacing: .05em; line-height: 1.2; margin-bottom: .25rem; }
.dest-card-tag { font-size: 11px; line-height: 1.55; color: var(--stone); opacity: .85; }

/* 4-column dest grid */
.dest-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; max-width: 1000px; margin: 0 auto; }
/* 2-column dest grid (for subpages with 4 cards in 2x2) */
.dest-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; max-width: 1000px; margin: 0 auto; }
/* Large feature grid (for destinos hub) */
.dest-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; max-width: 1000px; margin: 0 auto; }

/* EXPERIENCE CARD (horizontal) */
.exp-card { display: grid; grid-template-columns: 1fr 1.4fr; background: var(--ivory); border: 0.5px solid var(--border); overflow: hidden; transition: transform .2s; }
.exp-card:hover { transform: translateY(-2px); }
.exp-card img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.exp-card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.exp-card-ey { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.exp-card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 300; color: var(--forest); margin-bottom: .75rem; line-height: 1.3; }
.exp-card-body-text { font-size: 12px; line-height: 1.85; color: var(--body); margin-bottom: 1rem; }
.exp-card-link { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--forest-mid); text-decoration: underline; }

/* CATEGORY STRIP */
.cat-strip { display: flex; gap: 0; border: 0.5px solid var(--border); max-width: 1000px; margin: 0 auto 3rem; overflow-x: auto; }
.cat-pill { padding: 10px 20px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); opacity: .65; border-right: 0.5px solid var(--border); white-space: nowrap; cursor: pointer; transition: background .2s, opacity .2s; }
.cat-pill:hover, .cat-pill.active { background: var(--forest); color: var(--ivory); opacity: 1; }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-top: 0.5px solid var(--border); }
.faq-q { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 400; color: var(--forest); padding: 1.3rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.faq-q .toggle { font-size: 18px; color: var(--forest-mid); opacity: .5; transition: transform .2s; flex-shrink: 0; }
.faq-a { font-size: 12px; line-height: 1.85; color: var(--muted); padding-bottom: 1.1rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .toggle { transform: rotate(45deg); }

/* CTA BAND */
.cta-band { background: var(--forest); padding: 5rem 1.5rem; text-align: center; }
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px,4vw,42px); font-weight: 300; color: var(--sand); line-height: 1.2; margin-bottom: .75rem; }
.cta-title em { font-style: italic; }
.cta-sub { font-size: 13px; color: var(--stone); opacity: .78; margin-bottom: 2.25rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--deep); padding: 3.5rem 1.5rem 1.5rem; }
.ft-logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; letter-spacing: .22em; color: var(--sand); text-transform: uppercase; text-align: center; margin-bottom: .25rem; }
.ft-tag { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--stone); text-align: center; opacity: .5; margin-bottom: 2.5rem; }
.ft-cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-bottom: 2.5rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.ft-col-title { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); opacity: .5; margin-bottom: 1rem; }
.ft-col a { display: block; font-size: 12px; color: var(--stone); opacity: .6; margin-bottom: .55rem; transition: opacity .2s; }
.ft-col a:hover { opacity: 1; }
.ft-bottom { border-top: 0.5px solid rgba(196,185,154,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.ft-copy { font-size: 10px; color: var(--stone); opacity: .35; }

/* RELATED CARDS */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.related-card { position: relative; overflow: hidden; cursor: pointer; }
.related-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s; }
.related-card:hover img { transform: scale(1.04); }
.related-card-overlay { position: absolute; inset: 0; background: rgba(18,28,22,.45); }
.related-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; }
.related-card-label { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: .3rem; opacity: .75; }
.related-card-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 300; color: var(--ivory); }

/* VALUE BAR */
.value-bar { background: var(--sand); display: grid; grid-template-columns: repeat(4,1fr); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.val-item { padding: 1.75rem 1rem; text-align: center; border-right: 0.5px solid var(--border); }
.val-item:last-child { border-right: none; }
.val-ico { margin-bottom: .55rem; display: flex; align-items: center; justify-content: center; }
.val-ico svg { width: 22px; height: 22px; stroke: var(--forest-mid); fill: none; stroke-width: 1.5; opacity: .65; }
.val-label { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* RESPONSIVE */
/* ─── TABLET 900px ─── */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .ft-cols { grid-template-columns: repeat(2,1fr); }
  .dest-grid-4 { grid-template-columns: repeat(2,1fr); }
  .dest-grid-3 { grid-template-columns: repeat(2,1fr); }
  .timing-grid { grid-template-columns: repeat(2,1fr); }
  .timing-cell:nth-child(2) { border-right: none; }
  .timing-cell:nth-child(3) { border-top: 0.5px solid var(--border); }
  .timing-cell:nth-child(4) { border-top: 0.5px solid var(--border); border-right: none; }
}

/* ─── MOBILE 768px ─── */
@media (max-width: 768px) {

  /* NAV */
  .nav { padding: 0 1.25rem; height: 58px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-brand .brand-name { font-size: 18px; }
  .nav-brand .brand-tag { font-size: 7px; }
  .mobile-nav a { font-size: 20px; padding: .8rem 0; }

  /* PAGE HERO */
  .page-hero { min-height: 60vh; }
  .page-hero-content { padding: 5rem 1.25rem 2.5rem; }
  .page-hero-title { font-size: clamp(26px, 7vw, 44px); letter-spacing: .05em; }
  .page-hero-sub { font-size: 15px; }
  .page-hero-breadcrumb { font-size: 9px; margin-bottom: 1.25rem; }

  /* SECTIONS */
  .section { padding: 3rem 1.25rem; }
  .section-title { font-size: clamp(24px, 6vw, 34px); }
  .body-text { font-size: 14px; }

  /* DEST GRIDS */
  .dest-grid-4 { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .dest-grid-3 { grid-template-columns: repeat(2,1fr); gap: 6px; }
  .dest-grid-2 { grid-template-columns: 1fr; gap: 6px; }
  .dest-card img { aspect-ratio: 3/2; }
  .dest-card-name { font-size: 16px; }
  .dest-card-tag { font-size: 10px; }
  .dest-card-body { padding: 1rem; }

  /* EXP CARD */
  .exp-card { grid-template-columns: 1fr; }
  .exp-card img { aspect-ratio: 16/9; min-height: auto; }
  .exp-card-body { padding: 1.5rem; }
  .exp-card-title { font-size: 20px; }

  /* RELATED */
  .related-grid { grid-template-columns: repeat(2,1fr); gap: 6px; }

  /* VALUE BAR */
  .value-bar { grid-template-columns: repeat(2,1fr); }
  .val-item:nth-child(2) { border-right: none; }
  .val-item:nth-child(3) { border-top: 0.5px solid var(--border); }
  .val-item:nth-child(4) { border-top: 0.5px solid var(--border); border-right: none; }
  .val-label { font-size: 8px; }

  /* TIMING */
  .timing-grid { grid-template-columns: 1fr 1fr; }

  /* FAQ */
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 12px; }

  /* CTA BAND */
  .cta-band { padding: 3.5rem 1.25rem; }
  .cta-title { font-size: clamp(22px, 5vw, 34px); }
  .cta-sub { font-size: 13px; }
  .cta-btns { flex-direction: column; align-items: center; gap: .75rem; }
  .cta-btns .btn { width: 100%; max-width: 280px; text-align: center; }

  /* FOOTER */
  .ft-cols { grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-bottom: 2rem; }
  .ft-logo { font-size: 22px; }
  .ft-bottom { flex-direction: column; text-align: center; gap: .35rem; }

  /* INFO BAR (country pages) */
  .info-bar { grid-template-columns: 1fr !important; }
  .info-bar-item { border-right: none !important; border-bottom: 0.5px solid var(--border); }
  .info-bar-item:last-child { border-bottom: none; }

  /* SEASON GRID (cuando/index.html) */
  .season-grid { grid-template-columns: 1fr; }
  .season-card img { aspect-ratio: 16/9; }
  .season-body { flex-direction: column; gap: .75rem; padding: 1.5rem; }
  .season-tags { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .season-tag { font-size: 8px; }
  .season-name { font-size: clamp(28px, 6vw, 44px); }

  /* PROFILE GRID (quien-viaja/index.html) */
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card img { aspect-ratio: 4/3; }
  .profile-body { padding: 1.5rem; }
  .profile-name { font-size: clamp(22px, 5vw, 30px); }
  .profile-desc { font-size: 12px; display: none; }

  /* EXP HUB GRID (tipo-de-viaje/index.html) */
  .exp-hub-grid { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
  .exp-hub-card,
  .exp-hub-card.featured,
  .exp-hub-card.wide { grid-row: span 1 !important; grid-column: span 1 !important; height: 220px; }
  .exp-hub-name { font-size: 20px; }
  .exp-hub-desc { display: none; }

  /* MATRIX GRID */
  .matrix-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .matrix-cell { padding: 1.25rem .75rem; }
  .matrix-cell-title { font-size: 15px; }

  /* INSIGHT GRID */
  .insight-grid { grid-template-columns: 1fr; }

  /* GENERAL BUTTONS */
  .btn { padding: 12px 24px; font-size: 10px; }
}

/* ─── SMALL MOBILE 480px ─── */
@media (max-width: 480px) {
  /* Grids to single column */
  .dest-grid-4 { grid-template-columns: 1fr; }
  .dest-grid-3 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .value-bar { grid-template-columns: repeat(2,1fr); }
  .ft-cols { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }

  /* Tighter spacing */
  .section { padding: 2.5rem 1rem; }
  .section-title { font-size: clamp(22px, 6vw, 28px); }
  .page-hero-title { font-size: clamp(24px, 8vw, 38px); }
  .cta-title { font-size: clamp(20px, 6vw, 28px); }

  /* Profile grid */
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card img { aspect-ratio: 3/2; }
}

