/* ============================================================
   CRH Kinnisvara — Peamine stiilileht
   Disain: Premium põhjamaine minimalism
   Värvid: Tumesinine #1a2744, Kuldne #c9a96e, Hele taust #f8f7f5
   Fondid: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

/* === MUUTUJAD === */
:root {
  --color-navy:      #1a2744;
  --color-navy-dark: #111c33;
  --color-navy-mid:  #243258;
  --color-gold:      #c9a96e;
  --color-gold-light:#e8d5b0;
  --color-white:     #ffffff;
  --color-bg:        #f8f7f5;
  --color-bg-alt:    #f0ede8;
  --color-text:      #2c2c2c;
  --color-text-muted:#6b6b6b;
  --color-border:    #e2ddd6;
  --color-success:   #2d7a4f;
  --color-whatsapp:  #25d366;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.18);

  --transition: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --header-h:   72px;
}

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

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

/* Logo */
.brand-link { display: flex; align-items: center; gap: 0.5rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-crh { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--color-navy); letter-spacing: 0.05em; }
.brand-kinnisvara { font-size: 0.65rem; font-weight: 500; color: var(--color-text-muted); letter-spacing: 0.15em; text-transform: uppercase; }
.custom-logo { height: 48px; width: auto; }

/* Navigatsioon */
.main-navigation { flex: 1; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a { color: var(--color-navy); background: var(--color-bg); }

/* Päise tegevused */
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.header-phone {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; color: var(--color-navy);
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--color-navy);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.header-phone:hover { background: var(--color-navy); color: var(--color-white); }

/* Keelelüliti */
.lang-switcher { display: flex; gap: 0.25rem; }
.lang-link {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.3rem 0.5rem; border-radius: var(--radius-sm);
  color: var(--color-text-muted); transition: all var(--transition);
}
.lang-link:hover, .lang-link.active { color: var(--color-navy); background: var(--color-bg); }
.lang-switcher a.lang-link { display: inline-block; }

/* Mobiilimenüü nupp */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.hamburger-line { width: 22px; height: 2px; background: var(--color-navy); border-radius: 2px; transition: all var(--transition); }
.menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobiilimenüü */
.mobile-menu {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--color-white); z-index: 999;
  overflow-y: auto; padding: 2rem;
}
.mobile-menu.open { display: block; }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.mobile-nav-menu li a { display: block; padding: 0.75rem 1rem; font-size: 1.1rem; font-weight: 500; border-radius: var(--radius-md); }
.mobile-nav-menu li a:hover { background: var(--color-bg); }
.mobile-contacts { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-phone, .mobile-whatsapp { display: block; padding: 0.75rem 1rem; border-radius: var(--radius-md); font-weight: 600; text-align: center; }
.mobile-phone { background: var(--color-navy); color: var(--color-white); }
.mobile-whatsapp { background: var(--color-whatsapp); color: var(--color-white); }

@media (max-width: 1023px) {
  .main-navigation { display: none; }
  .header-phone { display: none; }
  .menu-toggle { display: flex; }
}

/* ============================================================
   NUPUD
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-md); cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.btn-primary:hover { background: var(--color-navy-dark); border-color: var(--color-navy-dark); }
.btn-primary-outline { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn-primary-outline:hover { background: var(--color-navy); color: var(--color-white); }
.btn-outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-navy); color: var(--color-navy); }
.btn-outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--color-white); }
.btn-whatsapp { background: var(--color-whatsapp); color: var(--color-white); border-color: var(--color-whatsapp); }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; }
.btn-map { background: var(--color-success); color: var(--color-white); border-color: var(--color-success); padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-map:hover { background: #236040; }
.btn-search { background: var(--color-gold); color: var(--color-navy); border-color: var(--color-gold); }
.btn-search:hover { background: #b8934a; border-color: #b8934a; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-reset { background: transparent; color: var(--color-text-muted); border-color: var(--color-border); font-size: 0.8rem; padding: 0.4rem 0.75rem; }
.btn-reset:hover { color: var(--color-text); border-color: var(--color-text); }

/* ============================================================
   SEKTSIOONID
   ============================================================ */
.section { padding: 5rem 0; }
.section-bg-light { background: var(--color-bg); }
.section-bg-dark { background: var(--color-navy); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header-light .section-eyebrow { color: var(--color-gold-light); }
.section-header-light .section-title { color: var(--color-white); }
.section-eyebrow { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--color-navy); line-height: 1.2; margin-bottom: 1rem; }
.section-desc { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,0.85) 0%, rgba(26,39,68,0.55) 60%, rgba(26,39,68,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 420px; gap: 4rem;
  align-items: center; padding-top: 4rem; padding-bottom: 6rem;
}
.hero-text { color: var(--color-white); }
.hero-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 1rem; display: block; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; line-height: 1.1; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 500px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero statistika */
.hero-stats {
  position: relative; z-index: 1;
  background: rgba(26,39,68,0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}
.hero-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero-stat { text-align: center; color: var(--color-white); }
.stat-num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-gold); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* Hero otsing */
.hero-search {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
}
.search-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.search-tab {
  flex: 1; padding: 0.6rem; font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-sm); border: 2px solid var(--color-border);
  color: var(--color-text-muted); transition: all var(--transition); cursor: pointer;
}
.search-tab.active { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.search-fields { display: flex; flex-direction: column; gap: 0.75rem; }
.search-select {
  width: 100%; padding: 0.65rem 1rem;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.875rem; color: var(--color-text);
  background: var(--color-white); cursor: pointer;
  transition: border-color var(--transition);
}
.search-select:focus { outline: none; border-color: var(--color-navy); }

@media (max-width: 1023px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-search { max-width: 480px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-section { min-height: 100svh; background-attachment: scroll; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   OBJEKTIDE KAARDID
   ============================================================ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.property-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.property-card-link { display: block; color: inherit; text-decoration: none; }
.property-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.property-card:hover .property-image img { transform: scale(1.04); }
.property-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.property-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: var(--radius-sm);
}
.badge-muuk { background: var(--color-navy); color: var(--color-white); }
.badge-uur { background: var(--color-gold); color: var(--color-navy); }
.badge-type { background: rgba(255,255,255,0.9); color: var(--color-navy); }
.badge-active { background: var(--color-success); color: var(--color-white); }
.badge-new { background: var(--color-gold); color: var(--color-navy); }
.badge-reserved { background: #e67e22; color: var(--color-white); }
.badge-sold { background: #7f8c8d; color: var(--color-white); }

.property-info { padding: 1.25rem; }
.property-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--color-navy); margin-bottom: 0.4rem; line-height: 1.3; }
.property-address { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.property-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.meta-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--color-text-muted); }
.property-price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--color-navy); display: flex; align-items: baseline; gap: 0.5rem; }
.price-sqm { font-size: 0.8rem; font-weight: 400; color: var(--color-text-muted); font-family: var(--font-body); }

.no-properties, .no-results {
  grid-column: 1 / -1;
  text-align: center; padding: 4rem 2rem;
  color: var(--color-text-muted);
}

/* ============================================================
   FILTRITE RIBA
   ============================================================ */
.archive-header { background: var(--color-bg); padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--color-border); }
.archive-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; color: var(--color-navy); margin-bottom: 0.5rem; }
.archive-desc { color: var(--color-text-muted); }
.archive-container { padding-top: 2rem; padding-bottom: 4rem; }

.filter-bar { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.filter-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter-group { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 600;
  border: 1.5px solid var(--color-border); border-radius: 100px;
  color: var(--color-text-muted); transition: all var(--transition); cursor: pointer;
  background: var(--color-white);
}
.filter-btn:hover { border-color: var(--color-navy); color: var(--color-navy); }
.filter-btn.active { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.filter-advanced { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.filter-select {
  padding: 0.45rem 0.75rem; font-size: 0.8rem; font-family: var(--font-body);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  color: var(--color-text); background: var(--color-white); cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--color-navy); }
.results-info { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }

/* ============================================================
   OBJEKTI DETAILLEHT
   ============================================================ */
.property-gallery-section { background: var(--color-navy-dark); }
.gallery-main { position: relative; max-height: 520px; overflow: hidden; }
.gallery-main-img { width: 100%; height: 520px; object-fit: cover; cursor: pointer; }
.gallery-fullscreen {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,0.7); color: var(--color-white);
  border: none; padding: 0.5rem 1rem; border-radius: var(--radius-md);
  font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  transition: background var(--transition);
}
.gallery-fullscreen:hover { background: rgba(0,0,0,0.9); }
.gallery-thumbs { display: flex; gap: 4px; background: var(--color-navy-dark); padding: 4px; overflow-x: auto; }
.gallery-thumb { width: 100px; height: 70px; flex-shrink: 0; cursor: pointer; opacity: 0.6; transition: opacity var(--transition); border-radius: 4px; overflow: hidden; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.property-detail-container { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.property-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.property-detail-badges { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.property-detail-title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--color-navy); line-height: 1.2; margin-bottom: 0.5rem; }
.property-detail-address { display: flex; align-items: center; gap: 0.4rem; color: var(--color-text-muted); }
.property-detail-price { text-align: right; }
.price-main { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--color-navy); }
.price-sqm-detail { font-size: 0.9rem; color: var(--color-text-muted); }

.property-params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; background: var(--color-bg); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; }
.param-item { display: flex; flex-direction: column; gap: 0.25rem; }
.param-label { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.param-value { font-size: 1rem; font-weight: 600; color: var(--color-navy); }

.property-description { margin-bottom: 2rem; }
.property-description h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-navy); margin-bottom: 1rem; }
.property-description p { margin-bottom: 1rem; line-height: 1.7; }

.property-map { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.kv-link-wrap { margin-top: 1.5rem; }

/* Külgriba */
.property-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* Maakleri boks */
.broker-box { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.broker-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--color-navy); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.broker-initials { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-white); font-weight: 600; }
.broker-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--color-navy); margin-bottom: 0.25rem; }
.broker-title { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.broker-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.btn-contact {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem; border-radius: var(--radius-md);
  font-size: 0.85rem; font-weight: 600; transition: all var(--transition);
  border: 1.5px solid transparent;
}
.btn-phone { background: var(--color-navy); color: var(--color-white); }
.btn-phone:hover { background: var(--color-navy-dark); }
.btn-whatsapp { background: var(--color-whatsapp); color: var(--color-white); }
.btn-whatsapp:hover { background: #1da851; }
.btn-email { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn-email:hover { background: var(--color-navy); color: var(--color-white); }

/* Päringuvorm */
.inquiry-form-wrap { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; }
.inquiry-form-wrap h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-navy); margin-bottom: 1.25rem; }

@media (max-width: 1023px) {
  .property-detail-container { grid-template-columns: 1fr; }
  .property-params { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   VORMID
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--color-text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--color-text); background: var(--color-white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-navy); }
.form-group textarea { resize: vertical; min-height: 100px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   TEENUSED
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-navy); }
.service-icon { color: var(--color-navy); margin-bottom: 1.25rem; }
.service-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--color-navy); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.service-link { font-size: 0.875rem; font-weight: 600; color: var(--color-navy); transition: color var(--transition); }
.service-link:hover { color: var(--color-gold); }

.services-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.service-detail-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: 2rem; }
.service-detail-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-detail-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-navy); margin-bottom: 0.75rem; }
.service-detail-card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1rem; }

/* ============================================================
   MIKS VALIDA MEID
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-desc { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.why-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.why-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.why-list li svg { color: var(--color-success); flex-shrink: 0; }
.why-image-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.why-image-wrap img { width: 100%; height: 480px; object-fit: cover; }
.why-badge {
  position: absolute; bottom: 2rem; left: 2rem;
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 1rem 1.5rem; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center;
}
.why-badge-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-navy); }
.why-badge-text { font-size: 0.75rem; color: var(--color-text-muted); text-align: center; }
@media (max-width: 1023px) { .why-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   TESTIMONIALID
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 2rem; }
.testimonial-stars { color: var(--color-gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-text { color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; color: var(--color-navy); font-weight: 600; flex-shrink: 0; }
.testimonial-name { font-weight: 600; color: var(--color-white); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   KONTAKTI CTA
   ============================================================ */
.cta-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; background: var(--color-bg); border-radius: var(--radius-xl); padding: 3rem; border: 1px solid var(--color-border); }
.cta-title { font-family: var(--font-display); font-size: 2rem; color: var(--color-navy); margin-bottom: 0.5rem; }
.cta-desc { color: var(--color-text-muted); max-width: 480px; }
.cta-contact-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============================================================
   MEIST LEHT
   ============================================================ */
.broker-profile-grid { display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: start; }
.broker-photo { width: 100%; border-radius: var(--radius-xl); }
.broker-photo-placeholder { width: 100%; aspect-ratio: 3/4; background: var(--color-navy); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 6rem; color: var(--color-white); }
.broker-badge-wrap { margin-top: 1rem; text-align: center; }
.broker-badge-kv { display: inline-block; background: var(--color-gold); color: var(--color-navy); font-size: 0.8rem; font-weight: 700; padding: 0.4rem 1rem; border-radius: 100px; letter-spacing: 0.05em; }
.broker-tagline { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.broker-stats-row { display: flex; gap: 2rem; margin: 1.5rem 0; }
.broker-stat { display: flex; flex-direction: column; }
.stat-n { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-navy); }
.stat-l { font-size: 0.8rem; color: var(--color-text-muted); }
.broker-contacts-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.company-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table td { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.9rem; }
.company-table td:first-child { color: var(--color-text-muted); width: 40%; }
.company-table td:last-child { font-weight: 500; }
@media (max-width: 1023px) { .broker-profile-grid { grid-template-columns: 1fr; } .company-info-grid { grid-template-columns: 1fr; } }

/* ============================================================
   KONTAKT LEHT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon { width: 44px; height: 44px; background: var(--color-bg); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--color-navy); }
.contact-label { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.contact-value { font-weight: 600; color: var(--color-navy); font-size: 0.95rem; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; margin-top: 1.5rem; }
.contact-form-wrap { background: var(--color-bg); border-radius: var(--radius-xl); padding: 2.5rem; }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-navy); margin-bottom: 1.5rem; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BLOGI
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-content { padding: 1.5rem; }
.blog-card-meta { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.blog-card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--color-navy); margin-bottom: 0.75rem; line-height: 1.3; }
.blog-card-title a:hover { color: var(--color-gold); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-read-more { font-size: 0.875rem; font-weight: 600; color: var(--color-navy); }

.blog-post { max-width: 800px; margin: 0 auto; padding: 3rem 0; }
.post-header { margin-bottom: 2rem; }
.post-meta { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.post-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; color: var(--color-navy); line-height: 1.2; }
.post-thumbnail { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; }
.post-thumbnail img { width: 100%; height: 400px; object-fit: cover; }
.post-content { line-height: 1.8; }
.post-content h2, .post-content h3 { font-family: var(--font-display); color: var(--color-navy); margin: 2rem 0 1rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-nav { margin-top: 3rem; }

/* ============================================================
   LEHE HERO
   ============================================================ */
.page-hero { padding: 3rem 0 2.5rem; }
.page-hero-light { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.page-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--color-navy); margin-bottom: 0.5rem; }
.page-subtitle { color: var(--color-text-muted); font-size: 1.05rem; }
.page-content { max-width: 800px; line-height: 1.8; }
.page-content h2, .page-content h3 { font-family: var(--font-display); color: var(--color-navy); margin: 2rem 0 1rem; }
.page-content p { margin-bottom: 1.25rem; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb ol { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb li { font-size: 0.8rem; color: var(--color-text-muted); }
.breadcrumb li::after { content: '/'; margin-left: 0.5rem; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb li a { color: var(--color-text-muted); transition: color var(--transition); }
.breadcrumb li a:hover { color: var(--color-navy); }
.breadcrumb li[aria-current="page"] { color: var(--color-navy); font-weight: 500; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 600; border: 1.5px solid var(--color-border);
  color: var(--color-text); transition: all var(--transition);
}
.pagination .page-numbers:hover { border-color: var(--color-navy); color: var(--color-navy); }
.pagination .page-numbers.current { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.pagination .prev, .pagination .next { width: auto; padding: 0 1rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap { max-width: 90vw; max-height: 90vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: white; font-size: 1.5rem; background: rgba(255,255,255,0.1); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 3rem; background: rgba(255,255,255,0.1); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.875rem; }

/* ============================================================
   WHATSAPP UJUV NUPP
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--color-whatsapp); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--color-navy); color: white; font-size: 0.8rem; font-weight: 600;
  padding: 0.4rem 0.75rem; border-radius: var(--radius-md);
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ============================================================
   JALUS
   ============================================================ */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,0.8); }
.footer-top { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-brand .brand-text-light .brand-crh { color: var(--color-white); }
.footer-brand .brand-text-light .brand-kinnisvara { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 1rem 0; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all var(--transition); }
.footer-social a:hover { background: var(--color-gold); color: var(--color-navy); }
.footer-heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-white); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links li a:hover { color: var(--color-gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--color-gold); }
.footer-contact-list li a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact-list li a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy, .footer-reg { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ============================================================
   MOBIIL
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .properties-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .cta-contact-inner { flex-direction: column; }
  .cta-contact-actions { flex-direction: column; }
  .property-params { grid-template-columns: repeat(2, 1fr); }
  .broker-stats-row { gap: 1rem; }
  .gallery-main-img { height: 280px; }
}

/* ============================================================
   HERO BADGE (alanyareal stiil)
   ============================================================ */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
  padding: 0.4rem 1rem; margin-bottom: 1.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
}

/* ============================================================
   KONTAKTILEHT
   ============================================================ */
.contact-hero {
  background: #1a2744;
  padding: 5rem 0 3rem;
  margin-top: var(--header-h);
}
.contact-hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px; padding: 0.3rem 0.85rem; margin-bottom: 1rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.contact-hero-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; color: #fff; margin-bottom: 0.5rem; line-height: 1.2;
}
.contact-hero-sub { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

.contact-body { padding: 4rem 0 5rem; }

.contact-layout {
  display: grid; grid-template-columns: 2fr 3fr; gap: 2.5rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* Info column */
.contact-person { margin-bottom: 1.5rem; }
.contact-person-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: #1a2744; margin-bottom: 0.2rem;
}
.contact-person-title { font-size: 0.85rem; color: #6b7280; }

.contact-cards { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.contact-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem; border-radius: 0.75rem;
  border: 1px solid #f1f5f9; background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover { border-color: #e2e8f0; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.contact-card-icon {
  width: 36px; height: 36px; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card-label { font-size: 0.7rem; color: #9ca3af; margin-bottom: 0.1rem; }
.contact-card-value { font-size: 0.875rem; font-weight: 600; color: #1e293b; }

.contact-hours {
  background: #f8fafc; border: 1px solid #f1f5f9;
  border-radius: 0.75rem; padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.contact-hours-header {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #6b7280; margin-bottom: 0.75rem;
}
.contact-hours-row {
  display: flex; justify-content: space-between; font-size: 0.85rem;
  padding: 0.2rem 0;
}
.hours-day { color: #6b7280; }
.hours-time { font-weight: 600; color: #1e293b; }
.hours-closed { color: #9ca3af; font-weight: 400; }

.contact-video-cta {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.1rem; border-radius: 0.75rem;
  background: #1a2744; color: #fff;
  transition: opacity var(--transition), transform var(--transition);
}
.contact-video-cta:hover { opacity: 0.92; transform: translateY(-1px); }
.cta-title { font-size: 0.875rem; font-weight: 600; }
.cta-sub { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* Form column */
.contact-form-wrap {
  background: #fff; border: 1px solid #f1f5f9;
  border-radius: 1rem; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 2rem 2.25rem;
}
.form-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: #1e293b; margin-bottom: 1.5rem;
}
.crh-contact-form .form-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
}
@media (max-width: 600px) { .crh-contact-form .form-row-2 { grid-template-columns: 1fr; } }
.crh-contact-form .form-field { margin-bottom: 1rem; }
.crh-contact-form label {
  display: block; font-size: 0.75rem; font-weight: 600;
  color: #475569; margin-bottom: 0.4rem;
}
.crh-contact-form input,
.crh-contact-form textarea {
  width: 100%; padding: 0.65rem 1rem;
  border: 1.5px solid #e2e8f0; border-radius: 0.75rem;
  font-family: var(--font-body); font-size: 0.875rem; color: #1e293b;
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.crh-contact-form input:focus,
.crh-contact-form textarea:focus {
  outline: none; border-color: #1a2744;
  box-shadow: 0 0 0 3px rgba(26,39,68,0.08);
}
.crh-contact-form textarea { resize: none; }
.btn-send {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem; border-radius: 0.75rem;
  background: #1a2744; color: #fff;
  font-size: 0.875rem; font-weight: 600;
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer; border: none;
}
.btn-send:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-send:active { transform: scale(0.98); }

/* Map */
.contact-map-wrap {
  border-radius: 1rem; overflow: hidden;
  border: 1px solid #f1f5f9; box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* ============================================================
   LEHETEMPLATE ÜLDINE (page.php, page-meist jne)
   ============================================================ */
.page-hero {
  background: #1a2744; padding: 5rem 0 3rem; margin-top: var(--header-h);
}
.page-hero .page-title {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem);
  font-weight: 600; color: #fff; margin-bottom: 0.5rem;
}
.page-hero .page-subtitle { font-size: 0.9rem; color: rgba(255,255,255,0.6); }


/* === CRH Custom: Language Switcher Uppercase + Hide Hero Search === */
.lang-item a { text-transform: uppercase !important; }
.hero-search { display: none !important; }
/* === End CRH Custom === */
