/* ═══════════════════════════════════════════
   LAPLAND LKV — Global Stylesheet
   ═══════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  /* Colors */
  --snow:          #F4F5F7;
  --mist:          #D9DDE6;
  --arctic:        #A9B7D4;
  --dusty:         #E7B4B0;
  --warm-rose:     #D99C96;
  --charcoal:      #222222;
  --midnight:      #3E547F;
  --midnight-dark: #2d3f61;
  --text-muted:    #666;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: 88px;
  --container-max: 1100px;
  --container-pad: 40px;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

@keyframes pageLoad {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  font-family: var(--font-sans);
  background: var(--snow);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: pageLoad 0.4s ease-out both;
  overflow-x: hidden;
  width: 100%;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }

p { color: var(--text-muted); line-height: 1.75; }

a { color: inherit; text-decoration: none; }

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

.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 14px;
  font-weight: 500;
}
.section-intro          { max-width: 520px; margin-bottom: 56px; }
.section-intro h2       { margin-bottom: 14px; }
.section-intro p        { font-size: 15px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Transparent by default */
  background: transparent;
  border-bottom: 0.5px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Scrolled state: dark solid background */
nav.nav-scrolled {
  background: rgba(34, 34, 34, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--midnight) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-size: 13px !important;
  opacity: 1 !important;
}

.nav-wa {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 13px !important;
}
.nav-wa svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 50, 0.55) 0%,
    rgba(20, 30, 50, 0.35) 50%,
    rgba(20, 30, 50, 0.75) 100%
  );
}
/* Placeholder when no video */
.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a2a40 0%, #2d3f61 50%, #3E547F 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}
.hero-tag {
  display: inline-block;
  border: 0.5px solid rgba(169, 183, 212, 0.6);
  color: var(--arctic);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  max-width: 640px;
  margin-bottom: 22px;
}
.hero-lead {
  color: rgba(217, 221, 230, 0.85);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  min-height: 44px;
  font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s ease-out, background 0.2s;
  border: none;
}
.btn:hover       { opacity: 0.9; transform: translateY(-2px); }
.btn-dark        { background: var(--midnight); color: #fff; }
.btn-ghost       { background: transparent; color: #fff; border: 0.5px solid rgba(255, 255, 255, 0.45); }
.btn-primary     { background: var(--midnight); color: #fff; }
.btn-outline     { background: transparent; color: var(--midnight); border: 0.5px solid var(--midnight); }

/* ── AREAS ── */
.areas-section { background: #fff; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.area-card {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.area-card:first-child  { grid-column: span 2; height: 260px; }
.area-card:nth-child(2) { height: 260px; } /* Ylläs — sama korkeus kuin Levi samalla rivillä */
.area-card:hover       { transform: scale(1.01); }
.area-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s;
}
.area-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}
.area-card:hover .area-bg  { transform: scale(1.04); }
.area-card:hover .area-img { transform: scale(1.04); }

/* dark gradient overlay so text stays readable over photos */
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.area-levi       { background: linear-gradient(160deg, #1e3350, #3E547F); }
.area-yllas      { background: linear-gradient(160deg, #263a26, #3d5c3a); }
.area-rovaniemi  { background: linear-gradient(160deg, #3a2618, #6b4028); }
.area-saariselka { background: linear-gradient(160deg, #182a38, #2a4a5a); }
.area-kilpisjarvi{ background: linear-gradient(160deg, #1e2838, #324460); }
.area-inari      { background: linear-gradient(160deg, #20203a, #363660); }

.area-label { position: absolute; bottom: 20px; left: 22px; z-index: 2; }
.area-label h3  { font-size: 22px; color: #fff; margin-bottom: 4px; }
.area-label p   { font-size: 11px; color: var(--arctic); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── VALUE PROPS ── */
.value-section { background: var(--snow); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 8px;
}
.value-item h3  { font-size: 18px; color: var(--charcoal); margin-bottom: 10px; }
.value-item p   { font-size: 14px; }
.value-arrow {
  font-size: 12px;
  color: var(--arctic);
  display: block;
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.value-divider { width: 24px; height: 1px; background: var(--arctic); margin-bottom: 18px; }

/* ── TEAM ── */
.team-section             { background: var(--charcoal); }
.team-section .section-label { color: var(--arctic); }
.team-section h2          { color: #fff; }
.team-section .section-intro p { color: rgba(217, 221, 230, 0.75); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.team-card {
  background: var(--charcoal);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.team-card--linked { cursor: pointer; }
.team-card--linked:hover { border-color: var(--arctic); transform: translateY(-4px); }
.team-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.team-contact {
  position: relative;
  z-index: 2;
}
.team-photo-wrap {
  overflow: hidden;
  height: 320px;
  flex-shrink: 0;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo {
  transform: scale(1.05);
}

/* Per-person object-position — kasvot samalle tasolle kaikissa korteissa */
.team-card:nth-child(1) .team-photo { object-position: center top;  } /* Tanja   — referenssi        */
.team-card:nth-child(2) .team-photo { object-position: center top;  } /* Juha    — vaakakuva, top ok */
.team-card:nth-child(3) .team-photo { object-position: center 10%;  } /* Saku    — gogglet, pieni säätö */
.team-card:nth-child(4) .team-photo { object-position: center top;  } /* Riikka  — pää ei leikkaudu  */
.team-info {
  padding: 20px 22px 24px;
}
.team-name    { font-family: var(--font-serif); font-size: 16px; color: #fff; margin-bottom: 3px; }
.team-role    { font-size: 11px; color: var(--arctic); margin-bottom: 14px; letter-spacing: 0.04em; }
.team-contact a {
  display: block;
  font-size: 11px;
  color: rgba(217, 221, 230, 0.55);
  margin-bottom: 3px;
  transition: color 0.2s;
}
.team-contact a:hover { color: #fff; }
.team-wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(217, 221, 230, 0.4) !important;
}
.team-wa svg { width: 12px; height: 12px; }

/* ── SERVICES ── */
.services-section { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--mist);
}
.service-item {
  padding: 32px;
  border-right: 0.5px solid var(--mist);
  border-bottom: 0.5px solid var(--mist);
}
.service-item:nth-child(3n)      { border-right: none; }
.service-item:nth-last-child(-n+3) { border-bottom: none; }
.service-title {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: 10px;
  font-weight: 400;
}
.service-desc { font-size: 14px; line-height: 1.65; }

/* ── SELLING ── */
.selling-section { background: var(--midnight); }
.selling-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.selling-section .section-label { color: var(--arctic); }
.selling-section h2             { color: #fff; margin-bottom: 16px; }
.selling-section p              { color: rgba(217, 221, 230, 0.8); margin-bottom: 28px; }
.selling-steps                  { margin-bottom: 36px; }
.selling-step {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}
.selling-step:first-child { border-top: 0.5px solid rgba(255, 255, 255, 0.1); }
.step-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: rgba(169, 183, 212, 0.4);
  min-width: 28px;
  line-height: 1.4;
}
.step-content h4 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.step-content p  { font-size: 14px; color: rgba(217, 221, 230, 0.65); margin: 0; }
.selling-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.selling-point {
  padding: 22px;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.selling-point h4 { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.selling-point p  { font-size: 13px; color: rgba(169, 183, 212, 0.8); margin: 0; }

/* ── CONTACT ── */
.contact-section { background: var(--snow); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-section h2                                        { margin-bottom: 14px; }
.contact-section > .container > .contact-inner > div > p  { margin-bottom: 36px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--mist);
  font-size: 14px;
  color: var(--charcoal);
}
.contact-detail a   { color: var(--midnight); }
.contact-detail svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--arctic); }
.contact-form       { display: flex; flex-direction: column; gap: 10px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 0.5px solid var(--mist);
  background: #fff;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--arctic); }
.contact-form textarea       { height: 110px; resize: vertical; }
.contact-form .submit {
  background: var(--midnight);
  color: #fff;
  padding: 14px 28px;
  border: none;
  font-size: 14px;
  font-family: var(--font-sans);
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.contact-form .submit:hover { background: var(--midnight-dark); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 48px 0 32px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-logo-link { display: inline-block; margin-bottom: 8px; }
.footer-logo-img  { height: 52px; width: auto; display: block; opacity: 0.9; }
.footer-tagline   { font-size: 13px; color: rgba(255, 255, 255, 0.3); }
.footer-links     { display: flex; gap: 28px; align-items: center; }
.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-bottom {
  padding-top: 24px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255, 255, 255, 0.25); }
.footer-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-top: 0.5px solid rgba(255,255,255,0.12);
  margin-top: 24px;
}
.trust-logo {
  height: 52px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.75;
  filter: brightness(0) invert(1);
}
.trust-logo:hover { opacity: 1; }
.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  max-width: 700px;
  margin-top: 12px;
  line-height: 1.6;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: linear-gradient(160deg, #1a2a40 0%, #2d3f61 50%, #3E547F 100%);
  padding: 148px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 50, 0.60) 0%,
    rgba(20, 30, 50, 0.40) 50%,
    rgba(20, 30, 50, 0.78) 100%
  );
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-label { color: var(--arctic); }
.page-hero h1             { color: #fff; margin-bottom: 16px; }
.page-hero .page-lead {
  color: rgba(217, 221, 230, 0.85);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FILTER BAR ── */
.filter-section {
  background: #fff;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--mist);
  position: sticky;
  top: 88px;
  z-index: 50;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 7px 16px;
  font-size: 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  border: 0.5px solid var(--mist);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.filter-pill:hover      { border-color: var(--arctic); color: var(--charcoal); }
.filter-pill.active     { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.filter-search {
  flex: 1;
  max-width: 240px;
  padding: 9px 14px;
  border: 0.5px solid var(--mist);
  background: var(--snow);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.filter-search:focus { border-color: var(--arctic); }

/* ── PROPERTY CARDS ── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.property-card {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s;
}
.property-card:hover           { box-shadow: 0 6px 28px rgba(0,0,0,0.09); }
.property-card-img-wrap        { position: relative; height: 210px; overflow: hidden; }
.property-card-img             { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.property-card:hover .property-card-img { transform: scale(1.04); }
.property-area-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(20, 30, 50, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.property-card-body      { padding: 20px 22px 26px; }
.property-type           { font-size: 11px; color: var(--arctic); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.property-title          { font-family: var(--font-serif); font-size: 17px; color: var(--charcoal); margin-bottom: 6px; font-weight: 400; }
.property-meta           { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.property-price          { font-family: var(--font-serif); font-size: 20px; color: var(--midnight); font-weight: 400; }
.property-placeholder    { opacity: 0.4; }

/* "Tilaa esite" -nappi kohdekorteissa */
.btn-esite {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 18px;
  font-size: 12px;
  font-family: inherit;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--midnight);
  background: transparent;
  border: 0.5px solid var(--midnight);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-esite:hover { background: var(--midnight); color: #fff; }

/* "Katso kohde" / "View property" primary link in property cards */
.btn-card-view {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--arctic);
  color: #fff;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-card-view:hover { background: var(--midnight); }
.btn-card-view + .btn-esite { margin-top: 8px; }

/* Skeleton loader */
.property-skeleton {
  background: #fff;
  overflow: hidden;
}
.skel {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: skel-shine 1.4s infinite;
  border-radius: 2px;
}
.skel-img  { height: 210px; margin-bottom: 0; }
.skel-body { padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.skel-line { height: 14px; }
.skel-short { width: 40%; }
.skel-mid   { width: 65%; }
@keyframes skel-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── ESITE MODAL ── */
.esite-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 43, 0.6);
  backdrop-filter: blur(3px);
}
.esite-modal-box {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 48px 52px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#esite-modal.is-open .esite-modal-box {
  opacity: 1;
  transform: translateY(0);
}
.esite-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
}
.esite-modal-close:hover { color: var(--midnight); }
.esite-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.esite-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--midnight);
  margin-bottom: 6px;
}
.esite-label span { color: var(--text-muted); }
.esite-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--mist);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}
.esite-input:focus { outline: none; border-color: var(--arctic); }
.esite-textarea { resize: vertical; min-height: 80px; }
@media (max-width: 600px) {
  .esite-modal-box { padding: 32px 24px 36px; }
  .esite-form-row  { grid-template-columns: 1fr; }
}

/* ── PROCESS STEPS (full-page) ── */
.process-list    { list-style: none; }
.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 0.5px solid var(--mist);
}
.process-item:first-child      { border-top: 0.5px solid var(--mist); }
.process-num-large {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--mist);
  line-height: 1.1;
  padding-top: 2px;
}
.process-content h3            { font-size: 20px; color: var(--charcoal); margin-bottom: 10px; }
.process-content p             { font-size: 15px; max-width: 580px; }

/* ── CTA BAND ── */
.cta-band        { background: var(--midnight); padding: 72px 0; text-align: center; }
.cta-band h2     { color: #fff; margin-bottom: 14px; }
.cta-band p      { color: rgba(217, 221, 230, 0.75); max-width: 480px; margin: 0 auto 32px; font-size: 15px; }

/* ── VALUE CARDS (3-col) ── */
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--mist);
}
.value-card {
  padding: 36px 32px;
  border-right: 0.5px solid var(--mist);
}
.value-card:last-child    { border-right: none; }
.value-card-num           { font-family: var(--font-serif); font-size: 36px; color: var(--mist); display: block; margin-bottom: 16px; }
.value-card h3            { font-size: 17px; color: var(--charcoal); margin-bottom: 10px; }
.value-card p             { font-size: 14px; }

/* ── BRAND STORY ── */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
.brand-story h2            { margin-bottom: 22px; }
.brand-story p             { margin-bottom: 16px; font-size: 15px; }
.brand-story p:last-child  { margin-bottom: 0; }
.brand-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--mist);
}
.brand-fact {
  background: #fff;
  padding: 28px 24px;
}
.brand-fact-num  { font-family: var(--font-serif); font-size: 36px; color: var(--midnight); display: block; margin-bottom: 6px; }
.brand-fact-desc { font-size: 13px; color: var(--text-muted); }

/* ── CONTACT TEAM CARDS ── */
.contact-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.contact-team-card {
  background: #fff;
  display: flex;
  gap: 24px;
  padding: 28px 28px;
  align-items: flex-start;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.contact-team-card--linked { cursor: pointer; }
.contact-team-card--linked:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.contact-team-card .contact-card-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-team-card .contact-team-links {
  position: relative;
  z-index: 1;
}
.contact-team-card .contact-team-photo { position: relative; z-index: 1; }
.contact-team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  flex-shrink: 0;
}
.contact-team-info h4          { font-family: var(--font-serif); font-size: 16px; font-weight: 400; margin-bottom: 3px; }
.contact-team-role             { font-size: 11px; color: var(--arctic); letter-spacing: 0.04em; margin-bottom: 12px; }
.contact-team-links a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.contact-team-links a:hover    { color: var(--midnight); }
.contact-team-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: #25D366 !important;
}
.contact-team-wa svg           { width: 13px; height: 13px; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Fade-only for elements that have their own hover transforms */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.reveal-fade.revealed {
  opacity: 1;
}

/* ── PREFERS-REDUCED-MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE SUBPAGES ── */
@media (max-width: 900px) {
  .property-grid         { grid-template-columns: 1fr 1fr; }
  .value-cards           { grid-template-columns: 1fr; }
  .value-card            { border-right: none; border-bottom: 0.5px solid var(--mist); }
  .value-card:last-child { border-bottom: none; }
  .brand-story           { grid-template-columns: 1fr; gap: 48px; }
  .contact-team-grid     { grid-template-columns: 1fr; }
  .process-item          { grid-template-columns: 44px 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .property-grid         { grid-template-columns: 1fr; }
  .filter-bar            { flex-direction: column; align-items: flex-start; }
  .filter-pills          { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; }
  .filter-pill           { white-space: nowrap; flex-shrink: 0; }
  .filter-search         { max-width: 100%; width: 100%; }
  .brand-facts           { grid-template-columns: 1fr; }
  .contact-team-card     { flex-direction: column; }
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  background: #25D366;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg   { width: 26px; height: 26px; }

/* ── HAMBURGER (mobiili) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

/* Mobile menu auki */
nav.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 88px; left: 0; right: 0;
  background: rgba(34, 34, 34, 0.97);
  padding: 20px 20px 28px;
  gap: 18px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root {
    --section-pad: 64px;
    --container-pad: 24px;
  }
  .areas-grid                      { grid-template-columns: 1fr 1fr; }
  .area-card:first-child            { grid-column: span 2; }
  .value-grid                      { grid-template-columns: 1fr; gap: 32px; }
  .team-grid                       { grid-template-columns: 1fr 1fr; }
  .team-photo-wrap                 { height: 280px; }
  .services-grid                   { grid-template-columns: 1fr 1fr; }
  .service-item:nth-child(2n)      { border-right: none; }
  .service-item:nth-child(3n)      { border-right: 0.5px solid var(--mist); }
  .selling-inner                   { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner                   { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner                    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links                       { display: none; }
  .nav-hamburger                   { display: flex; }
  .container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .areas-grid                      { grid-template-columns: 1fr; }
  .area-card:first-child            { grid-column: span 1; }
  .team-grid                       { grid-template-columns: 1fr; }
  .team-photo-wrap                 { height: 260px; }
  .services-grid                   { grid-template-columns: 1fr; }
  .service-item:nth-child(n)       { border-right: none; }
  .selling-points                  { grid-template-columns: 1fr; }
  .hero-btns                       { flex-direction: column; }
  .btn                             { text-align: center; }
  .footer-bottom                   { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links                    { flex-wrap: wrap; gap: 16px; }
}

/* ── SEARCH PANEL ── */
.search-panel {
  background: #fff;
  border-bottom: 0.5px solid var(--mist);
  padding: 28px 0 24px;
}
.search-primary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.search-label {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-sans);
}
.search-select,
.search-num {
  height: 44px;
  padding: 0 14px;
  border: 0.5px solid var(--mist);
  background: var(--snow);
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.search-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b0b8c1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
  cursor: pointer;
}
.search-select:focus,
.search-num:focus { border-color: var(--arctic); }
.search-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.search-run {
  height: 44px;
  padding: 0 28px;
  background: var(--midnight);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  align-self: end;
  transition: background 0.2s;
}
.search-run:hover { background: #1a2535; }

/* Toggle */
.search-toggle-row {
  margin-top: 16px;
}
.search-toggle-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-toggle-btn:hover { color: var(--charcoal); }
.toggle-arrow { transition: transform 0.25s; }
.search-toggle-btn.is-open .toggle-arrow { transform: rotate(180deg); }

/* Secondary panel */
.search-secondary {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.search-secondary.is-open { max-height: 300px; }
.search-secondary-inner {
  padding-top: 20px;
  border-top: 0.5px solid var(--mist);
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px 20px;
}

/* Button groups for rooms & purpose */
.search-btn-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.btn-toggle {
  height: 36px;
  padding: 0 14px;
  border: 0.5px solid var(--mist);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-toggle.is-active {
  background: var(--midnight);
  color: #fff;
  border-color: var(--midnight);
}
.btn-toggle:hover:not(.is-active) {
  border-color: var(--arctic);
  color: var(--charcoal);
}

/* Results count */
.results-count {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  margin-bottom: 32px;
}

/* No results block */
.no-results-block {
  text-align: center;
  padding: 64px 0;
}
.no-results-block .no-results-title {
  font-size: 17px;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-weight: 400;
  margin-bottom: 10px;
}
.no-results-block .no-results-sub {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  margin-bottom: 32px;
}

/* Search panel responsive */
@media (max-width: 900px) {
  .search-primary            { grid-template-columns: 1fr 1fr; }
  .search-run                { grid-column: 1 / -1; }
  .search-secondary-inner    { grid-template-columns: 1fr 1fr; }
  .search-secondary.is-open  { max-height: 500px; }
}
@media (max-width: 600px) {
  .search-primary            { grid-template-columns: 1fr; }
  .search-secondary-inner    { grid-template-columns: 1fr; }
  .search-secondary.is-open  { max-height: 800px; }
}

/* ── AREA-CARD LINK ── */
a.area-card { text-decoration: none; color: inherit; display: block; }

/* ── EXPERIENCE GRID ── */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 32px;
}
.experience-card { display: flex; flex-direction: column; }
.experience-card-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-color: var(--mist);
}
.experience-card-title {
  padding: 14px 0 0;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--charcoal);
  font-weight: 400;
}
@media (max-width: 900px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .experience-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE: piilota alasivujen videot — poster-kuva fallbackina ── */
/* Etusivun .hero-video saa pyöriä mobiilissa (4.9 MB, muted+playsinline) */
@media (max-width: 768px) {
  .page-hero-video { display: none; }

  /* Tummennettu overlay mobiililla jotta poster-kuvan mahdolliset tekstit eivät näy */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(20, 30, 50, 0.70) 0%,
      rgba(20, 30, 50, 0.58) 50%,
      rgba(20, 30, 50, 0.82) 100%
    );
  }
  .page-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(20, 30, 50, 0.72) 0%,
      rgba(20, 30, 50, 0.60) 50%,
      rgba(20, 30, 50, 0.84) 100%
    );
  }
}

/* ── AREA PAGE MARKKINA ── */
.area-markkina { background: var(--charcoal); }
.area-markkina .section-label { color: var(--arctic); }
.area-markkina h2             { color: #fff; }
.area-markkina .value-divider { background: var(--arctic); }
.area-markkina .value-item h3 { color: #fff; }
.area-markkina .value-item p  { color: rgba(217, 221, 230, 0.75); }

/* ── LANGUAGE SWITCHER ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-left: auto;
  margin-right: 12px;
  flex-shrink: 0;
}
.lang-switch a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; padding: 6px 4px; min-height: 44px; display: flex; align-items: center; }
.lang-switch a:hover, .lang-switch a.lang-active { color: #fff; }
.lang-switch span { color: rgba(255,255,255,0.3); margin: 0 2px; }
@media (max-width: 768px) {
  .lang-switch { margin-right: 6px; font-size: 13px; }
  .lang-switch a { padding: 8px 6px; min-height: 44px; }
}

/* ── MEDIA CARDS ── */
.media-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.media-card { display: flex; flex-direction: column; background: #fff; border: 0.5px solid var(--mist); padding: 24px; text-decoration: none; color: inherit; transition: transform 0.25s ease, border-color 0.25s ease; }
.media-card:hover { transform: translateY(-3px); border-color: var(--arctic); }
.media-logo { height: 28px; max-height: 28px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.65); transition: filter 0.25s ease; margin-bottom: 16px; display: block; }
.media-card:hover .media-logo { filter: none; }
.media-name { font-family: 'Playfair Display', serif; font-size: 13px; color: var(--arctic); letter-spacing: 0.05em; margin-bottom: 8px; }
.media-text { font-size: 14px; color: var(--text-muted); line-height: 1.55; flex: 1; margin: 0 0 16px; }
.media-read { font-size: 13px; color: var(--midnight); font-weight: 500; }
@media (max-width: 768px) { .media-cards-grid { grid-template-columns: 1fr; } }
