/* ============================================================
   GRANJA LINDERO FSE — Theme CSS
   Design tokens (colors, font families) now live in theme.json and are
   emitted as --wp--preset--color--* / --wp--preset--font-family--* custom
   properties by WordPress. Base typography/color-on-body is handled by
   theme.json's styles.typography / styles.color instead of being redeclared
   here.
   ============================================================ */

/* --- Reset (kept — not covered by theme.json) --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
.font-serif { font-family: var(--wp--preset--font-family--playfair-display); }
.text-green  { color: var(--wp--preset--color--green-600); }
.text-white  { color: #fff; }
.text-muted  { color: var(--wp--preset--color--stone-500); }
.label-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--green-700);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--wp--preset--font-family--playfair-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--wp--preset--color--stone-900);
  margin-bottom: 1.25rem;
}
.section-title--white { color: #fff; }
.section-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--wp--preset--color--stone-600);
  margin-bottom: 2rem;
}

/* --- Layout --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section--dark { background: var(--wp--preset--color--stone-900); }
.section--stone { background: var(--wp--preset--color--stone-50); }
.section--amber { background: #fffbeb; }
.label-tag--amber { color: #b45309; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-2--top { align-items: start; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; } }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; padding: 1rem 2rem; border-radius: 9999px;
  transition: all .25s; cursor: pointer; white-space: nowrap;
}
/* .btn classes are applied to the outer .wp-block-button div (matching the
   markup pattern used throughout this theme), but WP core's own button CSS
   also styles the INNER .wp-block-button__link with its own background,
   padding and border-radius — producing a visible "pill inside a pill".
   Reset the inner link to transparent/flush so only the outer .btn shows. */
.btn .wp-block-button__link {
  background: none !important; color: inherit !important;
  padding: 0 !important; border-radius: 0 !important; border: none !important;
}
.btn--primary   { background: var(--wp--preset--color--green-600); color: #fff; }
.btn--primary:hover { background: var(--wp--preset--color--green-500); transform: scale(1.03); }
.btn--ghost     { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.25); transform: scale(1.03); }
.btn--outline   { background: transparent; border: 2px solid var(--wp--preset--color--green-600); color: var(--wp--preset--color--green-700); }
.btn--outline:hover { background: var(--wp--preset--color--green-600); color: #fff; }
.btn--dark      { background: var(--wp--preset--color--stone-900); color: #fff; }
.btn--dark:hover { background: var(--wp--preset--color--stone-700); }
.btn--sm        { font-size: .8rem; padding: .5rem 1.25rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.gl-nav-wrap, #gl-nav {
  /* Defensive: block-theme "constrained" layout applies max-width/auto-margin
     to direct children of a group — override in case it ever leaks back in,
     since this bar is meant to span the full viewport width. */
  max-width: none !important; margin-left: 0 !important; margin-right: 0 !important;
}

/* Same "constrained layout squeezes direct children" bug, one level deeper:
   page templates (page-voluntarios.html, page-faq.html) wrap <!-- wp:post-content -->
   in a constrained <main>, so its rendered wrapper div gets max-width/auto-margin
   — squeezing any alignfull block (like .page-hero) inside the post content,
   since the alignfull exemption only reaches direct children of the constrained
   group, not grandchildren. Inner content blocks bring their own contentSize,
   so it's safe to let this wrapper go full width. */
.entry-content.wp-block-post-content {
  max-width: none !important; margin-left: 0 !important; margin-right: 0 !important;
}
#gl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .4s;
  padding: 1.25rem 0;
}
#gl-nav.scrolled {
  background: rgba(28,25,23,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  padding: .75rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; transition: width .3s, height .3s; }
#gl-nav.scrolled .nav-logo img { width: 64px; height: 64px; }
.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
}
/* Each top-level <li> holds a link and, for "Más", a sibling toggle
   <button> — without this, the button (an inline-block element) wraps
   onto its own line underneath the now-flex <a> below, instead of
   sitting to its right. */
.nav-links > .wp-block-navigation-item { display: flex; align-items: center; }
.nav-links a, .nav-more-btn {
  /* !important: WP core's navigation block CSS ships a specificity-boosted
     rule — .wp-block-navigation-item__content.wp-block-navigation-item__content
     { color: inherit } — that otherwise beats this selector and makes the
     link inherit the page's dark body text color instead of this white. */
  font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.75) !important;
  transition: color .2s; letter-spacing: .02em; background: none;
  display: flex; align-items: center; gap: .25rem;
}
.nav-links a:hover, .nav-more-btn:hover { color: #fff !important; }
.nav-links a.active {
  color: #fff !important;
  border-bottom: 1px solid var(--wp--preset--color--green-400);
  padding-bottom: 2px;
}
.nav-more-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-more-btn.open svg { transform: rotate(180deg); }
/* The "Más" toggle chevron is WP core's own .wp-block-navigation__submenu-icon
   button — a sibling of the link, not covered by the .nav-links a rule above.
   Its SVG stroke uses currentColor, so setting color here is enough. */
.wp-block-navigation__submenu-icon.wp-block-navigation-submenu__toggle {
  color: rgba(255,255,255,.75) !important;
}
.wp-block-navigation-item:hover .wp-block-navigation__submenu-icon.wp-block-navigation-submenu__toggle,
.wp-block-navigation-submenu__toggle[aria-expanded="true"] {
  color: #fff !important;
}
/* "Más" submenu — a real core/navigation-submenu, not the old hand-rolled
   .nav-dropdown. WP core defaults this to a white box with black text
   (.wp-block-navigation:not(.has-text-color) .wp-block-navigation__submenu-container
   { color: #000 } — specificity 0,3,0); override to match the dark design. */
.wp-block-navigation .wp-block-navigation__submenu-container {
  min-width: 200px;
  background: rgba(28,25,23,.98) !important; backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); border-radius: .75rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  padding: .5rem 0;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block; padding: .75rem 1.25rem !important;
  font-size: .85rem; color: rgba(255,255,255,.75) !important;
  transition: background .15s, color .15s;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item:hover .wp-block-navigation-item__content {
  background: rgba(255,255,255,.08); color: #fff !important;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item.is-page .wp-block-navigation-item__content {
  color: var(--wp--preset--color--green-400) !important; font-weight: 500;
  display: flex !important; align-items: center; justify-content: space-between; gap: .75rem;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item.is-page .wp-block-navigation-item__content::after {
  content: "↗"; opacity: .6; flex-shrink: 0;
}
/* Positioning/show-hide for the "Más" dropdown — previously supplied for
   free by WP core's Navigation block styles/behavior. Now that it's a
   classic wp_nav_menu(), main.js toggles #nav-dropdown's .open class on
   click (see the "More dropdown" handler), so only the base position and
   the show/hide rule need to be added here. */
.wp-block-navigation-submenu { position: relative; }
.wp-block-navigation__submenu-container {
  position: absolute; top: 100%; left: 0; z-index: 100;
  display: none;
}
#nav-dropdown.open { display: block; }
/* Desktop hover opens it too, not just click — the dropdown is a DOM
   child of the "Más" <li> (per Walker_Nav_Menu's nesting), so :hover on
   the <li> stays active while the pointer is over the dropdown itself,
   even though the dropdown is positioned absolutely right below it. */
@media (hover: hover) {
  .wp-block-navigation-submenu:hover .wp-block-navigation__submenu-container { display: block; }
}
.nav-more-wrap { position: relative; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
/* Tour Virtual forces Spanish (see inc/tour.php) — hide TranslatePress's
   floating EN/ES switcher there since clicking it would just bounce back.
   #trp-floater-ls is the legacy-mode floater markup; trp-floating-switcher
   is what current TranslatePress (load_legacy_language_switcher: no)
   actually renders — hiding both covers either mode. */
.hide-lang-switcher-floater #trp-floater-ls,
.hide-lang-switcher-floater .trp-floating-switcher { display: none !important; }

/* Mobile nav */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all .3s; border-radius: 2px; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav-mobile {
  display: none; flex-direction: column;
  background: rgba(28,25,23,.99); border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 500;
  padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .nav-mobile-footer { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: .5rem; }

@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity 7s ease;
}
.hero-video.on-top  { opacity: 1; z-index: 0; }
.hero-video.off-top { opacity: 0; z-index: -1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(28,25,23,.7) 0%, rgba(28,25,23,.4) 50%, rgba(28,25,23,.8) 100%);
  z-index: 1;
}
.hero-badge {
  position: absolute; top: 8rem; left: 50%; transform: translateX(-50%);
  background: rgba(22,163,74,.9); backdrop-filter: blur(6px);
  color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .5rem 1.25rem; border-radius: 9999px; white-space: nowrap;
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 1.5rem; max-width: 900px;
}
.hero-title {
  font-family: var(--wp--preset--font-family--playfair-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-subtitle {
  color: rgba(255,255,255,.85); font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300; max-width: 650px; margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4));
}
.hero-scroll svg { width: 16px; height: 16px; color: rgba(255,255,255,.6); animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* ============================================================
   ABOUT
   ============================================================ */
.about-collage { position: relative; height: 500px; }
/* .about-img-back/.about-img-front are now real core/image blocks
   (<figure><img></figure>), swappable via the block editor — position the
   figure like the old background-image div did, and make the inner <img>
   fill it via object-fit instead of a CSS background-image. */
.about-img-back {
  position: absolute; bottom: 0; right: 0; width: 60%; height: 60%;
  border-radius: 1rem; overflow: hidden;
  border: 4px solid var(--wp--preset--color--stone-50);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  z-index: 2; margin: 0;
}
.about-img-front {
  position: absolute; top: 0; left: 0; width: 75%; height: 75%;
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  z-index: 3; margin: 0;
}
.about-img-back img, .about-img-front img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-deco {
  position: absolute; bottom: -1rem; left: -1rem; width: 8rem; height: 8rem;
  background: var(--wp--preset--color--green-100); border-radius: 1rem; z-index: 1;
}
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }
.about-stat { text-align: center; }
.about-stat-value { font-family: var(--wp--preset--font-family--playfair-display); font-size: 2rem; font-weight: 700; color: var(--wp--preset--color--green-700); }
.about-stat-label { font-size: .85rem; color: var(--wp--preset--color--stone-500); margin-top: .25rem; }
.about-link-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--wp--preset--color--green-700); font-size: .9rem; font-weight: 600;
  margin-bottom: 2.5rem; transition: color .2s;
}
.about-link-btn:hover { color: var(--wp--preset--color--green-600); }
.about-link-icon {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 2px solid var(--wp--preset--color--green-600); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Mission modal */
.modal-overlay {
  /* Defensive: every modal-overlay sits as a direct child of a "constrained"
     layout group somewhere in a pattern, which applies WP's own
     max-width/auto-margin to direct children — shrinking and centering this
     fixed, full-viewport overlay into a 1280px box instead of covering the
     whole screen. Same class of bug fixed earlier for #gl-nav/.page-hero. */
  max-width: none !important; margin: 0 !important;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(28,25,23,.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-box {
  background: #fff; border-radius: 1.5rem; width: 100%; max-width: 440px;
  overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.3);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.75rem 1.75rem 1.25rem; border-bottom: 1px solid var(--wp--preset--color--stone-100);
}
.modal-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.4rem; font-weight: 700; color: var(--wp--preset--color--stone-900); }
.modal-sub   { font-size: .85rem; color: var(--wp--preset--color--stone-400); margin-top: .2rem; }
.modal-close {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--wp--preset--color--stone-100); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.modal-close:hover { background: var(--wp--preset--color--stone-200); }
.modal-close svg { width: 1.1rem; height: 1.1rem; color: var(--wp--preset--color--stone-600); }
.modal-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }

/* Accommodation modal header — building photo background, matching .acc-other-header */
.acc-modal-header {
  position: relative; border-bottom: none; background-size: cover; background-position: center;
  padding: 3.5rem 1.75rem 1.25rem; align-items: flex-end;
}
.acc-modal-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.9) 0%, rgba(20,18,16,.35) 60%, rgba(20,18,16,.15) 100%);
}
.acc-modal-header .modal-title,
.acc-modal-header .modal-sub { position: relative; z-index: 1; }
.acc-modal-header .modal-title { color: #fff; }
.acc-modal-header .modal-sub { color: rgba(255,255,255,.75); }
.acc-modal-header .modal-close { position: relative; z-index: 1; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); }
.acc-modal-header .modal-close svg { color: #fff; }
.acc-modal-header .modal-close:hover { background: rgba(255,255,255,.28); }

/* Reserve picker modal */
.reserve-picker-box { max-width: 640px; }
.reserve-picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.75rem; }
.reserve-picker-card {
  position: relative; height: 220px; border-radius: 1rem; overflow: hidden;
  background-size: cover; background-position: center; border: none; cursor: pointer;
  transition: transform .25s;
}
.reserve-picker-card:hover { transform: translateY(-3px); }
.reserve-picker-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,.85) 0%, rgba(20,18,16,.15) 55%, transparent 100%); }
.reserve-picker-text { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; text-align: left; }
.reserve-picker-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.reserve-picker-sub { font-size: .8rem; color: rgba(255,255,255,.75); line-height: 1.4; }
@media (max-width: 560px) { .reserve-picker-grid { grid-template-columns: 1fr; padding: 1.25rem; } }
.modal-section-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.modal-mission { border-left: 2px solid var(--wp--preset--color--green-600); padding-left: 1rem; }
.modal-mission .modal-section-label { color: var(--wp--preset--color--green-700); }
.modal-vision  { border-left: 2px solid var(--wp--preset--color--stone-200); padding-left: 1rem; }
.modal-vision .modal-section-label  { color: var(--wp--preset--color--stone-400); }
.modal-text { font-size: .9rem; line-height: 1.7; color: var(--wp--preset--color--stone-600); }
.modal-impact {
  background: var(--wp--preset--color--green-50); border-radius: 1rem;
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem;
}
.modal-impact-num { font-family: var(--wp--preset--font-family--playfair-display); font-size: 2rem; font-weight: 700; color: var(--wp--preset--color--green-700); flex-shrink: 0; }
.modal-impact-text { font-size: .85rem; color: var(--wp--preset--color--green-800); line-height: 1.5; }

/* ============================================================
   EXPERIENCES
   ============================================================ */
.exp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3rem; }
@media (max-width: 1100px) { .exp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card {
  position: relative; border-radius: 1.25rem; overflow: hidden;
  aspect-ratio: 3 / 4; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.exp-card:hover, .exp-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.25); }
.exp-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s;
}
.exp-card:hover .exp-img, .exp-card:focus-within .exp-img { transform: scale(1.06); }
.exp-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,13,11,.95) 0%, rgba(15,13,11,.8) 28%, rgba(15,13,11,.3) 58%, transparent 82%);
  transition: background .3s; pointer-events: none;
}
.exp-card:hover::before, .exp-card:focus-within::before {
  background: linear-gradient(to top, rgba(15,13,11,.96) 0%, rgba(15,13,11,.75) 60%, rgba(15,13,11,.2) 100%);
}
.exp-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; display: flex; flex-direction: column; }
.exp-subtitle { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--green-400); margin-bottom: .35rem; }
.exp-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0; }
.exp-reveal {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease, margin-top .35s ease;
}
.exp-card:hover .exp-reveal, .exp-card:focus-within .exp-reveal { max-height: 220px; opacity: 1; margin-top: .75rem; }
.exp-desc {
  font-size: .78rem; color: rgba(255,255,255,.8); line-height: 1.5; margin-bottom: .75rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.exp-cta { font-size: .8rem; border: none; width: 100%; justify-content: center; }
@media (hover: none) {
  .exp-card::before { background: linear-gradient(to top, rgba(15,13,11,.96) 0%, rgba(15,13,11,.75) 55%, rgba(15,13,11,.15) 100%); }
  .exp-reveal { max-height: 220px; opacity: 1; margin-top: .75rem; }
}

/* Experience booking modal */
.exp-modal { max-width: 440px; max-height: 85vh; overflow-y: auto; position: relative; }
.exp-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s;
}
.exp-modal-close:hover { background: rgba(0,0,0,.5); }
.exp-modal-close svg { width: 1.1rem; height: 1.1rem; }
.exp-modal-photo {
  position: relative; height: 160px; background-size: cover; background-position: center;
}
.exp-modal-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,.85) 0%, rgba(28,25,23,.15) 55%, transparent 100%);
}
.exp-modal-photo-text {
  position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.25rem;
}
.exp-modal-photo-text .exp-subtitle { color: var(--wp--preset--color--green-400); margin-bottom: .3rem; }
.exp-modal-photo-text .exp-title { color: #fff; margin-bottom: 0; }
.exp-modal-body { padding: 1.75rem; }
.exp-modal-desc { font-size: .95rem; color: var(--wp--preset--color--stone-600); line-height: 1.7; margin-bottom: 1.5rem; }
.exp-modal-hint { font-size: .8rem; color: var(--wp--preset--color--stone-400); text-align: center; margin: 1rem 0 .75rem; }

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
@media (max-width: 900px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packages-grid { grid-template-columns: 1fr; } }
.pkg-card {
  border-radius: 1.5rem; overflow: hidden; background: #fff;
  border: 1px solid var(--wp--preset--color--stone-200); position: relative;
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(28,25,23,.12); }
.pkg-card--highlight {
  background: var(--wp--preset--color--green-700);
  border-color: var(--wp--preset--color--green-600);
  color: #fff;
  box-shadow: 0 10px 30px rgba(20,83,45,.2);
}
.pkg-highlight-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, var(--wp--preset--color--green-400), #6ee7b7); }
.pkg-photos { display: flex; height: 7rem; flex-shrink: 0; cursor: pointer; }
.pkg-photo { flex: 1; background-size: cover; background-position: center; position: relative; }
.pkg-photo:not(:last-child) { border-right: 1px solid rgba(255,255,255,.3); }
.pkg-modal-photos { display: flex; height: 200px; gap: 3px; flex-shrink: 0; }
.pkg-modal-photos .pkg-photo:first-child { border-top-left-radius: 1.25rem; }
.pkg-modal-photos .pkg-photo:last-child { border-top-right-radius: 1.25rem; }

.pkg-top { padding: 1.5rem 1.5rem 1.25rem; border-bottom: 1px solid var(--wp--preset--color--stone-100); }
.pkg-card--highlight .pkg-top { border-bottom-color: rgba(255,255,255,.25); }
.pkg-tagline {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wp--preset--color--green-700); margin-bottom: .4rem;
}
.pkg-card--highlight .pkg-tagline { color: #86efac; }
.pkg-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.5rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: .75rem; }
.pkg-card--highlight .pkg-title { color: #fff; }
.pkg-price { display: flex; align-items: flex-end; gap: .35rem; font-family: var(--wp--preset--font-family--playfair-display); font-size: 2.75rem; font-weight: 700; color: var(--wp--preset--color--stone-900); line-height: 1; }
.pkg-card--highlight .pkg-price { color: #fff; }
.pkg-price span { font-size: .85rem; color: var(--wp--preset--color--stone-500); font-family: var(--wp--preset--font-family--inter); font-weight: 400; margin-bottom: .15rem; }
.pkg-card--highlight .pkg-price span { color: #bbf7d0; }
.pkg-min { font-size: .75rem; color: var(--wp--preset--color--stone-400); margin-top: .5rem; }
.pkg-card--highlight .pkg-min { color: #86efac; }

.pkg-body { padding: 1.25rem 1.5rem; flex: 1; }
.pkg-includes-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wp--preset--color--stone-400); margin-bottom: .75rem;
}
.pkg-card--highlight .pkg-includes-label { color: #86efac; }
/* .pkg-features wraps the package CPT's real post_content — a plain
   core/list <ul><li>, not the old hand-built .pkg-feature divs with inline
   SVG checkmarks. Style the real markup directly, with a CSS-drawn
   checkmark via ::before. */
.pkg-features ul.wp-block-list { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.pkg-features li {
  display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; line-height: 1.4; color: var(--wp--preset--color--stone-600);
}
.pkg-card--highlight .pkg-features li { color: #dcfce7; }
.pkg-features li::before {
  content: ''; flex-shrink: 0; margin-top: .15rem; width: 1rem; height: 1rem;
  background: var(--wp--preset--color--green-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/100% no-repeat;
}
.pkg-card--highlight .pkg-features li::before { background: #86efac; }

.pkg-cta-wrap { padding: 0 1.5rem 1.5rem; }
.pkg-cta { font-size: .85rem; padding: .85rem 1.5rem; }
.pkg-card--highlight .pkg-cta.btn--ghost { background: #fff; border-color: #fff; color: var(--wp--preset--color--green-700); }
.pkg-card--highlight .pkg-cta.btn--ghost:hover { background: #f0fdf4; }

/* ============================================================
   ACCOMMODATION
   ============================================================ */
.acc-buildings { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.acc-building-btn {
  position: relative; border-radius: 1.25rem; overflow: hidden; height: 200px;
  background-size: cover; background-position: center;
  border: 3px solid transparent; transition: all .3s; cursor: pointer;
  text-align: left;
}
.acc-building-btn.active { border-color: var(--wp--preset--color--green-500); box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.acc-building-btn:not(.active) { opacity: .55; }
.acc-building-btn:not(.active):hover { opacity: .8; }
.acc-building-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,.9) 0%, rgba(28,25,23,.3) 60%, transparent 100%);
}
.acc-building-label { position: absolute; bottom: 0; left: 0; padding: 1.25rem; }
.acc-building-name { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.3rem; font-weight: 700; color: #fff; }
.acc-building-sub  { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: .15rem; }
.acc-selected-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--wp--preset--color--green-500); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 9999px;
}
.acc-main-image {
  border-radius: 1.5rem; height: 480px; background-size: cover; background-position: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.35); position: relative;
}
.acc-main-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--wp--preset--color--green-600); color: #fff; padding: 1rem 1.5rem; border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.acc-main-badge-name { font-weight: 600; font-size: .9rem; }
.acc-main-badge-sub  { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: .1rem; }
.acc-features { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 2.5rem; }
.acc-feature { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.8); }
.acc-feature svg { color: var(--wp--preset--color--green-400); flex-shrink: 0; width: 1rem; height: 1rem; }
@media (max-width: 768px) { .acc-buildings { grid-template-columns: 1fr; } .acc-features { grid-template-columns: 1fr; } }

/* Room modal */
.room-modal { max-width: 700px; max-height: 90vh; overflow-y: auto; }
.room-modal-info {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0;
}
.room-info-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--wp--preset--color--stone-100); color: var(--wp--preset--color--stone-600);
  font-size: .75rem; font-weight: 500; padding: .35rem .85rem; border-radius: 9999px;
}
.room-info-chip svg { width: .875rem; height: .875rem; }
.room-booking-note {
  background: #fffbeb; border: 1px solid #fde68a;
  color: #92400e; font-size: .8rem; line-height: 1.6;
  padding: .75rem 1rem; border-radius: .75rem; margin-bottom: .75rem;
}
.room-rules { font-size: .75rem; color: var(--wp--preset--color--stone-400); margin-bottom: 1rem; }
.rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.room-card {
  border-radius: 1rem; overflow: hidden; border: 1px solid var(--wp--preset--color--stone-200);
  display: flex; flex-direction: column;
}
.room-photos {
  display: flex; height: 160px; flex-shrink: 0; position: relative;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.room-photos::-webkit-scrollbar { display: none; }
.room-photo {
  flex: 0 0 100%; scroll-snap-align: start;
  background-size: cover; background-position: center;
}
.room-photos-dots {
  position: absolute; left: 0; right: 0; bottom: .5rem; z-index: 1;
  display: flex; justify-content: center; gap: .3rem; pointer-events: none;
}
.room-photos-dots span {
  width: .35rem; height: .35rem; border-radius: 50%; background: rgba(255,255,255,.5);
  transition: background .2s, width .2s;
}
.room-photos-dots span.active { background: #fff; width: .7rem; border-radius: 9999px; }
.room-photos-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: rgba(0,0,0,.35); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s; opacity: 0;
}
.room-photos:hover .room-photos-arrow { opacity: 1; }
.room-photos-arrow:hover { background: rgba(0,0,0,.55); }
.room-photos-arrow svg { width: 1rem; height: 1rem; }
.room-photos-arrow--prev { left: .5rem; }
.room-photos-arrow--next { right: .5rem; }
@media (hover: none) { .room-photos-arrow { opacity: 1; } }
.room-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.room-title { font-family: var(--wp--preset--font-family--playfair-display); font-weight: 700; font-size: 1.05rem; color: var(--wp--preset--color--stone-900); margin-bottom: .4rem; }
.room-desc  { font-size: .8rem; color: var(--wp--preset--color--stone-500); line-height: 1.55; margin-bottom: .75rem; }
.room-features { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; flex: 1; }
.room-feature { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--wp--preset--color--stone-600); }
.room-feature svg { color: var(--wp--preset--color--green-600); flex-shrink: 0; width: .9rem; height: .9rem; }
/* .room-features also holds the room CPT's real post_content list (amenities)
   as plain <ul><li> — style those the same way as .room-feature (checkmark
   + text) since the class doesn't match the block markup directly. */
.room-features ul.wp-block-list { display: flex; flex-direction: column; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.room-features li {
  display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--wp--preset--color--stone-600);
}
.room-features li::before {
  content: ''; flex-shrink: 0; width: .9rem; height: .9rem; border-radius: 50%;
  background: var(--wp--preset--color--green-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/70% no-repeat;
}
.acc-other-building {
  border-radius: 1rem; overflow: hidden; border: 1px solid var(--wp--preset--color--stone-200); background: var(--wp--preset--color--stone-50); margin-top: 1.5rem;
}
.acc-other-header {
  position: relative; height: 100px; background-size: cover; background-position: center;
}
.acc-other-header-overlay { position: absolute; inset: 0; background: rgba(28,25,23,.6); }
.acc-other-header-text {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 1.25rem;
}
.acc-other-label { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .2rem; }
.acc-other-name  { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.25rem; font-weight: 700; color: #fff; }
.acc-other-sub   { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: .15rem; }
.acc-other-rooms { padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 640px) { .rooms-grid, .acc-other-rooms { grid-template-columns: 1fr; } }

/* Booking form */
.booking-form { padding: 1.25rem 1.75rem; background: var(--wp--preset--color--stone-50); border-bottom: 1px solid var(--wp--preset--color--stone-100); }
.mode-toggle {
  display: flex; gap: 2px; background: var(--wp--preset--color--stone-200); border-radius: .75rem;
  padding: 3px; width: fit-content; margin-bottom: 1rem;
}
.mode-btn {
  padding: .35rem 1rem; border-radius: .65rem; font-size: .78rem; font-weight: 600;
  color: var(--wp--preset--color--stone-500); transition: all .2s;
}
.mode-btn.active { background: #fff; color: var(--wp--preset--color--stone-800); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--stone-500); margin-bottom: .4rem;
}
.form-group input[type="date"] {
  width: 100%; border: 1px solid var(--wp--preset--color--stone-200); border-radius: .75rem;
  padding: .65rem 1rem; font-size: .9rem; color: var(--wp--preset--color--stone-800);
  background: #fff; outline: none; transition: border-color .2s;
}
.form-group input[type="date"]:focus { border-color: var(--wp--preset--color--green-500); }
.room-type-select {
  width: 100%; border: 1px solid var(--wp--preset--color--stone-200); border-radius: .75rem;
  padding: .65rem 1rem; font-size: .9rem; color: var(--wp--preset--color--stone-800);
  background: #fff; outline: none; transition: border-color .2s; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: .9rem;
}
.room-type-select:focus { border-color: var(--wp--preset--color--green-500); }
.room-card--highlight { outline: 3px solid var(--wp--preset--color--green-500); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper-btn {
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--wp--preset--color--stone-300); display: flex; align-items: center; justify-content: center;
  color: var(--wp--preset--color--stone-600); transition: background .2s;
}
.stepper-btn:hover:not(:disabled) { background: var(--wp--preset--color--stone-100); }
.stepper-btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper-btn svg { width: .75rem; height: .75rem; }
.stepper-val { width: 1.5rem; text-align: center; font-weight: 700; font-size: .9rem; color: var(--wp--preset--color--stone-800); }
.guests-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; align-items: center; }
.guest-group { display: flex; align-items: center; gap: .75rem; }
.guest-group label { font-size: .9rem; font-weight: 500; color: var(--wp--preset--color--stone-600); }
.breakfast-toggle { display: flex; align-items: center; gap: .75rem; cursor: pointer; width: fit-content; }
.toggle-switch {
  width: 2.5rem; height: 1.5rem; border-radius: 9999px; background: var(--wp--preset--color--stone-300);
  position: relative; transition: background .2s; flex-shrink: 0;
}
.toggle-switch.on { background: var(--wp--preset--color--green-500); }
.toggle-knob {
  position: absolute; top: .2rem; left: .2rem; width: 1.1rem; height: 1.1rem;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .2s;
}
.toggle-switch.on .toggle-knob { transform: translateX(1rem); }
.toggle-label { font-size: .9rem; font-weight: 500; color: var(--wp--preset--color--stone-700); }
.toggle-label span { color: var(--wp--preset--color--stone-400); font-weight: 400; font-size: .8rem; }
.dates-warning { font-size: .8rem; font-weight: 500; color: #b45309; }

/* ============================================================
   TIENDA — same staggered 2x2 photo grid as Restaurante, mirrored
   (photos stay on the left / text on the right, unlike Restaurante)
   ============================================================ */
.store-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.store-photo-grid > div { border-radius: 1rem; background-size: cover; background-position: center; box-shadow: 0 10px 30px rgba(28,25,23,.15); transition: transform .3s; }
.store-photo-grid > div:hover { transform: scale(1.02); }
.store-photo-1 { height: 16rem; }
.store-photo-2 { height: 16rem; margin-top: 2rem; }
.store-photo-3 { height: 12rem; }
.store-photo-4 { height: 12rem; margin-top: -1rem; }
@media (max-width: 768px) {
  .store-photo-2 { margin-top: 0; }
  .store-photo-4 { margin-top: 0; }
}

/* ============================================================
   RESTAURANTE — amber checklist + staggered 2x2 photo grid
   (matches the original site's Restaurant.tsx exactly)
   ============================================================ */
.rest-checklist { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.5rem; }
.rest-checklist li { display: flex; align-items: center; gap: .75rem; color: var(--wp--preset--color--stone-700); font-weight: 500; }
.rest-check-icon {
  width: 2rem; height: 2rem; border-radius: 50%; flex-shrink: 0;
  background: #fef3c7; border: 1px solid #fde68a; color: #d97706;
  display: flex; align-items: center; justify-content: center;
}
.rest-check-icon svg { width: 1rem; height: 1rem; }
.rest-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.rest-photo-grid > div { border-radius: 1rem; background-size: cover; background-position: center; box-shadow: 0 10px 30px rgba(28,25,23,.15); }
.rest-photo-1 { height: 16rem; }
.rest-photo-2 { height: 16rem; margin-top: 2rem; }
.rest-photo-3 { height: 12rem; }
.rest-photo-4 { height: 12rem; margin-top: -1rem; }
@media (max-width: 768px) {
  .rest-photo-2 { margin-top: 0; }
  .rest-photo-4 { margin-top: 0; }
}

/* ============================================================
   STORE
   ============================================================ */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.store-card {
  border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--wp--preset--color--stone-200);
  background: #fff; transition: transform .3s, box-shadow .3s;
}
.store-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.08); }
.store-img { height: 160px; background-size: cover; background-position: center; }
.store-body { padding: 1.25rem; }
.store-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.1rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: .4rem; }
.store-desc  { font-size: .85rem; color: var(--wp--preset--color--stone-500); line-height: 1.6; }

/* ============================================================
   GROUPS
   ============================================================ */
.groups-pillar {
  border-radius: 1rem; overflow: hidden;
  background: var(--wp--preset--color--stone-900);
  border: 1px solid var(--wp--preset--color--stone-800);
  transition: border-color .3s;
}
.groups-pillar:hover { border-color: rgba(22,163,74,.6); }
.groups-pillar-img-wrap { position: relative; height: 13rem; overflow: hidden; }
.groups-pillar-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s;
}
.groups-pillar:hover .groups-pillar-img { transform: scale(1.05); }
.groups-pillar-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--wp--preset--color--stone-900) 0%, rgba(28,25,23,.2) 40%, transparent 70%);
  pointer-events: none;
}
.groups-pillar-body { padding: 1.5rem; }
.groups-pillar-body h3 { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.groups-pillar-body p { font-size: .875rem; line-height: 1.6; color: var(--wp--preset--color--stone-400); }
.groups-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 2.5rem 0; }
.groups-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border: 1px solid var(--wp--preset--color--stone-200);
  border-radius: 1.25rem; padding: 1.25rem;
}
.groups-feature-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wp--preset--color--green-100);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.groups-feature-icon svg { color: var(--wp--preset--color--green-700); width: 1.1rem; height: 1.1rem; }
.groups-feature-title { font-weight: 600; color: var(--wp--preset--color--stone-900); margin-bottom: .25rem; font-size: .95rem; }
.groups-feature-desc  { font-size: .85rem; color: var(--wp--preset--color--stone-500); line-height: 1.6; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-carousel-wrap { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.gallery-carousel-wrap .gallery-carousel-btn {
  border: 1px solid var(--wp--preset--color--stone-300); background: #fff;
  color: var(--wp--preset--color--stone-600); flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.gallery-carousel-wrap .gallery-carousel-btn:hover { background: var(--wp--preset--color--stone-100); color: var(--wp--preset--color--stone-900); border-color: var(--wp--preset--color--stone-300); }
.gallery-carousel {
  flex: 1; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gallery-carousel::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: .75rem; }
.gallery-slide {
  scroll-snap-align: start; flex: 0 0 calc(33.333% - .5rem);
  border-radius: 1rem; overflow: hidden; height: 300px;
  background-size: cover; background-position: center;
  cursor: pointer; transition: transform .3s;
}
.gallery-slide:hover { transform: scale(1.02); }
@media (max-width: 900px) {
  .gallery-slide { flex-basis: calc(50% - .375rem); height: 240px; }
}
@media (max-width: 560px) {
  .gallery-slide { flex-basis: 85%; height: 220px; }
  .gallery-carousel-btn { display: none; }
}

/* Lightbox */
.lightbox {
  max-width: none !important; margin: 0 !important; /* see .modal-overlay comment above */
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: .75rem; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.15); width: 2.5rem; height: 2.5rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
}
.lightbox-close svg { width: 1.25rem; height: 1.25rem; }

/* Como llegar map */
.como-llegar-map-wrap iframe { filter: grayscale(1); transition: filter .4s; }
.como-llegar-map-wrap:hover iframe, .como-llegar-map-wrap:focus-within iframe { filter: grayscale(0); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--wp--preset--color--stone-900); }
.testimonial-track { position: relative; min-height: 220px; }
.testimonial-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s, transform .5s; pointer-events: none;
}
.testimonial-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.testimonial-stars { display: flex; gap: .25rem; justify-content: center; margin-bottom: 1.25rem; }
.testimonial-stars svg { width: 1.25rem; height: 1.25rem; }
.testimonial-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: rgba(255,255,255,.85);
  font-style: italic; line-height: 1.75; max-width: 680px; margin-bottom: 1.5rem;
}
.testimonial-name {
  font-weight: 700; color: var(--wp--preset--color--green-400); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.testimonial-dots { display: flex; gap: .4rem; }
.testimonial-dot {
  height: .375rem; background: rgba(255,255,255,.25); border-radius: 9999px;
  transition: all .4s; border: none; width: .375rem;
}
.testimonial-dot.active { background: var(--wp--preset--color--green-400); width: 1.5rem; }
.testimonial-nav-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2); background: transparent;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7);
  transition: all .2s;
}
.testimonial-nav-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.testimonial-nav-btn svg { width: 1.1rem; height: 1.1rem; }

/* ============================================================
   SUBMIT A REVIEW ([gl_submit_experience], "Comparte tu experiencia")
   ============================================================ */
.review-form-group { margin-bottom: 1.5rem; }
.review-form-group label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wp--preset--color--stone-500); margin-bottom: .5rem;
}
.review-form-group input[type="text"],
.review-form-group input[type="email"],
.review-form-group textarea {
  width: 100%; border: 1px solid var(--wp--preset--color--stone-200); border-radius: .75rem;
  padding: .75rem 1rem; font-size: .95rem; color: var(--wp--preset--color--stone-800);
  background: #fff; outline: none; transition: border-color .2s; font-family: inherit;
}
.review-form-group input[type="text"]:focus,
.review-form-group input[type="email"]:focus,
.review-form-group textarea:focus { border-color: var(--wp--preset--color--green-500); }
.review-form-group textarea { resize: vertical; }
.review-form-hint { font-size: .78rem; color: var(--wp--preset--color--stone-400); margin-top: .4rem; }
.review-form-submit { width: 100%; justify-content: center; }
/* Honeypot — visually and structurally hidden from real visitors/screen readers. */
.review-form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Star picker: radio inputs in reverse DOM order (5→1) so the CSS sibling
   combinator can light up "this star and everything before it" purely
   with :checked + :hover, no JS required. Displayed left-to-right via
   row-reverse. */
.review-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; }
.review-stars input { position: absolute; opacity: 0; pointer-events: none; }
.review-stars label { cursor: pointer; color: var(--wp--preset--color--stone-300); transition: color .15s; margin: 0; }
.review-stars label svg { width: 2rem; height: 2rem; display: block; }
.review-stars input:checked ~ label,
.review-stars label:hover,
.review-stars label:hover ~ label { color: #f59e0b; }

.review-thanks { text-align: center; padding: 2rem 0; }
.review-thanks-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%; margin: 0 auto 1.25rem;
  background: var(--wp--preset--color--green-100); color: var(--wp--preset--color--green-700);
  display: flex; align-items: center; justify-content: center;
}
.review-thanks-icon svg { width: 1.75rem; height: 1.75rem; }
.review-thanks-title { font-size: 1.4rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: .5rem; }
.review-thanks-sub { color: var(--wp--preset--color--stone-500); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 1.1rem; height: 1.1rem; color: var(--wp--preset--color--green-400); }
.contact-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .2rem; }
.contact-value { color: rgba(255,255,255,.85); font-size: .95rem; }
.contact-value a:hover { color: var(--wp--preset--color--green-400); }
.contact-form-box {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.5rem; padding: 2rem;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: .75rem; padding: .85rem 1rem; font-size: .9rem; color: #fff;
  font-family: var(--wp--preset--font-family--inter); outline: none; transition: border-color .2s; margin-bottom: 1rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.35); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--wp--preset--color--green-500); }
.contact-form select option { background: var(--wp--preset--color--stone-900); }
.contact-form textarea { resize: vertical; min-height: 100px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--wp--preset--color--stone-950); color: var(--wp--preset--color--stone-400);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand-logo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.footer-brand-name { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.1; }
.footer-brand-eco  { font-size: .65rem; text-transform: uppercase; letter-spacing: .2em; color: var(--wp--preset--color--green-500); }
.footer-tagline { font-size: .9rem; line-height: 1.65; }
.footer-col-title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
  color: #fff; margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; margin-top: .2rem; flex-shrink: 0; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: .75rem; color: rgba(255,255,255,.25); }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.page-hero {
  background: var(--wp--preset--color--stone-900); padding: 8rem 1.5rem 4rem;
  text-align: center;
}
.page-hero .label-tag { color: var(--wp--preset--color--green-400); }
.page-hero .section-title { color: #fff; }
.page-hero p { color: rgba(255,255,255,.55); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }
.faq-list { max-width: 760px; margin: 4rem auto 6rem; padding: 0 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--wp--preset--color--stone-200); border-radius: 1rem; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; text-align: left; transition: background .15s;
}
.faq-question:hover { background: var(--wp--preset--color--stone-50); }
.faq-question-text { font-weight: 600; color: var(--wp--preset--color--stone-900); font-size: .95rem; }
.faq-chevron { width: 1.25rem; height: 1.25rem; color: var(--wp--preset--color--stone-400); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s;
  padding: 0 1.5rem; font-size: .9rem; color: var(--wp--preset--color--stone-600); line-height: 1.7;
  border-top: 0 solid var(--wp--preset--color--stone-100);
}
.faq-item.open .faq-answer {
  max-height: 500px; padding: 1rem 1.5rem 1.25rem;
  border-top-width: 1px;
}
.faq-cta-box {
  max-width: 760px; margin: 0 auto 6rem; padding: 0 1.5rem;
  text-align: center;
}
.faq-cta-inner {
  background: var(--wp--preset--color--green-50); border-radius: 2rem; padding: 2.5rem;
}
.faq-cta-title { font-weight: 700; font-size: 1.1rem; color: var(--wp--preset--color--stone-800); margin-bottom: .4rem; }
.faq-cta-sub   { font-size: .9rem; color: var(--wp--preset--color--stone-500); margin-bottom: 1.5rem; }

/* ============================================================
   VOLUNTEER PAGE
   ============================================================ */
.vol-andemos-badge {
  display: inline-flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 1rem; padding: .75rem 1.5rem; color: #fff; margin-top: 2rem;
  transition: background .2s;
}
.vol-andemos-badge:hover { background: rgba(255,255,255,.18); }
.vol-andemos-badge .wp-block-button__link {
  background: none !important; color: inherit !important;
  padding: 0 !important; border-radius: 0 !important; border: none !important;
}
.vol-andemos-program { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--wp--preset--color--green-400); }
.vol-andemos-name    { font-weight: 600; font-size: .9rem; }
/* !important: core/columns and any group using layout:flex always add WP's
   own .is-layout-flex{display:flex} utility class at equal specificity —
   forcing display:grid here guarantees it wins regardless of cascade order. */
.vol-roles-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.vol-role-card { background: #fff; border: 1px solid var(--wp--preset--color--stone-200); border-radius: 1.25rem; padding: 1.5rem; }
.vol-role-icon  { font-size: 2rem; margin-bottom: .75rem; }
.vol-role-title { font-weight: 600; color: var(--wp--preset--color--stone-900); margin-bottom: .4rem; }
.vol-role-desc  { font-size: .875rem; color: var(--wp--preset--color--stone-500); line-height: 1.65; }
.vol-two-col { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
@media (max-width: 768px) { .vol-two-col { grid-template-columns: 1fr; } }
.vol-offer-box   { background: var(--wp--preset--color--green-50); border-radius: 1.25rem; padding: 1.75rem; }
.vol-require-box { background: var(--wp--preset--color--stone-100); border-radius: 1.25rem; padding: 1.75rem; }
.vol-box-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.15rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: 1.25rem; }
.vol-list { display: flex; flex-direction: column; gap: .75rem; }
.vol-list-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: var(--wp--preset--color--stone-700); }
.vol-check {
  width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--wp--preset--color--green-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem;
}
.vol-check svg { width: .75rem; height: .75rem; color: #fff; }
.vol-dot {
  width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid var(--wp--preset--color--stone-400);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .1rem;
}
.vol-dot::after { content: ''; width: .375rem; height: .375rem; border-radius: 50%; background: var(--wp--preset--color--stone-400); }
.vol-apply-box {
  background: #fff; border: 1px solid var(--wp--preset--color--stone-200); border-radius: 2rem;
  padding: 2.5rem; text-align: center; margin-top: 3rem;
}
.vol-apply-title { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.5rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: .75rem; }
.vol-apply-body  { font-size: .9rem; color: var(--wp--preset--color--stone-500); line-height: 1.7; max-width: 520px; margin: 0 auto 2rem; }
.vol-apply-btns  { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   VIRTUAL FARM TOUR
   ============================================================ */
.tour-lock {
  min-height: 60vh; background: var(--wp--preset--color--stone-900);
  padding: 8rem 1.5rem 5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.tour-lock-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--wp--preset--color--green-400);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.tour-lock-icon svg { width: 1.75rem; height: 1.75rem; }
.tour-lock .label-tag { color: var(--wp--preset--color--green-400); }
.tour-lock-title { color: #fff; font-size: 1.75rem; font-weight: 700; margin: .5rem 0 .75rem; }
.tour-lock-sub { color: rgba(255,255,255,.55); font-size: 1rem; max-width: 420px; margin: 0 auto 2rem; }
.tour-lock-form { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.tour-lock-form input[type="password"] {
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff;
  border-radius: .75rem; padding: .75rem 1.25rem; font-size: .95rem; min-width: 220px; outline: none;
  transition: border-color .2s;
}
.tour-lock-form input[type="password"]::placeholder { color: rgba(255,255,255,.4); }
.tour-lock-form input[type="password"]:focus { border-color: var(--wp--preset--color--green-500); }
.tour-stop {
  padding: 2.5rem 0; border-bottom: 1px solid var(--wp--preset--color--stone-200);
}
.tour-stop:first-child { padding-top: 0; }
.tour-stop:last-child { border-bottom: none; }
.tour-stop-number {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wp--preset--color--green-600); margin-bottom: .5rem;
}
.tour-stop-title { font-size: 1.5rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: .75rem; }
.tour-stop-desc { color: var(--wp--preset--color--stone-600); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.tour-video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 1rem; background: var(--wp--preset--color--stone-900); margin-bottom: 1.5rem;
}
.tour-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-audio { width: 100%; margin-bottom: 1.5rem; }
.tour-stop-placeholder {
  background: var(--wp--preset--color--stone-100); border: 1px dashed var(--wp--preset--color--stone-300);
  border-radius: .75rem; padding: 1rem 1.25rem; font-size: .85rem; color: var(--wp--preset--color--stone-500);
  margin-bottom: 1.5rem;
}
.tour-stop-placeholder a { color: var(--wp--preset--color--green-600); font-weight: 600; }
.tour-qr {
  display: flex; align-items: center; gap: 1rem; background: var(--wp--preset--color--stone-50);
  border: 1px solid var(--wp--preset--color--stone-200); border-radius: 1rem; padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.tour-qr-img { border-radius: .5rem; background: #fff; flex-shrink: 0; }
.tour-qr-label { font-size: .78rem; color: var(--wp--preset--color--stone-500); line-height: 1.5; }
.tour-next {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600;
  color: var(--wp--preset--color--green-600); transition: gap .2s;
}
.tour-next:hover { gap: .75rem; }
.tour-next svg { width: 1rem; height: 1rem; }
.tour-end { text-align: center; padding-top: 3rem; }
.tour-end-title { font-size: 1.4rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: .5rem; }
.tour-end-sub { color: var(--wp--preset--color--stone-500); margin-bottom: 1.5rem; }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-empty { max-width: 700px; margin: 3rem auto; padding: 0 1.5rem; text-align: center; color: var(--wp--preset--color--stone-400); }
.news-post {
  max-width: 700px; margin: 0 auto; padding: 3rem 1.5rem;
  border-bottom: 1px solid var(--wp--preset--color--stone-200);
}
.news-post:first-of-type { padding-top: 4rem; }
.news-post:last-of-type { border-bottom: none; }
.news-post-thumb {
  width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center;
  border-radius: 1rem; margin-bottom: 1.5rem;
}
.news-post-date { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--green-600); margin-bottom: .5rem; }
.news-post-title { font-size: 1.6rem; font-weight: 700; color: var(--wp--preset--color--stone-900); margin-bottom: 1rem; }
.news-post-content { color: var(--wp--preset--color--stone-600); font-size: .95rem; line-height: 1.75; }
.news-post-content p { margin-bottom: 1rem; }

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden { display: none !important; }
.wa-icon { width: 1.25rem; height: 1.25rem; }
.check-icon { width: 1rem; height: 1rem; }
svg.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
