:root {
    --line: #ECEDF3;
    --line-2: #F2F3F7;
    --muted: #8B90A8;
    --muted-3: #B0B4C8;
    --r-xl: 18px;
    --r-2xl: 24px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FBFBFD;
    color: #272C54;
    -webkit-font-smoothing: antialiased;
}
.guest { background: #FBFBFD; min-height: 100vh; }
.guest__hero {
    position: relative; height: 220px; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 22px 20px; overflow: hidden;
}
.guest__hero img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.guest__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(39,44,84,.05) 0%, rgba(39,44,84,.55) 100%);
}
.guest__alo {
    position: relative; font-size: 11px; color: rgba(255,255,255,.85);
    text-transform: uppercase; letter-spacing: 2px; font-weight: 600;
}
.guest__title {
    position: relative; font-size: 27px; font-weight: 700; color: #fff;
    line-height: 1.1; margin-top: 4px;
}
.guest__body { padding: 22px 20px 50px; }
.guest__intro {
    font-size: 14px; color: #6A6F8C; line-height: 1.6;
    margin-bottom: 24px; text-align: center; white-space: pre-line;
}
.guest__langs {
    position: relative;
    display: flex; justify-content: flex-end;
    margin-bottom: 16px; padding: 0 20px;
}
.guest__langbtn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 10px; cursor: pointer;
    background: #fff; border: 1px solid var(--line); color: var(--muted);
    font: inherit; transition: .15s;
}
.guest__langbtn:hover { border-color: var(--guest-color-title); }
.guest__langcaret { transition: transform .15s; flex-shrink: 0; }
.guest__langs.is-open .guest__langcaret { transform: rotate(180deg); }
.guest__langmenu {
    position: absolute; top: calc(100% + 6px); right: 20px;
    display: none; flex-direction: column; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 20;
}
.guest__langs.is-open .guest__langmenu { display: flex; }
.guest__lang {
    display: flex; align-items: center; justify-content: center;
    padding: 6px 10px; border-radius: 8px; text-decoration: none;
    transition: .15s;
}
.guest__lang:hover { background: var(--line); }
.guest__lang.is-active { background: var(--guest-color-title); }

/* Banderas (estilo mrplan-flag del core: dibujadas con gradients, self-contained) */
.guest__flag { width: 22px; height: 16px; border-radius: 2px; flex: 0 0 auto; display: inline-block; overflow: hidden; box-shadow: 0 0 0 1px rgba(27,31,58,.10); }
.guest__flag--es { background: linear-gradient(#C60B1E 0 25%, #FFC400 25% 75%, #C60B1E 75%); }
.guest__flag--en { background: linear-gradient(#EF0000,#EF0000) center/100% 32% no-repeat, linear-gradient(#EF0000,#EF0000) center/32% 100% no-repeat, #fff; }
.guest__flag--fr { background: linear-gradient(90deg,#0055A4 33%,#fff 33% 66%,#EF4135 66%); }
.guest__flag--ca { background: repeating-linear-gradient(#FCDD09 0 2px,#DA121A 2px 3.6px); }
.guest__flag--de { background: linear-gradient(#000 33%,#DD0000 33% 66%,#FFCE00 66%); }
.guest__flag--it { background: linear-gradient(90deg,#009246 33%,#fff 33% 66%,#CE2B37 66%); }
.guest__flag--pt { background: linear-gradient(90deg,#006600 40%,#FF0000 40%); }
.guest__flag--nl { background: linear-gradient(#AE1C28 33%,#fff 33% 66%,#21468B 66%); }
.guest__flag--gl { background: linear-gradient(#fff 60%,#0080C8 60%); }
.guest__flag--eu { background:
  linear-gradient(#fff, #fff) center/100% 14% no-repeat,
  linear-gradient(#fff, #fff) center/14% 100% no-repeat,
  linear-gradient(to top left, transparent 46%, #009B48 46%, #009B48 54%, transparent 54%),
  linear-gradient(to top right, transparent 46%, #009B48 46%, #009B48 54%, transparent 54%),
  #D52B1E; }
.guest__flag--es-mx { background: linear-gradient(90deg,#006847 33%,#fff 33% 66%,#CE1126 66%); }
.guest-sec {
    margin-bottom: 14px; border: 1px solid var(--line);
    border-radius: var(--r-xl); overflow: hidden; background: #fff;
}
.guest-sec__head {
    padding: 16px; display: flex; align-items: center; gap: 13px; cursor: pointer;
}
.guest-sec__title { font-size: 15.5px; font-weight: 700; color: var(--guest-color-title); }
.guest-sec__sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; white-space: pre-line; }
.guest-sec__chev { transition: transform .2s; margin-left: auto; }
.guest-sec__chev.chev-open { transform: rotate(180deg); }
.guest-sec__body { padding: 0 16px 8px; }
.guest-sec__body.is-hidden { display: none; }
.icon-box {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: #8B90AB;
}
.icon-box svg { width: 22px; height: 22px; }
.guest-item { border-top: 1px solid var(--line-2); padding: 16px 0; }
.guest-item:first-child { border-top: none; }
.guest-item__img {
    position: relative; width: 100%; aspect-ratio: 16/9;
    border-radius: 14px; overflow: hidden; margin-bottom: 12px; background: #F0F1F5;
}
.guest-item__img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.guest-item__title {
    font-size: 17px; font-weight: 700; letter-spacing: -.2px;
    color: var(--guest-color-title);
}
.guest-item__claim {
    font-size: 13px; color: var(--guest-color-claim); font-weight: 600; margin-top: 2px; white-space: pre-line;
}
.guest-item__desc {
    font-size: 13.5px; color: var(--guest-color-info); line-height: 1.6; margin-top: 8px; white-space: pre-line;
}
.guest-item__meta { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; }
.guest-item__metarow {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--guest-color-info);
}
.guest-meta-ico { width: 18px; height: 18px; opacity: .6; flex-shrink: 0; }
.guest-item__cta { display: flex; gap: 9px; margin-top: 14px; }
.guest-item__cta > a {
    flex: 1; text-align: center; border-radius: 12px; padding: 10px;
    font-size: 12.5px; font-weight: 600; text-decoration: none;
}
.cta-map { background: #E7EAFB; color: #272C54; }
.cta-book { background: var(--guest-color-claim); color: #fff; }
.guest__footer {
    text-align: center; margin-top: 30px; font-size: 11.5px; color: var(--muted-3);
}
@media (min-width: 768px) {
    .guest {
        max-width: 460px; margin: 24px auto; border-radius: var(--r-2xl);
        overflow: hidden; box-shadow: 0 30px 70px -40px rgba(39,44,84,.5); min-height: auto;
    }
}

/* --- Items expandibles --- */
.guest-item__lead { cursor: pointer; }
.guest-item__headrow { display: flex; align-items: flex-start; gap: 10px; }
.guest-item__headrow > div:first-child { flex: 1 1 auto; min-width: 0; }
.guest-item__chev { flex: 0 0 auto; display: grid; place-items: center; margin-top: 2px; transition: transform .34s cubic-bezier(.22,.61,.36,1); }
.guest-item__chev.is-open { transform: rotate(180deg); }
.guest-item__wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.22,.61,.36,1); }
.guest-item__wrap.is-open { grid-template-rows: 1fr; }
.guest-item__wrap > .guest-item__detail { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .3s cubic-bezier(.22,.61,.36,1); }
.guest-item__wrap.is-open > .guest-item__detail { opacity: 1; transform: none; transition-delay: .06s; }
@media (prefers-reduced-motion: reduce) { .guest-item__wrap, .guest-item__chev, .guest-item__wrap > .guest-item__detail { transition: none; } }

/* --- Modo overlay (textos dentro de la foto) --- */
.guest-item__img--tall { height: 168px; margin-bottom: 0; }
.guest-item__lead--over { margin-bottom: 13px; }
.guest-item__overscrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,23,45,.78) 0%, rgba(20,23,45,.34) 45%, rgba(20,23,45,0) 78%); }
.guest-item__overtxt { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: flex-end; gap: 10px; }
.guest-item__overtxt > div:first-child { flex: 1 1 auto; min-width: 0; }
.guest-item__title--over { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.guest-item__claim--over { color: #FFD8C4; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
