/*
Theme Name: Valentin Smelov – Kinnisvaramaakler
Theme URI: https://valentinsmelov.ee
Author: Custom
Description: Luxury real estate agent website for Valentin Smelov, Uus Maa Pro.
Version: 2.0.0
Text Domain: valentin-smelov
*/

/* ─── GOOGLE FONTS ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── DESIGN TOKENS ────────────────────────────────────────────────────── */
:root {
  --ivory:        #F8F6F1;
  --ivory-dark:   #EDE9E0;
  --charcoal:     #1C1C1C;
  --charcoal-soft:#2E2E2E;
  --gold:         #B8975A;
  --gold-light:   #D4B47A;
  --navy:         #0D2240;
  --slate:        #6B7280;
  --slate-light:  #9CA3AF;
  --white:        #FFFFFF;
  --border:       rgba(28,28,28,0.10);
  --border-gold:  rgba(184,151,90,0.35);

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;

  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:cubic-bezier(0, 0, 0.2, 1);
  --mw:      1320px;
  --pad-x:   clamp(24px, 6vw, 100px);
  --pad-y:   clamp(72px, 10vw, 140px);
}

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

/* ─── TYPOGRAPHY ───────────────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(52px, 8vw, 110px); font-weight: 300; }
h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 300; }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(18px, 1.8vw, 22px); }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.75; color: var(--slate); }
.body-sm { font-size: 14px; line-height: 1.7; color: var(--slate); }

/* ─── LAYOUT UTILS ─────────────────────────────────────────────────────── */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-y) var(--pad-x); max-width: var(--mw); margin: 0 auto; }
.section-full { padding: var(--pad-y) var(--pad-x); }

/* ─── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 36px;
  border: 1px solid;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }

.btn-dark {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-dark::before { background: var(--charcoal-soft); }
.btn-dark:hover { color: var(--white); }

.btn-gold {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}
.btn-gold::before { background: var(--gold-light); }
.btn-gold:hover { color: var(--charcoal); }

.btn-outline {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--charcoal);
}
.btn-outline::before { background: var(--charcoal); }
.btn-outline:hover { color: var(--white); }

.btn-outline-white {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white::before { background: rgba(255,255,255,0.12); }
.btn-outline-white:hover { color: var(--white); }

.btn span { position: relative; z-index: 1; }
.btn .arrow { position: relative; z-index: 1; transition: transform 0.3s var(--ease); font-size: 16px; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─── HEADER ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--pad-x);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  height: 64px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.header-logo { display: flex; align-items: center; gap: 20px; }
.header-logo img { height: 32px; width: auto; display: block; border: none; outline: none; background: transparent; }
.logo-divider { width: 1px; height: 28px; background: var(--border); }
.logo-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  line-height: 1;
}
.logo-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.header-nav a:hover { color: var(--gold); }
.header-nav a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 24px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 5px 9px;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--charcoal);
  border-color: var(--border);
  background: var(--ivory);
}
.header-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--charcoal);
  padding: 12px 24px;
  transition: background 0.3s;
}
.header-cta:hover { background: var(--gold); color: var(--charcoal); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ─── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.45;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg img { transform: scale(1); }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,34,64,0.2) 0%,
    rgba(13,34,64,0.1) 40%,
    rgba(13,34,64,0.7) 80%,
    rgba(13,34,64,0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px var(--pad-x) 80px;
  max-width: var(--mw);
  margin: 0 auto;
}

.hero-eyebrow { margin-bottom: 24px; }

.hero-title {
  color: var(--white);
  margin-bottom: 32px;
  max-width: 820px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 48px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 80px; }

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  padding: 0 40px 0 0;
  margin-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num span { color: var(--gold-light); }
.hero-stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: var(--pad-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ─── INTRO STRIP ──────────────────────────────────────────────────────── */
.intro-strip {
  background: var(--ivory);
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--border);
}
.intro-strip-inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.intro-strip-item {
  flex: 1;
  padding: 40px 0;
  border-right: 1px solid var(--border);
  padding-right: 40px;
  padding-left: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.intro-strip-item:first-child { padding-left: 0; }
.intro-strip-item:last-child { border-right: none; }
.strip-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
}
.strip-text h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 3px;
}
.strip-text p { font-size: 13px; color: var(--slate); }

/* ─── ABOUT ────────────────────────────────────────────────────────────── */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-frame {
  position: relative;
  overflow: hidden;
}
.about-image-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.8s var(--ease);
}
.about-image-frame:hover img { transform: scale(1.03); }
.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-badge {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: var(--charcoal);
  color: var(--white);
  padding: 24px 28px;
  min-width: 200px;
}
.about-badge .badge-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.about-badge .badge-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.about-content { padding: 40px 0; }
.about-content .label { margin-bottom: 20px; display: block; }
.about-content h2 { margin-bottom: 28px; }
.about-content .body-lg { margin-bottom: 20px; }
.about-signature {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  margin: 36px 0 8px;
}
.about-title-line {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.about-contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.about-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--charcoal);
  transition: color 0.3s;
}
.about-contact-link:hover { color: var(--gold); }
.about-contact-link .icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.about-contact-link:hover .icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.about-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 7px 14px;
  color: var(--slate);
  transition: all 0.3s;
}
.about-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ─── WHY / SERVICES ───────────────────────────────────────────────────── */
.services-section {
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.services-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(184,151,90,0.1);
  pointer-events: none;
}
.services-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -50px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(184,151,90,0.08);
  pointer-events: none;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.services-head h2 { color: var(--white); }
.services-head .body-lg { color: rgba(255,255,255,0.6); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}
.service-card {
  background: var(--navy);
  padding: 48px 40px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.service-card:hover { background: rgba(255,255,255,0.04); }
.service-card:hover::after { width: 100%; }

.service-num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 300;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(184,151,90,0.12); }
.service-icon { font-size: 28px; margin-bottom: 20px; color: var(--gold); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
}
.service-card p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.5); }

/* ─── CTA BANNER ───────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--gold);
  padding: 80px var(--pad-x);
  text-align: center;
}
.cta-banner-inner { max-width: 720px; margin: 0 auto; }
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.cta-banner h2 em { font-style: italic; }
.cta-banner p { font-size: 16px; color: rgba(28,28,28,0.7); margin-bottom: 40px; }
.cta-banner .btn-dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.cta-banner .btn-dark::before { background: var(--charcoal-soft); }

/* ─── PROPERTIES ───────────────────────────────────────────────────────── */
.properties-section { background: var(--ivory); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }
.section-head .label { margin-bottom: 12px; display: block; }

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.prop-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
.prop-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ivory-dark);
}
.prop-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.prop-card:hover .prop-img img { transform: scale(1.06); }
.prop-status {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  color: var(--white);
}
.prop-status.sale { background: var(--charcoal); }
.prop-status.rent { background: var(--gold); color: var(--charcoal); }
.prop-price-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.prop-price {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}
.prop-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.prop-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.25;
}
.prop-location {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.prop-specs {
  display: flex;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.prop-spec { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 6px; }
.prop-spec-icon { font-size: 14px; }

.view-all-row { text-align: center; margin-top: 56px; }

/* ─── TESTIMONIALS ─────────────────────────────────────────────────────── */
.testimonials-section { background: var(--white); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.test-card {
  border: 1px solid var(--border);
  padding: 44px 36px 36px;
  position: relative;
  transition: border-color 0.35s, transform 0.35s var(--ease);
  background: var(--white);
}
.test-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.test-quote {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 300;
  color: var(--ivory-dark);
  line-height: 0.7;
  position: absolute;
  top: 28px; left: 32px;
}
.test-stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 20px; }
.test-text {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--charcoal-soft);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.test-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 22px; }
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
}
.test-author-name { font-size: 13px; font-weight: 500; color: var(--charcoal); letter-spacing: 0.04em; }
.test-author-date { font-size: 11px; color: var(--slate-light); margin-top: 2px; }

/* ─── BLOG ─────────────────────────────────────────────────────────────── */
.blog-section { background: var(--ivory); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
.blog-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); }
.blog-img { aspect-ratio: 16/10; overflow: hidden; background: var(--ivory-dark); }
.blog-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 28px 28px 24px; }
.blog-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-cat::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }
.blog-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-excerpt { font-size: 13px; color: var(--slate); line-height: 1.7; margin-bottom: 20px; }
.blog-readmore {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.blog-readmore::after { content: '→'; transition: transform 0.3s; }
.blog-card:hover .blog-readmore { color: var(--gold); }
.blog-card:hover .blog-readmore::after { transform: translateX(4px); }

/* ─── CONTACT ──────────────────────────────────────────────────────────── */
.contact-section { background: var(--charcoal); overflow: hidden; position: relative; }
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: var(--charcoal-soft);
  z-index: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-left { padding-top: 16px; }
.contact-left .label { margin-bottom: 20px; display: block; }
.contact-left h2 { color: var(--white); margin-bottom: 24px; }
.contact-left p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail-item {}
.contact-detail-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-detail-value {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
  transition: color 0.3s;
}
.contact-detail-value a:hover { color: var(--gold-light); }

.contact-form-wrap {
  background: var(--white);
  padding: 56px 52px;
}
.contact-form-wrap h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 36px;
}
.form-group { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-light); }
.form-group textarea { height: 110px; resize: vertical; }
.form-note { font-size: 11px; color: var(--slate-light); margin-top: 14px; }
.btn-form-submit {
  width: 100%;
  justify-content: center;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s;
  cursor: pointer;
}
.btn-form-submit:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
#vs-form-response {
  display: none;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 13px;
  border: 1px solid;
}

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.site-footer {
  background: #111111;
  padding: 72px var(--pad-x) 32px;
  color: rgba(255,255,255,0.5);
}
.footer-inner { max-width: var(--mw); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand img { height: 22px; width: auto; margin-bottom: 16px; border: none; background: transparent; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
  font-family: var(--serif);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── PAGE HERO ────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--charcoal);
  padding: 160px var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero .label { margin-bottom: 16px; display: block; }
.page-hero h1 { color: var(--white); max-width: 700px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 20px; max-width: 560px; }

/* ─── FILTERS ──────────────────────────────────────────────────────────── */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x);
  display: flex;
  gap: 0;
  align-items: stretch;
  position: sticky;
  top: 76px;
  z-index: 100;
}
.filter-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 28px;
  color: var(--slate);
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { color: var(--charcoal); }
.filter-btn.active { color: var(--charcoal); border-bottom-color: var(--gold); }

/* ─── PROPERTIES PAGE GRID ─────────────────────────────────────────────── */
.properties-page-wrap {
  background: var(--ivory);
  padding: 60px var(--pad-x) 100px;
}
.properties-page-grid {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

/* ─── BLOG PAGE ────────────────────────────────────────────────────────── */
.blog-page-wrap {
  background: var(--ivory);
  padding: 60px var(--pad-x) 100px;
}
.blog-page-grid {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
}
.blog-page-card { background: var(--white); overflow: hidden; transition: transform 0.4s var(--ease); }
.blog-page-card:hover { transform: translateY(-5px); }
.blog-page-card .blog-img { aspect-ratio: 16/9; }
.blog-page-card .blog-body { padding: 36px 36px 30px; }
.blog-page-card .blog-title { font-size: 24px; margin-bottom: 14px; }
.blog-page-card .blog-excerpt { font-size: 14px; margin-bottom: 24px; }

/* ─── ANIMATIONS ───────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-badge { left: 0; bottom: -24px; }
  .services-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .props-grid, .test-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-section::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .properties-page-grid, .blog-page-grid { grid-template-columns: 1fr 1fr; }
  .intro-strip-inner { flex-wrap: wrap; }
  .intro-strip-item { min-width: 200px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 20px; --pad-y: 60px; }
  .header-nav, .lang-switcher, .header-cta { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    padding: 32px var(--pad-x);
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 999;
  }
  .menu-toggle { display: flex; }
  .hero-stats { gap: 20px; }
  .hero-stat { padding-right: 20px; margin-right: 20px; }
  .services-grid, .props-grid, .test-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .properties-page-grid, .blog-page-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 36px 28px; }
}

/* ─── PROPERTIES TICKER ──────────────────────────────────────────────────── */
.props-ticker-section { background: var(--ivory); overflow: hidden; padding: var(--pad-y) 0; }
.props-ticker-inner { max-width: var(--mw); margin: 0 auto; padding: 0 var(--pad-x); margin-bottom: 48px; }
.props-ticker-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }

.ticker-wrap {
  overflow: hidden;
  position: relative;
  padding: 4px 0 24px;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--ivory), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--ivory), transparent); }

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: block;
  text-decoration: none;
}
.ticker-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.ticker-card-img {
  height: 190px;
  overflow: hidden;
  background: var(--ivory-dark);
  position: relative;
}
.ticker-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.ticker-card:hover .ticker-card-img img { transform: scale(1.06); }

.ticker-card-status {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  color: var(--white);
}
.ticker-card-status.sale { background: var(--charcoal); }
.ticker-card-status.rent { background: var(--gold); color: var(--charcoal); }

.ticker-card-price {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

.ticker-card-body { padding: 18px 18px 16px; }
.ticker-card-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-card-location {
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ticker-card-specs {
  display: flex;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.ticker-card-spec { font-size: 11px; color: var(--slate); }

/* no listings placeholder */
.ticker-no-listings {
  text-align: center;
  padding: 60px 20px;
  color: var(--slate);
  font-size: 14px;
}
.ticker-no-listings a { color: var(--gold); }

/* Properties page: 3-col grid */
.properties-page-wrap { background: var(--ivory); padding: 60px var(--pad-x) 100px; }
.properties-page-grid {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.props-pagination {
  max-width: var(--mw);
  margin: 48px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.props-pagination a, .props-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--charcoal);
  transition: all 0.25s;
  text-decoration: none;
}
.props-pagination a:hover, .props-pagination .current {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

@media (max-width: 768px) {
  .ticker-card { width: 250px; }
  .ticker-card-img { height: 155px; }
  .properties-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .properties-page-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── PROPERTY IMAGE PLACEHOLDER ─────────────────────────────────────────── */
.prop-img > div,
.ticker-card-img > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ivory-dark);
    font-size: 48px;
}

/* ─── SOCIAL ICONS (SVG) ──────────────────────────────────────────────────── */
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
  font-family: inherit;
  font-style: normal;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── GDPR CONSENT CHECKBOX ──────────────────────────────────────────────── */
.form-consent { margin: 14px 0 8px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent-label input[type="checkbox"] {
    width: 16px; height: 16px;
    flex-shrink: 0; margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}
.consent-text {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    text-transform: none;
    letter-spacing: 0;
}
.consent-text a { color: var(--gold-light); text-decoration: underline; }
.consent-text a:hover { color: var(--white); }

/* ─── COOKIE BANNER ──────────────────────────────────────────────────────── */
#vs-cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--charcoal);
    border-top: 1px solid rgba(184,151,90,0.3);
    padding: 20px clamp(20px,5vw,80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    transform: translateY(0);
    transition: transform 0.4s ease;
}
#vs-cookie-banner.hidden { transform: translateY(110%); }
.cookie-text {
    font-family: var(--sans);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    flex: 1;
    min-width: 240px;
    text-transform: none;
    letter-spacing: 0;
}
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-text a:hover { color: var(--white); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    cursor: pointer;
    transition: background 0.25s;
}
.cookie-btn-accept:hover { background: var(--gold-light); }
.cookie-btn-decline {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 20px;
    background: transparent;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.25s;
}
.cookie-btn-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ─── PRIVACY POLICY PAGE ────────────────────────────────────────────────── */
.privacy-page { max-width: 820px; margin: 0 auto; padding: 120px clamp(20px,5vw,60px) 100px; }
.privacy-page h1 { font-size: clamp(32px,4vw,52px); margin-bottom: 16px; }
.privacy-page .privacy-updated {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 48px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.privacy-page h2 {
    font-family: var(--serif);
    font-size: clamp(20px,2vw,26px);
    font-weight: 400;
    margin: 40px 0 14px;
    color: var(--charcoal);
}
.privacy-page p, .privacy-page li {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 14px;
}
.privacy-page ul { padding-left: 20px; margin-bottom: 16px; }
.privacy-page ul li { margin-bottom: 6px; }
.privacy-page a { color: var(--gold); text-decoration: underline; }
.privacy-page strong { color: var(--charcoal); }
