/* Conocedores Costa Rica — #3153 */
:root {
    --verde: #0b3d2e;
    --verde-2: #136f4f;
    --sol: #f5a524;
    --wa: #25d366;
    --texto: #1f2a2e;
    --suave: #f3f7f4;
    --gris: #5d6b70;
    --radio: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--texto); background: #fff; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Barra superior */
.barra {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px clamp(16px, 4vw, 48px);
    transition: background .3s, box-shadow .3s;
}
.barra.solida { background: var(--verde); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.marca { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: .3px; }
.marca span { color: var(--sol); }
.menu { display: flex; gap: 22px; align-items: center; }
.menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: var(--sol); }
.menu .menu-wa { background: var(--wa); padding: 8px 16px; border-radius: 30px; }
.menu .menu-wa:hover { color: #fff; filter: brightness(1.05); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* Portada */
.portada {
    position: relative; overflow: hidden;
    min-height: 100vh; display: flex; align-items: center;
    padding: 110px clamp(16px, 6vw, 80px) 60px;
    background: var(--verde);
    color: #fff;
}
.portada::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(5,30,22,.85) 0%, rgba(5,30,22,.45) 60%, rgba(5,30,22,.2) 100%);
}
/* Banner: las fotos se cruzan y hacen un zoom lento, como un video */
.portada-fondos { position: absolute; inset: 0; }
.portada-fondo {
    position: absolute; inset: 0;
    background-position: center; background-size: cover;
    opacity: 0; transform: scale(1);
    transition: opacity 1.6s ease, transform 8s linear;
}
.portada-fondo.activa { opacity: 1; transform: scale(1.12); }
.portada-contenido { position: relative; z-index: 2; max-width: 680px; }
.etiqueta { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.15); padding: 6px 14px; border-radius: 30px; font-size: .85rem; margin-bottom: 18px; }
.etiqueta i { color: var(--sol); }
.portada h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.portada p { font-size: clamp(1rem, 2vw, 1.2rem); opacity: .92; margin-bottom: 28px; }
.portada-botones { display: flex; gap: 14px; flex-wrap: wrap; }

/* Botones */
.btn { display: inline-flex; gap: 8px; align-items: center; padding: 13px 26px; border-radius: 40px; font-weight: 600; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-claro { background: #fff; color: var(--verde); }
.btn-grande { font-size: 1.3rem; padding: 16px 34px; }

/* Secciones */
.seccion { padding: 80px 0; }
.seccion-suave { background: var(--suave); }
.contenedor { width: min(1180px, 100% - 32px); margin: 0 auto; }
.seccion h2, .llamado h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; color: var(--verde); margin-bottom: 10px; }
.sub { color: var(--gris); margin-bottom: 36px; }
.dos-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.dos-col p { margin-bottom: 14px; color: #34444a; }

.cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cifra { background: var(--suave); border-radius: var(--radio); padding: 24px 18px; text-align: center; }
.cifra b { display: block; font-size: 2.2rem; color: var(--verde-2); font-weight: 800; line-height: 1.2; }
.cifra span { font-size: .9rem; color: var(--gris); }

/* Rejillas y tarjetas */
.rejilla { display: grid; gap: 22px; }
.rejilla-3 { grid-template-columns: repeat(3, 1fr); }
.rejilla-destinos { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.tarjeta { background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.tarjeta img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tarjeta-texto { padding: 18px 20px 22px; }
.tarjeta h3 { color: var(--verde); margin-bottom: 6px; }
.tarjeta p { color: var(--gris); font-size: .95rem; }

.destino { position: relative; display: block; border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #fff; }
.destino img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.destino:hover img { transform: scale(1.06); }
.destino-texto { position: absolute; inset: auto 0 0 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.destino-nota { display: inline-block; background: var(--sol); color: #2b1d00; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.destino h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.destino p { opacity: .9; font-size: .95rem; }

.paso { background: #fff; border-radius: var(--radio); padding: 30px 24px; text-align: center; }
.paso i { font-size: 2.4rem; color: var(--verde-2); }
.paso h3 { margin: 10px 0 6px; color: var(--verde); }
.paso p { color: var(--gris); }

/* Llamado final */
.llamado { background: linear-gradient(135deg, var(--verde), var(--verde-2)); color: #fff; text-align: center; padding: 80px 0; }
.llamado h2 { color: #fff; margin-bottom: 26px; }
.redes { display: flex; justify-content: center; gap: 18px; margin-top: 30px; }
.redes a { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 1.3rem; text-decoration: none; }
.redes a:hover { background: var(--sol); color: #2b1d00; }

/* Pie */
.pie { background: #06241b; color: #a9bdb5; text-align: center; padding: 26px 16px; font-size: .85rem; }
.pie a { color: #d7e6df; }
.patrocinio { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; margin-bottom: 14px; }
.patrocinio span { font-size: .8rem; letter-spacing: .5px; text-transform: uppercase; color: #a9bdb5; }
.patrocinio img { height: 44px; width: auto; transition: opacity .2s; }
.patrocinio:hover img { opacity: .85; }
.pie details { margin-top: 10px; }
.pie summary { cursor: pointer; }
.pie ul { list-style: none; margin-top: 10px; font-size: .78rem; line-height: 1.8; }

.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 6px 18px rgba(0,0,0,.3); text-decoration: none; }

/* Aparición al hacer scroll */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.aparece.visible { opacity: 1; transform: none; }

/* Celular */
@media (max-width: 820px) {
    .menu-btn { display: block; }
    .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--verde); max-height: 0; overflow: hidden; transition: max-height .3s; }
    .menu.abierto { max-height: 360px; }
    .menu a { padding: 14px; width: 100%; text-align: center; }
    .menu .menu-wa { border-radius: 0; }
    .barra.menu-abierto { background: var(--verde); }
    .dos-col, .rejilla-3 { grid-template-columns: 1fr; }
    .seccion { padding: 56px 0; }
}
