/* ============================================================
   HOMEFLOW — premium property management / revenue optimization
   ============================================================ */

:root {
  --color-bg: #FAFAF8;
  --color-white: #FFFFFF;
  --color-navy: #1B2D5B;
  --color-navy-deep: #0F1B3D;
  --color-gold: #C9A84C;
  --color-gold-light: #E8D5A3;
  --color-text: #1A1A1A;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-gray: #F5F5F3;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* type scale */
  --t-hero: clamp(52px, 8.5vw, 116px);
  --t-h2: clamp(36px, 5.2vw, 76px);
  --t-h3: clamp(26px, 3vw, 38px);
  --t-stat: clamp(56px, 8vw, 112px);
  --t-body: clamp(16px, 1.15vw, 19px);
  --t-lead: clamp(19px, 1.5vw, 24px);
  --t-label: 13px;

  --reveal-y: 34px;
  --reveal-dur: 0.9s;

  --maxw: 1280px;
  --pad-x: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.label {
  font-family: var(--font-body);
  font-size: var(--t-label);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--color-gold);
}
.label--muted { color: var(--color-muted); }

.lead { font-size: var(--t-lead); color: var(--color-muted); line-height: 1.6; font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 16px; letter-spacing: 0.01em;
  padding: 17px 32px; border-radius: 2px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), background .3s, color .3s, border-color .3s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--color-gold); color: var(--color-navy-deep); font-weight: 600; }
.btn--gold:hover { box-shadow: 0 14px 34px -12px rgba(201,168,76,.7); }
.btn--navy { background: var(--color-navy); color: #fff; border-color: var(--color-gold); }
.btn--navy:hover { background: var(--color-navy-deep); box-shadow: 0 14px 34px -14px rgba(27,45,91,.6); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost-dark { background: transparent; color: var(--color-navy); border-color: rgba(27,45,91,.3); }
.btn--ghost-dark:hover { border-color: var(--color-navy); }
.btn--lg { padding: 22px 46px; font-size: 18px; }

.arrow { transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s, border-color .4s;
  padding: 22px 0; border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { height: 38px; width: auto; transition: opacity .3s; }
.nav__mark--white { position: absolute; }
.nav__word { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: .04em; color: #fff; transition: color .4s; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); transition: color .3s; position: relative; }
.nav__links a::after { content:''; position:absolute; left:0; bottom:-6px; height:1.5px; width:0; background: var(--color-gold); transition: width .35s; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav .btn { padding: 13px 26px; font-size: 15px; }
.nav__brand-mark-color { display: none; }

/* scrolled state */
.nav.scrolled {
  background: rgba(250,250,248,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--color-border);
  padding: 14px 0;
  box-shadow: 0 6px 30px -18px rgba(0,0,0,.18);
}
.nav.scrolled .nav__word { color: var(--color-navy); }
.nav.scrolled .nav__links a { color: var(--color-text); }
.nav.scrolled .nav__mark--white { opacity: 0; }
.nav.scrolled .nav__brand-mark-color { display: block; }
.nav.scrolled .nav__brand-mark-white { opacity: 0; }
.nav.scrolled .btn--navy { background: var(--color-navy); }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; transition: background .3s; }
.nav.scrolled .nav__toggle span { background: var(--color-navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); }
.hero__bg::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(15,27,61,.92) 0%, rgba(15,27,61,.74) 40%, rgba(15,27,61,.5) 100%),
              linear-gradient(0deg, rgba(15,27,61,.85) 0%, rgba(15,27,61,.1) 50%);
}
.hero__content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 200px; max-width: 1040px; margin-left: 0; margin-right: auto; }
.hero__label { display: inline-block; margin-bottom: 28px; color: var(--color-gold-light); }
.hero h1 { font-size: var(--t-hero); font-weight: 500; margin-bottom: 30px; letter-spacing: -0.015em; }
.hero h1 .line2 { color: var(--color-gold-light); font-style: italic; font-weight: 500; }
.hero__sub { font-size: var(--t-lead); max-width: 640px; color: rgba(255,255,255,.9); line-height: 1.6; margin-bottom: 42px; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(15,27,61,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stats-inner { display: flex; }
.hero__stat { flex: 1; padding: 30px var(--pad-x); border-right: 1px solid rgba(255,255,255,.12); }
.hero__stat:last-child { border-right: none; }
.hero__stat .num { font-family: var(--font-display); font-size: clamp(30px,3.4vw,44px); color: var(--color-gold-light); font-weight: 500; line-height: 1; }
.hero__stat .cap { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.72); margin-top: 8px; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(80px,11vh,150px) 0; }
.section--gray { background: var(--color-gray); }
.section--navy { background: var(--color-navy); color: #fff; }
.section__head { max-width: 820px; margin-bottom: 64px; }
.section__head .label { display: block; margin-bottom: 22px; }
.section__head h2 { font-size: var(--t-h2); }
.section__head .lead { margin-top: 26px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.pain-card { background: var(--color-white); border: 1px solid var(--color-border); padding: 44px 38px; border-radius: 4px; transition: transform .4s, box-shadow .4s; }
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(27,45,91,.3); }
.pain-card .ico { width: 52px; height: 52px; color: var(--color-gold); margin-bottom: 26px; }
.pain-card .ico svg { width: 100%; height: 100%; }
.pain-card h3 { font-size: var(--t-h3); margin-bottom: 14px; }
.pain-card p { color: var(--color-muted); }
.pain-transition { margin-top: 60px; text-align: center; }
.pain-transition p { font-family: var(--font-display); font-size: clamp(26px,3.4vw,46px); color: var(--color-navy); font-style: italic; line-height: 1.2; }
.pain-transition .em { color: var(--color-gold); font-style: normal; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.svc-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 5px; overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -40px rgba(27,45,91,.4); }
.svc-card__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { padding: 38px 34px 42px; flex: 1; display: flex; flex-direction: column; border-top: 3px solid var(--color-gold); }
.svc-card .num { font-family: var(--font-body); font-size: 13px; letter-spacing: .2em; color: var(--color-gold); font-weight: 600; margin-bottom: 16px; }
.svc-card h3 { font-size: var(--t-h3); margin-bottom: 16px; }
.svc-card p { color: var(--color-muted); font-size: 16px; }

/* ============================================================
   TECHNOLOGY + DASHBOARD
   ============================================================ */
.tech { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.tech__text h2 { font-size: var(--t-h2); color: var(--color-gold-light); margin-bottom: 26px; }
.tech__text .lead { color: rgba(255,255,255,.78); }
.tech__pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); background: rgba(255,255,255,.04); }
.pill .ico { width: 17px; height: 17px; color: var(--color-gold); }

/* dashboard */
.dash {
  background: linear-gradient(160deg, #15234d 0%, #0d1733 100%);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 16px;
  padding: 26px; color: #fff;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
  position: relative;
}
.dash::before { content:''; position:absolute; inset:-1px; border-radius:16px; background: radial-gradient(60% 50% at 80% 0%, rgba(201,168,76,.18), transparent 70%); pointer-events:none; }
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dash__title { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.dash__title .dot { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light)); }
.dash__status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.7); font-family: var(--font-mono, ui-monospace, 'SF Mono', Menlo, monospace); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.6);} 70%{box-shadow:0 0 0 9px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }

.dash__hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 20px 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; margin-bottom: 16px; }
.dash__revlabel { font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.dash__rev { font-family: var(--font-mono, ui-monospace, monospace); font-size: clamp(30px,4vw,42px); font-weight: 600; letter-spacing: -.01em; }
.dash__delta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #34d399; background: rgba(52,211,153,.12); padding: 6px 11px; border-radius: 100px; }

.dash__chart { display: flex; align-items: flex-end; gap: 9px; height: 88px; }
.dash__bar { flex: 1; background: linear-gradient(180deg, var(--color-gold) 0%, rgba(201,168,76,.35) 100%); border-radius: 4px 4px 0 0; height: 0; transition: height 1.1s cubic-bezier(.2,.8,.2,1); min-height: 4px; }
.dash__bar:last-child { background: linear-gradient(180deg,#34d399 0%, rgba(52,211,153,.4) 100%); }

.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.dash__panel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 18px; }
.dash__panel .h { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); margin-bottom: 14px; }

.gauge { display: flex; align-items: center; gap: 16px; }
.gauge__ring { --val: 0; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--color-gold) calc(var(--val)*1%), rgba(255,255,255,.1) 0); display: grid; place-items: center; transition: --val 1.4s ease; }
.gauge__inner { width: 58px; height: 58px; border-radius: 50%; background: #101c3e; display: grid; place-items: center; font-family: var(--font-mono, monospace); font-weight: 600; font-size: 17px; }
.gauge__cap { font-size: 12.5px; color: rgba(255,255,255,.6); }

.platforms { display: flex; flex-direction: column; gap: 11px; }
.plat { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.plat__name { color: rgba(255,255,255,.85); }
.plat__check { width: 18px; height: 18px; border-radius: 50%; background: rgba(52,211,153,.16); color: #34d399; display: grid; place-items: center; font-size: 11px; }

/* ============================================================
   RESULTS
   ============================================================ */
.results { position: relative; color: #fff; overflow: hidden; }
.results__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.results__bg::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,27,61,.92), rgba(15,27,61,.86)); }
.results__inner { position: relative; z-index: 2; padding: clamp(80px,11vh,150px) 0; }
.results__head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.results__head .label { color: var(--color-gold-light); display:block; margin-bottom: 20px; }
.results__head h2 { font-size: var(--t-h2); }
.results-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.result { text-align: center; padding: 20px 14px; }
.result .num { font-family: var(--font-display); font-size: var(--t-stat); color: var(--color-gold); font-weight: 500; line-height: .95; }
.result .cap { font-size: 15px; color: rgba(255,255,255,.78); margin-top: 18px; letter-spacing: .01em; line-height: 1.4; }
.result + .result { border-left: 1px solid rgba(255,255,255,.13); }

/* ============================================================
   METHOD / HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps::before { content:''; position: absolute; top: 33px; left: 12%; right: 12%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--color-gold-light), var(--color-gold-light), transparent); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__num { width: 66px; height: 66px; border-radius: 50%; background: var(--color-bg); border: 1.5px solid var(--color-gold); color: var(--color-navy); display: grid; place-items: center; font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 26px; }
.section--gray .step__num { background: var(--color-gray); }
.step h3 { font-size: 21px; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-size: 14px; color: var(--color-navy); margin-bottom: 12px; }
.step p { color: var(--color-muted); font-size: 16px; }

/* ============================================================
   WHY / ABOUT
   ============================================================ */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.why__left h2 { font-size: var(--t-h2); }
.why__list { display: flex; flex-direction: column; gap: 8px; }
.why__item { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--color-border); }
.why__item:first-child { border-top: 1px solid var(--color-border); }
.why__item .ico { width: 30px; height: 30px; color: var(--color-gold); flex-shrink: 0; margin-top: 3px; }
.why__item h3 { font-size: 20px; font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.why__item p { color: var(--color-muted); font-size: 16px; }

.about { background: var(--color-navy); color: #fff; border-radius: 6px; padding: clamp(48px,6vw,90px); margin-top: 40px; position: relative; overflow: hidden; }
.about::after { content:'∞'; position: absolute; right: -30px; bottom: -90px; font-family: var(--font-display); font-size: 360px; color: rgba(201,168,76,.07); line-height: 1; }
.about__inner { position: relative; z-index: 1; max-width: 720px; }
.about .label { color: var(--color-gold-light); display:block; margin-bottom: 22px; }
.about h2 { font-size: clamp(30px,3.6vw,52px); color: #fff; margin-bottom: 26px; }
.about p { color: rgba(255,255,255,.85); font-size: var(--t-lead); line-height: 1.6; font-weight: 300; }
.about__sign { margin-top: 38px; }
.about__sign .name { font-family: var(--font-display); font-size: 34px; color: var(--color-gold-light); font-style: italic; }
.about__sign .role { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.tst { background: var(--color-white); border: 1px solid var(--color-border); border-radius: 5px; padding: 42px 36px; display: flex; flex-direction: column; }
.tst__stars { color: var(--color-gold); letter-spacing: 3px; margin-bottom: 22px; font-size: 16px; }
.tst__quote { font-family: var(--font-display); font-size: 23px; line-height: 1.4; color: var(--color-text); font-style: italic; margin-bottom: 28px; flex: 1; }
.tst__who { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.tst__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--color-navy); color: var(--color-gold-light); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.tst__name { font-weight: 600; font-size: 15px; }
.tst__loc { font-size: 13px; color: var(--color-muted); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { position: relative; color: #fff; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.cta__bg::after { content:''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,61,.75), rgba(15,27,61,.85)); }
.cta__inner { position: relative; z-index: 2; padding: clamp(100px,15vh,190px) 0; max-width: 860px; margin: 0 auto; }
.cta .label { color: var(--color-gold-light); display:block; margin-bottom: 26px; }
.cta h2 { font-size: var(--t-h2); margin-bottom: 24px; }
.cta p { font-size: var(--t-lead); color: rgba(255,255,255,.88); margin-bottom: 44px; font-weight: 300; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-navy-deep); color: rgba(255,255,255,.7); padding: 80px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand img { height: 52px; margin-bottom: 22px; }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--color-gold-light); max-width: 280px; }
.footer__contact { margin-top: 24px; font-size: 14.5px; line-height: 1.9; }
.footer__contact a:hover { color: var(--color-gold-light); }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14.5px; color: rgba(255,255,255,.66); transition: color .25s; }
.footer__col a:hover { color: var(--color-gold-light); }
.footer__social { display: flex; gap: 12px; margin-top: 8px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: border-color .3s, color .3s; }
.footer__social a:hover { border-color: var(--color-gold); color: var(--color-gold-light); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 30px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; }

/* ============================================================
   MODALE FORM
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,27,61,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 520px;
  background: var(--color-white); border-radius: 8px; padding: clamp(32px,4vw,48px);
  box-shadow: 0 50px 100px -30px rgba(15,27,61,.5);
  border-top: 4px solid var(--color-gold);
  transform: translateY(20px) scale(.98); transition: transform .4s cubic-bezier(.2,.7,.3,1);
  max-height: 92vh; overflow-y: auto;
}
.modal.open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 30px; line-height: 1; color: var(--color-muted); cursor: pointer; transition: color .25s; }
.modal__close:hover { color: var(--color-navy); }
.modal__head { margin-bottom: 26px; }
.modal__mark { height: 40px; width: auto; margin-bottom: 18px; }
.modal__head .label { display: block; margin-bottom: 12px; }
.modal__head h3 { font-size: clamp(28px,3.4vw,38px); color: var(--color-navy); }
.modal__sub { color: var(--color-muted); font-size: 16px; margin-top: 10px; }
.modal__form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--color-navy); text-transform: uppercase; }
.field input {
  font-family: var(--font-body); font-size: 16px; padding: 13px 15px;
  border: 1px solid var(--color-border); border-radius: 3px; background: var(--color-bg);
  color: var(--color-text); transition: border-color .25s, box-shadow .25s;
}
.field input:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201,168,76,.16); background: #fff; }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: #d98a8a; }
.modal__submit { width: 100%; justify-content: center; margin-top: 8px; }
.modal__privacy { font-size: 12.5px; color: var(--color-muted); line-height: 1.5; text-align: center; }
.modal__success { text-align: center; padding: 14px 0; }
.modal__success-ico { width: 64px; height: 64px; margin: 0 auto 22px; color: var(--color-gold); }
.modal__success-ico svg { width: 100%; height: 100%; }
.modal__success h3 { font-size: 32px; color: var(--color-navy); margin-bottom: 14px; }
.modal__success p { color: var(--color-muted); margin-bottom: 26px; }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--reveal-dur) cubic-bezier(.2,.7,.3,1), transform var(--reveal-dur) cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tech { grid-template-columns: 1fr; gap: 48px; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .results-grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .result:nth-child(3) { border-left: none; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .pain-grid, .svc-grid, .tst-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .steps::before { display: none; }
  .hero__stats-inner { flex-direction: column; }
  .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero__content { padding-bottom: 280px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .results-grid { grid-template-columns: 1fr; }
  .result + .result { border-left: none; border-top: 1px solid rgba(255,255,255,.13); padding-top: 36px; }
  .steps { grid-template-columns: 1fr; }
  .dash__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 99; background: var(--color-navy-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.mmenu.open { opacity: 1; pointer-events: auto; }
.mmenu a { color: #fff; font-family: var(--font-display); font-size: 34px; padding: 12px; }
.mmenu .btn { margin-top: 24px; }
.mmenu__close { position: absolute; top: 26px; right: 26px; background: none; border: none; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
