/* Infinity Events V8 — seis temas reales, contraste global y portadas adaptativas. */
html[data-ie5-theme="light-1"]{--ie8-bg:#f8f5ee;--ie8-surface:#fffdf8;--ie8-surface-2:#efe9dc;--ie8-text:#17130e;--ie8-muted:#51483d;--ie8-link:#6e4e12;--ie8-line:rgba(79,58,26,.30);--ie8-accent:#8b641b;--ie8-accent-soft:#6e4e12;--ie8-shadow:0 22px 62px rgba(60,43,14,.14);--ie8-overlay:rgba(255,255,255,.72);color-scheme:light}
html[data-ie5-theme="dark-1"]{--ie8-bg:#070707;--ie8-surface:#141414;--ie8-surface-2:#202020;--ie8-text:#fffaf2;--ie8-muted:#d5cec2;--ie8-link:#f2d17d;--ie8-line:rgba(242,209,125,.30);--ie8-accent:#d6a847;--ie8-accent-soft:#f2d17d;--ie8-shadow:0 24px 70px rgba(0,0,0,.48);--ie8-overlay:rgba(0,0,0,.68);color-scheme:dark}
html[data-ie5-theme="light-2"]{--ie8-bg:#f4e6cc;--ie8-surface:#fff8eb;--ie8-surface-2:#ead6b4;--ie8-text:#24190d;--ie8-muted:#604d38;--ie8-link:#6d4a08;--ie8-line:rgba(105,75,27,.30);--ie8-accent:#8f6112;--ie8-accent-soft:#6d4a08;--ie8-shadow:0 22px 62px rgba(94,61,17,.15);--ie8-overlay:rgba(255,248,235,.74);color-scheme:light}
html[data-ie5-theme="dark-2"]{--ie8-bg:#21070b;--ie8-surface:#310d13;--ie8-surface-2:#42151d;--ie8-text:#fff5f3;--ie8-muted:#e5c6c8;--ie8-link:#ffd0a0;--ie8-line:rgba(255,186,159,.30);--ie8-accent:#e2a05e;--ie8-accent-soft:#ffd0a0;--ie8-shadow:0 24px 70px rgba(8,0,1,.52);--ie8-overlay:rgba(24,1,6,.72);color-scheme:dark}
html[data-ie5-theme="light-3"]{--ie8-bg:#e7f3fb;--ie8-surface:#f7fcff;--ie8-surface-2:#d4e8f5;--ie8-text:#122433;--ie8-muted:#425b6e;--ie8-link:#1e5f8d;--ie8-line:rgba(42,91,126,.28);--ie8-accent:#226b9d;--ie8-accent-soft:#1e5f8d;--ie8-shadow:0 22px 62px rgba(34,77,109,.15);--ie8-overlay:rgba(239,249,255,.74);color-scheme:light}
html[data-ie5-theme="dark-3"]{--ie8-bg:#061827;--ie8-surface:#0c2638;--ie8-surface-2:#15364a;--ie8-text:#f5fbff;--ie8-muted:#c1d6e4;--ie8-link:#9ed9ff;--ie8-line:rgba(137,207,248,.30);--ie8-accent:#74bfe9;--ie8-accent-soft:#9ed9ff;--ie8-shadow:0 24px 70px rgba(0,7,14,.54);--ie8-overlay:rgba(1,15,27,.72);color-scheme:dark}

html[data-ie5-theme]{
  --ie5-bg:var(--ie8-bg)!important;--ie5-surface:var(--ie8-surface)!important;--ie5-surface-strong:var(--ie8-surface)!important;
  --ie5-text:var(--ie8-text)!important;--ie5-muted:var(--ie8-muted)!important;--ie5-line:var(--ie8-line)!important;
  --ie5-gold:var(--ie8-accent)!important;--ie5-gold-soft:var(--ie8-accent-soft)!important;--ie5-shadow:var(--ie8-shadow)!important;
  --ie5-card:var(--ie8-surface)!important;--ie5-input:var(--ie8-surface-2)!important;--ie5-heading:var(--ie8-text)!important;
}
html[data-ie5-theme] body{background:var(--ie8-bg)!important;color:var(--ie8-text)!important;transition:background-color .38s ease,color .38s ease}
html[data-ie5-theme] :where(main,.section,.ie-section,.ie-soft,.ie-dark,.darksec,.ie-final,.ie-facts,.legal-body,.ir-main,.ir-form-section,.confirmation,.ie-activity-preview,.ie-catalog-tools){background:var(--ie8-bg)!important;color:var(--ie8-text)!important;border-color:var(--ie8-line)!important}
html[data-ie5-theme] :where(.ie-section:nth-of-type(even),.section:nth-of-type(even),.ie-soft,.ir-form-section,.ie-activity-preview){background:var(--ie8-surface-2)!important}
html[data-ie5-theme] :where(.ie-service-footer,.ir-footer,footer.footer,body>footer){background:var(--ie8-surface)!important;color:var(--ie8-muted)!important;border-color:var(--ie8-line)!important}

html[data-ie5-theme] :where(h1,h2,h3,h4,h5,h6,legend,summary,label,strong,b,dt,.name,.reply-author){color:var(--ie8-text)!important}
html[data-ie5-theme] :where(p,li,dd,small,.lead,.date,.counter,.ir-count,.review-text,.reply-text,.muted){color:var(--ie8-muted)!important}
html[data-ie5-theme] a:not(.ie-button):not(.ie5-brand):not(.ie5-nav a):not(.ie-promo-cta-v8){color:var(--ie8-link)!important}
html[data-ie5-theme] :where(.ie-kicker,.eyebrow,.ir-kicker,.rural-location,.rural-columns h4){color:var(--ie8-accent-soft)!important}

html[data-ie5-theme] :where(.card,.ie-option-grid article,.ie-service-grid article,.ie-timeline article,.ie-booking-form,.ie-quote-card,.ie-overview-card:not([style*="--card-image"]),.ie-activity-card,.ie-activity-mini,.ie-partner-card,.review-card,.reply-box,.reply-item,.ir-summary-card,.ir-form,.confirmation-card,.legal-note,.ie-faq details,.rural-value,.rural-property,.rural-form,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-deposit,.ie-extra,.ie-quote-promotion){
  background:var(--ie8-surface)!important;color:var(--ie8-text)!important;border-color:var(--ie8-line)!important;box-shadow:var(--ie8-shadow)!important;
}
html[data-ie5-theme] :where(.card,.ie-option-grid article,.ie-service-grid article,.ie-timeline article,.ie-booking-form,.ie-quote-card,.ie-activity-card,.ie-activity-mini,.ie-partner-card,.review-card,.reply-box,.reply-item,.ir-summary-card,.ir-form,.confirmation-card,.legal-note,.ie-faq details,.rural-value,.rural-property,.rural-form,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-deposit,.ie-extra,.ie-quote-promotion) :where(h1,h2,h3,h4,h5,h6,label,legend,summary,strong,b,span){color:var(--ie8-text)!important}
html[data-ie5-theme] :where(.card,.ie-option-grid article,.ie-service-grid article,.ie-timeline article,.ie-booking-form,.ie-quote-card,.ie-activity-card,.ie-activity-mini,.ie-partner-card,.review-card,.reply-box,.reply-item,.ir-summary-card,.ir-form,.confirmation-card,.legal-note,.ie-faq details,.rural-value,.rural-property,.rural-form,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-deposit,.ie-extra,.ie-quote-promotion) :where(p,li,small){color:var(--ie8-muted)!important}

html[data-ie5-theme] :where(input,select,textarea){background:var(--ie8-surface-2)!important;color:var(--ie8-text)!important;border-color:var(--ie8-line)!important;caret-color:var(--ie8-text)!important}
html[data-ie5-theme] :where(input,textarea)::placeholder{color:var(--ie8-muted)!important;opacity:1!important}
html[data-ie5-theme] select option{background:var(--ie8-surface)!important;color:var(--ie8-text)!important}
html[data-ie5-theme] :where(input,select,textarea,button,a):focus-visible{outline:3px solid var(--ie8-accent-soft)!important;outline-offset:3px!important}

/* Temas claros: nunca quedan recuadros oscuros. */
html[data-ie5-theme^="light-"] :where(.ie-dark,.darksec,.ie-final,.ie-facts,.ie-service-footer,.ir-footer,footer.footer,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-quote-card,.ie-deposit){background:var(--ie8-surface)!important;color:var(--ie8-text)!important}
html[data-ie5-theme^="light-"] :where(.ie-dark,.darksec,.ie-final,.ie-facts,.ie-service-footer,.ir-footer,footer.footer,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-quote-card,.ie-deposit) :where(h1,h2,h3,h4,h5,h6,p,li,small,span,strong,b,a){color:var(--ie8-text)!important}
html[data-ie5-theme^="light-"] :where(.ie-dark,.darksec,.ie-final,.ie-facts,.ie-service-footer,.ir-footer,footer.footer,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-quote-card,.ie-deposit) :where(p,li,small){color:var(--ie8-muted)!important}

/* Temas oscuros: nunca quedan recuadros claros y todo el texto es claro. */
html[data-ie5-theme^="dark-"] :where(main,.section,.ie-section,.ie-soft,.ie-dark,.darksec,.ie-final,.ie-facts,.legal-body,.ir-main,.ir-form-section,.confirmation,.ie-activity-preview,.ie-catalog-tools){background:var(--ie8-bg)!important;color:var(--ie8-text)!important}
html[data-ie5-theme^="dark-"] :where(.card,.ie-option-grid article,.ie-service-grid article,.ie-timeline article,.ie-booking-form,.ie-quote-card,.ie-activity-card,.ie-activity-mini,.ie-partner-card,.review-card,.reply-box,.reply-item,.ir-summary-card,.ir-form,.confirmation-card,.legal-note,.ie-faq details,.rural-value,.rural-property,.rural-form,.rural-emotion-card,.rural-itinerary article,.rural-summary,.ie-deposit,.ie-extra,.ie-quote-promotion){background:var(--ie8-surface)!important;color:var(--ie8-text)!important}
html[data-ie5-theme^="dark-"] body :where(h1,h2,h3,h4,h5,h6,p,li,dd,small,label,legend,summary,strong,b,span){color:var(--ie8-text)!important}
html[data-ie5-theme^="dark-"] body :where(p,li,dd,small,.muted,.date,.counter,.review-text,.reply-text){color:var(--ie8-muted)!important}

/* Botones conservan identidad dorada y contraste alto. */
html[data-ie5-theme] :where(.ie-button.ie-gold,.ie-nav-cta,.ie-promo-cta-v8,.ie-cookie-primary){background:linear-gradient(135deg,#f5dd92,#bd8526)!important;color:#171006!important;border-color:#d4ab51!important;text-shadow:none!important}
html[data-ie5-theme] :where(.ie-button.ie-gold,.ie-nav-cta,.ie-promo-cta-v8,.ie-cookie-primary) :where(span,strong){color:#171006!important}
html[data-ie5-theme] :where(.ie-button.ie-ghost,.ie-cookie-secondary,.ie-cookie-tertiary){background:var(--ie8-surface-2)!important;color:var(--ie8-text)!important;border-color:var(--ie8-line)!important}

/* Cabecera, buscador y selector: siempre pertenecen al tema actual. */
html[data-ie5-theme] .ie5-header,html[data-ie5-theme] .ie5-header::before,html[data-ie5-theme] :where(.ie5-popover,.ie5-search-results,.ie5-mobile-panel){background:var(--ie8-surface)!important;color:var(--ie8-text)!important;border-color:var(--ie8-line)!important}
html[data-ie5-theme] .ie5-header :where(a,button,input,span,strong){color:var(--ie8-text)!important}
html[data-ie5-theme] .ie5-theme-dot{background:var(--ie8-muted)!important}

/* Portadas: vídeo/imagen menos dominante con filtro blanco o negro según tema. */
html[data-ie5-theme^="light-"] .ie5-context-media :where(video,img){opacity:.64!important;filter:saturate(.82) contrast(.88) brightness(1.06)!important}
html[data-ie5-theme^="dark-"] .ie5-context-media :where(video,img){opacity:.62!important;filter:saturate(.88) contrast(.94) brightness(.74)!important}
html[data-ie5-theme^="light-"] .ie5-context-media::after{background:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.72) 52%,rgba(255,255,255,.56)),linear-gradient(0deg,rgba(255,255,255,.80),rgba(255,255,255,.34))!important}
html[data-ie5-theme^="dark-"] .ie5-context-media::after{background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.66) 52%,rgba(0,0,0,.46)),linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.30))!important}
html[data-ie5-theme^="light-"] .ie5-context-stage::after{background:rgba(255,255,255,.16)!important}
html[data-ie5-theme^="dark-"] .ie5-context-stage::after{background:rgba(0,0,0,.14)!important}
html[data-ie5-theme^="light-"] :where(.hero.ie5-context-hero,.ie-service-hero,.rural-hero,.ie-overview-hero) :where(h1,h2,h3,p,.eyebrow,.ie-kicker,small){color:var(--ie8-text)!important;text-shadow:0 2px 18px rgba(255,255,255,.72)!important}
html[data-ie5-theme^="dark-"] :where(.hero.ie5-context-hero,.ie-service-hero,.rural-hero,.ie-overview-hero) :where(h1,h2,h3,p,.eyebrow,.ie-kicker,small){color:var(--ie8-text)!important;text-shadow:0 3px 22px rgba(0,0,0,.82)!important}
html[data-ie5-theme^="light-"] .ie-hero-overlay{background:linear-gradient(90deg,rgba(255,255,255,.90),rgba(255,255,255,.72) 52%,rgba(255,255,255,.52)),linear-gradient(0deg,rgba(255,255,255,.78),rgba(255,255,255,.18))!important}
html[data-ie5-theme^="dark-"] .ie-hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.68) 52%,rgba(0,0,0,.40)),linear-gradient(0deg,rgba(0,0,0,.80),rgba(0,0,0,.18))!important}
html[data-ie5-theme^="light-"] .ie-overview-card::after{background:linear-gradient(0deg,rgba(255,255,255,.90),rgba(255,255,255,.52))!important}
html[data-ie5-theme^="dark-"] .ie-overview-card::after{background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.34))!important}

/* Oferta V8: esquina superior izquierda, sin tapar buscador ni cookies. */
.ie-promo-float{display:none!important}
.ie-promo-v8{position:fixed;z-index:9800;left:18px;top:calc(var(--ie5-header-h-compact,78px) + 18px);width:min(390px,calc(100vw - 36px));padding:18px;border:1px solid var(--ie8-line);border-radius:20px;background:var(--ie8-surface);color:var(--ie8-text);box-shadow:var(--ie8-shadow);font-family:Montserrat,Arial,sans-serif;backdrop-filter:blur(18px)}
.ie-promo-v8[hidden]{display:none!important}.ie-promo-v8-close{position:absolute;right:10px;top:9px;width:30px;height:30px;border:1px solid var(--ie8-line);border-radius:50%;background:var(--ie8-surface-2);color:var(--ie8-text);cursor:pointer}.ie-promo-v8-eyebrow{padding-right:34px;color:var(--ie8-accent-soft);font-size:.68rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.ie-promo-v8 h2{margin:5px 0 7px;color:var(--ie8-text);font:650 1.65rem/1.05 "Cormorant Garamond",Georgia,serif}.ie-promo-v8 p{margin:0 0 10px;color:var(--ie8-muted);font-size:.78rem;line-height:1.45}.ie-promo-v8-code-row{display:flex;gap:8px;align-items:center;margin:10px 0}.ie-promo-v8-code{flex:1;padding:10px 12px;border:1px dashed var(--ie8-accent);border-radius:12px;background:var(--ie8-surface-2);color:var(--ie8-text);font:900 .95rem/1 Montserrat,Arial,sans-serif;letter-spacing:.12em;text-align:center}.ie-promo-v8-copy{min-height:40px;padding:0 13px;border:1px solid var(--ie8-line);border-radius:12px;background:var(--ie8-surface-2);color:var(--ie8-text);font-weight:800;cursor:pointer}.ie-promo-v8-timer{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0}.ie-promo-v8-unit{padding:7px 3px;border:1px solid var(--ie8-line);border-radius:10px;background:var(--ie8-surface-2);text-align:center}.ie-promo-v8-unit strong,.ie-promo-v8-unit span{display:block}.ie-promo-v8-unit strong{font-size:1rem}.ie-promo-v8-unit span{margin-top:2px;color:var(--ie8-muted);font-size:.54rem;text-transform:uppercase}.ie-promo-v8-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ie-promo-cta-v8,.ie-promo-v8-terms{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;text-decoration:none;font-size:.72rem;font-weight:900}.ie-promo-v8-terms{color:var(--ie8-link)!important;text-decoration:underline}.ie8-promo-field{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:8px;margin:4px 0 16px;padding:14px;border:1px solid var(--ie8-line);border-radius:14px;background:var(--ie8-surface-2)}.ie8-promo-field label{grid-column:1/-1;color:var(--ie8-text)!important}.ie8-promo-field small{grid-column:1/-1;color:var(--ie8-muted)!important}.ie8-promo-field input{text-transform:uppercase;letter-spacing:.08em}.ie8-promo-fill{padding:0 14px;border:1px solid var(--ie8-line);border-radius:12px;background:var(--ie8-surface);color:var(--ie8-text);font-weight:800;cursor:pointer}

/* Cookies V8. */
.ie-cookie-banner{position:fixed;z-index:13000;left:16px;right:16px;bottom:16px;max-width:1080px;margin:auto;padding:20px;border:1px solid var(--ie8-line);border-radius:22px;background:var(--ie8-surface);color:var(--ie8-text);box-shadow:0 30px 95px rgba(0,0,0,.38);font-family:Montserrat,Arial,sans-serif}.ie-cookie-banner[hidden]{display:none!important}.ie-cookie-banner-grid{display:grid;grid-template-columns:1.4fr auto;gap:22px;align-items:center}.ie-cookie-banner h2{margin:0 0 7px;font:650 1.65rem/1.05 "Cormorant Garamond",Georgia,serif}.ie-cookie-banner p{margin:0;color:var(--ie8-muted);font-size:.82rem;line-height:1.55}.ie-cookie-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ie-cookie-actions button{min-height:44px;padding:0 16px;border:1px solid var(--ie8-line);border-radius:999px;font:800 .72rem/1 Montserrat,Arial,sans-serif;cursor:pointer}.ie-cookie-modal{position:fixed;z-index:13100;inset:0;display:none;place-items:center;padding:18px;background:rgba(0,0,0,.62);backdrop-filter:blur(12px)}.ie-cookie-modal.is-open{display:grid}.ie-cookie-dialog{width:min(720px,100%);max-height:min(88vh,850px);overflow:auto;padding:24px;border:1px solid var(--ie8-line);border-radius:24px;background:var(--ie8-surface);color:var(--ie8-text);box-shadow:0 35px 110px rgba(0,0,0,.48)}.ie-cookie-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.ie-cookie-dialog h2{margin:0;font:650 2rem/1 "Cormorant Garamond",Georgia,serif}.ie-cookie-close{width:38px;height:38px;border:1px solid var(--ie8-line);border-radius:50%;background:var(--ie8-surface-2);color:var(--ie8-text);font-size:1.25rem;cursor:pointer}.ie-cookie-category{display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:14px;padding:16px;border:1px solid var(--ie8-line);border-radius:16px;background:var(--ie8-surface-2)}.ie-cookie-category h3{margin:0 0 5px;font-size:.95rem}.ie-cookie-category p{margin:0;color:var(--ie8-muted);font-size:.76rem;line-height:1.5}.ie-cookie-switch{display:flex;align-items:center}.ie-cookie-switch input{width:22px;height:22px}.ie-cookie-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}.ie-cookie-footer-link,.ie-cookie-manage{display:inline-flex!important;align-items:center;gap:6px;margin-right:10px;color:var(--ie8-link)!important;background:none;border:0;padding:0;font:700 .75rem/1.5 Montserrat,Arial,sans-serif;text-decoration:underline;cursor:pointer}.ie-cookie-policy{padding:70px 0}.ie-cookie-policy article{display:none}.ie-cookie-policy article.is-active{display:block}.ie-cookie-policy table{width:100%;border-collapse:collapse;margin:24px 0}.ie-cookie-policy th,.ie-cookie-policy td{padding:12px;border:1px solid var(--ie8-line);text-align:left;vertical-align:top}.ie-cookie-policy th{background:var(--ie8-surface-2)}
body.ie-cookie-modal-open{overflow:hidden}

@media(max-width:760px){.ie-promo-v8{left:8px;right:8px;top:auto;bottom:10px;width:auto}.ie-cookie-banner{left:8px;right:8px;bottom:8px}.ie-cookie-banner-grid{grid-template-columns:1fr}.ie-cookie-actions{justify-content:stretch}.ie-cookie-actions button{flex:1}.ie8-promo-field{grid-template-columns:1fr}.ie8-promo-fill{min-height:44px}.ie-promo-v8-timer{grid-template-columns:repeat(4,1fr)}}
@media(prefers-reduced-motion:reduce){html[data-ie5-theme] body{transition:none!important}}
