:root {
  --navy: #0b1f3a;
  --navy-2: #132b4d;
  --navy-3: #1b3a63;
  --blue: #2b6bff;
  --blue-2: #4c84ff;
  --blue-soft: #e8efff;
  --ink: #142033;
  --muted: #5c6b7c;
  --line: #e6ebf2;
  --bg: #f5f7fb;
  --white: #ffffff;
  --ok: #0f9d6e;
  --warn: #d97706;
  --danger: #c2413b;
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.08);
  --shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Header */
.topbar {
  background: var(--navy);
  color: #d7e2f3;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 560; }
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; font-size: 20px; color: var(--navy); }
.logo em { font-style: normal; font-weight: 500; color: var(--muted); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  overflow: hidden; padding: 0; background: #000;
  display: grid; place-items: center; flex: 0 0 40px;
}
.logo-mark img, .logo-img {
  width: 40px; height: 40px; border-radius: 12px;
  object-fit: cover; display: block; background: #000;
}
.nav { display: flex; gap: 22px; align-items: center; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 13px 22px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(43,107,255,.28); }
.btn-primary:hover { background: #1f5af0; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-card { position: relative; border-radius: 18px; overflow: hidden; min-height: 280px; }
.ba-card img { width: 100%; height: 320px; object-fit: cover; }
.ba-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(11,31,58,.86); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.ba-tag.after { background: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.about-points { display: grid; gap: 12px; margin-top: 18px; }
.about-points div { padding: 14px 16px; background: var(--bg); border-radius: 14px; border: 1px solid var(--line); }
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
}
.faq summary { cursor: pointer; font-weight: 650; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin-top: 8px; }
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.35);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 88vh;
  display: grid; align-items: end;
  background: #0b1f3a;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,31,58,.18) 0%, rgba(11,31,58,.72) 78%),
    url("../assets/living.jpg") center/cover no-repeat;
}
.hero-content { position: relative; padding: 48px 0 64px; color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 18px;
}
.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch;
  font-weight: 560;
}
.hero p { max-width: 46ch; margin: 16px 0 28px; color: #dbe5f3; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; color: #d5e0ef; font-size: 14px; }
.hero-meta strong { display: block; color: #fff; font-size: 20px; }

.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 0; gap: 16px;
}
.trust-item { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.trust-item b { color: var(--navy); display: block; }

/* Sections */
section { padding: 84px 0; }
.sec-kicker { color: var(--blue); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em; margin: 8px 0 12px; color: var(--navy);
}
.lead { color: var(--muted); max-width: 58ch; font-size: 17px; }
.sec-head { margin-bottom: 36px; }

.services { background: var(--bg); }
.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr .9fr; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.service-card { padding: 0; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { height: 180px; width: 100%; object-fit: cover; }
.service-card .body { padding: 20px; }
.service-card h3 { font-size: 20px; margin-bottom: 6px; color: var(--navy); }
.service-card p { color: var(--muted); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
}
.step-no {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery-grid img:first-child { grid-row: 1 / span 2; }

.reviews { background: var(--bg); }
.stars { color: #e0a106; letter-spacing: 2px; }
.review p { margin: 10px 0 16px; color: var(--ink); }
.review .who { font-size: 14px; color: var(--muted); }
.review .who b { color: var(--navy); }

.cta-band {
  background: linear-gradient(135deg, var(--navy), #16375f 55%, #1d4ed8);
  color: #fff; border-radius: 28px; padding: 42px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }

footer {
  background: var(--navy); color: #c9d6e8; padding: 48px 0 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 32px; }
footer h4 { color: #fff; margin-bottom: 12px; }
footer a { display: block; margin: 7px 0; color: #c9d6e8; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }

/* Quote wizard */
.quote-page { background: var(--bg); min-height: 100vh; }
.wizard-shell { padding: 28px 0 120px; }
.progress-wrap { margin-bottom: 22px; }
.progress-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.bar { height: 6px; background: #e1e7f0; border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--blue); width: 20%; transition: width .3s ease; }
.wizard-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 28px;
}
.wizard-card h1 { font-size: 28px; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 6px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 20px; }
.choice {
  border: 1.5px solid var(--line); border-radius: 16px; padding: 16px;
  background: #fff; cursor: pointer; text-align: left;
}
.choice.selected, .chip.selected, .check.selected {
  border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(43,107,255,.12);
}
.choice b { display: block; color: var(--navy); }
.choice span { color: var(--muted); font-size: 13px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 16px; background: #fff; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,107,255,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.room-block {
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 14px;
  margin-bottom: 10px; background: #fbfcfe;
}
.room-block .room-row,
.room-row, .qty-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: #fbfcfe;
}
.room-block .room-row { border: 0; padding: 0; margin: 0; background: transparent; }
.room-parts { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.counter { display: flex; align-items: center; gap: 8px; }
.counter button {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .check {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 14px; cursor: pointer; font-size: 14px;
}
.check { width: 100%; border-radius: 14px; text-align: left; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.qty-mini { width: 88px; }
.dropzone {
  border: 1.5px dashed #c9d4e3; border-radius: 18px; padding: 28px; text-align: center; background: #f8fafc; cursor: pointer;
}
.previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.previews img, .previews video { height: 96px; width: 100%; object-fit: cover; border-radius: 12px; }
.wizard-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 12px 16px 20px;
}
.wizard-nav .inner { width: min(760px, 100%); margin: 0 auto; display: flex; justify-content: space-between; gap: 10px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card {
  display: block; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 20px 18px; background: #fbfcfe; color: inherit;
}
.choice-card:hover { border-color: var(--blue); background: var(--blue-soft); }
.choice-card b { display: block; font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.choice-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.choice-card span { color: var(--blue); font-weight: 650; font-size: 14px; }
@media (max-width: 700px) { .choice-grid { grid-template-columns: 1fr; } }
.hidden { display: none !important; }

/* Confirm */
.confirm {
  min-height: 80vh; display: grid; place-items: center; padding: 40px 16px; background: var(--bg);
}
.confirm-card { max-width: 560px; text-align: center; padding: 42px 28px; }
.check-circle {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  background: #e8f8f1; color: var(--ok); display: grid; place-items: center; font-size: 34px;
}
.qid {
  display: inline-block; margin: 14px 0 22px; background: var(--blue-soft); color: var(--navy);
  padding: 8px 14px; border-radius: 999px; font-weight: 700;
}

/* Admin */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: #eef2f7; }
.sidebar { background: var(--navy); color: #cfe0f5; padding: 22px 16px; }
.side-link { display: block; padding: 10px 12px; border-radius: 10px; margin-top: 6px; }
.side-link.active, .side-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { padding: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 20px; }
.stat { background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.stat b { font-size: 26px; color: var(--navy); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-list { display: grid; gap: 10px; }
.req {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  display: grid; grid-template-columns: 1.3fr .8fr .8fr auto; gap: 12px; align-items: center; cursor: pointer;
}
.badge { font-size: 12px; padding: 5px 9px; border-radius: 999px; font-weight: 650; }
.badge.new { background: #e8efff; color: #1d4ed8; }
.badge.contacted { background: #eef2ff; color: #4338ca; }
.badge.visit { background: #fff6e5; color: #b45309; }
.badge.quoted { background: #e7f6ff; color: #0369a1; }
.badge.accepted { background: #e8f8f1; color: #0f9d6e; }
.badge.declined { background: #fdecec; color: #b91c1c; }
.badge.completed { background: #eef2f7; color: #334155; }
.drawer-bg { position: fixed; inset: 0; background: rgba(11,31,58,.45); display: none; }
.drawer-bg.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; width: min(560px, 100%); height: 100%;
  background: #fff; transform: translateX(100%); transition: transform .25s ease;
  overflow: auto; padding: 22px;
}
.drawer.open { transform: none; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.photo-grid img, .photo-grid video { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }
.detail-block { margin: 16px 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.detail-block h4 { margin-bottom: 6px; color: var(--navy); }

@media (max-width: 900px) {
  .nav, .header .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .header .wrap { height: 64px; }
  .logo { font-size: 17px; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; padding: 16px; border-bottom: 1px solid var(--line); z-index: 50;
  }
  .trust .wrap, .grid-3, .steps, .grid-2, .foot-grid, .stats, .req, .gallery-grid, .choice-grid, .row-2 {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-rows: none; }
  .gallery-grid img:first-child { grid-row: auto; height: 240px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .admin { grid-template-columns: 1fr; }
  .sidebar { display: flex; align-items: center; justify-content: space-between; }
  .side-nav { display: none; }
  section { padding: 56px 0; }
  .hero { min-height: 78vh; }
  .hero-actions .btn { width: 100%; }
  .wizard-card { padding: 18px; border-radius: 18px; }
  .ba-grid, .about-grid { grid-template-columns: 1fr; }
  .ba-card img { height: 240px; }
}
