/* ==============================
   AUROOM — Design System v2
   Dark Luxury · Phuket Real Estate
   ============================== */

/* ── Brand Fonts ── */
@font-face {
  font-family: 'Brutal Type';
  src: url('../fonts/BrutalType-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Brutal Type';
  src: url('../fonts/BrutalType-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Brutal Type';
  src: url('../fonts/BrutalType-Medium.ttf') format('truetype');
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: 'Brutal Type';
  src: url('../fonts/BrutalType-Bold.ttf') format('truetype');
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: 'Erewhon';
  src: url('../fonts/Erewhon-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Erewhon';
  src: url('../fonts/Erewhon-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Erewhon';
  src: url('../fonts/Erewhon-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Erewhon';
  src: url('../fonts/Erewhon-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── Variables ── */
:root {
  --bg:          #0a0a0f;
  --surface:     #111118;
  --surface-2:   #16161f;
  --border:      #1c1c2a;
  --border-2:    #252538;
  --gold:        #d6c8a7;
  --gold-bright: #e8dfc8;
  --gold-dim:    rgba(214,200,167,.12);
  --gold-glow:   rgba(214,200,167,.28);
  --text:        #f0ede8;
  --text-2:      rgba(240,237,232,.65);
  --muted:       #5e5b72;
  --danger:      #e84c4c;

  /* legacy aliases */
  --color-bg:           var(--bg);
  --color-white:        var(--surface);
  --color-dark:         var(--surface);
  --color-dark-2:       var(--surface-2);
  --color-gold:         var(--gold);
  --color-gold-light:   var(--gold-bright);
  --color-text:         var(--text);
  --color-muted:        var(--muted);
  --color-border:       var(--border);
  --color-card-bg:      var(--surface);
  --color-section-dark: #07070d;

  --font-serif: 'Erewhon', Georgia, serif;
  --font-sans:  'Brutal Type', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,.4);
  --shadow-md:   0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.6);
  --shadow-gold: 0 0 40px rgba(201,169,110,.12);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1240px;
  --px: clamp(20px, 5vw, 80px);
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg:          #faf8f4;
  --surface:     #ffffff;
  --surface-2:   #f2efe9;
  --border:      #e5dfd5;
  --border-2:    #d8d0c4;
  --gold:        #8a7550;
  --gold-bright: #b09a70;
  --gold-dim:    rgba(138,117,80,.1);
  --gold-glow:   rgba(138,117,80,.2);
  --text:        #1a1710;
  --text-2:      rgba(26,23,16,.65);
  --muted:       #7a7060;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,.1);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.12);
  --shadow-gold: 0 0 40px rgba(160,120,64,.1);
  --color-bg:           var(--bg);
  --color-white:        var(--surface);
  --color-dark:         var(--surface);
  --color-dark-2:       var(--surface-2);
  --color-gold:         var(--gold);
  --color-text:         var(--text);
  --color-muted:        var(--muted);
  --color-border:       var(--border);
  --color-card-bg:      var(--surface);
  --color-section-dark: #f0ebe2;
}
[data-theme="light"] .header.scrolled {
  background: rgba(250,248,244,.94);
  border-bottom-color: var(--border);
}
[data-theme="light"] .hero-bg { opacity: .25; }
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(160,120,64,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,120,64,.06) 1px, transparent 1px);
}
[data-theme="light"] .orb-1 { background: radial-gradient(circle, rgba(201,169,110,.18) 0%, transparent 70%); }
[data-theme="light"] .orb-2 { background: radial-gradient(circle, rgba(100,80,160,.08) 0%, transparent 70%); }
[data-theme="light"] .hero h1 { color: var(--text); }
[data-theme="light"] .hero-desc { color: rgba(26,23,16,.6); }
[data-theme="light"] .hero-stat { background: rgba(250,248,244,.85); }
[data-theme="light"] .hero-stat-num { color: var(--text); }
[data-theme="light"] .mobile-menu { background: rgba(250,248,244,.97); border-left-color: var(--border); }
[data-theme="light"] .mobile-close { color: var(--muted); }
[data-theme="light"] .mobile-nav a { color: var(--muted); }
[data-theme="light"] .mobile-nav a:hover { color: var(--text); }
[data-theme="light"] .calculator-section { border-color: var(--border); }
[data-theme="light"] .calculator-form { background: rgba(255,255,255,.85); border-color: var(--border); }
[data-theme="light"] .calc-input { background: rgba(0,0,0,.03); border-color: var(--border); color: var(--text); }
[data-theme="light"] .calc-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(160,120,64,.1); }
[data-theme="light"] .calc-label { color: var(--muted); }
[data-theme="light"] .calc-slider { background: var(--border); }
[data-theme="light"] .contact-section { background: var(--surface-2); }
[data-theme="light"] .contact-form { background: rgba(255,255,255,.9); border-color: var(--border); }
[data-theme="light"] .contact-form::before { background: linear-gradient(to right, transparent, rgba(160,120,64,.25), transparent); }
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea { background: rgba(0,0,0,.03); border-color: var(--border); color: var(--text); }
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(160,120,64,.08); }
[data-theme="light"] .form-select option { background: #fff; color: #1a1710; }
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder { color: var(--muted); }
[data-theme="light"] .form-label { color: var(--muted); }
[data-theme="light"] .form-title { color: var(--text); }
[data-theme="light"] .form-checkbox { color: var(--muted); }
[data-theme="light"] .contact-left .h2 { color: var(--text); }
[data-theme="light"] .contact-left p { color: var(--text-2); }
[data-theme="light"] .contact-detail-label { color: var(--muted); }
[data-theme="light"] .contact-detail-value { color: var(--text-2); }
[data-theme="light"] .footer { background: #ede8e0; }
[data-theme="light"] .footer-links a { color: rgba(26,23,16,.5); }
[data-theme="light"] .footer-links a:hover { color: var(--text); }
[data-theme="light"] .footer-copy { color: var(--muted); }
[data-theme="light"] .footer-legal a { color: var(--muted); }
[data-theme="light"] .footer-col-title { color: var(--muted); }
[data-theme="light"] .footer-social a { background: var(--surface); border-color: var(--border); }
[data-theme="light"] .page-hero { background: var(--surface-2); border-bottom-color: var(--border); }
[data-theme="light"] .page-hero h1 { color: var(--text); }
[data-theme="light"] .catalog-filters { background: var(--surface); border-color: var(--border); }
[data-theme="light"] .filter-btn { border-color: var(--border); color: var(--muted); }
[data-theme="light"] .filter-btn.active { background: var(--gold-dim); color: var(--gold); border-color: rgba(160,120,64,.3); }
[data-theme="light"] .filter-select { border-color: var(--border); color: var(--muted); }
[data-theme="light"] .blog-card { background: var(--surface); border-color: var(--border); }
[data-theme="light"] .blog-title { color: var(--text); }
[data-theme="light"] .btn-outline { color: rgba(26,23,16,.8); border-color: rgba(160,120,64,.3); }
[data-theme="light"] .btn-dark { background: var(--surface-2); color: var(--text); border-color: var(--border); }

/* ── Theme Toggle Button ── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--muted);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ── Quiz nav link ── */
.nav-quiz-link {
  background: var(--gold-dim);
  border: 1px solid rgba(214,200,167,.25);
  border-radius: 4px;
  padding: 4px 12px !important;
  color: var(--gold) !important;
  font-weight: 500;
}
.nav-quiz-link:hover { background: rgba(214,200,167,.2) !important; color: var(--gold-bright) !important; }

/* ── Quiz Scroll Popup ── */
.quiz-popup {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--surface);
  border: 1px solid rgba(214,200,167,.3);
  border-radius: 16px;
  padding: 24px 24px 20px;
  max-width: 280px;
  box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(214,200,167,.08);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}
.quiz-popup.visible { transform: translateY(0); opacity: 1; pointer-events: all; }
.quiz-popup-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 18px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.quiz-popup-close:hover { color: var(--text); }
.quiz-popup-icon { font-size: 28px; margin-bottom: 10px; }
.quiz-popup-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
  padding-right: 16px;
}
.quiz-popup-text { font-size: 12px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.quiz-popup-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #0a0a0f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.quiz-popup-btn:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(214,200,167,.3); }

/* ── Messenger Icons ── */
.icon-tg, .icon-wa { flex-shrink: 0; }
a .icon-tg  { color: #2ca5e0; }
a .icon-wa  { color: #25d366; }
[data-theme="light"] a .icon-tg { color: #1a8fc0; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Container / Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Tag label ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ── Typography ── */
.h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.2;
}
.h4 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary — gold fill + glow */
.btn-primary {
  background: linear-gradient(135deg, #c9a96e 0%, #d9b87e 50%, #c4a265 100%);
  color: #0a0a0f;
  font-weight: 600;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(201,169,110,.45), 0 6px 20px rgba(0,0,0,.3);
}
.btn-primary:hover::after { opacity: 1; }

/* Outline — animated gradient border */
.btn-outline {
  color: rgba(240,237,232,.8);
  background: transparent;
  border: 1px solid rgba(201,169,110,.3);
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,.08), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.btn-outline:hover {
  border-color: rgba(201,169,110,.65);
  color: var(--text);
  box-shadow: 0 0 20px rgba(201,169,110,.12), inset 0 0 20px rgba(201,169,110,.04);
}
.btn-outline:hover::before { opacity: 1; }

/* Dark */
.btn-dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-dark:hover {
  background: var(--border-2);
  border-color: rgba(201,169,110,.3);
  transform: translateY(-1px);
}

.gold-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 24px;
}

/* ==============================
   HEADER
   ============================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--px);
  height: 72px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10,10,15,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
/* Light theme: switch to black logo */
[data-theme="light"] .logo img.logo-dark { display: none; }
[data-theme="light"] .logo img.logo-light { display: block; }
.logo img.logo-light { display: none; }
.logo img.logo-dark  { display: block; }
/* Legacy text logo fallback */
.logo span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-2);
  transition: var(--transition);
}
.nav a:hover { color: var(--text); }

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-contacts a {
  font-size: 12px;
  color: var(--text-2);
  transition: var(--transition);
}
.header-contacts a:hover { color: var(--gold); }

.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}
.lang-switch button {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 3px;
  color: var(--muted);
  transition: var(--transition);
}
.lang-switch button.active {
  color: var(--gold);
  background: var(--gold-dim);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: var(--transition);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--px) 80px;
  overflow: hidden;
  background: var(--bg);
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Aurora orbs */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(80,60,140,.1) 0%, transparent 70%);
  animation: orbFloat2 16s ease-in-out infinite;
}
.orb-3 {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: 40%;
  background: radial-gradient(circle, rgba(201,169,110,.07) 0%, transparent 70%);
  animation: orbFloat3 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(80px, 60px) scale(1.1); }
  66%       { transform: translate(-40px, 100px) scale(.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-80px, 80px) scale(1.15); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(60px, -40px); }
}

/* Photo background — very dimmed so aurora shows */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('https://images.unsplash.com/photo-1540541338537-1220059af4c0?w=1920&q=80') center/cover no-repeat;
  opacity: .15;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(10,10,15,.3) 0%, rgba(10,10,15,.7) 70%, rgba(10,10,15,.95) 100%);
}

/* Spotlight — follows mouse */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    700px circle at var(--spotlight-x, 50%) var(--spotlight-y, 40%),
    rgba(201,169,110,.07) 0%,
    transparent 70%
  );
  transition: background .05s;
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

/* ==============================
   RISE VILLAS BANNER
   ============================== */
.rise-banner {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rise-banner-bg {
  position: absolute;
  inset: 0;
}
.rise-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.3) saturate(.8);
}
.rise-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,15,.92) 0%, rgba(10,10,15,.7) 60%, rgba(10,10,15,.85) 100%);
}
.rise-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.rise-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.3);
  border-radius: 2px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.rise-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.rise-sub {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.rise-desc {
  font-size: 15px;
  color: rgba(240,237,232,.65);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
  font-weight: 300;
}
.rise-specs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px 32px;
  margin-bottom: 36px;
}
.rise-spec-val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.rise-spec-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.rise-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.rise-infra {
  background: rgba(17,17,24,.7);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.rise-infra-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.rise-infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.rise-infra-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(240,237,232,.7);
}
.rise-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

[data-theme="light"] .rise-banner-bg img { filter: brightness(.2) saturate(.6); }
[data-theme="light"] .rise-infra { background: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .rise-banner-inner { grid-template-columns: 1fr; gap: 40px; }
  .rise-specs { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 600px) {
  .rise-ctas { flex-direction: column; }
  .rise-ctas .btn { justify-content: center; }
}

/* ── Hero tag ── */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,169,110,.08);
  border: 1px solid rgba(201,169,110,.22);
  border-radius: 2px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,169,110,.4); }
  50%       { opacity: .5; box-shadow: 0 0 0 6px rgba(201,169,110,0); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats panel — glass morphism */
.hero-stats { align-self: end; }
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-stat {
  background: rgba(17,17,24,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 28px 24px;
  transition: var(--transition);
}
.hero-stat:hover { background: rgba(25,25,38,.9); }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num sup { font-size: 18px; color: var(--gold); font-weight: 400; }
.hero-stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,169,110,.5), transparent);
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==============================
   BENEFITS
   ============================== */
.benefits {
  background: var(--surface);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefits-header {
  margin-bottom: 60px;
}
.benefits-number {
  font-family: var(--font-serif);
  font-size: 120px;
  font-weight: 300;
  color: var(--border-2);
  line-height: 1;
  text-align: right;
  align-self: start;
  margin-top: -24px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.benefit-card {
  background: var(--surface);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background .3s, transform .4s cubic-bezier(.34,1.56,.64,1);
  cursor: default;
  transform-style: preserve-3d;
  will-change: transform;
}
.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.benefit-card:hover { background: var(--surface-2); }
.benefit-card:hover::after { transform: scaleX(1); }

/* Glow on hover */
.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(201,169,110,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.benefit-card:hover::before { opacity: 1; }

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid rgba(214,200,167,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.benefit-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: 12px;
}
.benefit-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.benefit-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ==============================
   CATALOG PREVIEW
   ============================== */
.catalog-section {
  padding: 100px 0;
  background: var(--bg);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.section-header p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 480px;
  line-height: 1.7;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Homepage card links — not clickable wrappers */
.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: default;
}

/* Property card — glass morphism + 3D tilt */
.property-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}
.property-card:hover {
  border-color: rgba(201,169,110,.3);
  box-shadow: 0 0 0 1px rgba(201,169,110,.12), 0 20px 60px rgba(0,0,0,.5), var(--shadow-gold);
}

.property-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(.9);
}
.property-card:hover .property-img img {
  transform: scale(1.06);
  filter: brightness(1);
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: #0a0a0f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.property-badge.hot { background: #e84c4c; color: #fff; }

.property-body { padding: 22px; }
.property-location {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.property-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.property-specs {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.property-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.property-spec-icon { font-size: 13px; }

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.property-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}
.property-price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.property-roi {
  background: var(--gold-dim);
  border: 1px solid rgba(201,169,110,.22);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
}

.catalog-cta { text-align: center; margin-top: 56px; }

/* Property description in catalog */
.property-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA replacing price */
.property-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.property-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 16px;
  background: linear-gradient(135deg, rgba(201,169,110,.1), rgba(201,169,110,.05));
  border: 1px solid rgba(201,169,110,.35);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  letter-spacing: .04em;
  transition: var(--transition);
  cursor: pointer;
  gap: 8px;
}
.property-cta-btn:hover {
  background: linear-gradient(135deg, rgba(201,169,110,.2), rgba(201,169,110,.08));
  border-color: rgba(201,169,110,.65);
  box-shadow: 0 0 28px rgba(201,169,110,.18), 0 4px 16px rgba(0,0,0,.2);
  transform: translateY(-2px);
  color: var(--gold-bright);
}

/* ── Skeleton loading ── */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface) 25%,
    var(--surface-2) 50%,
    var(--surface) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 0;
}
.skeleton-body { padding: 22px; }
.skeleton-line { margin-bottom: 10px; }

/* ==============================
   CALCULATOR
   ============================== */
.calculator-section {
  background: var(--color-section-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.calculator-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.06) 0%, transparent 70%);
  pointer-events: none;
}
.calculator-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.calculator-left .h2   { color: var(--text); margin-bottom: 20px; }
.calculator-left p     { color: var(--text-2); font-size: 15px; line-height: 1.75; margin-bottom: 40px; font-weight: 300; }

.calc-features { display: flex; flex-direction: column; gap: 14px; }
.calc-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.calc-feature::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l4 4 6-7' stroke='%23C9A96E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid rgba(201,169,110,.25);
}

.calculator-form {
  background: rgba(17,17,24,.8);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.calc-field { margin-bottom: 22px; }
.calc-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.calc-input-wrap { position: relative; }
.calc-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.calc-input:focus {
  border-color: rgba(201,169,110,.45);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(201,169,110,.08);
}
.calc-input-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
}
.calc-slider {
  width: 100%;
  appearance: none;
  height: 2px;
  background: var(--border-2);
  border-radius: 2px;
  outline: none;
  margin-top: 10px;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(201,169,110,.4);
}

.calc-result {
  background: var(--gold-dim);
  border: 1px solid rgba(201,169,110,.18);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.calc-result-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.calc-result-value {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--gold);
}
.calc-result-value small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials {
  background: var(--surface);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header .tag    { justify-content: center; }
.testimonials-header .tag::before { display: none; }
.testimonials-header .h2   { margin-top: 12px; }
.testimonials-count {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .4s cubic-bezier(.34,1.56,.64,1);
  transform-style: preserve-3d;
  will-change: transform;
}
.testimonial-card:hover {
  border-color: rgba(201,169,110,.25);
  box-shadow: 0 0 0 1px rgba(201,169,110,.08), 0 20px 50px rgba(0,0,0,.4);
  transform: translateY(-4px);
}
.testimonial-card.featured {
  background: linear-gradient(135deg, #16141f 0%, #1a1828 100%);
  border-color: rgba(201,169,110,.2);
}

.testimonial-quote {
  font-size: 52px;
  line-height: .8;
  color: var(--gold);
  font-family: Georgia, serif;
  margin-bottom: 16px;
  opacity: .6;
}
.testimonial-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 28px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--border-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

.testimonial-stars {
  position: absolute;
  top: 28px; right: 28px;
  display: flex;
  gap: 2px;
}
.star { color: var(--gold); font-size: 12px; }

/* ==============================
   FAQ
   ============================== */
.faq-section {
  background: var(--bg);
  padding: 100px 0;
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}
.faq-left .h2  { margin-bottom: 20px; }
.faq-left p    { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 32px; }

.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
}
.faq-question:hover { color: var(--text); }
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 16px;
  color: var(--muted);
}
.faq-item.open .faq-question { color: var(--text); }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ==============================
   CONTACT FORM
   ============================== */
.contact-section {
  background: var(--color-section-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.contact-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-left .h2 { color: var(--text); margin-bottom: 20px; }
.contact-left p   { color: var(--text-2); font-size: 15px; line-height: 1.75; margin-bottom: 40px; font-weight: 300; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail { display: flex; align-items: center; gap: 16px; }
.contact-detail-icon {
  width: 42px; height: 42px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,169,110,.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-detail-value { font-size: 14px; color: var(--text-2); }

.contact-social { display: flex; gap: 10px; margin-top: 32px; }
.social-btn {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--gold-dim);
  border-color: rgba(201,169,110,.3);
}

/* Contact form card */
.contact-form {
  background: rgba(17,17,24,.7);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,169,110,.3), transparent);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); opacity: .6; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(201,169,110,.4);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(201,169,110,.07);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: #111118; color: var(--text); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.form-checkbox input { display: none; }
.checkbox-custom {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid var(--border-2);
  border-radius: 3px;
  margin-top: 1px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-checkbox input:checked + .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}
.form-checkbox input:checked + .checkbox-custom::after {
  content: '✓';
  font-size: 11px;
  color: #0a0a0f;
  font-weight: 700;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #c9a96e, #d9b87e);
  color: #0a0a0f;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(201,169,110,.4), 0 6px 20px rgba(0,0,0,.3);
}
.form-submit:hover::after { opacity: 1; }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #060609;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { font-size: 24px; display: block; margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  color: var(--muted);
}
.footer-social a:hover { background: var(--gold-dim); color: var(--gold); border-color: rgba(201,169,110,.3); }

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: rgba(240,237,232,.4); transition: var(--transition); }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: var(--muted); transition: var(--transition); }
.footer-legal a:hover { color: var(--text-2); }

/* ==============================
   MOBILE MENU
   ============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(10,10,15,.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 24px var(--px);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  border-left: 1px solid var(--border);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.mobile-close { font-size: 28px; color: var(--muted); line-height: 1; transition: var(--transition); }
.mobile-close:hover { color: var(--text); }
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 300;
  color: var(--muted);
  transition: var(--transition);
  padding: 8px 0;
}
.mobile-nav a:hover { color: var(--text); padding-left: 8px; }
.mobile-footer { padding-bottom: 40px; }
.mobile-footer a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* ==============================
   PAGE: CATALOG
   ============================== */
.page-hero {
  background: var(--bg);
  padding: 160px var(--px) 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .tag { justify-content: center; }
.page-hero .tag::before { display: none; }
.page-hero h1 { color: var(--text); margin-top: 12px; }
.page-hero p {
  color: var(--text-2);
  margin-top: 16px;
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-page { padding: 80px 0; background: var(--bg); }

.catalog-filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 48px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  color: var(--muted);
  background: transparent;
  transition: var(--transition);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-2); }
.filter-btn.active {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: rgba(201,169,110,.3);
}
.filter-select {
  padding: 7px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  outline: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card-link { display: block; text-decoration: none; color: inherit; }

/* ==============================
   PAGE: BLOG
   ============================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.blog-card:hover { border-color: rgba(201,169,110,.25); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card.featured .blog-card-img { aspect-ratio: auto; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: brightness(.85); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); filter: brightness(1); }
.blog-card-body { padding: 28px; }
.blog-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 12px;
}
.blog-card.featured .blog-title { font-size: 26px; }
.blog-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.blog-meta-dot { color: var(--border-2); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 16px;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; }

/* ==============================
   SCROLL ANIMATIONS
   ============================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1100px) {
  .hero-inner           { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats           { display: none; }
  .benefits-grid        { grid-template-columns: repeat(2, 1fr); }
  .properties-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: 1fr 1fr; }
  .footer-top           { grid-template-columns: 1fr 1fr; gap: 40px; }
  .catalog-grid         { grid-template-columns: repeat(2, 1fr); }
  .blog-grid            { grid-template-columns: 1fr 1fr; }
  .blog-card.featured   { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --px: 20px; }
  .nav { display: none; }
  /* keep lang switch + theme toggle on mobile, hide phone & telegram button */
  .header-contacts > a { display: none; }
  .header-contacts { gap: 8px; margin-left: auto; margin-right: 6px; }
  .burger { display: flex; }
  /* tables scroll horizontally instead of breaking layout */
  .article-table { display: block; overflow-x: auto; white-space: nowrap; }
  .benefits-header    { grid-template-columns: 1fr; gap: 24px; }
  .benefits-number    { display: none; }
  .benefits-grid      { grid-template-columns: 1fr 1fr; }
  .properties-grid    { grid-template-columns: 1fr; }
  .section-header     { flex-direction: column; align-items: flex-start; gap: 20px; }
  .calculator-inner   { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .faq-inner          { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner      { grid-template-columns: 1fr; gap: 48px; }
  .contact-form       { padding: 32px 24px; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-top         { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom      { flex-direction: column; gap: 16px; text-align: center; }
  .catalog-filters    { padding: 20px; }
  .catalog-grid       { grid-template-columns: 1fr; }
  .blog-grid          { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; display: block; }
  .hero h1            { font-size: clamp(38px, 9vw, 56px); }
  .hero-cta           { flex-direction: column; }
  .hero-cta .btn      { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
}
