:root {
  --bg: #f7f8fb;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --radius-lg: 26px;
  --shell: min(1180px, calc(100% - 40px));
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(37, 99, 235, 0.07), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(14, 165, 233, 0.06), transparent 50%), var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg, #2563eb, #38bdf8);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}
.logo__text {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}
.nav-link.is-active {
  color: var(--text);
  background: rgba(37, 99, 235, 0.08);
}

.nav-cta {
  margin-left: 4px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-cta {
    text-align: center;
    margin-left: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}
.btn--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}
.btn--primary:hover {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: var(--accent-soft);
}
.btn--outline {
  background: transparent;
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent-soft);
}

.hero {
  padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-float {
  position: relative;
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.stat {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 1.25rem;
}
.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.section--tight {
  padding: clamp(40px, 5vw, 72px) 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: 36px;
}
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}
.section__title {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}
.section__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.22);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.2rem;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}
.card__link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.card__link:hover {
  text-decoration: underline;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-check li {
  padding: 10px 0 10px 34px;
  position: relative;
  color: var(--muted);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.list-check li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #16a34a;
  border-bottom: 2px solid #16a34a;
  transform: rotate(-45deg);
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 0.8rem;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 800px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

.quote {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.quote p {
  margin: 0 0 14px;
  color: var(--text);
}
.quote footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(120deg, #0f172a, #1e3a8a 55%, #2563eb);
  color: #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 48px 0 32px;
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
.footer__tagline {
  color: var(--muted);
  max-width: 40ch;
}
.footer__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links a {
  color: var(--muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--text);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer__admin {
  color: var(--muted);
  text-decoration: none;
}
.footer__admin:hover {
  color: var(--text);
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.55);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.page-head {
  padding: clamp(40px, 6vw, 72px) 0 24px;
}
.page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.form {
  display: grid;
  gap: 16px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.field-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}
.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.alert--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #166534;
}
.alert--err {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .props-grid {
    grid-template-columns: 1fr;
  }
}

.prop-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.prop-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e2e8f0, #cbd5f5);
}
.prop-card__body {
  padding: 16px 18px 18px;
}
.prop-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.prop-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.prop-card__price {
  font-weight: 700;
  color: var(--accent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.filters select {
  width: auto;
  min-width: 160px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}
.calc-box {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.calc-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-weight: 600;
}

.admin-body {
  background: #f1f5f9;
  min-height: 100vh;
  font-family: var(--font);
}
