:root {
  --ink: #171815;
  --paper: #f7f5f0;
  --white: #fffefa;
  --line: #d9d5ca;
  --sage: #5f6755;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
a { color: inherit; }

.wagner-header { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--header-h); background: rgba(255,255,255,.92); border-bottom: 1px solid #f3f4f6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wagner-header-inner { width: calc(100% - 1rem); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.wagner-brand { display: inline-flex; flex-direction: column; align-items: center; gap: .15rem; text-decoration: none; line-height: 1; }
.wagner-brand-name { font-family: "Playfair Display", serif; font-size: clamp(1.05rem, 4.6vw, 1.35rem); font-weight: 700; color: #b8976a; text-shadow: 0 0 18px rgba(184,151,106,.28); transition: color .18s ease, text-shadow .18s ease; white-space: nowrap; }
.wagner-brand:hover .wagner-brand-name { color: #9a7a52; text-shadow: 0 0 22px rgba(184,151,106,.42); }
.wagner-brand-meta { font-size: .64rem; font-weight: 700; color: #6b7280; letter-spacing: .04em; text-align: center; }
.wagner-header-actions { display: flex; align-items: center; gap: .3rem; }
.wagner-action { position: relative; overflow: hidden; padding: .46rem .58rem; color: white; border-radius: 999px; text-decoration: none; font-size: .66rem; font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: 0 8px 14px rgba(17,24,39,.1); transition: transform .3s ease, box-shadow .3s ease; }
.wagner-action:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(184,151,106,.4), 0 0 60px rgba(184,151,106,.2); }
.wagner-call { background: #111827; }
.wagner-whatsapp { background: #16a34a; }
.wagner-whatsapp:hover { background: #15803d; }
.wagner-language { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 0; border-radius: 999px; background: transparent; font-size: 1.125rem; cursor: pointer; }
.wagner-language:hover { background: #f3f4f6; }

.hero { min-height: calc(68svh - var(--header-h)); margin-top: var(--header-h); position: relative; display: grid; align-items: end; overflow: hidden; color: var(--white); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,12,8,.76), rgba(9,12,8,.04) 78%); }
.hero-copy { position: relative; z-index: 1; padding: 1.4rem 1rem 1.75rem; }
.eyebrow { margin: 0 0 .6rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
h1, h2, h3 { font-family: "Playfair Display", serif; }
h1 { margin: 0; font-size: clamp(2.2rem, 10.5vw, 3.15rem); line-height: .96; letter-spacing: -.04em; }
.hero-copy > p:not(.eyebrow) { margin: .8rem 0 1rem; font-size: .85rem; }
.hero-link { min-height: 40px; display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; border-bottom: 1px solid currentColor; text-transform: uppercase; letter-spacing: .09em; font-size: .62rem; }

.comparisons { width: 100%; margin: 0 auto; padding-top: 2rem; }
.comparison { margin-bottom: 2.75rem; container-type: inline-size; content-visibility: auto; contain-intrinsic-size: 1px 760px; }
.comparison-heading { padding: 0 1rem; display: grid; grid-template-columns: 30px 1fr; align-items: end; gap: .5rem; margin-bottom: .65rem; }
.room-number { margin: 0; color: #77786f; font-size: .62rem; letter-spacing: .12em; }
.room-title { margin: 0; font-size: clamp(1.25rem, 6vw, 1.6rem); font-weight: 600; }
.compare-stage { --position: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e5dc; touch-action: pan-y; }
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.after-wrap { position: absolute; inset: 0; width: var(--position); overflow: hidden; display: none; }
.after-wrap img { width: 100vw; max-width: none; }
.comparison.has-both .compare-stage img, .comparison.has-both .after-wrap { display: block; }
.slider { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; display: none; }
.divider { position: absolute; z-index: 4; left: var(--position); inset-block: 0; width: 2px; transform: translateX(-50%); background: var(--white); display: none; pointer-events: none; }
.divider span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; color: var(--ink); background: var(--white); box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.image-label { position: absolute; z-index: 3; top: .5rem; padding: .36rem .44rem; color: var(--white); background: rgba(23,24,21,.78); text-transform: uppercase; letter-spacing: .07em; font-size: .52rem; display: none; }
.before-label { right: .5rem; }
.after-label { left: .5rem; }
.comparison.has-both .slider, .comparison.has-both .divider, .comparison.has-both .image-label { display: block; }

.contact { margin-top: 1rem; padding: 4rem 1.25rem; display: grid; gap: 3rem; color: var(--white); background: var(--sage); }
.contact h2 { margin: 0; font-size: clamp(2.7rem, 12vw, 4.2rem); line-height: .98; }
.contact p { line-height: 1.6; }
.agent { display: flex; flex-direction: column; gap: .75rem; }
.agent a { min-height: 44px; width: fit-content; display: flex; align-items: center; text-underline-offset: 4px; overflow-wrap: anywhere; }
.agent-name { margin: 0; font-family: "Playfair Display", serif; font-size: 1.8rem; }
.wagner-footer { position: relative; overflow: hidden; min-height: 0; padding: 0; color: #fff; background: #111827; }
.wagner-footer-glow { position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(to top, rgba(184,151,106,.1), transparent); animation: wagner-breathe 6s ease-in-out infinite; pointer-events: none; }
.wagner-particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(184,151,106,.6); box-shadow: 0 0 10px rgba(184,151,106,.8), 0 0 20px rgba(184,151,106,.4); animation: wagner-float 4s ease-in-out infinite; }
.particle-left { left: 10%; bottom: 20%; }
.particle-right { right: 20%; bottom: 40%; animation-delay: 1s; animation-duration: 5s; }
.wagner-footer-inner { position: relative; z-index: 1; width: calc(100% - 2rem); margin: auto; padding: 1.5rem 0; }
.wagner-footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 1.25rem; }
.wagner-footer h3 { margin: 0 0 .6rem; color: #b8976a; font: 700 1.25rem "Playfair Display", serif; text-shadow: 0 0 16px rgba(184,151,106,.45); }
.wagner-footer h4 { margin: 0 0 .7rem; color: #d4b896; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.wagner-footer p { max-width: 22rem; margin: 0; color: #d1d5db; font-size: .76rem; line-height: 1.5; }
.wagner-footer ul { margin: 0; padding: 0; list-style: none; color: #d1d5db; font-size: .76rem; }
.wagner-contact-list { display: grid; gap: .5rem; }
.wagner-contact-list li { display: flex; align-items: flex-start; gap: .55rem; }
.wagner-contact-list li > span:first-child { width: 1.25rem; color: #b8976a; font-size: 1.05rem; text-align: center; }
.wagner-contact-list strong { display: block; color: #d4b896; }
.wagner-contact-list a { text-decoration: none; }
.wagner-contact-list a:hover { color: white; }
.wagner-region-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: .3rem; line-height: 1.3; }
.wagner-region-list li { min-width: 0; }
.wagner-footer-bottom { padding-top: 1rem; border-top: 1px solid #1f2937; display: flex; align-items: flex-start; flex-direction: column; justify-content: space-between; gap: .4rem; }
.wagner-footer-bottom p { max-width: none; color: #6b7280; font-size: .75rem; }
.wagner-footer-bottom .image-disclosure { font-size: .625rem; opacity: .75; text-align: right; }
@keyframes wagner-float { 0%,100% { transform: translateY(0) scale(1); opacity: .6; } 50% { transform: translateY(-20px) scale(1.1); opacity: 1; } }
@keyframes wagner-breathe { 0%,100% { opacity: .3; transform: scale(.95); } 50% { opacity: .8; transform: scale(1.05); } }

@media (min-width: 768px) {
  :root { --header-h: 80px; }
  .wagner-header-inner { width: min(calc(100% - 2rem), 1280px); gap: 1rem; }
  .wagner-brand-name { font-size: clamp(1.35rem, 4.8vw, 1.85rem); }
  .wagner-header-actions { gap: 1rem; }
  .wagner-action { padding: .72rem 1.5rem; font-size: .875rem; }
  .hero { min-height: calc(91svh - var(--header-h)); }
  .hero-shade { background: linear-gradient(90deg, rgba(9,12,8,.64), rgba(9,12,8,.1) 62%, transparent); }
  .hero-copy { max-width: 820px; padding: clamp(3rem, 8vw, 7.5rem); }
  h1 { font-size: clamp(4.5rem, 8vw, 7.7rem); }
  .hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 2vw, 1.25rem); }
  .comparisons { width: min(calc(100% - 3rem), 1280px); padding-top: 4rem; }
  .comparison { margin-bottom: clamp(6rem, 10vw, 9rem); }
  .comparison-heading { padding: 0; grid-template-columns: 80px 1fr auto; gap: 1rem; }
  .compare-stage { aspect-ratio: 16 / 9; }
  .after-wrap img { width: min(calc(100vw - 3rem), 1280px); }
  .contact { padding: clamp(5rem, 9vw, 8rem) max(2rem, calc((100% - 1180px)/2)); grid-template-columns: 1.5fr 1fr; gap: 5rem; }
  .agent { align-self: end; }
}

@media (max-width: 767px) {
  .wagner-brand-meta { display: none; }
  .wagner-footer-bottom .image-disclosure { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
