/* Klitvej 20 — Nordic Riviera v2 */
:root {
  --sand: #f5ede0;
  --sand-light: #fdf8f3;
  --ocean: #2c7a8c;
  --ocean-dark: #1d5c6b;
  --ocean-light: #e5f2f5;
  --dune: #c4956a;
  --dune-light: #ead9c0;
  --text: #1e2832;
  --text-light: #6b7280;
  --white: #fff;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.18);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  overflow-x: hidden;
  color: var(--text);
}

/* ── HERO ────────────────────────────────────── */
.kv-hero {
  position: relative;
  height: 88vh;
  min-height: 580px;
  background: url("https://dqif0xfu9mg0a.cloudfront.net/imageCache/property/mh-pi-56799084_Crop_1200_630.webp") center 30% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 calc(-50vw + 50%);
}
.kv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(29,92,107,.30) 0%,
    rgba(10,30,40,.05) 45%,
    rgba(10,30,40,.62) 100%
  );
}
/* Wave transition hero → stats */
.kv-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70'%3E%3Cpath fill='%232c7a8c' d='M0,35L80,29C160,23,320,11,480,14C640,17,800,35,960,42C1120,49,1280,43,1360,40L1440,37L1440,70L1360,70C1280,70,1120,70,960,70C800,70,640,70,480,70C320,70,160,70,80,70L0,70Z'/%3E%3C/svg%3E") center bottom / cover no-repeat;
  pointer-events: none;
}
.kv-hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 24px;
}
.kv-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0 0 10px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
  line-height: .95;
  color: #fff !important;
}
.kv-hero .subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  opacity: .92;
  margin: 0 0 44px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  letter-spacing: .4px;
}

/* ── BUTTONS ─────────────────────────────────── */
.kv-btn {
  display: inline-block;
  background: var(--dune);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: all .3s ease;
  box-shadow: 0 4px 20px rgba(196,149,106,.45);
}
.kv-btn:hover {
  background: #ad7a52;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(196,149,106,.55);
}
.kv-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: none;
  margin-left: 12px;
}
.kv-btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  box-shadow: none;
  transform: translateY(-3px);
}

/* ── STATS BAR ───────────────────────────────── */
.kv-stats {
  background: var(--ocean);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 calc(-50vw + 50%);
  position: relative;
  z-index: 1;
}

.kv-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 36px;
  border-right: 1px solid rgba(255,255,255,.15);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .2px;
  transition: background .2s;
}
.kv-stat:hover { background: rgba(255,255,255,.08); }
.kv-stat:last-child { border-right: none; }
.kv-stat .icon { font-size: 1.3rem; }

/* ── SECTIONS ────────────────────────────────── */
.kv-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px;
}
.kv-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--ocean-dark);
  margin: 0 0 10px;
  letter-spacing: -.2px;
  line-height: 1.05;
}
.kv-section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0 0 48px;
  max-width: 560px;
  line-height: 1.8;
}
.kv-divider {
  width: 48px;
  height: 3px;
  background: var(--dune);
  border-radius: 2px;
  margin: 14px 0 26px;
}

/* ── INTRO ───────────────────────────────────── */
.kv-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.kv-intro-text .kv-section-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.kv-intro-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 18px;
}
.kv-intro-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
/* Decorative offset border */
.kv-intro-img::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 2px solid var(--dune);
  border-radius: var(--radius);
  z-index: -1;
  opacity: .35;
  pointer-events: none;
}
.kv-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.kv-intro-img:hover img { transform: scale(1.04); }

/* ── FEATURES ────────────────────────────────── */
.kv-features-bg {
  background: var(--sand-light);
  margin: 0 calc(-50vw + 50%);
  padding: 0 calc(50vw - 50%);
  position: relative;
}

.kv-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.kv-feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.045);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kv-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.kv-feature .icon {
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ocean-light);
  margin: 0 auto 14px;
  transition: background .25s;
}
.kv-feature:hover .icon { background: var(--dune-light); }
.kv-feature .label {
  font-weight: 700;
  color: var(--text);
  font-size: .88rem;
  letter-spacing: .15px;
}
.kv-feature .desc {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 5px;
  line-height: 1.4;
}

/* ── GALLERY ─────────────────────────────────── */
.kv-gallery { columns: 3; column-gap: 10px; }
.kv-gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.kv-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,92,107,.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: 10px;
}
.kv-gallery-item:hover::after { opacity: 1; }
.kv-gallery-item img {
  width: 100%;
  display: block;
  transition: transform .45s ease;
}
.kv-gallery-item:hover img { transform: scale(1.06); }

/* ── LIGHTBOX ────────────────────────────────── */
.kv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.94);
  align-items: center;
  justify-content: center;
}
.kv-lightbox.open { display: flex; }
.kv-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.kv-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
}
.kv-lightbox-close:hover { background: rgba(255,255,255,.22); }
.kv-lightbox-prev, .kv-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: 12px 18px;
  border-radius: 10px;
  line-height: 1;
  transition: background .2s;
}
.kv-lightbox-prev:hover, .kv-lightbox-next:hover { background: rgba(255,255,255,.2); }
.kv-lightbox-prev { left: 16px; }
.kv-lightbox-next { right: 16px; }

/* ── LOCATION ────────────────────────────────── */
.kv-location {
  background: linear-gradient(145deg, #1a5568 0%, var(--ocean-dark) 50%, #163f4e 100%);
  color: #fff;
  margin: 0 calc(-50vw + 50%);
  padding: 0 calc(50vw - 50%);
  position: relative;
}
/* Wave gallery (white) → location (dark) — fully above location section */
.kv-location::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30L120,25C240,20,480,10,720,12C960,14,1200,28,1320,35L1440,42L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z'/%3E%3C/svg%3E") center top / cover no-repeat;
  pointer-events: none;
  z-index: 1;
}

.kv-location .kv-section-title {
  color: #fff;
  font-family: var(--font-heading);
}
.kv-location .kv-section-sub { color: rgba(255,255,255,.75); }
.kv-location .kv-section > .kv-divider { background: var(--dune-light); }
.kv-location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kv-loc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(6px);
  transition: background .25s ease, transform .25s ease;
}
.kv-loc-item:hover {
  background: rgba(255,255,255,.16);
  transform: translateX(5px);
}
.kv-loc-item .icon { font-size: 1.8rem; flex-shrink: 0; }
.kv-loc-item .info strong { display: block; font-size: 1rem; font-weight: 700; }
.kv-loc-item .info span { font-size: .82rem; opacity: .72; }

/* ── TESTIMONIAL ─────────────────────────────── */
.kv-testimonial-bg {
  background: var(--ocean-light);
  margin: 0 calc(-50vw + 50%);
  padding: 0 calc(50vw - 50%);
  position: relative;
}
.kv-testimonial {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  text-align: center;
  position: relative;
}
/* Decorative quotation mark */
.kv-testimonial::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 12rem;
  color: var(--ocean);
  opacity: .1;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.kv-testimonial > * { position: relative; z-index: 1; }
.kv-testimonial .kv-divider { margin: 14px auto 28px; }
.kv-testimonial .kv-section-title { color: var(--ocean-dark); font-family: var(--font-heading); }
.kv-testimonial .kv-section-sub { max-width: 520px; margin-left: auto; margin-right: auto; }
.kv-rating-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 32px 0 28px;
}
.kv-rating-item {
  background: #fff;
  border-radius: 14px;
  padding: 20px 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .2s;
}
.kv-rating-item:hover { transform: translateY(-3px); }
.kv-rating-stars {
  color: #f4a623;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.kv-rating-label { font-size: .82rem; color: var(--text); font-weight: 700; }
.kv-attribution { margin-top: 20px; font-style: italic; color: var(--text-light); font-size: .9rem; }
.kv-attribution strong { color: var(--ocean-dark); font-style: normal; }

/* ── CTA ─────────────────────────────────────── */
.kv-cta {
  text-align: center;
  background: linear-gradient(155deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  margin: 0 calc(-50vw + 50%);
  padding: 110px calc(50vw - 50%);
  color: #fff;
  position: relative;
}

.kv-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.05;
}
.kv-cta p { font-size: 1.1rem; opacity: .85; margin: 0 0 44px; line-height: 1.65; }
.kv-cta .kv-btn {
  background: var(--dune);
  font-size: .9rem;
  padding: 16px 52px;
  box-shadow: 0 4px 28px rgba(0,0,0,.35);
}
.kv-cta .kv-btn:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

/* ── FOOTER INFO ─────────────────────────────── */
.kv-footer-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 24px;
  border-top: 1px solid rgba(0,0,0,.07);
  font-size: .88rem;
  color: var(--text-light);
}
.kv-footer-info a { color: var(--ocean); text-decoration: none; font-weight: 600; }
.kv-footer-info a:hover { color: var(--ocean-dark); text-decoration: underline; }

/* ── SCROLL ANIMATIONS ───────────────────────── */
.kv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.kv-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.kv-reveal-delay-1 { transition-delay: .1s; }
.kv-reveal-delay-2 { transition-delay: .2s; }
.kv-reveal-delay-3 { transition-delay: .3s; }
.kv-reveal-delay-4 { transition-delay: .4s; }

/* ── RESPONSIVE ──────────────────────────────── */
@media(max-width: 1024px) {
  .kv-features-grid { grid-template-columns: repeat(3, 1fr); }
  .kv-rating-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width: 768px) {
  .kv-hero { height: 72vh; min-height: 480px; }
  .kv-intro { grid-template-columns: 1fr; gap: 36px; }
  .kv-intro-img { order: -1; }
  .kv-stat { padding: 14px 18px; font-size: .85rem; }
  .kv-gallery { columns: 2; }
  .kv-features-grid { grid-template-columns: repeat(2, 1fr); }
  .kv-location-grid { grid-template-columns: 1fr; }
  .kv-rating-grid { grid-template-columns: repeat(2, 1fr); }
  .kv-section { padding: 64px 20px; }
}
@media(max-width: 580px) {
  .kv-stat { padding: 12px 14px; font-size: .8rem; gap: 7px; }
  .kv-stat .icon { font-size: 1.1rem; }
}
@media(max-width: 480px) {
  .kv-gallery { columns: 1; }
  .kv-features-grid { grid-template-columns: repeat(2, 1fr); }
  .kv-rating-grid { grid-template-columns: repeat(2, 1fr); }
  .kv-hero h1 { letter-spacing: -1px; }
}
@media(max-width: 360px) {
  .kv-features-grid { grid-template-columns: 1fr; }
}
