/* Tokens del skin */
:root{--arena: #fff8ec;--borde: #ece3d3;--coral: #f0685a;--hoja: #4f9a35;--mar: #0b4a6e;--noche: #0f1d3a;--sol: #ffcf4a;--suave: #5b6472;--texto: #1f2937;}

/* Camina Colombia — pensada primero para el móvil. Marca del sitio anterior: el camaleón del logo, el
   azul petróleo de la cabecera (sobre el que va el logo, de letras blancas) y el coral de los botones;
   sin el fondo de mármol. Nunito (OFL) servida desde el propio sitio. */
@font-face { font-family: "Nunito"; src: url("/_media/fonts/nunito.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/_media/fonts/nunito-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: "Nunito", ui-sans-serif, system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--texto); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mar); }
h1, h2, h3 { line-height: 1.15; color: var(--noche); margin: 0 0 0.75rem; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw + 0.5rem, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2.2rem); }
h3 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; border-radius: 0.5rem; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 46rem; }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.ic-stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.eyebrow { margin: 0 0 0.4rem; color: var(--coral); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

/* Botones. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.7rem 1.4rem; border-radius: 999px; border: 2px solid var(--coral); background: var(--coral); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; line-height: 1.1; }
.btn:hover { filter: brightness(0.95); }
.btn-wa { background: #1fa855; border-color: #1fa855; }
.btn-ghost { background: transparent; color: var(--mar); border-color: var(--mar); }
.btn-light { background: #fff; color: var(--noche); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }

/* Cabecera: hamburguesa en el móvil; menú y botón de WhatsApp en escritorio. */
.hd { position: sticky; top: 0; z-index: 30; background: var(--mar); color: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / 0.08); }
.hd-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 4.25rem; }
.hd-logo img { height: 3.4rem; width: auto; }
.menu-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; margin: 0; }
.menu-button { display: grid; place-items: center; width: 3rem; height: 3rem; cursor: pointer; }
.menu-button span, .menu-button span::before, .menu-button span::after { display: block; width: 1.5rem; height: 2px; background: #fff; position: relative; transition: transform 0.2s ease; }
.menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
.menu-button span::before { top: -0.5rem; }
.menu-button span::after { top: 0.5rem; }
.menu-toggle:checked + .menu-button span { background: transparent; }
.menu-toggle:checked + .menu-button span::before { transform: translateY(0.5rem) rotate(45deg); }
.menu-toggle:checked + .menu-button span::after { transform: translateY(-0.5rem) rotate(-45deg); }
.menu-toggle:focus-visible + .menu-button { outline: 3px solid var(--sol); }
.hd-nav { display: none; flex-basis: 100%; padding-bottom: 1rem; }
.menu-toggle:checked ~ .hd-nav { display: block; }
.hd-nav ul { list-style: none; margin: 0; padding: 0; }
.hd-nav a:not(.btn) { display: block; padding: 0.85rem 0.25rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / 0.15); }
.hd-nav a[aria-current="page"] { color: var(--sol); }
.hd-cta { margin-top: 1rem; width: 100%; }
@media (min-width: 900px) {
  .menu-button { display: none; }
  .hd-nav { display: flex; align-items: center; gap: 1.5rem; flex-basis: auto; padding: 0; }
  .hd-nav ul { display: flex; gap: 0.25rem; }
  .hd-nav a:not(.btn) { border: 0; padding: 0.5rem 0.8rem; font-size: 1rem; border-radius: 999px; }
  .hd-nav a:not(.btn):hover { background: rgb(255 255 255 / 0.12); }
  .hd-cta { margin: 0; width: auto; min-height: 2.6rem; padding: 0.5rem 1.1rem; }
}

/* Portada: foto de fondo con degradado; más baja en las páginas interiores. */
.hero { position: relative; isolation: isolate; color: #fff; display: flex; align-items: flex-end; min-height: 70vh; background: var(--noche); }
.hero-page { min-height: 15rem; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 29 58 / 0.15) 0%, rgb(15 29 58 / 0.75) 100%); }
.hero-body { padding-block: 2.5rem 2.25rem; }
.hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 12px rgb(0 0 0 / 0.25); }
.hero-page h1 { max-width: none; }
.hero .eyebrow { color: var(--sol); }
.hero-text { font-size: 1.15rem; max-width: 38rem; margin: 0; }
.hero .actions .btn { flex: 1 1 12rem; }
@media (min-width: 900px) { .hero { min-height: 78vh; } .hero-page { min-height: 20rem; } .hero .actions .btn { flex: 0 0 auto; } }

/* Secciones y tarjetas. */
.sec { padding-block: 2.75rem; }
.sec-sand { background: var(--arena); }
.sec-title { margin-bottom: 0.5rem; }
.sec-intro { color: var(--suave); max-width: 46rem; margin-bottom: 1.5rem; }
.sec-intro p { margin: 0 0 0.75rem; }
.sec-more { margin: 1.75rem 0 0; text-align: center; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 1.1rem; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 8px 24px rgb(15 29 58 / 0.08); border: 1px solid var(--borde); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgb(15 29 58 / 0.14); }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.card-meta { color: var(--hoja); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.card-title { font-weight: 800; font-size: 1.25rem; color: var(--noche); line-height: 1.2; }
.card-text { color: var(--suave); font-size: 0.98rem; }
.card-more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--coral); font-weight: 800; }

/* Ficha de caminata, destino o programa: foto, datos y botones arriba; el formulario al lado en
   escritorio y al final en el móvil. */
.detail-cover img { width: 100%; aspect-ratio: 16 / 9; max-height: 60vh; object-fit: cover; }
.detail-grid { display: grid; gap: 2rem; padding-block: 1.75rem 3rem; }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 24rem; align-items: start; gap: 3rem; } .detail-form { position: sticky; top: 5.5rem; } }
.crumbs { margin: 0 0 0.75rem; font-size: 0.95rem; }
.crumbs a { color: var(--suave); text-decoration: none; font-weight: 700; }
.lead { font-size: 1.2rem; color: var(--suave); margin: 0 0 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.5rem; }
.facts div { background: var(--arena); border: 1px solid var(--borde); border-radius: 0.8rem; padding: 0.5rem 0.9rem; }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--suave); font-weight: 800; }
.facts dd { margin: 0; font-weight: 800; color: var(--noche); }
.detail .actions .btn { flex: 1 1 10rem; }
@media (min-width: 640px) { .detail .actions .btn { flex: 0 0 auto; } }
.note { margin: 1rem 0 0; padding: 0.75rem 1rem; border-left: 4px solid var(--sol); background: #fffbea; border-radius: 0.4rem; font-weight: 700; }
.prose { margin-top: 1.5rem; }
.prose p, .prose li { color: #374151; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.sub { margin-top: 2.25rem; font-size: 1.4rem; }
.gallery { border-radius: 1rem; overflow: hidden; background: var(--arena); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; overflow-x: auto; padding-bottom: 0.25rem; }
.thumbs a { flex: 0 0 4.5rem; border-radius: 0.5rem; overflow: hidden; border: 3px solid transparent; }
.thumbs a[aria-current="true"] { border-color: var(--coral); }
.thumbs img { aspect-ratio: 1; object-fit: cover; }

/* Formularios. */
.detail-form { background: var(--arena); border: 1px solid var(--borde); border-radius: 1.25rem; padding: 1.25rem; scroll-margin-top: 5rem; }
.detail-form h2 { font-size: 1.4rem; }
.cf { display: grid; gap: 0.9rem; }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.3rem; font-size: 0.95rem; }
.form-field input:not([type="checkbox"]), .form-field textarea, .form-field select { width: 100%; padding: 0.75rem 0.85rem; border: 1px solid #d6cdbb; border-radius: 0.7rem; font: inherit; font-size: 1rem; background: #fff; color: var(--texto); }
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible { outline: 3px solid var(--sol); border-color: var(--mar); }
.form-field [aria-invalid="true"] { border-color: #c0392b; }
.form-check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400 !important; }
.form-check input { margin-top: 0.35rem; width: 1.1rem; height: 1.1rem; }
.form-error { color: #b42318; font-size: 0.9rem; margin: 0.3rem 0 0; }
.form-status { margin: 0; font-weight: 700; color: #b42318; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf .btn { width: 100%; }
.cf .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-sent { margin: 0; padding: 1rem 1.2rem; border-radius: 0.8rem; background: #e8f5e9; color: #1e5e2a; font-weight: 800; }

/* Contacto. */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 26rem; align-items: start; gap: 3rem; } }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-list a:not(.btn) { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; text-decoration: none; color: var(--noche); }

/* Blog. */
.article .meta { color: var(--suave); font-weight: 700; margin: -0.25rem 0 1rem; }
.article .wrap { padding-block: 1.75rem 3rem; }

/* Llamada a la acción. */
.cta { background: var(--mar); color: #fff; padding-block: 3rem; text-align: center; }
.cta h2 { color: #fff; }
.cta p { margin: 0 auto; max-width: 36rem; }
.cta .actions { justify-content: center; }

/* Pie. */
.ft { background: var(--noche); color: #d8dce6; padding-top: 2.75rem; }
.ft-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .ft-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.ft h2 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ft p { margin: 0.75rem 0 0; }
.ft-logo { height: 3.6rem; width: auto; }
.ft a { color: #fff; text-decoration: none; }
.ft a:hover { color: var(--sol); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ft-contact a { display: inline-flex; align-items: center; gap: 0.55rem; }
.ft-social { display: flex; gap: 1rem; }
.ft-social .ic { width: 1.75rem; height: 1.75rem; }
.ft-links { margin-top: 1.25rem !important; }
.ft-bottom { border-top: 1px solid rgb(255 255 255 / 0.12); margin-top: 2.25rem; padding-block: 1.25rem 5.5rem; font-size: 0.9rem; color: #aab2c3; }
.ft-bottom p { margin: 0; }
@media (min-width: 900px) { .ft-bottom { padding-bottom: 1.25rem; } }

/* WhatsApp flotante. */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 0.25); }
.wa-float .ic { width: 2rem; height: 2rem; }

/* Menú desplegable «Programas» (details/summary, sin JavaScript): acordeón en el móvil, panel en escritorio. */
.hd-sub summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0.25rem; color: #fff; font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / 0.15); }
.hd-sub summary::-webkit-details-marker { display: none; }
.hd-sub summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -0.2rem 0.4rem 0; transition: transform 0.2s ease; }
.hd-sub details[open] summary::after { transform: rotate(-135deg); margin-top: 0.3rem; }
.hd-sub summary.is-current { color: var(--sol); }
.hd-sub ul { padding: 0.25rem 0 0.5rem 0.75rem; }
.hd-sub ul a { display: block; padding: 0.6rem 0.25rem; color: #fff; text-decoration: none; border: 0; }
.hd-sub ul a strong { display: block; font-size: 1rem; }
.hd-sub ul a span { display: block; font-size: 0.9rem; color: rgb(255 255 255 / 0.75); font-weight: 400; }
.hd-sub .hd-all a { color: var(--sol); font-weight: 800; }
@media (min-width: 900px) {
  .hd-sub { position: relative; }
  .hd-sub summary { border: 0; padding: 0.5rem 0.8rem; font-size: 1rem; border-radius: 999px; gap: 0.5rem; }
  .hd-sub summary:hover { background: rgb(255 255 255 / 0.12); }
  .hd-sub details ul { position: absolute; top: calc(100% + 0.6rem); left: 50%; transform: translateX(-50%); width: 22rem; display: block; padding: 0.6rem; background: #fff; border-radius: 1rem; box-shadow: 0 16px 40px rgb(15 29 58 / 0.22); }
  .hd-sub ul a { color: var(--noche); padding: 0.7rem 0.8rem; border-radius: 0.7rem; }
  .hd-sub ul a:hover, .hd-sub ul a[aria-current="page"] { background: var(--arena); }
  .hd-sub ul a span { color: var(--suave); }
  .hd-sub .hd-all a { color: var(--coral); }
}
@media (min-width: 900px) {
  /* El panel es blanco: sus enlaces, en tinta (la regla general del menú los pone en blanco). */
  .hd-nav .hd-sub ul a:not(.btn) { color: var(--noche); padding: 0.65rem 0.8rem; font-size: 1rem; border-radius: 0.7rem; }
  .hd-nav .hd-sub ul a:not(.btn):hover, .hd-nav .hd-sub ul a[aria-current="page"] { background: var(--arena); }
  .hd-nav .hd-sub .hd-all a:not(.btn) { color: var(--coral); }
}
