@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --navy: #0B1630;
  --navy-2: #13224A;
  --blue: #2B2FA8;
  --gold: #E8B84A;
  --gold-d: #C99A2E;
  --cream: #F5F0E8;
  --paper: #FBF9F5;
  --ink: #141A2E;
  --muted: #5D6377;
  --line: #E4DDD0;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(11, 22, 48, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.6 "Montserrat", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }
.gold { color: var(--gold-d); }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--blue); margin-bottom: .9em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow--gold { color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.section--navy .lead { color: #B8C0D9; }
.fine { font-size: .8rem; color: #8F98B5; margin-top: 14px; }

/* buttons */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid var(--bg); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary { --bg: var(--blue); }
.btn--gold { --bg: var(--gold); --fg: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--link { background: none; border-color: transparent; color: var(--blue); padding-inline: 4px; }
.section--navy .btn--link { color: var(--gold); }
.btn--link:hover { box-shadow: none; text-decoration: underline; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--wa { --bg: #1FAF5A; }
.btn--wa svg { width: 18px; height: 18px; fill: currentColor; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 245, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .9rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); opacity: .8; }
.nav a:hover { opacity: 1; color: var(--blue); }
.top__wa { padding: 10px 16px; }

/* hero */
.hero { padding: 56px 0 72px; background: radial-gradient(1000px 500px at 85% 20%, #EFE6D4 0, transparent 60%), var(--paper); }
.hero__in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .9rem; }
.hero__facts b { color: var(--ink); }
.hero__media { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 13; box-shadow: 0 40px 80px -40px rgba(11,22,48,.55); background: var(--cream); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(11,22,48,.6)); pointer-events: none; }
.hero__media figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232,184,74,.3); }

/* sections */
.section { padding: 88px 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--cream { background: var(--cream); }
.head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.door { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.door p { color: var(--muted); }
.door .btn { margin-top: auto; }
.door__no { font-weight: 800; color: var(--gold-d); font-size: .85rem; letter-spacing: .1em; margin-bottom: 18px; }
.door__fear { font-style: italic; color: var(--ink) !important; border-left: 3px solid var(--gold); padding-left: 12px; }
.door--accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.door--accent p { color: #B8C0D9; }
.door--accent .door__fear { color: #fff !important; }

/* offer */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.offer__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.offer__steps li { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.offer__steps li > span { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-weight: 800; }
.offer__steps p { margin: 0; color: #B8C0D9; font-size: .95rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; width: 100%; justify-self: center; }
.pair figure, .about__img { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.pair img { aspect-ratio: 3 / 4.4; object-fit: cover; width: 100%; }
.pair figure:nth-child(2) { transform: translateY(32px); }
.pair figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11,22,48,.8); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.split--about { grid-template-columns: .8fr 1.2fr; }
.about__img { max-width: 480px; }
.about__img img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; }

/* steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px 20px; border-top: 4px solid var(--gold); }
.steps b { color: var(--blue); font-size: .85rem; letter-spacing: .1em; }
.steps h3 { margin-top: 10px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* listings */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 30px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy) 0, var(--navy-2) 100%); position: relative; display: grid; place-items: center; color: var(--gold); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img .ph { font-weight: 800; font-size: 2.6rem; letter-spacing: -.02em; }
.card__img .ph small { display: block; font-size: .8rem; color: #B8C0D9; letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.badge--sold { background: #fff; color: var(--muted); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.card__price { font-weight: 700; color: var(--blue); margin: 4px 0 16px; }
.card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* projects */
.projects { display: grid; gap: 28px; margin-top: 30px; }
.project { background: #fff; border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.project__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.project__photos figure { margin: 0; }
.project__photos img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; width: 100%; }
.project__photos figcaption { font-size: .75rem; font-weight: 600; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .1em; }

/* topics */
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.topics li { padding: 18px 20px; border-radius: 14px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); font-weight: 600; }
.topics span { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contacts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contacts li { display: flex; flex-direction: column; }
.contacts span { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contacts a { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--navy); }
.form { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.form input, .form textarea { font: 500 1rem "Montserrat", sans-serif; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.types label { display: block; position: relative; }
.types input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.types span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .85rem; }
.types input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.types input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; }
.form__msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.form__msg.ok { color: #13804A; }
.form__msg.err { color: #B3261E; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }

/* footer */
.foot { background: var(--navy); color: #B8C0D9; padding: 48px 0 32px; font-size: .9rem; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; }
.foot__logo { background: #fff; border-radius: 14px; padding: 8px 12px; height: auto; width: 150px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot a { color: #fff; text-decoration: none; }
.foot__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin: 0; font-size: .8rem; }

/* floating WA */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #1FAF5A; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* modal */
.modal { border: 0; border-radius: 24px; padding: 0; width: min(760px, calc(100% - 24px)); max-height: 90vh; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(11,22,48,.6); }
.modal__x { position: absolute; right: 12px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }
.lm__gallery { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--navy); }
.lm__gallery img { height: 380px; width: auto; scroll-snap-align: start; object-fit: cover; }
.lm__body { padding: 26px 28px 30px; }
.lm__body p { white-space: pre-line; color: var(--muted); }

/* responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top__wa { margin-left: auto; }
  .hero__in, .offer, .split, .split--about, .contact, .project { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; aspect-ratio: 4 / 5; }
  .doors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .offer { gap: 36px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 32px; }
  .brand img { height: 44px; }
  .top__wa span { display: none; }
  .steps, .grid2, .foot__cols, .foot__in { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .pair figure:nth-child(2) { transform: translateY(20px); }
  .hero__cta .btn { width: 100%; }
  .lm__gallery img { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
