/* ==================================================================
   Country page v1 redesign — Claude Design handoff (scoped: .cv1-*)
   Tokens: yellow #ffd520 · accent #f4b400 · text #1c1c1c · sec #5a564e
   · terciary #8a8579 · faint #c9c4b8 · borders #e8e5de/#eeebe4
   · alt bg #f7f5f1 · green #1e7a46 (hover #14582f)
   Montserrat 400/500/700 only. Loaded by 3country.php.
   ================================================================== */

.cv1 { font-family: 'Montserrat', system-ui, sans-serif; color: #1c1c1c; }
.cv1 * { box-sizing: border-box; }
.cv1 a { text-decoration: none; }

/* ---------- HERO ---------- */
.cv1-hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.cv1-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cv1-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.05) 35%, rgba(0,0,0,.62) 88%);
}
.cv1-hero-content { position: relative; z-index: 2; color: #fff; padding: 0 80px 64px; max-width: 900px; }
.cv1-kicker {
    display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; margin: 0 0 10px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.cv1-kicker .typewrite { color: #ffd520; text-decoration: none; }
.cv1-kicker .typewrite .wrap { border-right: 2px solid rgba(255,255,255,.6); }
/* Móvil: la palabra dinámica cambia de ancho y hacía bailar el H1.
   3 líneas fijas: "Excursiones {palabra}" / "guiadas en español" / {lugar}. */
@media (max-width: 991px) {
    .cv1-kicker .cv1-kicker-tail { display: block; }
}
.cv1-country {
    margin: 0 0 10px; font-size: clamp(64px, 8vw, 104px); font-weight: 700;
    line-height: .95; letter-spacing: -2px; text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.cv1-hero-sub { margin: 0 0 26px; font-size: 18px; font-weight: 500; color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.cv1-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.cv1-cta {
    display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #1c1c1c;
    border-radius: 999px; padding: 15px 26px; font-size: 16px; font-weight: 700;
    box-shadow: 0 8px 26px rgba(0,0,0,.3); transition: background .2s;
}
.cv1-cta:hover { background: #ffd520; color: #1c1c1c; }
.cv1-video { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 400; text-shadow: 0 1px 8px rgba(0,0,0,.5); cursor: pointer; }
.cv1-video:hover { opacity: .85; color: #fff; }
.cv1-play {
    width: 28px; height: 28px; flex: none; border-radius: 50%; background: #ffd520;
    display: inline-flex; align-items: center; justify-content: center; color: #1c1c1c;
}
.cv1-play svg { width: 10px; height: 10px; margin-left: 2px; }
/* Aire entre el H1 y el CTA cuando no hay subline entre medias. */
.cv1-hero-content h1 + .cv1-hero-actions { margin-top: 24px; }

/* ---------- REVIEWS STRIP ---------- */
.cv1-reviews { background: #fff; border-bottom: 1px solid #eeebe4; text-align: center; padding: 20px 24px; font-size: 16px; font-weight: 500; color: #5a564e; }
.cv1-reviews svg { width: 15px; height: 15px; fill: #f4b400; vertical-align: -2px; }
.cv1-reviews a { color: #1c1c1c; font-weight: 700; text-decoration: underline; }

/* ---------- INTRO + USPs ---------- */
.cv1-intro { background: #fff; padding: 88px 80px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; max-width: 1400px; margin: 0 auto; }
.cv1-intro-left { border-right: 1px solid #e8e5de; padding-right: 72px; }
.cv1-h2 { margin: 0 0 22px; font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: -.5px; }
.cv1-underline { box-shadow: inset 0 -6px 0 #ffd520; }
.cv1-intro-left p { font-size: 17px; font-weight: 500; color: #5a564e; line-height: 1.65; margin: 0 0 18px; }
.cv1-readmore {
    display: inline-block; font-size: 15px; font-weight: 700; color: #1c1c1c; cursor: pointer;
    box-shadow: inset 0 -2px 0 #ffd520; margin-bottom: 20px;
}
.cv1-readmore:hover { color: #1c1c1c; box-shadow: inset 0 -6px 0 #ffd520; }
.cv1-readmore.collapsed::after { content: "Leer más"; }
.cv1-readmore:not(.collapsed)::after { content: "Leer menos"; }
.cv1-link { font-size: 15.5px; font-weight: 700; color: #1e7a46; }
.cv1-link:hover { color: #14582f; }
.cv1-usp { margin-bottom: 30px; display: flex; gap: 14px; align-items: baseline; }
.cv1-usp-num { font-size: 15px; font-weight: 700; color: #c9c4b8; letter-spacing: .1em; flex: none; min-width: 24px; }
.cv1-usp h3 { display: inline; font-size: 18px; font-weight: 700; margin: 0; box-shadow: inset 0 -4px 0 #ffd520; }
.cv1-usp p { font-size: 14.5px; font-weight: 500; color: #5a564e; line-height: 1.55; margin: 8px 0 0; }

/* ---------- CITY LADDER ---------- */
.cv1-cities { background: #fff; padding: 0 80px 88px; max-width: 1400px; margin: 0 auto; }
.cv1-cities-head h2 { margin: 0 0 6px; font-size: 48px; font-weight: 700; letter-spacing: -1px; }
.cv1-cities-head p { margin: 0 0 34px; font-size: 16px; font-weight: 500; color: #5a564e; }
.cv1-ladder { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(6, 1fr); gap: 16px; height: 474px; }
.cv1-city { position: relative; border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; background-size: cover; background-position: center; background-color: #b9b4a6; transition: transform .2s; }
.cv1-city:hover { transform: translateY(-3px); }
.cv1-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.05) 60%); }
.cv1-city-label { position: relative; z-index: 2; color: #fff; }
.cv1-city-name { display: block; font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,.5); line-height: 1.1; }
.cv1-city-count { display: block; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.88); margin-top: 3px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
/* Colocación por tarjeta: inline desde PHP (layout adaptativo según nº de ciudades). */
.cv1-city--xl .cv1-city-name { font-size: 44px; letter-spacing: -1px; }
.cv1-city--md .cv1-city-name { font-size: 26px; }
.cv1-city--sm .cv1-city-name { font-size: 19px; }
.cv1-more { margin-top: 26px; font-size: 15px; font-weight: 500; color: #5a564e; line-height: 2.2; }
.cv1-more b { font-weight: 500; color: #5a564e; margin-right: 10px; }
.cv1-more a { color: #1c1c1c; font-weight: 600; box-shadow: inset 0 -2px 0 #ffd520; margin-right: 14px; white-space: nowrap; }
.cv1-more a:hover { box-shadow: inset 0 -6px 0 #ffd520; color: #1c1c1c; }
.cv1-more a span { font-weight: 500; color: #8a8579; font-size: 13px; }

/* ---------- TOURS SCROLLER ---------- */
.cv1-tours { background: #f7f5f1; padding: 80px 0 88px; }
.cv1-tours-head { max-width: 1400px; margin: 0 auto; padding: 0 80px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.cv1-tours-head h2 { margin: 0 0 6px; font-size: 46px; font-weight: 700; letter-spacing: -1px; }
.cv1-tours-head p { margin: 0 0 30px; font-size: 16px; font-weight: 500; color: #5a564e; }
.cv1-tours-hint { font-size: 14px; font-weight: 600; color: #8a8579; white-space: nowrap; }
.cv1-scroller { display: flex; gap: 18px; overflow-x: auto; padding: 4px 80px 18px; scrollbar-width: thin; max-width: 1400px; margin: 0 auto; }
.cv1-tour { flex: 0 0 300px; background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s; }
.cv1-tour:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.cv1-tour-img { height: 150px; background-size: cover; background-position: center; background-color: #cfcabc; }
.cv1-tour-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cv1-tour-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a8579; margin-bottom: 6px; }
.cv1-tour-name { font-size: 18px; font-weight: 700; color: #1c1c1c; line-height: 1.3; margin-bottom: 14px; }
.cv1-tour-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 500; color: #5a564e; }
.cv1-tour-meta b { color: #1e7a46; font-weight: 700; }

.cv1-abroad { max-width: 1400px; margin: 44px auto 0; padding: 0 80px; font-size: 15px; color: #5a564e; }
.cv1-abroad > b { font-weight: 500; color: #5a564e; display: block; margin-bottom: 10px; }
.cv1-abroad-list { list-style: disc; margin: 0; padding-left: 22px; }
.cv1-abroad-list li { margin-bottom: 8px; }
.cv1-abroad-list a { color: #1c1c1c; font-weight: 600; box-shadow: inset 0 -2px 0 #ffd520; }
.cv1-abroad-list a:hover { box-shadow: inset 0 -6px 0 #ffd520; color: #1c1c1c; }
.cv1-abroad-list span { font-size: 13.5px; font-weight: 500; color: #8a8579; }
@media (max-width: 991px) { .cv1-abroad { padding: 0 22px; } }

/* ---------- FAQ / LO ESENCIAL ---------- */
.cv1-faq { background: #fff; padding: 88px 80px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; max-width: 1400px; margin: 0 auto; }
.cv1-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8a8579; margin-bottom: 12px; }
.cv1-faq-left .cv1-h2 { font-size: 46px; }
.cv1-faq-left p { font-size: 16.5px; font-weight: 500; color: #5a564e; line-height: 1.7; }
.cv1-faq-left p b { color: #1c1c1c; font-weight: 700; }
.cv1-acc { border-top: 1px solid #e8e5de; }
.cv1-acc-item { border-bottom: 1px solid #e8e5de; }
.cv1-acc-q {
    width: 100%; display: flex; align-items: baseline; gap: 16px; padding: 20px 4px;
    background: transparent; border: 0; cursor: pointer; text-align: left; font-family: inherit;
}
.cv1-acc-q:focus { outline: none; }
.cv1-acc-num { font-size: 12px; font-weight: 700; color: #c9c4b8; flex: none; }
.cv1-acc-q h3 { flex: 1; margin: 0; font-size: 19px; font-weight: 700; color: #1c1c1c; line-height: 1.35; }
.cv1-acc-plus { flex: none; font-size: 22px; font-weight: 500; color: #f4b400; line-height: 1; transition: transform .25s; }
.cv1-acc-q[aria-expanded="true"] .cv1-acc-plus { transform: rotate(45deg); }
.cv1-acc-a { padding: 0 4px 22px 40px; font-size: 15.5px; font-weight: 500; color: #5a564e; line-height: 1.65; }

/* ---------- EXPERIENCES + AT-A-GLANCE ---------- */
.cv1-extra { background: #f7f5f1; padding: 80px max(80px, calc((100% - 1240px) / 2)); display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; }
.cv1-extra h2 { margin: 0 0 4px; font-size: 26px; font-weight: 700; letter-spacing: -.4px; }
.cv1-extra-sub { margin: 0 0 24px; font-size: 14.5px; font-weight: 500; color: #8a8579; }
.cv1-exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 22px; }
.cv1-exp { display: flex; gap: 12px; align-items: center; }
.cv1-exp-thumb { width: 44px; height: 44px; flex: none; border-radius: 8px; background-size: cover; background-position: center; background-color: #cfcabc; }
.cv1-exp-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a8579; }
.cv1-exp-name { font-size: 16px; font-weight: 700; color: #1c1c1c; box-shadow: inset 0 -2px 0 #ffd520; }
.cv1-glance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.cv1-fact { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 500; color: #5a564e; }
.cv1-fact b { color: #1c1c1c; font-weight: 700; }
.cv1-fact-thumb { width: 32px; height: 32px; flex: none; border-radius: 6px; background-size: cover; background-position: center; background-color: #cfcabc; }

/* CLOSING: vive en footer.php (global) desde 2026-07. */

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .cv1-hero { min-height: 500px; }
    .cv1-hero-content { padding: 0 24px 44px; }
    .cv1-country { letter-spacing: -1px; }
    .cv1-intro, .cv1-faq, .cv1-extra { display: block; padding: 48px 22px; }
    .cv1-intro-left { border-right: 0; padding-right: 0; margin-bottom: 40px; }
    .cv1-h2 { font-size: 27px; }
    .cv1-faq-left .cv1-h2 { font-size: 27px; }
    .cv1-faq-left { margin-bottom: 28px; }
    .cv1-cities { padding: 0 22px 52px; }
    .cv1-cities-head h2, .cv1-tours-head h2 { font-size: 26px; }
    .cv1-ladder { display: flex; flex-direction: column; height: auto; gap: 12px; }
    .cv1-city { height: 150px; }
    .cv1-city--sm { height: 110px; }
    .cv1-city--xl .cv1-city-name { font-size: 30px; }
    .cv1-city--md .cv1-city-name { font-size: 24px; }
    .cv1-more { line-height: 2.4; }
    .cv1-tours { padding: 48px 0 52px; }
    .cv1-tours-head { padding: 0 22px; display: block; }
    .cv1-scroller { padding: 4px 22px 14px; scrollbar-width: none; }
    .cv1-scroller::-webkit-scrollbar { display: none; }
    .cv1-tour { flex-basis: 220px; }
    .cv1-tour-img { height: 110px; }
    .cv1-tour-name { font-size: 15px; }
    .cv1-acc-q h3 { font-size: 15.5px; }
    .cv1-extra > div + div { margin-top: 44px; }
    .cv1-exp-grid { grid-template-columns: 1fr 1fr; }
    .cv1-exp-thumb { width: 36px; height: 36px; }
    .cv1-fact-thumb { width: 28px; height: 28px; }
    .cv1-glance-grid { gap: 12px 16px; }
}

