/*!
 * Livest Design System — shared styles
 * © 2025 Livest Kinnisvara
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --lv-navy:      #1a3a6b;
  --lv-navy-dark: #0f2347;
  --lv-gold:      #c8b89a;
  --lv-cream:     #f8f9fc;
  --lv-surface:   #f0f4fa;
  --lv-text:      #1a1a2e;
  --lv-muted:     #6a7080;
}

body {
  background: var(--lv-cream);
  color: var(--lv-text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a { text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
img { display: block; max-width: 100%; }

/* ─── Buttons ──────────────────────────────────────────── */
.lv-btn {
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  border: 0.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.18s, background 0.18s;
  white-space: nowrap;
  line-height: 1.4;
}
.lv-btn:hover { opacity: 0.85; }

.lv-btn--gold {
  background: var(--lv-gold);
  color: var(--lv-text);
  border-color: var(--lv-gold);
}
.lv-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.lv-btn--ghost:hover { background: rgba(255,255,255,0.1); opacity: 1; }

.lv-btn--ghost-dark {
  background: transparent;
  color: var(--lv-navy);
  border-color: var(--lv-navy);
}
.lv-btn--ghost-gold {
  background: transparent;
  color: var(--lv-gold);
  border-color: var(--lv-gold);
}
.lv-btn--navy {
  background: var(--lv-navy);
  color: #fff;
  border-color: var(--lv-navy);
}
.lv-btn--full { display: block; width: 100%; text-align: center; }

/* ─── Navigation ───────────────────────────────────────── */
.lv-nav {
  background: var(--lv-navy);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
}

.lv-nav__logo {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.lv-nav__links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.lv-nav__links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 0 0.85rem;
  height: 56px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.lv-nav__links a:hover,
.lv-nav__links a.active,
.lv-nav__links a[aria-current="page"] { color: #fff; }

.lv-nav__cta {
  background: var(--lv-gold) !important;
  color: var(--lv-text) !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  height: auto !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}

.lv-nav__cta-pill {
  background: var(--lv-gold) !important;
  color: var(--lv-text) !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  height: auto !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}

.lv-nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.lv-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}

.lv-nav__mobile {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--lv-navy);
  z-index: 199;
  flex-direction: column;
  padding: 0.5rem 0 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.lv-nav__mobile.open { display: flex; }
.lv-nav__mobile a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.lv-nav__mobile .lv-nav__mobile-cta {
  margin: 1rem 2rem 0;
  border-radius: 2px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--lv-gold);
  color: var(--lv-text);
  padding: 10px 22px;
  border-bottom: none;
}

/* ─── Footer ───────────────────────────────────────────── */
.lv-footer {
  background: var(--lv-navy-dark);
  color: rgba(255,255,255,0.6);
}
.lv-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.lv-footer__logo {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
}
.lv-footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.lv-footer__links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.lv-footer__links a:hover { color: #fff; }
.lv-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: right;
}

/* ─── Section label ────────────────────────────────────── */
.lv-label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lv-navy);
  margin-bottom: 0.6rem;
}
.lv-label--gold  { color: var(--lv-gold); }
.lv-label--muted { color: var(--lv-muted); }

/* ─── Container / Section helpers ─────────────────────── */
.lv-container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.lv-section   { padding: 4.5rem 0; }
.lv-section--sm { padding: 2.5rem 0; }

/* ─── Shared form styles ───────────────────────────────── */
.lv-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lv-muted);
  margin-bottom: 0.3rem;
  margin-top: 1rem;
}
.lv-form label:first-child { margin-top: 0; }
.lv-form input,
.lv-form textarea,
.lv-form select {
  width: 100%;
  border: 0.5px solid rgba(26,58,107,0.22);
  border-radius: 2px;
  padding: 0.65rem 0.85rem;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: var(--lv-text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.lv-form input:focus,
.lv-form textarea:focus { border-color: var(--lv-navy); }
.lv-form textarea { resize: vertical; min-height: 100px; }

.lv-form .lv-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: 12px;
  color: var(--lv-muted);
  line-height: 1.5;
}
.lv-form .lv-gdpr input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.lv-form-msg {
  font-size: 13px;
  margin-top: 0.75rem;
  padding: 0.5rem 0;
}
.lv-form-msg--error { color: #c0392b; }
.lv-form-msg--ok    { color: #27ae60; font-weight: 600; }

/* ─── Badge ────────────────────────────────────────────── */
.lv-badge {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 0.5px solid currentColor;
}
.lv-badge--gold  { color: var(--lv-gold); border-color: var(--lv-gold); }
.lv-badge--white { color: #fff; border-color: rgba(255,255,255,0.6); }
.lv-badge--navy  { background: var(--lv-navy); color: #fff; border-color: var(--lv-navy); }
.lv-badge--green { background: #27ae60; color: #fff; border-color: #27ae60; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .lv-nav { padding: 0 1.25rem; }
  .lv-nav__links { display: none; }
  .lv-nav__hamburger { display: flex; }

  .lv-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  .lv-footer__copy { text-align: center; }
  .lv-footer__links { justify-content: center; }

  .lv-section  { padding: 3rem 0; }
  .lv-container { padding: 0 1.25rem; }
}

/* --- Shared heading / subheading ----------------------------- */
.heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--lv-text);
}
.sub-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lv-text);
}

/* --- Contact section (projekt lehed) ------------------------- */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
  color: var(--lv-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid #dde4f0;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fff;
  color: var(--lv-text);
  outline: none;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--lv-navy); }
.contact-form textarea { resize: vertical; }
.contact-form button {
  margin-top: 1rem;
  background: var(--lv-navy);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.contact-form button:hover { background: var(--lv-navy-dark); }
.broker { display: flex; flex-direction: column; gap: 0.5rem; }
.img-container { margin: 0.5rem 0 1rem; }
.broker img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; display: block; }
.with-icon { display: flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0; font-size: 0.95rem; }
.with-icon a { color: var(--lv-navy); text-decoration: none; }
.with-icon a:hover { text-decoration: underline; }
.with-icon.phone::before { content: "📞"; }
.with-icon.email::before { content: "✉️"; }
@media (max-width: 600px) { .contacts { grid-template-columns: 1fr; } }
