:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --bg-util: #f2f1ee;
  --fg: #1d1d1f;
  --muted: #6b6b6b;
  --line: #e8e6e1;
  --line-s: #ddd;
  --navy: #1e3a5f;
  --cta: #e8742a;
  --cta-h: #d4661f;
  --shadow: 0 2px 16px rgba(0,0,0,0.05);
  --shadow-h: 0 12px 28px rgba(0,0,0,0.10);
  --r: 8px;
  --r-sm: 6px;
  --r-lg: 12px;
  --t: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Manrope', -apple-system, sans-serif; color: var(--fg); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.mono { font-family: 'PT Mono', monospace; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5 { margin: 0; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 60px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t); white-space: nowrap; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(232,116,42,0.28); }
.btn-cta:hover { background: var(--cta-h); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); padding: 14px 22px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }
.icon-arrow { width: 14px; height: 14px; transition: transform var(--t); }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ===== Utility bar ===== */
.utility { height: 36px; background: var(--bg-util); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.util-item { display: inline-flex; align-items: center; gap: 8px; }
.util-right { display: flex; gap: 28px; }
.util-right a:hover { color: var(--fg); }
.icon-sm { width: 13px; height: 13px; flex-shrink: 0; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; height: 80px; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow var(--t); }
.header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-badge { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #111; padding: 4px; }
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1.1; }
.brand-tag { font-family: 'PT Mono', monospace; font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 20px; font-size: 13.5px; font-weight: 500; margin: 0 auto; white-space: nowrap; }
.nav a { color: var(--fg); transition: color var(--t); }
.nav a:hover { color: var(--cta); }
.header-right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.header-phone { text-align: right; line-height: 1.15; }
.phone-num { font-weight: 700; font-size: 16px; display: block; }
.phone-hours { font-size: 11px; color: var(--muted); margin-top: 3px; }
.burger { display: none; width: 32px; height: 24px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform var(--t), opacity var(--t); transform-origin: center; }
.burger.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; height: 740px; overflow: hidden; color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }

/* Ken Burns zoom effect on active slide */
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-slide.active {
  animation: kenBurns 8s ease-out forwards;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 70%, transparent 100%); }
.hero-content { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 100px; }
.hero-text { max-width: 760px; }
.hero-label { display: inline-flex; align-items: center; gap: 12px; font-family: 'PT Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--cta); text-transform: uppercase; margin-bottom: 28px; }
.hero-label::before { content: ""; width: 28px; height: 1px; background: var(--cta); }
.hero h1 { font-size: 64px; line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--cta); }
.hero-sub { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.9); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { position: absolute; right: 60px; bottom: 100px; background: rgba(255,255,255,0.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--r); padding: 28px 36px; display: flex; gap: 44px; z-index: 2; }
.stat-num { font-family: 'PT Mono', monospace; font-size: 32px; color: var(--cta); font-weight: 400; line-height: 1; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,0.85); margin-top: 8px; max-width: 100px; }
.hero-controls { position: absolute; left: 60px; bottom: 36px; display: flex; align-items: center; gap: 18px; color: #fff; z-index: 2; }
.hero-counter { font-family: 'PT Mono', monospace; font-size: 13px; color: rgba(255,255,255,0.85); }
.hero-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); padding: 0; transition: background var(--t), transform var(--t); }
.dot.active { background: var(--cta); transform: scale(1.2); }
.hero-arrows { display: flex; gap: 8px; margin-left: 8px; }
.arrow-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); color: #fff; display: grid; place-items: center; transition: background var(--t), border-color var(--t); }
.arrow-btn:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.arrow-btn svg { width: 14px; height: 14px; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.section-label { display: inline-flex; align-items: center; gap: 14px; font-family: 'PT Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--cta); }
.section-head h2 { font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.section-sub { font-size: 17px; color: var(--muted); line-height: 1.55; max-width: 460px; justify-self: end; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.about-photo { aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background-size: cover; background-position: center; }
.about-lead { font-size: 20px; line-height: 1.45; font-weight: 500; margin-bottom: 20px; }
.about-body { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.about-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 32px; }
.info-label { font-family: 'PT Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.info-value { font-weight: 600; font-size: 15px; }
.director { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-alt); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.director-name { font-weight: 700; font-size: 15px; }
.director-role { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ===== Advantages ===== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card { background: #fff; border-radius: var(--r); padding: 36px; box-shadow: var(--shadow); transition: transform var(--t), box-shadow var(--t); position: relative; }
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.adv-num { position: absolute; top: 24px; right: 28px; font-size: 13px; color: #c9c7c2; }
.adv-icon { width: 40px; height: 40px; color: var(--navy); margin-bottom: 20px; }
.adv-icon svg { width: 100%; height: 100%; }
.adv-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ===== Projects ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
a.project-card { text-decoration: none; color: inherit; display: block; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.project-img { height: 220px; background-size: cover; background-position: center; }
.project-body { padding: 24px; }
.project-type { font-family: 'PT Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.project-specs { display: flex; gap: 16px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.project-price { font-size: 15px; margin-bottom: 18px; }
.project-price strong { font-size: 24px; font-family: 'PT Mono', monospace; letter-spacing: -0.02em; }
.project-custom { border: 2px dashed var(--line); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.project-custom-inner { text-align: center; padding: 40px 24px; }
.custom-icon { width: 48px; height: 48px; color: var(--cta); margin-bottom: 16px; }
.project-custom h3 { font-size: 20px; margin-bottom: 8px; }
.project-custom p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

/* ===== Process ===== */
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-line { position: absolute; top: 28px; left: 5%; right: 5%; height: 1px; background: var(--cta); opacity: 0.4; }
.process-step { position: relative; z-index: 1; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px; color: var(--cta); margin-bottom: 24px; transition: border-color var(--t), box-shadow var(--t); }
.process-step:hover .step-circle { border-color: var(--cta); box-shadow: 0 0 0 6px rgba(232,116,42,0.12); }
.process-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.step-time { font-family: 'PT Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: #a4a39e; text-transform: uppercase; }

/* ===== Reviews ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); transition: transform var(--t), box-shadow var(--t); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fbf1e8; color: var(--cta); display: grid; place-items: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.review-meta { flex: 1; }
.review-name { font-weight: 700; font-size: 15px; }
.review-date { color: var(--muted); font-size: 13px; margin-top: 2px; }
.review-stars { color: var(--cta); font-size: 14px; letter-spacing: 1px; }
.review-body { color: var(--muted); font-size: 15px; line-height: 1.6; }
.reviews-cta { text-align: center; margin-top: 40px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 24px 0; font-size: 17px; font-weight: 600; text-align: left; color: var(--fg); gap: 16px; }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--fg); border-radius: 1px; transition: transform 0.25s ease; }
.faq-icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.faq-icon::after { width: 2px; height: 14px; top: 5px; left: 11px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; }
.contact-left h2 { font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin: 20px 0 20px; }
.contact-sub { font-size: 17px; color: var(--muted); margin-bottom: 40px; max-width: 460px; line-height: 1.55; }
.contact-points li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.contact-points li:last-child { border-bottom: 1px solid var(--line); }
.dot-orange { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); margin-top: 8px; flex-shrink: 0; }
.contact-points strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-points span { color: var(--muted); font-size: 14px; }
.form-card { background: var(--bg-alt); border-radius: var(--r-lg); padding: 44px; }
.form-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.form-sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.field { display: block; width: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line-s); border-radius: var(--r-sm); font: inherit; color: var(--fg); margin-bottom: 14px; transition: border-color var(--t), box-shadow var(--t); }
.field:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(232,116,42,0.14); }
.field::placeholder { color: #a4a39e; }
.legal { font-size: 12px; color: #a4a39e; margin-top: 14px; line-height: 1.45; }
.legal a { color: var(--muted); }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success.active { display: block; }
.check-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; }
.check-circle svg { width: 30px; height: 30px; }
.form-success h4 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

/* ===== Mortgage & Escrow ===== */
.mortgage-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.escrow-badge {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 32px;
}
.escrow-icon { flex-shrink: 0; width: 56px; height: 56px; color: #16a34a; }
.escrow-icon svg { width: 56px; height: 56px; }
.escrow-badge h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #15803d; }
.escrow-badge p { color: #4b5563; font-size: 14.5px; line-height: 1.6; }
.mortgage-features { display: flex; flex-direction: column; gap: 16px; }
.mort-feature { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.mort-feature svg { width: 22px; height: 22px; flex-shrink: 0; }
.mortgage-banks {
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  padding: 32px;
}
.mortgage-banks h4 {
  font-family: 'PT Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 20px;
}
.bank-list { display: flex; flex-wrap: wrap; gap: 10px; }
.bank-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  flex: 1 1 calc(50% - 5px);
  min-width: 120px;
  transition: border-color var(--t), box-shadow var(--t);
}
.bank-item:hover { border-color: var(--cta); box-shadow: var(--shadow); }
.form-success p { color: var(--muted); }
.form-fields.hidden { display: none; }

/* ===== Map ===== */
.map-section { border-top: 1px solid var(--line); }

/* ===== Footer ===== */
.footer-cta {
  text-align: center;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cta h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.footer-cta p { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 28px; }
footer { background: #1d1d1f; color: #fff; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.5); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14.5px; line-height: 1.6; margin-top: 0; max-width: 320px; }
.footer-col h5 { font-family: 'PT Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 400; margin: 6px 0 22px; }
.footer-col p, .footer-col a { display: block; color: rgba(255,255,255,0.85); font-size: 14.5px; line-height: 1.55; margin-bottom: 8px; transition: color var(--t); }
.footer-col a:hover { color: var(--cta); }
.footer-muted { color: rgba(255,255,255,0.5) !important; font-size: 13px !important; margin-top: 14px; }
.socials { display: flex; gap: 10px; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: #fff; transition: background var(--t), border-color var(--t), color var(--t); }
.social-btn:hover { color: var(--cta); border-color: var(--cta); }
.social-btn svg { width: 17px; height: 17px; }
.social-btn svg { width: 22px; height: 22px; border-radius: 5px; }
.social-btn--tg:hover { border-color: #37aee2; }
.social-btn--vk:hover { border-color: #0077ff; }
.social-btn--max:hover { border-color: #8b5cf6; }
.footer-brand .socials { margin-top: 24px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; color: rgba(255,255,255,0.45); font-size: 13px; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: rgba(255,255,255,0.45); transition: color var(--t); }
.footer-links a:hover { color: #fff; }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta), #f5a623);
  width: 0%;
  z-index: 200;
  transition: width 0.05s linear;
}

/* ===== Active nav link ===== */
.nav a.active {
  color: var(--cta);
  position: relative;
}
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cta);
  border-radius: 1px;
}

/* ===== Tilt effect on cards ===== */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
}
.tilt-card .tilt-inner {
  transition: transform 0.15s ease-out;
  transform: rotateX(0) rotateY(0);
  will-change: transform;
}

/* ===== Magnetic button ===== */
.magnetic {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* ===== Typing text effect ===== */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--cta);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ===== Gradient animated text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--cta), #f5a623, var(--cta));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* ===== Particles canvas ===== */
#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ===== Image clip reveal ===== */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}
.clip-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* ===== Horizontal scroll section stats ===== */
.stats-strip {
  display: flex;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-strip .stat-block {
  flex: 1;
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stats-strip .stat-block:last-child { border-right: none; }
.stats-strip .stat-big {
  font-family: 'PT Mono', monospace;
  font-size: 48px;
  font-weight: 400;
  color: var(--cta);
  line-height: 1;
  margin-bottom: 10px;
}
.stats-strip .stat-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== 3D Viewer ===== */
.section-3d {
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-3d .section-label { color: rgba(255,255,255,0.5); }
.section-3d .section-label::before { background: linear-gradient(90deg, var(--cta), #f5a623); }
.section-3d .section-head h2 { color: #fff; }
.section-3d .section-sub { color: rgba(255,255,255,0.6); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item--wide {
  grid-column: span 2;
}
.section-3d::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232,116,42,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== Marquee Strip ===== */
.marquee-strip {
  background: var(--cta);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 25s linear infinite;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.marquee-track span {
  padding: 0 20px;
  flex-shrink: 0;
}
.marquee-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  padding: 0 !important;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Cursor Glow ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,116,42,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-glow.active {
  opacity: 1;
}

/* ===== Section Dividers & Gradients ===== */
.section-alt {
  background: var(--bg-alt);
  position: relative;
}
.section-alt::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  pointer-events: none;
}
.section-alt::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg) 0%, var(--bg-alt) 100%);
  pointer-events: none;
}

/* ===== Parallax Hero ===== */
.hero-slide {
  will-change: transform;
}

/* ===== Glassmorphism Panels ===== */
.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r);
}

/* Floating blobs removed for performance */

/* ===== Gradient accent line on section labels ===== */
.section-label::before {
  background: linear-gradient(90deg, var(--cta), #f5a623);
  width: 32px;
}

/* ===== Enhanced Card Gradients ===== */
.adv-card {
  background: linear-gradient(180deg, #fff 0%, #fafaf8 100%);
}
.adv-card:hover {
  background: linear-gradient(180deg, #fff 0%, #fff5ee 100%);
}
.project-card .project-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-card:hover .project-img::after {
  opacity: 1;
}
.project-card .project-img {
  position: relative;
  transition: transform 0.5s ease;
  overflow: hidden;
}
.project-card:hover .project-img {
  /* zoom effect on image */
}

/* Image zoom on card hover */
.project-img-zoom {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img-zoom {
  transform: scale(1.08);
}

/* ===== Counter animation styles ===== */
.stat-num[data-count] {
  display: inline-block;
}

/* ===== Process step enhanced ===== */
.step-circle {
  position: relative;
  overflow: hidden;
}
.step-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(232,116,42,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.process-step:hover .step-circle::before {
  opacity: 1;
}

/* ===== Review card gradient border ===== */
.review-card {
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta), #f5a623, var(--cta));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.review-card:hover::before {
  transform: scaleX(1);
}

/* ===== Contact section glow ===== */
#contact {
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,116,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Form field floating label effect ===== */
.field-group {
  position: relative;
}
.field-group .field {
  padding-top: 22px;
  padding-bottom: 8px;
}
.field-group label {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #a4a39e;
  pointer-events: none;
  transition: all 0.2s ease;
}
.field-group .field:focus ~ label,
.field-group .field:not(:placeholder-shown) ~ label {
  top: 12px;
  font-size: 11px;
  color: var(--cta);
  font-family: 'PT Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Smooth section scroll indicator ===== */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-family: 'PT Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 0.6s ease-out 1.5s both;
}
.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator .mouse::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--cta);
  border-radius: 2px;
  animation: scrollMouse 1.8s ease-in-out infinite;
}
@keyframes scrollMouse {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ===== Enhanced Microinteractions ===== */
.btn-cta {
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-cta:hover::before {
  transform: translateX(100%);
}
.btn-cta:active {
  transform: scale(0.97) translateY(0) !important;
}

/* Card enhanced hover */
.adv-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cta);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.adv-card:hover::after {
  transform: scaleX(1);
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cta);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.project-card { position: relative; }
.project-card:hover::after {
  transform: scaleX(1);
}

/* Stats counter animation */
.hero-stats { animation: fadeSlideUp 0.8s ease-out 0.5s both; }
.hero-text { animation: fadeSlideUp 0.8s ease-out 0.2s both; }
.hero-controls { animation: fadeIn 0.6s ease-out 1s both; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Focus styles for accessibility */
.btn:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 3px;
}
.field:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 1px;
}
.faq-q:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Responsive ===== */
/* -- Tablet -- */
@media (max-width: 1024px) {
  .wrap { padding: 0 32px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: #fff; padding: 24px 32px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,0.08); gap: 16px; font-size: 16px; z-index: 99; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .hero h1 { font-size: 48px; }
  .hero-stats { right: 32px; bottom: 80px; gap: 28px; padding: 20px 28px; }
  .hero-controls { left: 32px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-sub { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { aspect-ratio: 16/9; max-height: 400px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-line { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .mortgage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-head h2, .contact-left h2 { font-size: 36px; }
  .footer-cta h2 { font-size: 28px; }
}

/* -- Mobile -- */
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .utility { display: none; }
  .header { height: 64px; }
  .header-inner { gap: 12px; }
  .logo-badge { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }
  .brand-tag { font-size: 8px; }
  .nav.open { top: 64px; padding: 20px 16px; }
  .header-right .btn { padding: 8px 14px; font-size: 13px; }
  .header-right .btn .icon-arrow { display: none; }
  .hero { height: auto; min-height: 100svh; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-label { font-size: 10px; margin-bottom: 20px; }
  .hero-content { padding-bottom: 100px; padding-top: 120px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { position: static; margin-top: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px); gap: 16px; padding: 16px 20px; flex-wrap: wrap; justify-content: center; border-radius: 0; }
  .stat-num { font-size: 22px; }
  .stat-lbl { font-size: 10px; }
  .hero-controls { left: 16px; bottom: 16px; }
  .scroll-indicator { display: none; }
  .section { padding: 48px 0; }
  .section-head h2, .contact-left h2 { font-size: 26px; }
  .section-sub { font-size: 14px; }
  .about-text { padding: 0; }
  .about-lead { font-size: 17px; }
  .about-info { grid-template-columns: 1fr 1fr; gap: 16px; }
  .adv-grid { grid-template-columns: 1fr; gap: 12px; }
  .adv-card { padding: 24px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-img { height: 200px; }
  .process-track { grid-template-columns: 1fr; gap: 24px; }
  .review-grid { gap: 16px; }
  .review-card { padding: 24px; }
  .faq-q { font-size: 15px; padding: 16px 0; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item--wide { grid-column: span 1; }
  .escrow-badge { flex-direction: column; gap: 16px; padding: 24px; }
  .escrow-icon { width: 40px; height: 40px; }
  .escrow-icon svg { width: 40px; height: 40px; }
  .escrow-badge h3 { font-size: 17px; }
  .mortgage-features { gap: 12px; }
  .mort-feature { font-size: 14px; }
  .mortgage-banks { padding: 24px; }
  .bank-item { padding: 10px 14px; font-size: 13px; }
  .contact-sub { font-size: 15px; }
  .form-card { padding: 28px 20px; }
  .footer-cta { padding-bottom: 40px; margin-bottom: 40px; }
  .footer-cta h2 { font-size: 22px; }
  .footer-cta p { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; }
  .marquee-strip { padding: 10px 0; }
  .marquee-track { font-size: 13px; }
}

/* -- Small phones -- */
@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .header-right .btn { font-size: 12px; padding: 7px 12px; }
  .proj-specs-grid { grid-template-columns: 1fr 1fr; }
}
