/* Camping Hugo & Cefe — sistema de diseño
   Paleta: selva (verde profundo bajo sombra), musgo, tierra colorada de Misiones, arena, niebla.
   Tipografía: Bricolage Grotesque, una sola familia, variable (opsz/wght). */
:root {
  --selva: #14361f;
  --selva-2: #1d4a2b;
  --musgo: #5c7f4d;
  --tierra: #b8472b;
  --tierra-2: #9c3a22;
  --arena: #ead9bd;
  --arena-2: #f4ead7;
  --niebla: #eef0e6;
  --blanco: #fbfaf5;
  --tinta: #17241a;
  --tinta-2: #4b5a4d;
  --linea: rgba(23, 36, 26, .14);
  --radio: 14px;
  --radio-s: 8px;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--niebla);
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tierra); text-underline-offset: .15em; }
a:hover { color: var(--tierra-2); }
h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--selva); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tierra); outline-offset: 3px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
  line-height: 1.1; white-space: nowrap;
}
.btn-lg { padding: 1em 1.7em; font-size: 1.08rem; }
.btn { transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--tierra); color: #fff; box-shadow: 0 10px 22px -10px rgba(184, 71, 43, .7); }
.btn-primary:hover { background: var(--tierra-2); color: #fff; box-shadow: 0 14px 26px -10px rgba(184, 71, 43, .8); }
.btn-secondary { background: var(--selva); color: #fff; box-shadow: 0 10px 22px -12px rgba(20, 54, 31, .8); }
.btn-secondary:hover { background: var(--selva-2); color: #fff; }
.btn-outline { background: transparent; color: var(--selva); border-color: var(--selva); }
.btn-outline:hover { background: var(--selva); color: #fff; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blanco); border-bottom: 1px solid var(--linea); transition: background .25s, border-color .25s; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tinta); margin-right: auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-name .amp { color: var(--tierra); font-weight: 500; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { text-decoration: none; color: inherit; font-weight: 600; font-size: .98rem; }
.site-nav a:hover { color: var(--tierra); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { background: var(--blanco); border-top: 1px solid var(--linea); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 18px; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 700; font-size: 1.15rem; color: inherit; text-decoration: none; border-bottom: 1px solid var(--linea); }
/* Sobre el hero: transparente hasta que se scrollea */
.home .site-header.is-over-hero:not(.is-solid) { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.home .site-header.is-over-hero:not(.is-solid) .brand { color: #fff; }
.home .site-header.is-over-hero:not(.is-solid) .site-nav a:hover { color: var(--arena); }
.home .site-header.is-over-hero:not(.is-solid) .mobile-nav { background: var(--selva); }
.home .site-header.is-over-hero:not(.is-solid) .mobile-nav a { color: #fff; border-color: rgba(255,255,255,.2); }
.home .site-header.is-over-hero.is-solid { position: fixed; left: 0; right: 0; }
.home main { padding-top: 0; }
@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden;
}
.hero-inner { min-height: min(72svh, 640px); }
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background: var(--selva) var(--hero) center / cover no-repeat;
  animation: hero-in 1.6s ease-out both;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 32, 18, .92) 0%, rgba(12, 32, 18, .55) 38%, rgba(12, 32, 18, .1) 70%, rgba(12, 32, 18, .25) 100%);
}
@keyframes hero-in { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } }
.hero-content { padding-block: clamp(48px, 9vh, 120px) clamp(40px, 7vh, 80px); max-width: 860px; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.hero-place { font-weight: 600; color: var(--arena); margin-bottom: 1.2em; font-size: 1rem; }
.hero-place a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 34em; color: rgba(255,255,255,.9); margin-bottom: 1.6em; text-wrap: pretty; }
.hero-inner .hero-sub { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ficha de datos bajo el hero */
.ficha { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--arena); border-radius: var(--radio); margin-top: -34px; position: relative; z-index: 2; overflow: hidden; }
.ficha > div { padding: 18px 22px; border-left: 1px solid rgba(23,36,26,.12); display: grid; gap: 2px; }
.ficha > div:first-child { border-left: 0; }
.ficha span { font-size: .85rem; color: var(--tinta-2); }
.ficha a { color: var(--tinta); font-weight: 700; text-decoration: none; }
.ficha a:hover { color: var(--tierra); }
@media (max-width: 760px) { .ficha { grid-template-columns: 1fr; margin-top: 16px; } .ficha > div { border-left: 0; border-top: 1px solid rgba(23,36,26,.12); } .ficha > div:first-child { border-top: 0; } }

/* Secciones */
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-arena { background: var(--arena-2); }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.12rem; color: var(--tinta-2); text-wrap: pretty; }
.section-head .btn { margin-top: 6px; }

/* Servicios: mosaico de fotos */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; border-radius: var(--radio); overflow: hidden; background: var(--selva); text-decoration: none; color: #fff; aspect-ratio: 4 / 3; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tile:focus-visible { outline-offset: 4px; }
.tile-big { grid-column: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: absolute; inset: auto 0 0; padding: 22px 20px 18px; background: linear-gradient(to top, rgba(12,32,18,.9), rgba(12,32,18,.55) 60%, transparent); display: grid; gap: 4px; }
.tile-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.tile-big .tile-title { font-size: 1.9rem; }
.tile-text { font-size: .95rem; color: rgba(255,255,255,.88); max-width: 40em; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile-big { grid-column: span 2; aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; gap: 12px; } .tile-big { grid-column: auto; aspect-ratio: 4 / 3; } .tile-text { display: none; } }

/* Quiénes somos */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.about-photos img { border-radius: var(--radio); width: 100%; object-fit: cover; }
.about-photos img:first-child { aspect-ratio: 9 / 11; }
.about-photos img:last-child { aspect-ratio: 9 / 7; margin-bottom: 34px; }
.about-text p { font-size: 1.08rem; text-wrap: pretty; }
.about-text p:first-of-type { font-size: 1.25rem; font-weight: 500; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-photos img:last-child { margin-bottom: 0; } }

/* Opiniones */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote { margin: 0; padding: 28px 28px 24px; background: var(--blanco); border-radius: var(--radio); border: 1px solid var(--linea); position: relative; }
.quote::before { content: "“"; position: absolute; top: 6px; left: 18px; font-size: 4rem; line-height: 1; color: var(--tierra); font-weight: 800; opacity: .9; }
.quote p { margin: 0; padding-left: 34px; font-size: 1.2rem; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

/* Mapa */
.section-map { background: var(--blanco); }
.map { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); height: clamp(320px, 40vw, 520px); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Banda CTA */
.cta-band { background: var(--selva); color: #fff; padding-block: clamp(48px, 7vw, 90px); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; font-size: 1.1rem; max-width: 34em; }

/* Página de servicio */
.service-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.prose { max-width: 66ch; }
.service-body.single { grid-template-columns: 1fr; }
.service-body.single .prose { max-width: 72ch; }
.prose h2 { margin-bottom: .6em; }
.prose p { font-size: 1.08rem; text-wrap: pretty; }
.prose .lead { font-size: 1.28rem; font-weight: 500; color: var(--selva); line-height: 1.45; }
.prose.narrow { max-width: 72ch; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.ficha-side { background: var(--arena-2); border-radius: var(--radio); padding: 26px 28px; position: sticky; top: 96px; }
.ficha-side h3 { margin-bottom: .8em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.checks .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--musgo); color: #fff; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.feat { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px 24px 18px; box-shadow: 0 1px 0 rgba(23,36,26,.04); }
.feat-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--arena); color: var(--tierra); margin-bottom: 14px; }
.feat h3 { margin-bottom: .35em; }
.feat p { margin: 0; color: var(--tinta-2); }
@media (max-width: 860px) { .service-body { grid-template-columns: 1fr; } .ficha-side { position: static; } .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* Galería (masonry por columnas) + lightbox */
.section-gallery { background: var(--blanco); }
.gallery { columns: 4 220px; column-gap: 12px; }
.g-item { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: var(--radio-s); overflow: hidden; background: var(--arena); }
.g-item img { width: 100%; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(8, 20, 12, .92); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radio-s); margin-inline: auto; }
.lightbox figcaption { color: rgba(255,255,255,.85); text-align: center; padding: 10px; font-size: .95rem; }
.lightbox .lb-close { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.5rem; cursor: pointer; }
.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }

/* Otros espacios */
.others { padding-block: clamp(36px, 5vw, 56px); }
.others h2 { font-size: 1.3rem; margin-bottom: .8em; }
.others-row { display: flex; flex-wrap: wrap; gap: 10px; }
.others-row a { text-decoration: none; color: var(--tinta); background: var(--blanco); border: 1px solid var(--linea); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; }
.others-row a:hover { border-color: var(--tierra); color: var(--tierra); }

/* Legales */
.legal { background: var(--blanco); }

/* Footer */
.site-footer { background: var(--selva); color: rgba(255,255,255,.85); padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.footer-logo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.footer-tagline { max-width: 30em; }
.footer-ig { color: var(--arena); }
.footer-h { color: #fff; font-size: 1.05rem; margin-bottom: .9em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { color: inherit; text-decoration: none; }
.footer-list a:hover { color: var(--arena); }
.footer-list.two-col { grid-template-columns: 1fr 1fr; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(36px, 5vw, 60px); padding-block: 22px 90px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: rgba(255,255,255,.65); }
.footer-bottom a { color: inherit; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--arena); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 40; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { background: #1fb85a; }

/* Para quién es */
.section-ideal { padding-top: 0; }
.ideal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ideal { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px 24px 18px; }
.ideal-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--selva); color: var(--arena); margin-bottom: 16px; }
.ideal h3 { margin-bottom: .35em; }
.ideal p { margin: 0; color: var(--tinta-2); font-size: .98rem; }
@media (max-width: 960px) { .ideal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ideal-grid { grid-template-columns: 1fr; } }

/* Cómo reservar */
.section-steps { background: var(--arena-2); }
.section-steps.compact { background: var(--niebla); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.step { position: relative; background: var(--blanco); border-radius: var(--radio); padding: 28px 26px 22px; border: 1px solid var(--linea); }
.step-n { position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--arena); letter-spacing: -.04em; }
.step-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tierra); color: #fff; margin-bottom: 16px; }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--tinta-2); }
.step p a { font-weight: 600; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Combinalo con */
.section-related { padding-top: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel { display: block; text-decoration: none; color: var(--tinta); background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; }
.rel img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform .5s ease; }
.rel:hover img { transform: scale(1.03); }
.rel-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.rel-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.rel:hover .rel-title { color: var(--tierra); }
.rel-text { color: var(--tinta-2); font-size: .95rem; }
@media (max-width: 800px) { .rel-grid { grid-template-columns: 1fr; } }

/* Dónde estamos */
.where { background: var(--blanco); border-block: 1px solid var(--linea); padding-block: clamp(28px, 4vw, 44px); }
.where-row { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.where-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--arena); color: var(--tierra); }
.where h2 { font-size: 1.35rem; margin-bottom: .2em; }
.where p { margin: 0; color: var(--tinta-2); }
.where-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .where-row { grid-template-columns: 1fr; } .where-ico { display: none; } }
