/* ============================================================
   ServicedApartments.dk - by Bolio
   Adjust brand colors here. Everything inherits from these.
   ============================================================ */
:root {
  --navy: #20293a;          /* primary dark (brand ink) */
  --navy-2: #2b3850;        /* secondary dark */
  --accent: #c9a15a;        /* brass (brand, on dark) */
  --accent-dark: #9c7c46;   /* brass (brand, on light) */
  --bg: #faf8f5;            /* off-white page background */
  --card: #ffffff;
  --text: #2b3440;
  --muted: #6b7480;
  --line: #e6e1d8;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(22, 38, 61, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-2); }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* Brand lockup, per design handoff: Cormorant Garamond wordmark + Jost byline */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.brand-word {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6f3ec;
  text-decoration: none;
  text-align: center;
}
.brand-word-inline { white-space: nowrap; font-size: 21px; }
@media (max-width: 560px) {
  .brand-word-inline { white-space: normal; font-size: 19px; }
}
.brand-byline {
  font-family: 'Jost', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 7.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}
.brand-byline a { color: var(--accent); text-decoration: none; }
.brand-byline a:hover { color: #e0bd7d; }
.brand-muted { color: #aeb6c4; }

/* Footer variant of the lockup, slightly larger */
.footer-lockup { margin-bottom: 14px; }
.footer-lockup .brand-word { font-size: 24px; }
.footer-lockup .brand-byline { font-size: 9px; margin-top: 6px; }

.main-nav a {
  color: #e8ebf0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-left: 28px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); border-color: var(--accent); }
.main-nav a.nav-cta {
  border: 1px solid var(--accent);
  padding: 9px 18px;
  border-radius: 4px;
  color: var(--accent);
}
.main-nav a.nav-cta:hover { background: var(--accent); color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(15,26,43,0.72), rgba(15,26,43,0.82)), url("../images/hero-odense.jpg") center/cover no-repeat;
  padding: 130px 0 120px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 850px;
  margin: 0 auto 18px;
  line-height: 1.18;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #dbe2ec;
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  transition: all .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: #ffffff88; color: #fff; margin-left: 12px; }
.btn-outline:hover { border-color: #fff; background: #ffffff14; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- USP band ---------- */
.usp-band { background: var(--card); border-bottom: 1px solid var(--line); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp {
  padding: 34px 26px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.usp:first-child { border-left: 0; }
.usp .usp-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.usp h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.usp p { font-size: 0.87rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: #f1ede6; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 10px;
}
.section-head h2, .section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--navy);
  line-height: 1.25;
}
.section-head p { color: var(--muted); margin-top: 14px; }

/* ---------- Apartment cards ---------- */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.apt-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.apt-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(22,38,61,0.14); }

.apt-card .apt-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.apt-card .apt-photo img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 3px;
}
.badge.gold { background: var(--accent); color: var(--navy); }

.apt-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.apt-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.apt-loc { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.apt-specs {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 16px;
}
.apt-specs strong { color: var(--navy); }
.apt-price { margin-bottom: 18px; }
.apt-price .from { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.apt-price .amount {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 600;
}
.apt-price .amount small { font-size: 0.95rem; color: var(--muted); font-family: var(--font-body); }
.apt-body .btn { margin-top: auto; }

/* Rented streamer across photo */
.apt-photo.is-rented img { filter: saturate(0.75); }
.ribbon {
  position: absolute;
  top: 22px;
  right: -44px;
  transform: rotate(35deg);
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 8px 56px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* ---------- Price tables ---------- */
.price-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; background: var(--card); }
.price-table th, .price-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.price-table th { background: var(--navy); color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.price-table td strong { color: var(--navy); }
.price-note { font-size: 0.83rem; color: var(--muted); }

/* ---------- Detail page ---------- */
.detail-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.detail-hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
.detail-hero .apt-loc { color: #b9c2d0; font-size: 1rem; }
.breadcrumb { font-size: 0.8rem; margin-bottom: 22px; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb span { color: #8b97a8; }

.detail-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

.detail-text h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.5rem; margin: 34px 0 12px; font-weight: 600; }
.detail-text p { margin-bottom: 14px; }

.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 16px 0; }
.feature-list li { padding-left: 26px; position: relative; font-size: 0.93rem; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.sidebar-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  position: sticky;
  top: 96px;
}
.sidebar-card h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; margin-bottom: 14px; font-weight: 600; }
.fact-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.fact-row span:first-child { color: var(--muted); }
.fact-row span:last-child { font-weight: 600; color: var(--navy); text-align: right; }
.sidebar-card .btn { margin-top: 20px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 0 8px; }
.step .num {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.step h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Trust / about band ---------- */
.trust-band { background: var(--navy); color: #fff; }
.trust-band .section-title { color: #fff; }
.trust-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.trust-cols p { color: #c3ccd9; margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat {
  border: 1px solid #ffffff22;
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.stat .stat-num { font-family: var(--font-head); font-size: 2.1rem; color: var(--accent); font-weight: 600; }
.stat .stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #b9c2d0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 54px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-info h3 { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
.contact-info p { margin-bottom: 16px; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; align-items: baseline; }
.contact-detail .label { min-width: 84px; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid #cfc9bd;
  border-radius: 5px;
  background: #fdfcfa;
  color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.form-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 0.83rem; color: var(--muted); }
.form-consent input { margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, #24406b 0%, var(--navy) 60%, #101d31 100%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #c3ccd9; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Add-on services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.service .service-icon { font-size: 1.8rem; margin-bottom: 12px; }
.service h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; }
.service p { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0f1a2b; color: #9aa6b5; padding: 60px 0 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 16px; }
.site-footer a { color: #c2ccda; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-brand { font-family: var(--font-head); color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.footer-brand span { color: var(--accent); }
.footer-bottom { border-top: 1px solid #ffffff14; padding-top: 22px; text-align: center; font-size: 0.8rem; color: #6d7a8c; }

/* ---------- Misc ---------- */
.notice {
  background: #fdf6e9;
  border: 1px solid #ecd9b4;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  margin: 22px 0;
}
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .usp { border-left: 0; border-top: 1px solid var(--line); }
  .apt-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-cols, .contact-layout, .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 10px 4% 24px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { margin: 12px 0 0; display: inline-block; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 80px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .feature-list { grid-template-columns: 1fr; }
}
