/* =========================================================
   Anchor Homes & Properties — main stylesheet
   ========================================================= */
:root {
  --blue: #2007A9;
  --blue-2: #2A16C9;
  --blue-deep: #120566;
  --ink: #0B0A2E;
  --ink-2: #3D3C5C;
  --muted: #6E6D8A;
  --red: #E30613;
  --red-2: #FF2A36;
  --mist: #F4F4FB;
  --mist-2: #ECEBF8;
  --line: #E3E2F0;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(18, 5, 102, .35);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --head: 'Outfit', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--white);
  font-size: 16.5px; line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--blue); }
button { font: inherit; cursor: pointer; }
.ic { flex-shrink: 0; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }

.eyebrow {
  font-family: var(--head); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow.light { color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 100px;
  font-family: var(--head); font-weight: 600; font-size: .98rem; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(4px); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(227,6,19,.7); }
.btn-red:hover { background: var(--red-2); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 30px -12px rgba(32,7,169,.7); }
.btn-blue:hover { background: var(--blue-2); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { box-shadow: 0 16px 34px -14px rgba(0,0,0,.45); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; color: var(--blue); }
.link-arrow .ic { transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(6px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999; background: var(--blue); display: grid; place-items: center;
  transition: opacity .6s var(--ease) .1s, visibility .6s;
}
.loader img { width: 120px; animation: loaderPulse 1.4s var(--ease) infinite; }
.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loaderPulse { 0%,100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0;
  transition: background .4s, padding .4s, box-shadow .4s, transform .45s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 150px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  position: relative; padding: 9px 15px; font-family: var(--head); font-weight: 500; font-size: .97rem;
  color: rgba(255,255,255,.88); border-radius: 100px; transition: color .3s, background .3s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease);
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.main-nav a.is-active::after { transform: translateX(-50%) scale(1); }
.main-nav a.is-active { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--head); font-weight: 500; font-size: .92rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease), background .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.site-header.is-solid { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 11px 0; box-shadow: 0 8px 30px -18px rgba(18,5,102,.35); }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .logo-dark { opacity: 1; }
.site-header.is-solid .main-nav a { color: var(--ink-2); }
.site-header.is-solid .main-nav a:hover { color: var(--blue); background: var(--mist); }
.site-header.is-solid .main-nav a.is-active { color: var(--blue); }
.site-header.is-solid .header-phone { color: var(--ink); }
.site-header.is-solid .burger { border-color: var(--line); }
.site-header.is-solid .burger span { background: var(--ink); }
.site-header.is-hidden { transform: translateY(-110%); }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
.menu-open .site-header .logo-light { opacity: 1; }
.menu-open .site-header .logo-dark { opacity: 0; }
.menu-open .site-header .burger { border-color: rgba(255,255,255,.4); }
.menu-open .site-header .burger span { background: #fff; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--blue-deep);
  background-image: radial-gradient(circle at 85% 10%, rgba(42,22,201,.9), transparent 55%), radial-gradient(circle at 0% 100%, rgba(227,6,19,.25), transparent 45%);
  display: flex; flex-direction: column; justify-content: center; padding: 110px 28px 40px;
  clip-path: circle(0% at calc(100% - 45px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 45px) 42px); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--head); font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 600; color: #fff; display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease), color .3s;
}
.mobile-menu nav a small { font-size: .8rem; color: rgba(255,255,255,.45); font-weight: 500; }
.mobile-menu nav a.is-active { color: #fff; }
.mobile-menu nav a.is-active small { color: var(--red-2); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mm-foot { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.mm-foot a { color: rgba(255,255,255,.8); display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; flex-direction: column; overflow: hidden; background: var(--blue-deep); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7.5s linear; }
.hero-slide.is-on { opacity: 1; transform: scale(1.0); }
.hero-shade {
  background:
    linear-gradient(100deg, rgba(14,4,80,.92) 0%, rgba(20,7,120,.72) 38%, rgba(20,7,120,.15) 70%, rgba(14,4,80,.35) 100%),
    linear-gradient(0deg, rgba(10,4,60,.75) 0%, transparent 35%);
}
.hero-swoosh { position: absolute; right: -6%; bottom: 12%; width: 62%; max-width: 900px; opacity: .55; pointer-events: none; }
.hero-swoosh path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawLine 3.2s var(--ease) 1s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 50px; padding: 150px 0 40px; }
.hero-title { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-weight: 700; letter-spacing: -.035em; line-height: .98; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .14s; }
.loaded .hero-title .line > span { transform: none; }
.hero-title em { color: #fff; font-size: 1.08em; position: relative; }
.hero-title em::after { content: ''; position: absolute; left: 4%; right: 2%; bottom: .08em; height: .08em; background: var(--red); border-radius: 10px; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) 1.2s; }
.loaded .hero-title em::after { transform: scaleX(1); }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.best-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); transition: transform .5s var(--ease), background .4s;
  animation: floaty 6s ease-in-out infinite 2s;
}
.best-card:hover { background: rgba(255,255,255,.16); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.best-tag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.best-img { height: 170px; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.best-card:hover .best-img { transform: scale(1.06); }
.best-body { padding: 18px 20px 20px; }
.best-body small { display: block; color: rgba(255,255,255,.7); font-size: .82rem; margin-bottom: 4px; }
.best-body strong { display: block; font-family: var(--head); font-size: 1.15rem; font-weight: 600; line-height: 1.25; margin-bottom: 12px; padding-right: 30px; }
.best-meta { display: flex; justify-content: space-between; align-items: center; }
.best-meta span { font-size: .85rem; color: rgba(255,255,255,.8); padding: 4px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; }
.best-meta b { font-family: var(--head); font-size: 1.6rem; font-weight: 700; }
.best-go { position: absolute; right: 18px; bottom: 74px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .4s var(--ease); }
.best-card:hover .best-go { transform: rotate(45deg); }

.hero-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-bottom: 34px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.3); padding: 0; position: relative; overflow: hidden; }
.hero-dots button.is-on::after { content: ''; position: absolute; inset: 0; background: #fff; animation: dotFill 6s linear forwards; transform-origin: left; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.scroll-cue span { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px; position: relative; }
.scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 3px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--head); font-size: 1.25rem; font-weight: 500; white-space: nowrap; }
.marquee-track i { color: var(--red-2); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro-media { position: relative; aspect-ratio: 1 / 1.02; }
.im-main { position: absolute; inset: 0 14% 12% 0; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.im-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--radius); background-size: cover; background-position: center 30%; border: 8px solid #fff; box-shadow: var(--shadow); }
.im-badge { position: absolute; left: -18px; bottom: 22%; display: flex; align-items: center; gap: 14px; background: var(--blue); color: #fff; padding: 16px 22px 16px 16px; border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(32,7,169,.8); font-family: var(--head); font-weight: 500; line-height: 1.25; }
.im-badge img { width: 46px; }
.intro-copy p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 32px 0 30px; }
.stat { background: #fff; padding: 22px 22px; }
.stat b { display: block; font-family: var(--head); font-size: 2.1rem; font-weight: 700; color: var(--blue); line-height: 1.1; }
.stat b small { font-size: .9rem; margin-left: 4px; color: var(--muted); font-weight: 500; }
.stat > span { font-size: .9rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; max-width: 700px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Estate cards ---------- */
.estates-sec { background: var(--mist); }
.estate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.estate-card { position: relative; border-radius: 26px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.ec-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform 1.2s var(--ease); }
.estate-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,4,80,0) 30%, rgba(14,4,80,.92) 100%); transition: opacity .5s; }
.estate-card:hover .ec-img { transform: scale(1.07); }
.status-pill { position: absolute; top: 20px; left: 20px; font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; background: #fff; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #18b85c; box-shadow: 0 0 0 0 rgba(24,184,92,.6); animation: ping 2s infinite; }
.status-pill.s-coming-soon::before { background: #f5a300; box-shadow: 0 0 0 0 rgba(245,163,0,.6); }
.status-pill.s-sold-out::before { background: var(--red); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(24,184,92,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(24,184,92,0); } }
.ec-body { padding: 30px; width: 100%; }
.ec-body small { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); font-size: .9rem; }
.ec-body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin: 6px 0 6px; }
.ec-body p { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.ec-foot { display: flex; align-items: center; gap: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); font-size: .92rem; color: rgba(255,255,255,.8); }
.ec-foot b { font-family: var(--head); color: #fff; font-size: 1.25rem; }
.ec-foot i { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
.estate-card:hover .ec-foot i { transform: rotate(45deg); background: var(--red); color: #fff; }

/* ---------- Price list ---------- */
.prices-sec { background: var(--blue-deep); color: #fff; overflow: hidden; }
.prices-sec::before { content: ''; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(42,22,201,.85), transparent 65%); pointer-events: none; }
.prices-sec::after { content: ''; position: absolute; width: 500px; height: 500px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(227,6,19,.28), transparent 65%); pointer-events: none; }
.prices-sec .wrap { position: relative; z-index: 1; }
.prices-sec h2 em { color: #fff; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -16px auto 40px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 6px; border-radius: 100px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: transparent; color: rgba(255,255,255,.75); padding: 10px 20px; border-radius: 100px; font-family: var(--head); font-weight: 500; transition: background .3s, color .3s; }
.tabs button.is-on { background: #fff; color: var(--blue); }
.price-list { display: grid; gap: 12px; max-width: 1000px; margin: 0 auto; }
.price-row { display: grid; grid-template-columns: 96px 1fr auto auto; align-items: center; gap: 24px; padding: 16px 16px 16px 16px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .35s, transform .45s var(--ease), border-color .35s, opacity .9s var(--ease); }
.price-row:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); transform: translateX(6px); }
.price-row.is-hidden { display: none; }
.pr-size { height: 74px; border-radius: 14px; background: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.pr-size b { font-family: var(--head); font-size: 1.6rem; font-weight: 700; }
.pr-size small { font-size: .68rem; letter-spacing: .18em; opacity: .75; margin-top: 4px; }
.pr-info strong { display: block; font-family: var(--head); font-size: 1.15rem; font-weight: 600; }
.pr-info span { font-size: .9rem; color: rgba(255,255,255,.65); }
.pr-price { font-family: var(--head); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.pr-go { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 100px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 600; font-size: .9rem; transition: background .3s, transform .3s var(--ease); }
.pr-go:hover { background: var(--red-2); transform: scale(1.04); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { position: relative; padding: 38px 32px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s, opacity .9s var(--ease); isolation: isolate; }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%); opacity: 0; transition: opacity .5s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover, .svc-card:hover h3 { color: #fff; }
.svc-card:hover p { color: rgba(255,255,255,.8); }
.svc-num { position: absolute; top: 26px; right: 30px; font-family: var(--head); font-weight: 700; font-size: 3rem; color: var(--mist-2); line-height: 1; transition: color .5s; }
.svc-card:hover .svc-num { color: rgba(255,255,255,.12); }
.svc-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--mist); color: var(--blue); display: grid; place-items: center; margin-bottom: 26px; transition: background .5s, color .5s, transform .6s var(--ease); }
.svc-card:hover .svc-ic { background: var(--red); color: #fff; transform: rotate(-8deg); }
.svc-card h3 { font-size: 1.5rem; }
.svc-card p { color: var(--ink-2); margin: 0; transition: color .5s; }

/* ---------- Why ---------- */
.why-sec { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-img { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.why-float { position: absolute; right: -20px; bottom: 34px; display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px 22px; border-radius: 18px; box-shadow: var(--shadow); color: var(--blue); animation: floaty 6s ease-in-out infinite; }
.why-float b { display: block; font-family: var(--head); color: var(--ink); }
.why-float span { font-size: .88rem; color: var(--muted); }
.why-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 18px; padding: 20px; background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, opacity .9s var(--ease); }
.why-list li:hover { transform: translateX(8px); box-shadow: 0 14px 30px -18px rgba(18,5,102,.3); }
.why-list i { width: 50px; height: 50px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.why-list b { display: block; font-family: var(--head); font-size: 1.1rem; margin-bottom: 2px; }
.why-list span { color: var(--ink-2); font-size: .95rem; }

/* ---------- CEO ---------- */
.ceo-sec { background: var(--ink); color: #fff; overflow: hidden; }
.ceo-sec::before { content: ''; position: absolute; inset: 0; background: url('../img/mark-white.png') no-repeat right -80px center / 560px auto; opacity: .04; pointer-events: none; }
.ceo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; position: relative; }
.ceo-photo { position: relative; }
.ceo-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; border-radius: 200px 200px var(--radius) var(--radius); filter: grayscale(1) contrast(1.05); }
.ceo-ring { position: absolute; inset: -14px; border: 1.5px solid rgba(255,255,255,.18); border-radius: 214px 214px 32px 32px; pointer-events: none; }
.ceo-copy blockquote { margin: 0 0 30px; font-family: var(--head); font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 300; line-height: 1.5; position: relative; }
.ceo-copy blockquote::before { content: '\201C'; font-family: var(--serif); font-size: 8rem; line-height: .7; color: var(--red); display: block; height: 60px; }
.ceo-copy blockquote p:last-child { margin: 0; }
.ceo-sign { padding-left: 20px; border-left: 3px solid var(--red); }
.ceo-sign b { display: block; font-family: var(--head); font-size: 1.25rem; }
.ceo-sign span { color: rgba(255,255,255,.65); font-size: .95rem; }

/* ---------- Gallery strip ---------- */
.gal-strip-sec { padding-bottom: 100px; }
.gal-strip { display: flex; gap: 20px; overflow-x: auto; padding: 0 max(20px, calc((100vw - 1240px) / 2)) 20px; scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2)); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.gs-item { position: relative; flex: 0 0 auto; width: clamp(280px, 34vw, 460px); aspect-ratio: 4 / 3; margin: 0; border-radius: 20px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.gs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); pointer-events: none; }
.gs-item:hover img { transform: scale(1.06); }
.gs-item figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--head); font-size: .88rem; font-weight: 500; padding: 7px 14px; border-radius: 100px; transform: translateY(10px); opacity: 0; transition: .4s var(--ease); }
.gs-item:hover figcaption { opacity: 1; transform: none; }

/* ---------- CTA ---------- */
.cta-band { position: relative; color: #fff; padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: -40px 0; background-size: cover; background-position: center; z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(32,7,169,.95) 0%, rgba(32,7,169,.82) 50%, rgba(18,5,102,.6) 100%); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 12px; }
.cta-inner h2 em { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #07062A; color: rgba(255,255,255,.72); position: relative; overflow: hidden; padding-top: 90px; }
.footer-glow { position: absolute; width: 600px; height: 600px; left: 50%; top: -420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(42,22,201,.55), transparent 65%); pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 60px; }
.f-logo { width: 190px; margin-bottom: 22px; }
.f-brand p { margin-bottom: 8px; font-size: .92rem; }
.f-tag { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.f-col h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 20px; }
.f-col a { display: block; padding: 5px 0; transition: color .3s, transform .3s var(--ease); width: fit-content; }
.f-col a:hover { color: #fff; transform: translateX(5px); }
.f-contact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.f-contact .ic { margin-top: 4px; color: var(--red-2); }
.f-contact a { display: inline; padding: 0; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.admin-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.6); transition: color .3s; }
.admin-link:hover { color: #fff; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .35s var(--ease); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waRing 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(7,6,42,.94); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 14px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 14px; font-family: var(--head); }
.lb-close, .lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-close { position: absolute; top: 20px; right: 20px; }
.lb-prev .ic { transform: rotate(180deg); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { position: relative; min-height: 480px; color: #fff; display: flex; align-items: flex-end; padding: 170px 0 70px; overflow: hidden; isolation: isolate; background: var(--blue-deep); }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; animation: kenburns 14s ease-out forwards; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,4,80,.94) 0%, rgba(20,7,120,.7) 50%, rgba(20,7,120,.35) 100%); }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 14px; }
.page-hero h1 em { color: #fff; }
.page-hero p.lead { max-width: 620px; color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 18px; font-family: var(--head); }
.crumbs a:hover { color: #fff; }

/* About */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 10px; }
.mv-card { padding: 40px; border-radius: var(--radius); background: var(--mist); position: relative; overflow: hidden; transition: transform .5s var(--ease), opacity .9s var(--ease); }
.mv-card:hover { transform: translateY(-6px); }
.mv-card.dark { background: var(--blue); color: #fff; }
.mv-card .ic { color: var(--blue); margin-bottom: 20px; }
.mv-card.dark .ic { color: #fff; }
.mv-card h3 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.mv-card.dark h3 { color: rgba(255,255,255,.7); }
.mv-card p { font-family: var(--head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.3; margin: 0; }
.mv-card p em { color: inherit; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split p { color: var(--ink-2); }
.rounded-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.video-card { position: relative; max-width: 380px; margin-inline: auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 9 / 16; }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(14,4,80,.65), rgba(14,4,80,.1)); border: 0; color: #fff; transition: opacity .4s; }
.video-play span { width: 78px; height: 78px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(227,6,19,.5); animation: pulseRed 2s infinite; }
.video-play small { position: absolute; bottom: 26px; left: 0; right: 0; font-family: var(--head); font-size: 1rem; }
.video-card.playing .video-play { opacity: 0; pointer-events: none; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(227,6,19,.55); } 80%,100% { box-shadow: 0 0 0 22px rgba(227,6,19,0); } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s, opacity .9s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value i { width: 56px; height: 56px; border-radius: 16px; background: var(--mist); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.value p { color: var(--ink-2); margin: 0; }
.team-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 70%; }
.team-photo span { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: .9rem; padding: 8px 16px; border-radius: 100px; }

/* Estates listing */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 10px 20px; border-radius: 100px; font-family: var(--head); font-weight: 500; color: var(--ink-2); transition: .3s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--mist); border-radius: var(--radius); }

/* Estate detail */
.estate-hero { min-height: 640px; }
.doc-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.doc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); font-family: var(--head); font-weight: 500; font-size: .92rem; }
.doc-badge .ic { color: #4ade80; }
.estate-intro { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.estate-intro .desc p { color: var(--ink-2); font-size: 1.07rem; }
.facts { background: var(--mist); border-radius: var(--radius); padding: 30px; position: sticky; top: 100px; }
.facts h3 { font-size: 1.2rem; margin-bottom: 18px; }
.facts dl { margin: 0 0 24px; display: grid; gap: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-family: var(--head); font-weight: 600; text-align: right; }
.facts .btn { width: 100%; justify-content: center; margin-top: 10px; }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.unit { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, opacity .9s var(--ease); }
.unit:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.unit-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.unit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.unit:hover .unit-img img { transform: scale(1.07); }
.unit-size { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 100px; }
.unit-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.unit-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.unit-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.unit-meta span { display: inline-flex; align-items: center; gap: 6px; }
.unit-body p { color: var(--ink-2); font-size: .95rem; margin-bottom: 18px; }
.unit-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.unit-price { font-family: var(--head); font-weight: 700; font-size: 1.45rem; color: var(--blue); }
.unit-foot a { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease); }
.unit-foot a:hover { transform: scale(1.1) rotate(-8deg); }

/* Gallery grid */
.masonry { columns: 3 320px; column-gap: 20px; }
.m-item { break-inside: avoid; margin: 0 0 20px; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--mist); }
.m-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.m-item:hover img { transform: scale(1.05); }
.m-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,4,80,.7), transparent 50%); opacity: 0; transition: opacity .4s; }
.m-item:hover::after { opacity: 1; }
.m-item figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--head); font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 10px; opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.m-item:hover figcaption { opacity: 1; transform: none; }
.m-item.is-hidden { display: none; }

/* Services page */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail.flip .svc-d-img { order: 2; }
.svc-d-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.svc-d-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-d-img:hover img { transform: scale(1.05); }
.svc-d-num { font-family: var(--head); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--mist-2); display: block; margin-bottom: -10px; }
.svc-detail ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.svc-detail li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.svc-detail li .ic { color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; margin-top: 2px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .4s, transform .5s var(--ease), opacity .9s var(--ease); }
.step:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.step b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--head); font-size: 1.1rem; margin-bottom: 22px; }
.step h3 { color: #fff; font-size: 1.2rem; }
.step p { color: rgba(255,255,255,.72); margin: 0; font-size: .95rem; }
.dark-sec { background: var(--blue-deep); color: #fff; overflow: hidden; }
.dark-sec h2 em { color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: var(--mist); transition: transform .4s var(--ease), background .4s, opacity .9s var(--ease); }
.info-card:hover { transform: translateX(6px); background: var(--mist-2); }
.info-card i { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.info-card small { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 2px; font-family: var(--head); }
.info-card b, .info-card a { font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-weight: 500; font-size: .92rem; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist); transition: border-color .3s, background .3s, box-shadow .3s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(32,7,169,.1); }
.form-card .btn { margin-top: 8px; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 22px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.alert-ok { background: #e7f8ee; color: #0d6b34; }
.alert-err { background: #fdecec; color: #a3121a; }
.map { margin-top: 70px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); height: 420px; filter: saturate(.9); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav, .header-phone { display: none; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; align-items: end; }
  .best-card { max-width: 420px; display: grid; grid-template-columns: 140px 1fr; }
  .best-img { height: 100%; min-height: 140px; }
  .best-go { bottom: auto; top: 14px; right: 14px; width: 32px; height: 32px; }
  .best-tag { top: 10px; left: 10px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .intro-grid, .why-grid, .ceo-grid, .split, .estate-intro, .contact-grid, .svc-detail { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-d-img { order: 0; }
  .svc-grid, .values { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .ceo-photo { max-width: 420px; }
  .why-float { right: 12px; }
  .facts { position: static; }
  .price-row { grid-template-columns: 68px 1fr 46px; gap: 6px 14px; padding: 14px; }
  .price-row:hover { transform: none; }
  .pr-size { height: 68px; grid-row: span 2; }
  .pr-info { grid-column: 2; }
  .pr-price { font-size: 1.2rem; grid-column: 2; grid-row: 2; }
  .pr-go { grid-column: 3; grid-row: 1 / span 2; width: 46px; height: 46px; padding: 0; justify-content: center; }
  .pr-go span { display: none; }
  .im-badge { left: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand { width: 124px; }
  .header-cta .btn { display: none; }
  .hero-inner { padding-top: 120px; gap: 30px; }
  .hero-swoosh { width: 120%; right: -30%; }
  .best-card { grid-template-columns: 110px 1fr; }
  .best-body { padding: 14px 16px; }
  .best-body strong { font-size: 1rem; margin-bottom: 8px; padding-right: 26px; }
  .best-meta b { font-size: 1.25rem; }
  .best-meta span { font-size: .75rem; }
  .best-tag { font-size: .65rem; padding: 4px 8px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .scroll-cue { display: none; }
  .estate-card { min-height: 440px; }
  .ec-body { padding: 22px; }
  .ec-foot { gap: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 1.6rem; }
  .tabs { border-radius: 20px; }
  .tabs button { padding: 9px 14px; font-size: .9rem; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; gap: 6px; }
  .lb-nav { position: absolute; bottom: 24px; width: 46px; height: 46px; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .page-hero { min-height: 420px; padding: 140px 0 54px; }
  .mv-card { padding: 30px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .im-small { border-width: 5px; }
  .im-badge { padding: 12px 16px 12px 12px; font-size: .88rem; bottom: 18%; }
  .im-badge img { width: 34px; }
  .map { height: 320px; }
  .sec-head { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}
