:root {
  color-scheme: light;
  --paper: #f4f8ff;
  --white: #ffffff;
  --ink: #142848;
  --muted: #435775;
  --dark: #0c2144;
  --blue: #173f78;
  --ice: #d4e8ff;
  --line: #cbd9ed;
  --display: Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }
a { color: var(--blue); text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #a91f39; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); background: white; padding: .75rem; z-index: 15; }
.skip:focus { transform: none; }
.site-header { background: var(--white); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .3em; font-family: var(--display); font-size: 1.4rem; text-decoration: none; white-space: nowrap; }
.brand span { color: #b3203e; font: 1.45rem system-ui; margin-right: .25em; }
nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: .6rem 1.7rem; }
nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
nav a:hover, .brand:hover { text-decoration: underline; }
.organizer img { object-fit: contain; height: auto; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 78% 13%, #263e75, transparent 55%), var(--dark); color: #ffffff; }
.hero-inner { position: relative; min-height: 490px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 2rem; }
.hero-copy { position: relative; z-index: 2; padding-block: 52px; }
.eyebrow { color: #a91f39; font-weight: 750; font-size: .72rem; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--ice); }
.hero h1 { margin-block: .1em .19em; font: 400 clamp(4.35rem, 8vw, 7.4rem)/.85 var(--display); letter-spacing: -.065em; }
.hero h1 em { color: var(--ice); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { font-size: 1.05rem; color: #ebf3ff; max-width: 27rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; width: fit-content; min-height: 44px; border: 1px solid transparent; padding: .68rem 1rem; border-radius: .62rem; background: var(--blue); color: white; text-decoration: none; font-weight: 720; font-size: .91rem; }
.button:hover { filter: brightness(1.13); }
.hero .button { background: var(--ice); color: #10274e; }
.hero .button.outline { background: transparent; color: white; border-color: #9ab8e6; }
.hero .button:focus-visible { outline-color: white; }
.button.secondary { color: var(--blue); background: #eaf2ff; border-color: #bdcde4; }
.button.danger { background: #a41d39; color: white; }
.winter-scene { height: 100%; min-height: 390px; position: relative; isolation: isolate; }
.moon { position: absolute; top: 12%; right: 21%; width: 43%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 42% 35%, #ffffff, #9bbbe8); box-shadow: 0 0 65px #9ec8ff60; opacity: .96; }
.stars { position: absolute; inset: 0; color: #ebf5ff; }
.stars i { position: absolute; font-style: normal; }
.stars i:nth-child(1) { top: 23%; left: 12%; font-size: 1.5rem; }
.stars i:nth-child(2) { top: 13%; right: 10%; font-size: 1.3rem; }
.stars i:nth-child(3) { top: 33%; right: 3%; }
.stars i:nth-child(4) { top: 45%; left: 26%; }
.stars i:nth-child(5) { top: 9%; left: 37%; }
.stars i:nth-child(6) { top: 36%; left: 5%; }
.stars i:nth-child(7) { top: 45%; right: 15%; }
.village { position: absolute; bottom: 12%; inset-inline: 0; height: 45%; border-bottom: 1px solid #bd906b80; display: flex; align-items: end; justify-content: center; gap: 1.8%; }
.facade { position: relative; isolation: isolate; width: 21%; background: #263e6a; height: 43%; border-radius: 2px 2px 0 0; display: flex; justify-content: center; align-content: start; flex-wrap: wrap; gap: 12%; padding: 8% 6% 0; box-shadow: inset 0 2px #d3e6ff; }
.facade::before { content: ''; position: absolute; bottom: 100%; left: -9%; width: 118%; height: 60%; background: #21355c; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.facade::after { content: ''; position: absolute; bottom: calc(100% - 2px); left: -9%; width: 118%; height: 60%; clip-path: polygon(50% 0, 100% 100%, 95% 100%, 50% 9%, 5% 100%, 0 100%); background: #edf6ff; }
.facade i { z-index: 1; width: 40%; height: 20%; background: #f4f8ff; border: 2px solid #759acc; box-shadow: 0 0 13px #a8d2ff80; }
.facade b { position: absolute; bottom: 0; left: 39%; width: 22%; height: 25%; border-radius: 40% 40% 0 0; background: #14264a; }
.house-b { width: 29%; height: 69%; background: #99334d; padding: 8% 7% 0; }
.house-b::before { background: #60233e; }
.house-c { width: 22%; height: 52%; background: #284674; }
.house-c::before { background: #1b3158; }
.pine { height: 61%; width: 13%; background: #10274e; clip-path: polygon(50% 0, 73% 32%, 65% 32%, 88% 61%, 76% 61%, 100% 91%, 58% 91%, 58% 100%, 43% 100%, 43% 91%, 0 91%, 25% 61%, 13% 61%, 37% 32%, 28% 32%); }
.pine-right { height: 72%; }
.explore { padding-block: 46px 70px; scroll-margin-top: 18px; }
.section-title { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.section-title h2, .inner h1 { font: 400 clamp(2.5rem, 5vw, 4rem)/1.05 var(--display); letter-spacing: -.045em; }
.legend, .detail-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; font-size: .76rem; font-weight: 750; padding: .28rem .55rem; border-radius: 99px; background: #f4f8ff; color: #405779; }
.badge > span { width: .54rem; height: .54rem; background: currentColor; border-radius: 50%; }
.badge.lit { background: #fce9ed; color: #8b1c35; }
.badge.visits { background: #e5efff; color: #17457e; }
.filters, .map-panel, .results-list, .house-card, .review { border: 1px solid var(--line); border-radius: 1rem; }
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; padding: 1rem; background: var(--white); }
.filters .button { width: 100%; }
label { display: block; color: var(--ink); font-size: .9rem; font-weight: 650; }
input:not([type=checkbox]):not([type=hidden]), select, textarea { display: block; width: 100%; min-height: 44px; margin-top: .32rem; padding: .58rem .66rem; border: 1px solid #8fa5c1; border-radius: .5rem; color: var(--ink); background: white; }
textarea { resize: vertical; }
.results { grid-template-columns: 1.6fr 1fr; margin-top: 1rem; }
.map-panel { position: relative; overflow: hidden; min-height: 365px; background: #e4eefb; }
.map-canvas { position: absolute; inset: 0; }
.map-placeholder { height: 100%; min-height: 365px; display: grid; place-content: center; justify-items: center; text-align: center; padding: 1rem; background: repeating-linear-gradient(152deg, transparent 0 34px, #ffffff99 35px 37px, transparent 38px 72px), repeating-linear-gradient(35deg, #d9e7fa74 0 38px, #ffffff80 39px 43px, transparent 44px 74px), #e0ebf9; }
.map-placeholder p { font-weight: 800; background: #f6faffef; padding: .18rem .7rem; border-radius: .3rem; }
.map-placeholder > span { font-size: .86rem; color: #30476b; background: #f6faffef; padding: .18rem .7rem; border-radius: .3rem; }
.map-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; margin-bottom: .5rem; background: var(--blue); color: var(--ice); font-size: 1.5rem; box-shadow: 0 3px 14px #20396150; }
.results-list { padding: 1rem; background: var(--white); max-height: 520px; overflow: auto; }
.result-count { font-weight: 800; margin-bottom: .8rem; }
.empty { border: 1px dashed var(--line); padding: 1.1rem; border-radius: .65rem; color: var(--muted); }
.house-card { overflow: hidden; margin-bottom: .8rem; }
.house-card img { width: 100%; max-height: 180px; object-fit: cover; }
.house-content { padding: .85rem; }
.house-content h3 { font: 700 1.3rem var(--display); margin: .2rem 0 .45rem; }
.small { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.next { margin-top: .45rem; }
.inner { max-width: 820px; padding-block: 2rem 4rem; min-height: 56vh; }
.inner h1 { margin: .65rem 0 1rem; }
.inner h2 { font: 400 1.65rem var(--display); margin: .7rem 0; }
.inner p { margin-block: .5rem; line-height: 1.6; }
.back { font-size: .9rem; }
.form-stack { display: grid; gap: 1rem; margin-block: 1rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: .65rem; margin: 0; padding: .85rem; }
legend, summary { font-weight: 750; }
.check { display: flex; align-items: center; gap: .55rem; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--blue); flex-shrink: 0; }
.picker { height: 260px; border: 1px solid var(--line); border-radius: .6rem; margin-block: .65rem; }
.planner-controls { margin-block: .7rem; }
.planner details { margin-top: .75rem; padding: .65rem; background: #e9f1fd; border-radius: .55rem; }
.subsection { border-top: 1px solid var(--line); margin-top: 1.65rem; padding-top: .75rem; }
.notice { padding: .95rem; margin: .9rem auto; background: #e5f0ff; border-radius: .6rem; }
.notice.error { background: #fce9ed; color: #871d35; }
.review { margin-block: .7rem; padding: .95rem; background: var(--white); }
.review-photo, .detail-photo { width: 100%; max-height: 440px; object-fit: contain; background: #e7effa; border-radius: .6rem; margin-block: .8rem; }
.review-photo { max-height: 230px; }
.review-actions, .campaign-links { display: flex; gap: .55rem; flex-wrap: wrap; }
.campaign-links a { background: #e8f1ff; padding: .5rem .65rem; border-radius: .45rem; }
.schedule-list { list-style: none; padding: 0; }
.schedule-list li { display: flex; gap: .65rem; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .4rem 0; font-size: .9rem; }
.schedule-list strong { white-space: nowrap; }
.site-footer { color: #f5f9ff; background: var(--dark); padding: 1.5rem 0; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.35rem; font-size: .9rem; }
.site-footer a { color: #f5f9ff; }
.site-footer .organizer { padding: .35rem; background: white; border-radius: .4rem; }
.admin-link { margin-left: auto; }
@media (max-width: 850px) {
  .container { width: calc(100% - 40px); }
  .hero-inner { min-height: 420px; }
  .hero-copy { padding-block: 40px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 30px); }
  .header-inner { min-height: 76px; gap: .35rem .8rem; flex-wrap: wrap; justify-content: space-between; padding-block: .48rem; }
  .header-inner nav { order: 3; width: 100%; justify-content: flex-start; }
  .hero-inner { display: block; min-height: 0; }
  .hero h1 { font-size: clamp(4.35rem, 15vw, 6rem); }
  .hero-copy { padding-bottom: 0; }
  .winter-scene { min-height: 230px; margin-inline: 5%; }
  .moon { width: 35%; }
  .village { height: 50%; bottom: 7%; }
  .explore { padding-block: 32px 44px; }
  .results { grid-template-columns: 1fr; }
  .map-panel, .map-placeholder { min-height: 250px; }
  .results-list { max-height: none; }
  .field-grid { grid-template-columns: 1fr; }
  .admin-link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Luces y adornos de la campaña navideña. */
.site-header { border-top: 4px solid #b22240; }
.brand span { color: #b22240; }
.hero {
  background: radial-gradient(ellipse at 76% 27%, #274b83 0, transparent 48%),
    radial-gradient(ellipse at 21% 110%, #2b3b67, transparent 62%), #0d2146;
}
.festive-lights {
  position: absolute; z-index: 1; inset: 0 0 auto; height: 28px; pointer-events: none;
  background:
    radial-gradient(ellipse 6px 8px at 12px 12px, #f7fbff 55%, #d4e8ff70 100%, transparent) 0 0 / 120px 27px repeat-x,
    radial-gradient(ellipse 6px 8px at 51px 16px, #ff748b 55%, #ff496778 100%, transparent) 0 0 / 120px 27px repeat-x,
    radial-gradient(ellipse 6px 8px at 90px 12px, #9cceff 55%, #7dbeff70 100%, transparent) 0 0 / 120px 27px repeat-x,
    repeating-radial-gradient(ellipse 60px 13px at 50% 0, transparent 94%, #d8eaff70 97%, transparent 100%) 0 0 / 120px 15px repeat-x;
}
.hero .button.outline { color: #ffffff; background: #a91f39; border-color: #f29bae; }
.hero .village { border-bottom: 7px solid #e7f4ff; border-radius: 0 0 48% 40% / 0 0 10% 10%; }
.hero .facade { box-shadow: inset 0 3px #f1f8ff, 0 0 14px #a7c9ff48; }
.hero .facade::after { background: #ffffff; filter: drop-shadow(0 0 4px #b5d8ff); }
.hero .pine {
  background: radial-gradient(circle at 49% 31%, #eaf6ff 2%, transparent 4%),
    radial-gradient(circle at 65% 55%, #fc6d85 2%, transparent 4%),
    radial-gradient(circle at 33% 69%, #eaf6ff 2%, transparent 4%), #122b57;
}
.explore .eyebrow { color: #a51f39; }
.map-panel { border-color: #b7cae2; box-shadow: 0 5px 18px #16396118; }
.site-footer { border-top: 3px solid #b22240; }
.badge, .map-ornament { --bauble: #f3f7ff; --shine: #ffffff; --ornament-ink: #2c4773; --ornament-edge: #7b94b9; }
.badge.visits, .map-ornament.visits { --bauble: #17417e; --shine: #2c6abb; --ornament-ink: #ffffff; --ornament-edge: #f1f7ff; }
.badge.lit, .map-ornament.lit { --bauble: #951d38; --shine: #bf3150; --ornament-ink: #ffffff; --ornament-edge: #f1f7ff; }
.badge > span, .map-ornament {
  display: inline-grid; place-items: center; position: relative; flex: none;
  color: var(--ornament-ink); background: radial-gradient(circle at 35% 30%, var(--shine), var(--bauble) 72%);
  border-radius: 50%; font-family: system-ui, sans-serif; line-height: 1;
}
.badge > span { width: 1.05rem; height: 1.05rem; border: 1px solid var(--ornament-edge); font-size: .7rem; }
.map-ornament {
  width: 35px; height: 35px; border: 2px solid var(--ornament-edge); font-size: 21px;
  box-shadow: 0 2px 7px #14254e8c;
}
.map-ornament::before {
  content: ''; position: absolute; bottom: calc(100% - 1px);
  width: 11px; height: 6px; border-radius: 2px 2px 0 0; background: #d3e5fa;
  border: 1px solid #687f9f;
}
.map-ornament::after {
  content: ''; position: absolute; top: 100%; width: 0; height: 0;
  border-inline: 5px solid transparent; border-top: 7px solid var(--ornament-edge);
}
.map-info a { color: #173f78; font-weight: 750; }
.map-info p { color: #30476b; margin: .2rem 0 0; }
@media (max-width: 600px) {
  .hero-copy { padding-top: 48px; }
  .legend { gap: .45rem .5rem; }
}

.privacy-summary, .map-privacy {
  background: var(--white); border: 1px solid var(--line); border-radius: .7rem; padding: .75rem .9rem;
}
.privacy-summary p { margin: 0; }
.map-privacy { margin-block: .75rem; }
.map-privacy .button { margin-top: .5rem; }
.privacy-list { padding-inline-start: 1.2rem; }
.privacy-list li { line-height: 1.6; margin-block: .5rem; }

.address-search { margin-block: .65rem; }
.address-search > button { margin-top: .5rem; }
.address-search [data-address-results] { display: flex; flex-wrap: wrap; gap: .45rem; }

/* Nieve y detalles de la escena invernal. */
.site-header {
  border-top: 0;
  background: linear-gradient(90deg, #b22240 0 32%, #fff 32% 35%, #204d8e 35% 65%, #fff 65% 68%, #b22240 68%) top / 100% 4px no-repeat, var(--white);
  padding-top: 4px;
}
.festive-snow { position: absolute; inset: 0; color: #e1efff; opacity: .75; pointer-events: none; }
.festive-snow span { position: absolute; line-height: 1; }
.festive-snow span:nth-child(1) { top: 21%; left: 5%; font-size: 1.6rem; }
.festive-snow span:nth-child(2) { top: 11%; right: 7%; font-size: 1.1rem; }
.festive-snow span:nth-child(3) { top: 53%; right: 9%; font-size: 1.85rem; }
.festive-snow span:nth-child(4) { bottom: 12%; left: 19%; font-size: .8rem; }
.hero .village { box-shadow: 0 9px 14px -14px #e8f5ff; }
.section-title h2::after { content: ''; display: block; width: 3rem; height: .23rem; margin-top: .42rem; border-radius: 1rem; background: #b22240; }

.sponsor-section { padding-block: 1.6rem 2.5rem; border-top: 1px solid var(--line); }
.sponsor-section h2 { margin: 0 0 .75rem; font: 400 clamp(1.7rem, 4vw, 2.6rem)/1.1 var(--display); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.sponsor-card { display: grid; justify-items: center; align-content: center; gap: .65rem; min-height: 7rem; padding: .85rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid #b22240; border-radius: .7rem; text-align: center; overflow-wrap: anywhere; }
.sponsor-logo { width: 130px; height: 60px; object-fit: contain; }
