:root {
  --bg: #09090B;
  --surface: #18181B;
  --text: #FAFAFA;
  --muted: #71717A;
  --primary: #22C55E;
  --secondary: #27272A;
  --accent: #4ADE80;
  --border: rgba(34, 197, 94, 0.3);
  --luxury-spacing: 2.5rem;
  --property-radius: 16px;
  --architecture-overlay: rgba(9, 9, 11, 0.72);
  --real-estate-serif: Georgia, "Times New Roman", Times, serif;
  --real-estate-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--real-estate-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 197, 94, 0.08), transparent),
    linear-gradient(180deg, var(--bg) 0%, #0c0c0f 50%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(34, 197, 94, 0.015) 120px,
      rgba(34, 197, 94, 0.015) 121px
    );
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--real-estate-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.disclosure-bar {
  display: flex;
  width: 100%;
  min-height: 40px;
  font-size: 12px;
  line-height: 1.45;
}

.disclosure-bar__icon-zone {
  flex: 0 0 40px;
  background: #EAB308;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.disclosure-bar__text-zone {
  flex: 1;
  background: rgba(250, 250, 250, 0.95);
  color: #18181B;
  padding: 10px 16px;
  text-align: left;
}

.navbar {
  position: static;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.navbar__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.navbar__group--left {
  justify-content: flex-end;
}

.navbar__group--right {
  justify-content: flex-start;
}

.navbar__logo {
  flex-shrink: 0;
}

.navbar__logo img {
  height: 42px;
  width: auto;
}

.navbar__link {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  opacity: 0.85;
}

.navbar__link:hover {
  opacity: 1;
  color: var(--accent);
}

.navbar__burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

.navbar__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 80px 24px 24px;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.navbar__drawer.is-open {
  right: 0;
}

.navbar__drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.navbar__drawer-overlay.is-visible {
  display: block;
}

.navbar__drawer-link {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--secondary);
}

.navbar__drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--luxury-spacing) 20px 2rem;
  margin-top: auto;
  flex-shrink: 0;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer__logo img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--secondary);
  border-bottom: 1px solid var(--secondary);
}

.footer__badge img {
  max-height: 48px;
  width: auto;
}

.footer__legal-info {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer__legal-info p + p {
  margin-top: 4px;
}

.footer__dgoj {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 960px;
  opacity: 0.85;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-hidden {
  display: none;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--property-radius);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: luxuryReveal 0.6s ease forwards;
}

.modal-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.modal-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 14px;
}

.modal-card__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 20px;
  z-index: 1500;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
  animation: luxuryReveal 0.5s ease;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  color: var(--muted);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 20px 4rem;
}

.page-content h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  color: var(--accent);
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
  color: rgba(250, 250, 250, 0.88);
}

.page-content ul,
.page-content ol {
  margin: 0 0 1rem 1.5rem;
  color: rgba(250, 250, 250, 0.88);
}

.page-content li {
  margin-bottom: 0.5rem;
}

.topic-hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-form {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--property-radius);
}

.contact-form__field {
  margin-bottom: 1.25rem;
}

.contact-form__field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.contact-form__field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__error {
  color: #F87171;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.contact-form__error.is-visible {
  display: block;
}

.contact-form__success {
  padding: 2rem;
  text-align: center;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--property-radius);
  display: none;
}

.contact-form__success.is-visible {
  display: block;
}

@keyframes luxuryReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .navbar__group--left,
  .navbar__group--right {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .navbar__drawer {
    display: block;
  }
}

@media (max-width: 640px) {
  .disclosure-bar__text-zone {
    font-size: 11px;
    padding: 8px 12px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 375px) {
  .topic-hero__img,
  .topic-hero__img img,
  .slots-mosaic__header img,
  .bonos-content__img,
  .bonos-content__img img,
  .info-1__visual,
  .info-1__visual img,
  .info-4__wheel,
  .info-4__wheel img,
  .info-7__photo,
  .info-7__photo img,
  .info-9__img-wrap,
  .info-9__img-wrap img {
    max-width: 100%;
    overflow: hidden;
  }

  .hero,
  .info-section,
  .info-3,
  .slots-mosaic,
  .topic-hero__inner {
    overflow-x: hidden;
    max-width: 100%;
  }
}
