* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #faf7f2;
  --card: #ffffff;
  --navy: #1c2b3a;
  --muted: #6b7684;
  --gold: #b08d57;
  --line: #e8e2d8;
  --soft: #f3efe7;
  --faint: #9aa3ae;
}
html[data-theme="dark"] {
  --bg: #11161d;
  --card: #1a212b;
  --navy: #e6e9ee;
  --muted: #93a0b2;
  --gold: #c9a25f;
  --line: #273040;
  --soft: #161c25;
  --faint: #5d6b7d;
}
body { font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--navy); min-height: 100vh; transition: background .25s, color .25s; }
a { color: inherit; text-decoration: none; }

nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 40px; border-bottom: 1px solid var(--line); background: var(--bg); }
.logo { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.logo span { color: var(--gold); }
nav .links a { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-left: 26px; transition: color .15s; }
nav .links a:hover { color: var(--navy); }
nav .cta { color: var(--bg); background: var(--gold); padding: 9px 20px; border-radius: 2px; font-size: 12px; letter-spacing: 1.5px; margin-left: 26px; }
nav .cta:hover { color: white; background: var(--navy); }
#themeBtn { background: none; border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; cursor: pointer; margin-left: 18px; border-radius: 2px; }
#themeBtn:hover { color: var(--navy); border-color: var(--gold); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
main { min-height: 70vh; }

.hero { text-align: center; padding: 110px 24px 70px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 52px; font-weight: 400; letter-spacing: 1px; line-height: 1.15; }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--muted); font-size: 15px; max-width: 520px; margin: 18px auto 0; line-height: 1.7; }
.hero .rule { width: 46px; height: 1px; background: var(--gold); margin: 26px auto 0; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; }
.btn { display: inline-block; padding: 13px 32px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: all .15s; }
.btn.solid { background: var(--navy); color: var(--bg); border: 1px solid var(--navy); }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); color: white; }
.btn.outline { border: 1px solid var(--navy); color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: var(--bg); }

h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 400; letter-spacing: .5px; margin: 80px 0 8px; }
h2 small { color: var(--muted); font-size: 14px; font-family: -apple-system, 'Segoe UI', sans-serif; font-weight: 400; }
.sec-sub { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.tl { width: 40px; height: 1px; background: var(--gold); margin-bottom: 20px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 20px 0; }
.about h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 400; line-height: 1.4; }
.about p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.about .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about .pills span { border: 1px solid var(--line); background: var(--card); color: var(--navy); font-size: 12px; letter-spacing: .5px; padding: 9px 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card { background: var(--card); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.12); transform: translateY(-3px); }
.card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card .ph { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--faint); font-size: 40px; }
.info { padding: 22px; }
.info .loc { font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.info .price { font-size: 22px; font-weight: 700; color: var(--gold); margin-top: 6px; }
.info .near { color: var(--muted); font-size: 13px; margin-top: 6px; }
.info .desc { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.info .by { margin-top: 16px; font-size: 12px; color: var(--faint); letter-spacing: .5px; }

.ratings { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.rating { background: var(--card); border: 1px solid var(--line); padding: 24px; }
.rating .stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; }
.rating .text { color: var(--navy); font-size: 14.5px; line-height: 1.7; margin-top: 12px; font-family: Georgia, serif; }
.rating .who { color: var(--faint); font-size: 12px; margin-top: 14px; letter-spacing: .5px; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.service { background: var(--card); border: 1px solid var(--line); padding: 32px; }
.service .num { color: var(--gold); font-family: Georgia, serif; font-size: 14px; letter-spacing: 2px; }
.service h4 { font-family: Georgia, serif; font-size: 18px; font-weight: 700; margin-top: 8px; }
.service p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { border-top: 1px solid var(--gold); padding-top: 18px; }
.step .tag { font-family: Georgia, serif; color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.step h4 { font-family: Georgia, serif; font-size: 18px; margin-top: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 10px; }

.contract { border: 1px solid var(--line); background: var(--card); padding: 36px; margin-bottom: 30px; }
.c-head h3 { font-family: Georgia, serif; font-size: 24px; font-weight: 700; margin-top: 10px; }
.c-head p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 10px; max-width: 620px; }
.c-tag { font-family: Georgia, serif; color: var(--gold); font-size: 12px; letter-spacing: 3px; }
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.c-card { border: 1px solid var(--line); background: var(--soft); padding: 26px; }
.c-card .c-var { display: inline-block; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; letter-spacing: 2px; padding: 4px 12px; }
.c-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 14px; }

.empty { text-align: center; color: var(--muted); padding: 50px 0; }
.center { text-align: center; }
.pad { padding: 70px 0; }
footer { text-align: center; color: var(--faint); padding: 34px; font-size: 12px; letter-spacing: 1px; border-top: 1px solid var(--line); margin-top: 80px; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .c-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  nav { padding: 18px 20px; flex-wrap: wrap; }
  nav .links { display: flex; flex-wrap: wrap; margin-top: 12px; }
  nav .links a { margin-left: 0; margin-right: 18px; }
  #themeBtn { margin-left: 0; }
  .wrap { padding: 0 20px; }
}