:root {
  --bg: #071018;
  --panel: rgba(15, 23, 42, 0.92);
  --card: #111c2e;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #14b8a6;
  --accent-2: #5eead4;
  --warn: #f59e0b;
  --line: rgba(148, 163, 184, 0.22);
  --font: "Segoe UI", system-ui, sans-serif;
  --pin: #14b8a6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body.has-site-ads { padding-bottom: 98px; }
@media (min-width: 1200px) {
  body.has-site-ads { padding-right: 176px; }
}

.site-ad-rail,
.site-ad-bottom {
  background: rgba(7, 16, 24, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-ad-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.25rem 0.5rem 0;
}
.site-ad-frame {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-ad-rail {
  display: none;
  position: fixed;
  top: 88px;
  right: 12px;
  width: 160px;
  z-index: 35;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.site-ad-rail .site-ad-frame { min-height: 600px; }
.site-ad-bottom {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(728px, calc(100vw - 20px));
  z-index: 45;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
@media (min-width: 1200px) {
  .site-ad-rail { display: block; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(20,184,166,0.16), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(245,158,11,0.08), transparent 50%),
    var(--bg);
  line-height: 1.55;
}
a { color: var(--accent-2); }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #042f2e; padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.seo-cta-inline { margin: 0.9rem 0 0; font-size: 0.92rem; }
.seo-area { color: var(--muted); font-size: 0.88rem; margin-top: 0.7rem; }
.footer-nav { margin: 0.45rem 0; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 1rem;
  margin: 0 0 0.6rem; background: rgba(15,23,42,0.65);
}
.faq-list summary { cursor: pointer; font-weight: 700; color: #e2e8f0; }
.faq-list p { margin: 0.55rem 0 0; color: var(--muted); }

.wrap { width: min(1120px, calc(100% - 1.5rem)); margin: 0 auto; padding-bottom: 3rem; }

.top {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,16,24,0.92); backdrop-filter: blur(12px);
}
.top img { height: 48px; width: auto; }
.contact strong { display: block; }
.contact a.phone {
  color: var(--accent-2); font-weight: 800; font-size: 1.15rem; text-decoration: none;
}

.hero-intro {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.25rem;
  align-items: end; padding: 1.75rem 0 1rem;
}
.hero-intro h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem); line-height: 1.12; margin: 0 0 0.7rem;
}
.hero-intro p { color: var(--muted); margin: 0 0 0.9rem; }
.tagline {
  display: inline-block; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--warn);
  margin-bottom: 0.5rem;
}
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pills span {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.7rem;
  font-size: 0.8rem; color: #ccfbf1; background: rgba(20,184,166,0.08);
}

.scroll-cue {
  margin: 0.85rem 0 0;
  font-weight: 700;
}
.scroll-cue a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px dashed rgba(94, 234, 212, 0.45);
}
.scroll-cue a:hover { border-bottom-color: var(--accent-2); }

.block-head {
  margin: 2.25rem 0 0.65rem;
  padding-top: 0.5rem;
}
.block-head.house-block {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.block-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #f8fafc;
}
.block-head .sub {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}
.house-stage {
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(245,158,11,0.08);
}
.care-item.is-active {
  border-color: rgba(20, 184, 166, 0.65);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.25);
}

/* Interactive building stage */
.building-stage {
  position: relative;
  margin: 0.5rem 0 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  min-height: min(78vh, 720px);
  isolation: isolate;
}
.building-stage .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease, opacity 0.55s ease;
  transform-origin: center center;
  opacity: 1;
}
.building-stage[data-view="exterior"] .bg.exterior { transform: scale(1); filter: none; opacity: 1; }
.building-stage[data-view="roof"] .bg.exterior {
  transform: scale(1.55) translateY(18%); filter: brightness(0.55); opacity: 1;
}
.building-stage[data-view="interior"] .bg.exterior,
.building-stage[data-view="detail"] .bg.exterior {
  opacity: 0.25; transform: scale(1.2); filter: blur(2px) brightness(0.4);
}

.view-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 0.55s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.view-photo.is-active {
  opacity: 1; transform: scale(1);
}

.stage-veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%);
}

.hotspots { position: absolute; inset: 0; z-index: 5; }
.pin {
  position: absolute;
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5eead4, #0d9488 55%, #115e59);
  box-shadow: 0 0 0 0 rgba(20,184,166,0.55), 0 4px 14px rgba(0,0,0,0.45);
  cursor: pointer;
  animation: pulse 2.2s ease-out infinite;
  z-index: 6;
}
.pin::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: #fff;
}
.pin:hover, .pin:focus-visible, .pin.is-active {
  outline: none;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(20,184,166,0.25), 0 6px 18px rgba(0,0,0,0.5);
  animation: none;
}
.pin .label {
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(15,23,42,0.92);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.5rem; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.15s ease;
}
.pin:hover .label, .pin:focus-visible .label, .pin.is-active .label { opacity: 1; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20,184,166,0.55), 0 4px 14px rgba(0,0,0,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(20,184,166,0), 0 4px 14px rgba(0,0,0,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(20,184,166,0), 0 4px 14px rgba(0,0,0,0.45); }
}

.detail-card {
  position: absolute; z-index: 8;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.05rem;
  backdrop-filter: blur(12px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.detail-card.is-open {
  transform: translateY(0); opacity: 1;
}
.detail-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; color: var(--accent-2); }
.detail-card p { margin: 0 0 0.75rem; color: #cbd5e1; font-size: 0.93rem; }
.detail-card .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn {
  appearance: none; border: 1px solid var(--line); background: transparent;
  color: var(--text); border-radius: 10px; padding: 0.45rem 0.8rem;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.btn.primary {
  background: var(--accent); color: #042f2e; border-color: transparent;
}
.btn:hover { filter: brightness(1.08); }

.hint {
  position: absolute; top: 0.85rem; left: 50%; transform: translateX(-50%);
  z-index: 7; font-size: 0.82rem; font-weight: 700;
  background: rgba(15,23,42,0.85); border: 1px solid var(--line);
  padding: 0.4rem 0.85rem; border-radius: 999px; color: #e2e8f0;
  pointer-events: none;
}

.section {
  margin: 2rem 0;
  padding: 1.25rem 1.2rem;
  border-radius: 16px;
  background: rgba(15,23,42,0.55);
  border: 1px solid var(--line);
}
.section h2 { margin: 0 0 0.4rem; font-size: 1.45rem; }
.section .sub { color: var(--muted); margin: 0 0 1rem; }

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.care-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-align: left;
  color: inherit; font: inherit;
}
.care-item:hover, .care-item:focus-visible {
  border-color: rgba(20,184,166,0.55);
  transform: translateY(-2px);
  outline: none;
}
.care-item strong { display: block; color: var(--accent-2); margin-bottom: 0.2rem; font-size: 0.95rem; }
.care-item span { color: var(--muted); font-size: 0.82rem; }

.cta {
  margin-top: 1.5rem; padding: 1.25rem 1.35rem; border-radius: 16px;
  border: 1px solid rgba(45,212,191,0.35);
  background: linear-gradient(135deg, rgba(20,184,166,0.18), rgba(15,23,42,0.6));
}
.cta a.phone {
  font-size: 1.45rem; font-weight: 800; color: var(--accent-2); text-decoration: none;
}

footer {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem;
}
footer .dev {
  margin-top: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(15,23,42,0.7);
  border: 1px solid var(--line);
}
footer .dev a {
  color: #93c5fd; font-weight: 700;
}

@media (max-width: 800px) {
  .hero-intro { grid-template-columns: 1fr; }
  .building-stage { min-height: 62vh; }
  .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .detail-card { max-width: none; }
}
