/* ═══════════════════════════════════════
   HOLMSTADEN THEME – KOMPLETT CSS
   ═══════════════════════════════════════ */

:root {
  --navy:  #1a2030;
  --gold:  #c8a96e;
  --light: #f2f5f8;
  --white: #ffffff;
  --text:  #3a4a5c;
  --muted: #888;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

/* ── BUTTONS ── */
.h-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.h-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.h-btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.h-btn-gold:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.h-btn-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.h-btn-ghost:hover { color: var(--navy); }

.h-btn-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

/* ── NAV ── */
.h-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 5rem;
  transition: box-shadow 0.2s;
}
.h-nav.scrolled { box-shadow: 0 2px 20px rgba(26,32,48,0.08); }

.h-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.h-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.h-logo-sub {
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.h-logo img { max-height: 40px; width: auto; }

.h-nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.h-nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: #555;
  transition: color 0.2s;
}
.h-nav-links a:hover { color: var(--navy); }
.h-nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
}
.h-nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.h-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.h-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}
.h-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.h-nav-toggle.active span:nth-child(2) { opacity: 0; }
.h-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SECTION COMMONS ── */
.h-section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}
.h-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.h-section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ── HERO ── */
.h-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: var(--light);
}
.h-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 5rem;
}
.h-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}
.h-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.h-hero-title em { font-style: italic; color: var(--navy); }
.h-hero-body {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}
.h-hero-right {
  position: relative;
  overflow: hidden;
  background: #2e5f8a;
}
.h-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h-hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

/* ── STATS ── */
.h-stats {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 5rem;
}
.h-stat {
  padding: 3rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.h-stat:last-child { border-right: none; }
.h-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.h-stat-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'DM Sans', sans-serif;
}

/* ── OM OSS ── */
.h-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
}
.h-about-text {
  padding: 7rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-about-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.h-about-img {
  background: var(--light);
  overflow: hidden;
}
.h-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #aaa;
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ── FASTIGHETER ── */
.h-properties {
  background: var(--light);
  padding: 7rem 5rem;
}
.h-properties-header {
  margin-bottom: 3rem;
  max-width: 60ch;
}
.h-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.h-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.h-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.h-gallery-item:hover img { transform: scale(1.04); }
.h-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,32,48,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.h-gallery-item:hover .h-gallery-overlay { opacity: 1; }
.h-gallery-overlay span {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.6rem 1.4rem;
}
.h-gallery-placeholder {
  background: var(--white);
  border: 2px dashed #dde;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── HÅLLBARHET ── */
.h-sustainability {
  background: var(--navy);
  padding: 7rem 5rem;
}
.h-sustain-header { margin-bottom: 3.5rem; }
.h-sustain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.h-sustain-card {
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 4px;
  padding: 2.5rem;
  transition: border-color 0.2s, background 0.2s;
}
.h-sustain-card:hover {
  border-color: rgba(200,169,110,0.5);
  background: rgba(255,255,255,0.03);
}
.h-sustain-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.h-sustain-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.h-sustain-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
}

/* ── PARTNERS ── */
.h-partners {
  background: var(--white);
  padding: 7rem 5rem;
}
.h-partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.h-partners-logos span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #bbb;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.h-partners-logos span:hover { color: var(--navy); }

/* ── KONTAKT ── */
.h-contact {
  background: var(--light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.h-contact-left {
  padding: 7rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-contact-left p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.h-contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.h-contact-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.25rem;
}
.h-contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
a.h-contact-value:hover { color: var(--gold); }

.h-contact-form-wrap {
  background: var(--white);
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: -4px 0 30px rgba(26,32,48,0.04);
}
.h-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}

/* ── CONTACT FORM ── */
.h-form { display: flex; flex-direction: column; gap: 1.2rem; }
.h-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.h-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.h-form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}
.h-form input,
.h-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #dde;
  background: var(--light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 2px;
}
.h-form input:focus,
.h-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.h-form textarea { resize: vertical; min-height: 120px; }
.h-form button {
  align-self: flex-start;
}
.h-form-success {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
  padding: 1rem;
  font-size: 0.88rem;
  margin-top: 0.5rem;
  border-radius: 2px;
}
.h-form-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
  padding: 1rem;
  font-size: 0.88rem;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* ── FOOTER ── */
.h-footer {
  background: var(--navy);
  padding: 5rem 5rem 2rem;
}
.h-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.h-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.h-footer-about p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  line-height: 1.7;
  max-width: 28ch;
  margin: 0;
}
.h-footer-col-title {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 1.2rem;
}
.h-footer-col ul { list-style: none; }
.h-footer-col ul li {
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  line-height: 1.5;
}
.h-footer-col ul a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.h-footer-col ul a:hover { color: var(--white); }
.h-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .h-nav { padding: 1.2rem 2.5rem; }
  .h-hero-left { padding: 5rem 3rem; }
  .h-about-text { padding: 5rem 3rem; }
  .h-properties,
  .h-sustainability,
  .h-partners,
  .h-contact-left { padding: 5rem 3rem; }
  .h-contact-form-wrap { padding: 5rem 3rem; }
  .h-stats { padding: 0 3rem; }
  .h-footer { padding: 4rem 3rem 2rem; }
  .h-footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .h-nav { padding: 1.2rem 1.5rem; }
  .h-nav-toggle { display: flex; }
  .h-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .h-nav-links.open { display: flex; }
  .h-nav-links li { border-bottom: 1px solid #f5f5f5; }
  .h-nav-links a { display: block; padding: 0.9rem 0; font-size: 0.9rem; }
  .h-nav-cta { margin-top: 0.5rem; text-align: center; }

  .h-hero { grid-template-columns: 1fr; min-height: auto; }
  .h-hero-left { padding: 4rem 1.5rem 3rem; order: 2; }
  .h-hero-right { min-height: 280px; order: 1; }
  .h-hero-title { font-size: 2rem; }

  .h-stats { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .h-stat { padding: 2rem 1rem; }
  .h-stat-num { font-size: 2.2rem; }

  .h-about { grid-template-columns: 1fr; }
  .h-about-text { padding: 4rem 1.5rem; order: 2; }
  .h-about-img { min-height: 260px; order: 1; }

  .h-properties,
  .h-sustainability,
  .h-partners { padding: 4rem 1.5rem; }
  .h-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

  .h-sustain-cards { grid-template-columns: 1fr; gap: 1rem; }

  .h-contact { grid-template-columns: 1fr; }
  .h-contact-left { padding: 4rem 1.5rem 2rem; }
  .h-contact-form-wrap { padding: 2rem 1.5rem 4rem; }
  .h-form-row { grid-template-columns: 1fr; }

  .h-footer { padding: 3rem 1.5rem 2rem; }
  .h-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .h-footer-bottom { flex-direction: column; gap: 0.5rem; }

  .h-partners-logos { gap: 2rem; }
}

@media (max-width: 480px) {
  .h-gallery { grid-template-columns: 1fr; }
  .h-hero-title { font-size: 1.7rem; }
  .h-section-title { font-size: 1.6rem; }
}

/* ── PROPERTY CARDS ── */
.h-prop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
.h-prop-card {
  background: #fff;
  border: 1px solid #e8edf5;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.h-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,32,48,0.1);
}
.h-prop-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #2e5f8a;
}
.h-prop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.h-prop-card:hover .h-prop-card-img img { transform: scale(1.04); }
.h-prop-card-img-ph {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 0.8rem; letter-spacing: 0.05em;
  font-family: 'DM Sans', sans-serif;
}
.h-prop-card-body { padding: 1.4rem 1.6rem 1.8rem; }
.h-prop-card-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem;
}
.h-prop-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.4rem;
}
.h-prop-card-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; color: var(--muted); font-weight: 300;
}
.h-prop-cta {
  margin-top: 3rem; text-align: center;
}

@media (max-width: 768px) {
  .h-prop-cards { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .h-prop-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── PROPERTY CARD LINK OVERLAY ── */
a.h-prop-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.h-prop-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,32,48,0.12); }
.h-prop-card-overlay {
  position: absolute; inset: 0;
  background: rgba(26,32,48,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
a.h-prop-card:hover .h-prop-card-overlay { opacity: 1; }
.h-prop-card-overlay span {
  color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5); padding: 0.6rem 1.4rem;
}
.h-prop-card-img { position: relative; }

/* ═══════════════════════════════════════
   FASTIGHETSSIDA (page-fastighet.php)
   ═══════════════════════════════════════ */

/* BREADCRUMB */
.fp-breadcrumb {
  padding: 1rem 5rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex; gap: 0.6rem; align-items: center;
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.fp-breadcrumb a { color: var(--muted); transition: color 0.2s; }
.fp-breadcrumb a:hover { color: var(--navy); }

/* HERO */
.fp-hero { position: relative; height: 55vh; min-height: 380px; overflow: hidden; }
.fp-hero-img { width: 100%; height: 100%; }
.fp-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.fp-hero-ph {
  width: 100%; height: 100%; background: #2e5f8a;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 0.85rem; text-align: center;
}
.fp-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,32,48,0.92) 0%, rgba(26,32,48,0.4) 60%, transparent 100%);
  padding: 3rem 5rem 2.5rem;
}
.fp-hero-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.fp-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; color: #fff; margin-bottom: 0.5rem;
}
.fp-hero-address { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* BODY LAYOUT */
.fp-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5rem 6rem;
}

/* CONTENT */
.fp-description { margin-bottom: 3.5rem; }
.fp-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--navy);
  margin-bottom: 1.2rem;
}
.fp-text p {
  font-size: 0.95rem; font-weight: 300; color: var(--text);
  line-height: 1.85; margin-bottom: 1rem;
}

/* GALLERY */
.fp-gallery { margin-bottom: 3.5rem; }
.fp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.fp-gallery-item {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; display: block;
}
.fp-gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.3s; }
.fp-gallery-item:hover img { transform: scale(1.05); }
.fp-gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,32,48,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; font-size: 1.5rem;
}
.fp-gallery-item:hover .fp-gallery-overlay { opacity: 1; }

/* MAP */
.fp-map { margin-bottom: 3.5rem; }

/* SIDEBAR */
.fp-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.fp-fact-box {
  background: var(--navy);
  border-radius: 4px;
  padding: 2rem;
  position: sticky; top: 90px;
}
.fp-fact-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: #fff;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fp-fact-row {
  display: flex; gap: 0.8rem; align-items: flex-start;
  margin-bottom: 1.2rem;
}
.fp-fact-icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.fp-fact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.2rem;
}
.fp-fact-value {
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  font-weight: 300; line-height: 1.4;
}
.fp-tenant-logo {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fp-tenant-logo img { max-height: 40px; filter: brightness(0) invert(1); opacity: 0.7; }

.fp-cta-box {
  background: var(--light);
  border-radius: 4px; padding: 1.8rem;
  border-left: 3px solid var(--gold);
}
.fp-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.6rem;
}
.fp-cta-box p {
  font-size: 0.82rem; color: var(--text); font-weight: 300;
  line-height: 1.7; margin-bottom: 1.2rem;
}

.fp-back {
  font-size: 0.78rem; color: var(--muted);
  transition: color 0.2s; display: block; text-align: center;
  padding: 0.5rem;
}
.fp-back:hover { color: var(--navy); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .fp-breadcrumb { padding: 1rem 2rem; }
  .fp-hero-overlay { padding: 2rem 2rem 2rem; }
  .fp-body { padding: 3rem 2rem; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .fp-breadcrumb { padding: 0.8rem 1.5rem; }
  .fp-hero { height: 40vh; }
  .fp-hero-overlay { padding: 1.5rem; }
  .fp-hero-title { font-size: 1.6rem; }
  .fp-body { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .fp-fact-box { position: static; }
  .fp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */
.fp-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,14,24,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.fp-lightbox.open { opacity: 1; pointer-events: all; }
.fp-lightbox-img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.fp-lightbox.open .fp-lightbox-img { transform: scale(1); }
.fp-lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: rgba(255,255,255,0.6); font-size: 2rem;
  cursor: pointer; line-height: 1;
  transition: color 0.2s; background: none; border: none;
  font-family: sans-serif;
}
.fp-lightbox-close:hover { color: #fff; }
.fp-lightbox-prev,
.fp-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.5); font-size: 2rem;
  cursor: pointer; background: none; border: none;
  padding: 1rem; transition: color 0.2s;
  font-family: sans-serif; line-height: 1;
}
.fp-lightbox-prev { left: 1.5rem; }
.fp-lightbox-next { right: 1.5rem; }
.fp-lightbox-prev:hover,
.fp-lightbox-next:hover { color: #fff; }
.fp-lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.75rem;
  font-family: 'DM Sans', sans-serif; letter-spacing: 0.1em;
}
.fp-lightbox-caption {
  position: absolute; bottom: 3.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif; text-align: center;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   FASTIGHETSÖVERSIKT (page-fastigheter.php)
   ═══════════════════════════════════════ */

/* HERO */
.fov-hero {
  background: var(--navy);
  padding: 6rem 5rem 0;
}
.fov-hero-inner { max-width: 60ch; margin-bottom: 3rem; }
.fov-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: #fff;
  margin-bottom: 1rem; line-height: 1.15;
}
.fov-hero-desc {
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,0.5); line-height: 1.8;
}
.fov-stats {
  display: flex; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}
.fov-stat {
  flex: 1; padding: 2rem 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.fov-stat:last-child { border-right: none; }
.fov-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; color: var(--gold); line-height: 1;
  margin-bottom: 0.4rem;
}
.fov-stat-lbl {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* FILTER TABS */
.fov-tabs {
  background: var(--white);
  border-bottom: 1px solid #e8edf5;
  display: flex; gap: 0;
  padding: 0 5rem;
  position: sticky; top: 64px; z-index: 100;
}
.fov-tab {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--muted); padding: 1.2rem 1.5rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.fov-tab:hover { color: var(--navy); }
.fov-tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 500; }

/* CONTENT */
.fov-content { padding: 4rem 5rem 6rem; }

/* GROUP */
.fov-group { margin-bottom: 5rem; }
.fov-group-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #e8edf5;
}
.fov-group-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.fov-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
}
.fov-group-count {
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--muted); margin-left: auto;
  font-family: 'DM Sans', sans-serif;
}

/* GRID */
.fov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* CARD */
.fov-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid #e8edf5; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.fov-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(26,32,48,0.1); }
.fov-card-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: #2e5f8a;
}
.fov-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }
.fov-card:hover .fov-card-img img { transform: scale(1.04); }
.fov-card-img-ph {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-size:2rem; color:rgba(255,255,255,0.3);
}
.fov-card-status-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
  padding: 0.3rem 0.7rem; border-radius: 2px;
}
.fov-card-overlay {
  position: absolute; inset:0;
  background: rgba(26,32,48,0.7);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity 0.3s;
}
.fov-card:hover .fov-card-overlay { opacity:1; }
.fov-card-overlay span {
  color:#fff; font-family:'DM Sans',sans-serif;
  font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase;
  border:1px solid rgba(255,255,255,0.5); padding:0.5rem 1.2rem;
}
.fov-card-body { padding: 1.4rem 1.6rem 1.8rem; }
.fov-card-tag {
  font-family:'DM Sans',sans-serif; font-size:0.6rem;
  letter-spacing:0.2em; text-transform:uppercase;
  color:var(--gold); margin-bottom:0.4rem;
}
.fov-card-name {
  font-family:'Playfair Display',serif;
  font-size:1.15rem; font-weight:700; color:var(--navy);
  margin-bottom:0.4rem; line-height:1.3;
}
.fov-card-location {
  font-size:0.78rem; color:var(--muted); font-weight:300;
  margin-bottom:0.8rem;
}
.fov-card-meta-row {
  display:flex; flex-wrap:wrap; gap:0.6rem;
  padding-top:0.8rem; border-top:1px solid #f0f0f0;
}
.fov-card-meta-item {
  font-size:0.72rem; color:var(--text); font-weight:300;
  font-family:'DM Sans',sans-serif;
}

/* EMPTY STATE */
.fov-empty {
  text-align:center; padding:6rem 2rem;
  color:var(--muted); font-size:0.95rem; line-height:1.8;
}

/* CTA */
.fov-cta {
  background: var(--navy);
  padding: 5rem;
  text-align: center;
}
.fov-cta-inner { max-width: 50ch; margin: 0 auto; }
.fov-cta h2 {
  font-family:'Playfair Display',serif;
  font-size:2rem; color:#fff; margin-bottom:1rem;
}
.fov-cta p {
  color:rgba(255,255,255,0.5); font-weight:300;
  font-size:0.95rem; margin-bottom:2rem; line-height:1.8;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .fov-hero, .fov-content, .fov-tabs, .fov-cta { padding-left: 2.5rem; padding-right: 2.5rem; }
  .fov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fov-hero { padding: 4rem 1.5rem 0; }
  .fov-tabs { padding: 0 0; overflow-x: auto; }
  .fov-content { padding: 3rem 1.5rem 4rem; }
  .fov-cta { padding: 3rem 1.5rem; }
  .fov-grid { grid-template-columns: 1fr; }
  .fov-stats { flex-wrap: wrap; }
  .fov-stat { flex: 1 1 50%; }
}

/* ── KARTA – klickbar adress & guide ── */
.fp-maps-open-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  transition: color 0.2s;
}
.fp-maps-open-link:hover { color: var(--navy); }

.fp-map-address-btn {
  display: inline-block;
  background: var(--light);
  border: 1px solid #dde;
  padding: 0.9rem 1.4rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.2rem;
  transition: background 0.2s, border-color 0.2s;
}
.fp-map-address-btn:hover { background: #e8edf5; border-color: var(--gold); }

.fp-map-guide {
  background: #fffbf0;
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  font-size: 0.82rem;
  color: #7a6020;
  line-height: 1.8;
  border-radius: 0 4px 4px 0;
}
.fp-map-guide a { color: var(--gold); text-decoration: underline; }
.fp-map-guide code {
  background: rgba(200,169,110,0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.78rem;
}

/* ── Hero address link ── */
.fp-hero-address {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.fp-hero-address:hover { color: var(--gold); }
.fp-hero-maps-hint {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ── Fact link ── */
.fp-fact-link {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.88rem;
  font-weight: 300;
}
.fp-fact-link:hover { color: var(--gold) !important; }

/* ═══════════════════════════════════════
   OM OSS (page-om-oss.php)
   ═══════════════════════════════════════ */

/* HERO */
.om-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  min-height: 50vh;
}
.om-hero-left {
  padding: 6rem 4rem 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.om-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: #fff;
  line-height: 1.15; margin-bottom: 1.5rem;
}
.om-hero-desc {
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,0.55); line-height: 1.8;
}
.om-hero-right {
  display: flex; align-items: center; justify-content: center;
  padding: 4rem;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.om-hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; width: 100%;
}
.om-stat {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 4px;
}
.om-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--gold);
  line-height: 1; margin-bottom: 0.5rem;
}
.om-stat-lbl {
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* VAD VI GÖR */
.om-vad {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}
.om-vad-img { overflow: hidden; background: var(--light); }
.om-vad-img img { width:100%; height:100%; object-fit:cover; }
.om-vad-text {
  padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.om-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; color: var(--navy);
  margin-bottom: 1.5rem; line-height: 1.2;
}
.om-vad-text p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--text); line-height: 1.85;
  margin-bottom: 1rem;
}

/* VÄRDERINGAR */
.om-values {
  background: var(--navy);
  padding: 7rem 5rem;
}
.om-values-header { margin-bottom: 3.5rem; }
.om-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.om-value-card {
  border: 1px solid rgba(200,169,110,0.15);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.om-value-card:hover {
  border-color: rgba(200,169,110,0.4);
  background: rgba(255,255,255,0.03);
}
.om-value-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.om-value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--gold);
  margin-bottom: 0.8rem; font-weight: 600;
}
.om-value-card p {
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
  font-weight: 300; line-height: 1.75; margin: 0;
}

/* FÖR MARKÄGARE */
.om-mark { background: var(--light); padding: 7rem 5rem; }
.om-mark-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.om-mark-text p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--text); line-height: 1.85; margin-bottom: 1rem;
}
.om-mark-highlights { display: flex; flex-direction: column; gap: 1.8rem; }
.om-mark-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem; background: #fff;
  border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0;
}
.om-mark-icon { font-size: 1.4rem; flex-shrink: 0; }
.om-mark-label {
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.3rem; font-family: 'DM Sans', sans-serif;
}
.om-mark-value {
  font-size: 0.88rem; color: var(--navy);
  font-weight: 400; line-height: 1.5;
}

/* PARTNERS */
.om-partners { padding: 6rem 5rem; background: var(--white); }

/* CTA */
.om-cta {
  background: var(--navy); padding: 6rem 5rem;
  text-align: center;
}
.om-cta-inner { max-width: 55ch; margin: 0 auto; }
.om-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: #fff; margin-bottom: 1rem;
}
.om-cta p {
  color: rgba(255,255,255,0.5); font-weight: 300;
  font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .om-hero, .om-vad { grid-template-columns: 1fr; }
  .om-hero-left { padding: 5rem 3rem 3rem; }
  .om-hero-right { padding: 3rem; border-left: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .om-vad-img { min-height: 300px; }
  .om-vad-text { padding: 5rem 3rem; }
  .om-values { padding: 5rem 3rem; }
  .om-values-grid { grid-template-columns: repeat(2, 1fr); }
  .om-mark { padding: 5rem 3rem; }
  .om-mark-inner { grid-template-columns: 1fr; gap: 3rem; }
  .om-partners, .om-cta { padding: 5rem 3rem; }
}
@media (max-width: 768px) {
  .om-hero-left { padding: 4rem 1.5rem 2rem; }
  .om-hero-right { padding: 2rem 1.5rem 3rem; }
  .om-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .om-vad-text { padding: 3rem 1.5rem; }
  .om-values { padding: 4rem 1.5rem; }
  .om-values-grid { grid-template-columns: 1fr; }
  .om-mark { padding: 4rem 1.5rem; }
  .om-partners, .om-cta { padding: 4rem 1.5rem; }
}
/* Logotyp */
.h-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
	justify-content: flex-start;
}
.h-nav {
    justify-content: space-between;
}
.h-logo img,
.h-logo .custom-logo-link,
.h-logo .custom-logo-link img {
    display: block;
    max-height: 40px;
    width: auto;
    margin: 0;
}
/* Fix logotyp-position */
.h-logo {
    display: flex;
    align-items: center;
    flex-direction: row;
}
.h-logo a,
.h-logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}
.h-logo .custom-logo-link img {
    max-height: 40px;
    width: auto;
    display: block;
    margin: 0;
}