/* Hotel San Luis Copiapó: navy 60%, titanium 30%, sky blue accents 10%. */
:root {
  --brand-blue: #232b52;
  --brand-blue-dark: #232b52;
  --brand-sky: #4289c2;
  --brand-titanium: #D9D3CC;
  --brand-brown: #232b52;
  --brand-gold: #D9D3CC;
  --brand-gold-deep: #4289c2;
  --brand-green: #232b52;
  --brand-green-bright: #4289c2;
  --paper: #D9D3CC;
  --surface-subtle: #eeebe7;
  --surface-tint: #D9D3CC;
  --ink: #232b52;
  --muted: #4c5268;
  --line: rgba(35,43,82,.18);
  --line-strong: rgba(35,43,82,.32);
  --gold-sand: #232b52;
  --gold-light: #D9D3CC;
  --glow-cyan: #4289c2;
  --shadow-gold: 0 10px 28px -6px rgba(35,43,82,.3);
}
[hidden] { display: none !important; }
body nav.fixed, html[data-theme="dark"] body nav.fixed { background: #232b52; }
body nav .text-secondary, body nav .text-on-surface-variant { color: #D9D3CC; }
body nav a:hover, body nav button:hover { color: #fff; }
body nav > div:nth-child(2) { gap: clamp(12px, 1.4vw, 24px); }
body nav > div:nth-child(2) .nav-survey-trigger { max-width: 170px; font-size: 12px; line-height: 1.4; white-space: normal; color: #D9D3CC; background: rgba(217,211,204,.1); border-color: rgba(217,211,204,.45); }
body nav > a { margin-right: 24px; }
body nav > div:last-of-type { margin-left: 24px; }
body .theme-toggle { min-height: 44px; }
body #node-details .glass-panel { border-left-color: #4289c2; }
body :is(#confianza,#nodos) .filter.invert { filter: brightness(0) invert(1); }
body #impacto .text-tertiary { color: #D9D3CC; }
body nav a[href="#cotizador"].bg-gradient-to-r,
body #hero > .relative > .flex.flex-wrap a:first-child,
body #hero .dual-switch-btn.bg-secondary {
  background: #D9D3CC; color: #232b52; border-color: #D9D3CC; box-shadow: none;
}
body #hero h1 { max-width: 21ch; text-wrap: balance; }
body #hero h1 span { background: none; color: #D9D3CC; }
body #hero > .absolute > div:nth-of-type(1) {
  background: linear-gradient(90deg, rgba(35,43,82,.96), rgba(35,43,82,.82) 44%, rgba(35,43,82,.25));
}
body #hero > .absolute > div:nth-of-type(2) { background: linear-gradient(0deg, rgba(35,43,82,.9), transparent 65%); }
body #hero > .relative > div:first-child { color: #D9D3CC; border-color: rgba(217,211,204,.45); }
body #hero > .relative > .flex.flex-wrap a:nth-child(2) { color: #fff; border-color: #D9D3CC; }
body #hero .dual-switch-btn:not(.bg-secondary) { color: #fff; }
body main#contenido { padding-bottom: 0; }
body main#contenido > section,
body main#contenido > section:has(#video-reel-container) {
  width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0;
  padding: 0 max(24px, calc((100% - 1224px) / 2)) 64px;
  box-shadow: none;
}
body main#contenido > section > :not(.section-banner) { position: relative; }
body main#contenido > section > .section-banner {
  position: relative; width: 100vw; max-width: none; height: clamp(210px, 24vw, 340px);
  margin: 0 calc(50% - 50vw) 40px; overflow: hidden; isolation: isolate;
  background: #232b52;
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,43,82,.82), rgba(35,43,82,.32) 65%, rgba(35,43,82,.5)); z-index: 1; }
.section-banner figcaption { position: absolute; z-index: 2; inset: auto max(24px, calc((100vw - 1224px) / 2)) 32px; color: #fff; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.3; max-width: 26ch; text-wrap: balance; }
body :is(#confianza, #nodos, #videoteca, #impacto) {
  --ink: #fff; --muted: #D9D3CC; --brand-brown: #D9D3CC; --brand-green: #D9D3CC;
  --surface-card: #2b345d; --surface-subtle: #232b52; --line: rgba(217,211,204,.22);
  background: #232b52; color: #fff;
}
body :is(#confianza, #nodos, #videoteca, #impacto) :is(h2,h3,h4,h5,.text-on-surface) { color: #fff; }
body :is(#confianza, #nodos, #videoteca, #impacto) :is(.text-secondary,.text-tertiary,.text-on-surface-variant) { color: #D9D3CC; }
body :is(#confianza, #nodos, #videoteca, #impacto) .text-glow-cyan { color: #a7d3f5; }
body #confianza > .grid > div { background: #2b345d; border-color: rgba(217,211,204,.22); }
body #confianza > .grid > div::before { background: #4289c2; }
body #impacto .glass-panel-navy { background: #2b345d; }
body #impacto .bg-tertiary { background: #D9D3CC; color: #232b52; }
body #impacto [class*="bg-surface-container-lowest/"] { background: rgba(35,43,82,.55); }
body #soluciones, body #faq, body #cotizador { background: #D9D3CC; }
body #faq > .section-heading { max-width: 760px; margin: 0 auto 24px; }
body #faq h2 { text-align: center; }
body #faq .section-heading > p, body .video-intro { font-size: 1rem; line-height: 1.6; }
body #faq .section-heading > span:first-child { color: var(--ink); }
body #faq-search-input { font-size: 1rem; width: 100%; }
body #faq .faq-tools { max-width: 920px; margin: 0 auto 16px; }
.faq-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.faq-filters button, #faq-show-more {
  min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); background: var(--surface-card); font-size: 1rem; line-height: 1.4; cursor: pointer;
}
.faq-filters button[aria-pressed="true"], #faq-show-more { background: #232b52; border-color: #232b52; color: #fff; }
#faq-results-count { text-align: center; font-size: .875rem; margin: 14px 0 0; color: var(--muted); }
body #faq-list-container { max-width: 920px; margin: 0 auto; display: grid; gap: 8px; }
body #faq .faq-item { margin: 0; border-radius: 12px; box-shadow: none; }
body #faq .accordion-header { font-family: var(--font-body); font-size: 1rem !important; font-weight: 600; padding: 16px 20px !important; gap: 16px; min-height: 56px; }
body #faq .accordion-header span:first-child { flex: 1; }
body #faq .accordion-icon { flex-shrink: 0; color: #232b52; }
body #faq .accordion-content { font-size: 1rem !important; }
body #faq .faq-more-wrap { text-align: center; margin-top: 24px; }
body #videoteca .border-b { align-items: end; gap: 20px; }
body #videoteca #active-video-badge { color: #D9D3CC; font-family: var(--font-body); letter-spacing: 0; font-size: .875rem; font-weight: 400; }
.video-intro { max-width: 640px; color: #D9D3CC; margin-bottom: 10px; }
.video-search-label { display: block; color: #D9D3CC; margin-bottom: 8px; font-size: 1rem; }
body #video-search-input { width: 100%; max-width: 560px; margin: 0 0 24px; font-size: 1rem; color: #232b52; }
body #video-reel-container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
body #videoteca #video-reel-container .video-trigger { min-width: 0; width: 100%; padding: 0 0 16px; margin: 0; text-align: left; border: 1px solid rgba(217,211,204,.25); border-radius: 12px; background: #2b345d; overflow: hidden; white-space: normal; display: flex; flex-direction: column; align-items: stretch; }
body #videoteca #video-reel-container .video-trigger:hover { border-color: #4289c2; background: #333f6a; }
.video-poster { display: block; position: relative; aspect-ratio: 16/9; width: 100%; overflow: hidden; background: #151b35; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.video-trigger:hover img { transform: scale(1.025); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(35,43,82,.9); color: #fff; border: 1px solid #D9D3CC; font-size: 20px; }
.video-card-title { color: #fff; font-size: 1rem; line-height: 1.5; font-weight: 600; padding: 16px 16px 4px; }
.video-card-action { color: #D9D3CC; font-size: .875rem; padding: 0 16px; margin-top: auto; }
body #videoteca button:disabled { opacity: .42; cursor: default; }
body #videoteca :is(#btn-video-prev,#btn-video-next,#btn-video-random) { min-height: 44px; font-size: .875rem; }
body #cotizador > .absolute { position: relative; top: auto; left: auto; transform: none; width: fit-content; margin: 0 auto 24px; color: #232b52; background: transparent; border-color: rgba(35,43,82,.3); font-size: .875rem; line-height: 1.5; }
body #cotizador .bg-surface-container-navy { background: #232b52; }
body footer.footer-reveal-container { background: #232b52; }
body .footer-survey-btn { background: transparent; color: #D9D3CC; border-color: #D9D3CC; font-size: .875rem; min-height: 44px; }
body .whatsapp-float-btn { background: #232b52; border-color: #D9D3CC; }
body .survey-btn-primary { background: #232b52; border-color: #232b52; color: #fff; }
body .survey-source-card:has(input:checked) { border-color: #4289c2; background: rgba(66,137,194,.08); }
body :focus-visible { outline: 3px solid #4289c2; outline-offset: 4px; }
html[data-theme="dark"] { --paper: #15182e; --ink: #f5f5f7; --muted: #D9D3CC; --brand-brown: #D9D3CC; --surface-card: #232b52; --surface-subtle: #1c2241; }
html[data-theme="dark"] body :is(#soluciones,#faq,#cotizador) { background: #15182e; }
html[data-theme="dark"] body #impacto { background: #232b52; }
html[data-theme="dark"] body #video-search-input { color: var(--ink); }
html[data-theme="dark"] body :is(#faq,#cotizador) .text-secondary { color: #D9D3CC; }
html[data-theme="dark"] body #faq .accordion-icon { color: #D9D3CC; }
html[data-theme="dark"] body #cotizador > .absolute { color: #D9D3CC; border-color: rgba(217,211,204,.4); }
html[data-theme="dark"] .survey-btn-primary { background: #D9D3CC; color: #232b52; }
@media (max-width: 1599px) {
  body nav .theme-toggle-label { display: none; }
  body nav .theme-toggle { width: 44px; padding: 0; }
  body nav #btn-open-cms { font-size: 0; gap: 0; width: 44px; padding-inline: 0; justify-content: center; }
}
@media (max-width: 1199px) {
  body nav > div:nth-child(2) { display: none; }
  body nav #mobile-menu-btn { display: inline-flex; }
}
@media (min-width: 1200px) { body nav #mobile-menu-btn { display: none; } }
@media (max-width: 767px) {
  body #video-reel-container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body main#contenido > section, body main#contenido > section:has(#video-reel-container) { padding-inline: 20px; padding-bottom: 40px; }
  body main#contenido > section > .section-banner { height: 220px; margin-bottom: 28px; }
  .section-banner figcaption { bottom: 24px; }
  body #faq .accordion-header { padding: 16px !important; }
  .faq-filters { justify-content: flex-start; }
  .faq-filters button { padding: 9px 13px; font-size: .875rem; }
  body #videoteca .border-b { align-items: start; }
  body #hero h1 { max-width: 20ch; }
}
@media (max-width: 359px) { body #video-reel-container { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .video-poster img { transition: none; } }
