@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-normal.woff2') format('woff2');
}

@font-face {
  font-family: Rubik;
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Amatic SC';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/amatic-sc-bold.woff2') format('woff2');
}

:root {
  --forest: #2e3d29;
  --muted: #576452;
  --lime: #95c11f;
  --leaf: #557000;
  --blue: #1d71b8;
  --text: #161616;
  --paper: #fff;
  --light: #f4f4f4;
  --gutter: 2rem;
  --wide: 1320px;
  --heading: clamp(2rem, 2.6vw + 1.1rem, 2.6rem);
  --header-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 1rem/1.5 Rubik, Arial, sans-serif; }
h1, h2, h3 { margin: 0; color: var(--forest); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 1.9vw + 1.6rem, 3.2rem); }
h2 { font-size: var(--heading); }
h3 { font-size: clamp(1.375rem, 1.8vw + .7rem, 1.5rem); }
p, ul, dl, dd, figure, blockquote { margin: 0; }
a { color: var(--leaf); text-underline-offset: .15em; }
a:hover { color: var(--blue); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; }
[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

.container { width: min(100%, var(--wide)); margin-inline: auto; }
.section { padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.button { display: inline-block; border: 1px dashed currentColor; border-radius: 999px; padding: 14px 24px; text-align: center; text-decoration: none; text-transform: uppercase; font-size: .94rem; font-weight: 600; }
.button--outline { color: var(--forest); }
.button--light { color: white; }
.button:hover, .button:focus-visible { background: var(--lime); color: var(--forest); }

/* Cabecera y navegación adaptable */
.site-header { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: var(--header-height); padding: 10px 40px; background: var(--paper); }
.brand { flex: 0 1 255px; min-width: 0; padding-left: 15px; }
.brand img { width: 225px; }
.desktop-nav { display: flex; align-items: center; gap: 2.5rem; }
.desktop-nav a, .mobile-menu nav > a { color: var(--forest); text-decoration: none; text-transform: uppercase; font-size: .9rem; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .mobile-menu nav > a[aria-current] { color: var(--leaf); }
.header-reserve, .mobile-menu nav .header-reserve { background: #000; color: #fff; }
.header-reserve:hover, .mobile-menu nav .header-reserve:hover { background: var(--lime); color: #182313; }
.mobile-menu { display: none; flex: 0 0 auto; }

/* Cabeceras fotográficas y ondas originales */
.hero { position: relative; isolation: isolate; display: flex; justify-content: center; min-height: 484px; padding: 192px var(--gutter) 100px; text-align: center; background: var(--forest); }
.hero-photo, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; background: rgb(0 0 0 / var(--hero-shade, 0)); }
.hero-content { width: min(100%, 900px); }
.hero h1 { color: #fff; text-transform: capitalize; overflow-wrap: anywhere; }
.hero-wave { position: absolute; right: 0; bottom: -1px; left: 0; width: 100%; height: 94px; fill: var(--paper); pointer-events: none; }
.hero--home { --hero-shade: .09; min-height: 630px; padding-top: 142px; }
.hero--home h1 { font-size: 5.3rem; font-weight: 800; line-height: 1.1; text-transform: none; }
.hero--home .hero-wave { height: 50px; }
.hero--blog { --hero-shade: .25; }
.hero--post { --hero-shade: .22; min-height: 593px; }
.post-date { margin-top: 2.25rem; color: white; }

/* Portada */
.section-heading { margin-bottom: 1.4rem; }
.section-heading h2 { font-weight: 800; }
.section-heading--center { text-align: center; }
.eyebrow, .month caption { margin-bottom: 1rem; color: var(--leaf); font: 700 1.9rem/1.2 'Amatic SC', sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.intro { padding-top: 3rem; background: linear-gradient(white, rgb(255 255 255 / .9)), url('img/textura-papel-300.webp') repeat; }
.intro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.lead { font-size: 1.125rem; }
.features { display: grid; gap: 3rem; margin-block: 3.75rem 4rem; padding: 0; list-style: none; }
.features li { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.features h3 { margin-bottom: .5rem; }
.feature-icon { width: 64px; height: 64px; padding: 10px; border: 1px dashed var(--muted); border-radius: 50%; color: var(--forest); fill: currentColor; }
.intro-facts { text-align: center; }
.intro-facts > img { width: 100%; margin-inline: auto; }
.intro-facts > .eyebrow { margin-top: 1.25rem; }
.stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; padding: 1.875rem; background: #fff; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: .8rem; border-bottom: 1px solid #ddd; }
.stats dd { color: var(--forest); font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
.stats-note { margin-block: 1rem 2.5rem; font-size: .82rem; font-style: italic; }
.activities { padding-block: 5rem; background: #f6f6f6; }
.activities .section-heading { margin-bottom: 3rem; }
.activity-grid, .price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.activity-card { display: flex; flex-direction: column; min-height: 400px; overflow: hidden; border-radius: 15px; background: var(--forest); }
.activity-card > img { flex: 1; width: 100%; height: 280px; object-fit: cover; }
.activity-caption { padding: 1.5rem; color: #fff; background: #5e771d; }
.activity-caption h3 { margin-bottom: .6rem; color: white; font-size: 1.35rem; }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badges span { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid rgb(255 255 255 / .7); border-radius: 999px; padding: .2rem .5rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.badges svg { width: .9rem; height: .9rem; fill: currentColor; }

.prices { padding-top: 4rem; }
.price-grid { width: min(100%, 1200px); margin: 5rem auto 0; }
.price-card { display: flex; flex-direction: column; min-height: 540px; overflow: hidden; border: 1px solid var(--text); border-radius: 30px; text-align: center; }
.price-heading { padding: 2rem 1rem; background: var(--muted); color: white; }
.price-card--tour .price-heading { background: var(--blue); }
.price-heading h3, .price-heading span { color: white; font-size: 1.4rem; }
.price-heading h3 { margin-bottom: 1rem; }
.amount { display: flex; align-items: center; justify-content: center; gap: .2rem; font-weight: 700; line-height: 1.05; }
.amount strong { font-size: 3.6rem; }
.price-card ul { display: grid; gap: 1rem; padding: 2rem; list-style: none; text-align: left; }
.price-card li { display: grid; grid-template-columns: 1rem 1fr; gap: 1rem; }
.price-card li::before { content: '✔'; font-weight: 700; }
.price-note { margin-top: auto; padding: 1.5rem .7rem 1rem; font-size: .92rem; }
.booking-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-block: 4rem; }
.booking-button { max-width: 100%; padding: .85rem 1.5rem; background: var(--lime); color: #10160a; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 800; }
.booking-button--autumn { background: #d3a247; }
.booking-button:hover, .booking-button:focus-visible { background: var(--forest); color: white; }
.booking-note { padding-block: 1.5rem 2.5rem; text-align: center; }
.company { position: relative; isolation: isolate; padding-block: 8rem; background: var(--forest); }
.company-photo, .company::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.company-photo { z-index: -2; object-fit: cover; }
.company::before { content: ''; z-index: -1; background: linear-gradient(rgb(46 61 41 / .75),rgb(46 61 41 / .75)), url('img/textura-verdant-450.webp') center/cover; mix-blend-mode: multiply; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; align-items: center; }
.company h2 { max-width: 650px; color: #fff; font-size: clamp(3rem, 4.5vw, 4rem); }
.company .eyebrow { color: #c5e36b; }
.company-logo { width: min(100%, 400px); justify-self: end; border: 3px solid #fff; border-radius: 50%; }
.company .button { margin-top: 2rem; }

.reviews, .home-blog { background: var(--light); }
.reviews { padding-top: 8rem; }
.review-panel { margin-top: 3rem; padding: .75rem; background: #fff; }
.rating { padding-bottom: 1.5rem; text-align: center; line-height: 1.6; }
.rating strong, .stars { color: #9d4e00; font-weight: 800; letter-spacing: .05em; }
.review-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.review { padding: 1rem; border-radius: .7rem; background: var(--light); font-size: .875rem; }
.review figcaption { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; overflow-wrap: anywhere; }
.review figcaption img { flex: 0 0 44px; width: 44px; border-radius: 50%; }
.review figcaption a { font-weight: 700; color: #185a9b; }
.review time { display: block; color: #555; font-size: .8rem; }
.review blockquote { margin-top: .4rem; }
.more-reviews summary { width: fit-content; margin: .75rem auto; color: #185a9b; cursor: pointer; }
.home-blog { padding-block: 8rem; }
.featured-post { max-width: 864px; }
.featured-post img { width: 100%; border-radius: 16px; }
.featured-post h3 { font-size: clamp(1.375rem, 3vw, 2.4rem); }
.featured-post h3 a { color: var(--muted); text-decoration: none; }
.featured-post h3 a:hover { text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: 1.25rem .75rem; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; }

/* Calendario */
.calendar { padding-block: 2rem 4rem; }
.calendar-note { margin-bottom: 1.5rem; text-align: center; }
.calendar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3rem 1.5rem; }
.month { width: min(100%, 309px); margin-inline: auto; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: .94rem; }
.month caption { margin-bottom: 1rem; }
.month thead, .month tbody tr:nth-child(even) { background: #eee; }
.month :is(th, td) { height: 2.4rem; padding: .2rem; }
.month abbr { text-decoration: none; }
.month a { display: inline-grid; min-width: 24px; min-height: 24px; place-items: center; font-weight: 700; }
.calendar-booking { margin-block: 5rem 0; }
.booking-button--calendar { border-width: 2px; border-radius: 20px; background: #106bb5; color: #fff; font-size: 1.3rem; }
.booking-button--calendar.booking-button--autumn { background: #d3a247; color: #10160a; }

/* Blog, archivos y documentos */
.blog-list { width: min(calc(100% - 2 * var(--gutter)), var(--wide)); margin-block: 20px; min-height: 971px; padding: 8rem var(--gutter); border-radius: 30px; background: linear-gradient(#bdbdbd,#dcdcdc); }
.blog-card { width: min(100%, 397px); padding: 1.5rem; border-radius: 16px; background: white; box-shadow: 0 4px 24px rgb(0 0 0 / .14); }
.blog-card-photo { position: relative; }
.blog-image-link { display: block; width: 100%; }
.blog-card img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 8px; }
.blog-label { position: absolute; top: 1rem; right: .85rem; max-width: calc(100% - 1.7rem); border: 1px solid white; border-radius: 999px; padding: .45rem .75rem; background: var(--blue); color: white; text-align: center; font-size: .75rem; text-transform: uppercase; }
.blog-label a { color: white; text-decoration: none; }
.blog-label a:hover { text-decoration: underline; }
.blog-card h2 { margin-block: 1rem .6rem; font-size: 1.5rem; line-height: 1.4; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card .button { margin-top: 2.4rem; }
.article-grid, .policy-container { width: min(calc(100% - 2 * var(--gutter)), var(--wide)); }
.article-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(215px,3fr); }
.prose { padding: 3.75rem 2.5rem 2.5rem; overflow-wrap: anywhere; }
.prose > :is(p, ul, figure) { margin-bottom: 1.5rem; }
.prose h2 { margin-block: 2.25rem 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.policy { max-width: 54rem; margin-inline: auto; }
.policy h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
.prose h3 { margin-block: 1.5rem .75rem; }
.prose img { width: 100%; }
.prose table { width: 100%; border-collapse: collapse; text-align: left; }
.prose :is(td, th) { padding: .55rem; border: 1px solid #92978f; }
.prose th { width: 25%; }
.article-meta { margin-top: 2rem; }
.author-box { display: flex; align-items: start; gap: 1.5rem; margin-top: 2.5rem; padding: 1.5rem; border-radius: 12px; background: var(--light); }
.author-box img { flex: 0 0 64px; width: 64px; border-radius: 50%; }
.author-box h2 { margin: 0 0 .75rem; color: var(--muted); font-size: 1.2rem; }
.author-box .social { margin-top: .75rem; }
.author-box .social a { color: var(--forest); }
.article-aside { padding: 3.75rem 2.5rem; text-align: center; }
.article-aside h2 { margin-bottom: 1rem; font-size: clamp(1.375rem, 2.25vw, 1.95rem); }
.missing { padding: 3rem var(--gutter) 5rem; text-align: center; }
.missing > * { margin-bottom: 1.25rem; }

.site-footer { padding: 6rem var(--gutter) 2rem; background: #1f1f1f; color: white; font-size: .9rem; }
.footer-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.site-footer a { color: #b5d654; }
.footer-privacy { display: inline-block; margin-top: .55rem; font-size: .82rem; }
.social { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.social a { display: grid; place-items: center; min-width: 24px; min-height: 24px; color: #fff; }
.social a:hover { color: #b5d654; }
.social svg { height: 1em; width: 1em; }
.contact { position: fixed; z-index: 2; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); max-width: calc(100% - 2rem); padding: .7rem .95rem; border-radius: 999px; background: #25d366; box-shadow: 0 6px 20px rgb(0 0 0 / .20); color: #082b16; text-decoration: none; font-size: .9rem; font-weight: 800; }
.contact:hover { color: #fff; background: #107b3c; }

@media (max-width: 1269px) {
  :root { --header-height: 80px; }
  .site-header { padding-inline: 20px; }
  .desktop-nav, .site-header > .header-reserve { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; color: var(--forest); list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span, .mobile-menu summary span::before, .mobile-menu summary span::after { display: block; width: 18px; height: 1px; background: currentColor; }
  .mobile-menu summary span::before, .mobile-menu summary span::after { content: ''; transform: translateY(-6px); }
  .mobile-menu summary span::after { transform: translateY(5px); }
  .mobile-menu[open] summary span { background: transparent; }
  .mobile-menu[open] summary span::before { transform: rotate(45deg); }
  .mobile-menu[open] summary span::after { transform: translateY(-1px) rotate(-45deg); }
  .mobile-menu:not([open]) nav { display: none; }
  .mobile-menu nav { position: absolute; z-index: 1; top: 100%; right: 0; left: 0; display: grid; justify-items: center; gap: 1.25rem; max-height: calc(100dvh - var(--header-height)); overflow: auto; padding: 2rem 1rem 2.5rem; background: #fff; box-shadow: 0 12px 22px rgb(0 0 0 / .16); }
  .mobile-menu nav > a:not(.header-reserve) { padding: .35rem 1rem; }
  .hero--home h1 { font-size: 4rem; }
}

@media (max-width: 1023px) {
  .activity-grid, .review-grid, .calendar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .price-grid { gap: 1rem; }
  .price-card ul { padding-inline: 1rem; }
  .prose, .article-aside { padding-inline: 1.5rem; }
}

@media (max-width: 767px) {
  :root { --gutter: 1.5rem; }
  .site-header { gap: .5rem; }
  .hero { min-height: 460px; padding-top: 150px; }
  .hero--home { min-height: 554px; padding-top: 142px; }
  .hero--home h1 { font-size: clamp(2.5rem, 12.3vw, 3rem); }
  .hero--post { min-height: 550px; }
  .hero-wave { height: 60px; }
  .intro-grid, .activity-grid, .price-grid, .calendar-grid, .company-grid, .article-grid { grid-template-columns: minmax(0,1fr); }
  .features { margin-block: 3rem 1.5rem; }
  .intro-grid { gap: 0; }
  .stats { grid-template-columns: minmax(0,1fr); }
  .activities .section-heading { margin-bottom: 2.75rem; }
  .activity-card { min-height: 400px; }
  .activity-caption { padding: 1.25rem; }
  .price-grid { margin-top: 3rem; gap: 1.6rem; }
  .price-card { min-height: 0; }
  .price-card ul { padding: 1.5rem; }
  .company, .home-blog { padding-block: 6rem; }
  .company h2 { font-size: clamp(2.5rem, 12.3vw, 3rem); }
  .company-logo { justify-self: center; margin-top: 1.5rem; }
  .reviews { padding-top: 6rem; }
  .blog-list { min-height: 0; padding: 4rem 1rem; border-radius: 18px; }
  .blog-card { padding: 1rem; }
  .prose { padding: 2.5rem 0 1.5rem; }
  .article-aside { padding: 1rem 0 3rem; text-align: left; }
  .site-footer { padding-bottom: 5rem; }
}

@media (max-width: 480px) {
  .review-grid { grid-template-columns: minmax(0,1fr); }
  .review-panel { margin-top: 1.5rem; }
  .blog-label { top: .6rem; right: .6rem; font-size: .65rem; }
}
