:root {
  --bg: #faf7f2;
  --bg-alt: #f1ece2;
  --ink: #23241f;
  --ink-soft: #5c5c54;
  --line: #e2dccd;
  --brand: #2f4a3d;
  --brand-light: #416153;
  --accent: #c96a4c;
  --accent-dark: #a8563c;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(35, 36, 31, 0.25);
  --maxw: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.section-lede { max-width: 640px; margin-bottom: 2.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(201,106,76,.6); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--brand); display: flex; flex-direction: column; line-height: 1.05; }
.brand small { font-family: system-ui, sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: none; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: .7rem; }
.tel-pill { display: none; align-items: center; gap: .4em; text-decoration: none; font-weight: 700; color: var(--brand); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .tel-pill { display: inline-flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: linear-gradient(180deg, rgba(20,24,20,.25) 0%, rgba(15,18,15,.55) 55%, rgba(10,12,10,.85) 100%), url("../img/hus-fasade-1.jpg") center/cover no-repeat;
}
.hero-inner { padding-bottom: 4.5rem; max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4);
  padding: .45em 1em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero-sub { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 1.6rem;
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.25);
}
.hero-fact strong { display: block; font-size: 1.4rem; font-family: Georgia, serif; }
.hero-fact span { font-size: .82rem; color: rgba(255,255,255,.8); }

/* Location strip */
.location {
  background: var(--brand); color: #fff;
  padding: 2.4rem 0;
}
.location-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.location-item { display: flex; gap: .9rem; align-items: flex-start; }
.location-icon {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.location-item h4 { margin: 0 0 .2rem; font-size: 1rem; }
.location-item p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.78); }

/* Sections */
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }

/* Room cards */
.room-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 2rem; }
.room-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room-card .thumb-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-card .thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room-card:hover .thumb-wrap img { transform: scale(1.05); }
.price-tag { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; font-weight: 700; padding: .35em .8em; border-radius: 999px; font-size: .85rem; }
.room-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.room-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .78rem; color: var(--ink-soft); }
.room-meta span { background: var(--bg-alt); padding: .3em .7em; border-radius: 999px; }
.room-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.room-tags span { font-size: .72rem; color: var(--brand); border: 1px solid var(--line); padding: .2em .6em; border-radius: 999px; }
.room-body .btn { margin-top: auto; }

/* AI matcher */
.matcher { background: var(--brand); color: #fff; border-radius: 20px; padding: clamp(1.6rem, 4vw, 3rem); }
.matcher .kicker { color: #d9c9a3; }
.matcher h2 { color: #fff; }
.matcher-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; margin-top: 1.6rem; }
@media (min-width: 900px) { .matcher-grid { grid-template-columns: 1.1fr 1fr; } }
.q-group { margin-bottom: 1.4rem; }
.q-group p.q-label { color: #fff; font-weight: 700; margin-bottom: .6rem; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice-btn {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: .55em 1.1em;
  border-radius: 999px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
}
.choice-btn.active { background: var(--accent); border-color: var(--accent); }
.match-result { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 1.4rem; min-height: 260px; display: flex; flex-direction: column; justify-content: center; }
.match-result img { border-radius: 10px; margin-bottom: 1rem; aspect-ratio: 16/10; object-fit: cover; }
.match-score { font-family: Georgia, serif; font-size: 2.2rem; color: var(--accent); }
.match-placeholder { color: rgba(255,255,255,.7); text-align: center; }

/* Gallery */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 2rem; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: .6em .8em; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); color: #fff; font-size: .85rem; font-weight: 600; }

/* Practical info */
.info-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 2rem; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.info-card h4 { margin: 0 0 .4rem; font-size: 1rem; }
.info-card p { margin: 0; font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.direct-contact { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.6rem; }
.direct-contact a { display: flex; align-items: center; gap: .8em; text-decoration: none; font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.direct-contact .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
form.contact-form { display: flex; flex-direction: column; gap: .9rem; }
.form-row { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .3em; display: block; }
input, select, textarea {
  width: 100%; padding: .75em .9em; border-radius: 10px; border: 1px solid var(--line);
  font-family: inherit; font-size: .95rem; background: var(--bg);
}
textarea { min-height: 110px; resize: vertical; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }
.form-note { font-size: .78rem; color: var(--ink-soft); }

footer { background: var(--brand); color: rgba(255,255,255,.75); padding: 2.4rem 0; font-size: .85rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
footer a { color: #fff; text-decoration: none; font-weight: 600; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,15,12,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 599px) {
  .hero { min-height: 100vh; }
  .hero-cta .btn { width: 100%; }
}
