/* Oracle Solutions — consolidated site
   Brand: Montserrat · Primary Blue #214695 · Secondary Blue #2D90CE · Text Gray #414042 */

:root {
  --blue: #214695;
  --blue-2: #2d90ce;
  --navy: #0b1a3f;
  --navy-2: #0f2557;
  --ink: #0d1733;
  --text: #414042;
  --muted: #6b6f7b;
  --tint: #eef3fa;
  --line: #e3e8f2;
  --white: #fff;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--blue-2) 100%);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "Montserrat", system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; } /* width/height attrs reserve space (no layout shift) */
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); }
.eyebrow--light { color: #9cc9ec; }
.eyebrow .dot { display: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-light { background: linear-gradient(100deg, #8fc8f0, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 560px; margin-top: 18px; }

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--center { text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 10px 30px -10px rgba(33, 70, 149, .6); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(45, 144, 206, .8); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, transform .4s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav__logo img { height: 40px; width: auto; }
.nav .logo-dark { display: none; }
.nav__links { display: flex; gap: 30px; }
.nav__links a, .nav__phone { color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 600; opacity: .9; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--blue-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.12); border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .3s, top .3s; }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav--solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav--solid .logo-light { display: none; }
.nav--solid .logo-dark { display: block; }
.nav--solid .nav__links a, .nav--solid .nav__phone { color: var(--ink); }
.nav--solid .nav__burger { background: var(--tint); }
.nav--solid .nav__burger span { background: var(--ink); }
.mobile-menu { display: grid; gap: 4px; padding: 12px var(--gutter) 24px; background: var(--white); box-shadow: 0 20px 40px -20px rgba(0,0,0,.25); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero / showreel ---------- */
.hero { position: relative; height: 170vh; height: 170svh; background: var(--white); --p: 0; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.hero__media {
  position: absolute; inset: 0; background: var(--navy);
  clip-path: inset(calc(var(--p) * 11%) calc(var(--p) * 7%) calc(var(--p) * 11%) calc(var(--p) * 7%) round calc(var(--p) * 32px));
  will-change: clip-path;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - var(--p) * .08)); }
.hero__shade { position: absolute; inset: 0; opacity: calc(1 - var(--p) * 1.1);
  background:
    linear-gradient(90deg, rgba(9, 22, 56, .95) 0%, rgba(14, 37, 90, .82) 45%, rgba(14, 37, 90, .2) 80%),
    linear-gradient(0deg, rgba(9, 22, 56, .65) 0%, transparent 35%); }
.hero__content { position: relative; z-index: 2; color: var(--white); opacity: calc(1 - var(--p) * 2.2); transform: translateY(calc(var(--p) * -90px)); padding-top: 40px; }
.hero__title { color: var(--white); font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero__title { display: block; max-width: 13ch; }
.hero__h1 { margin: 0; }
.hero__content { padding-bottom: 60px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title em { font-style: normal; background: linear-gradient(100deg, #5cb4ec, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.hero__sub { max-width: 560px; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .86); margin-top: 26px; animation: fade 1s .45s both; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; animation: fade 1s .6s both; }
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; animation: fade 1s .75s both; }
.hero__chips li { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.9); padding: 7px 14px 7px 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; position: relative; backdrop-filter: blur(4px); }
.hero__chips li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2); }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: calc(1 - var(--p) * 3); }
.hero__tag::before { content: ""; display: inline-block; width: 1px; height: 28px; background: currentColor; vertical-align: middle; margin-right: 12px; animation: cue 2s infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); } }
.reel-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.ic-pause { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.reel-toggle[aria-pressed="true"] .ic-pause { border: 0; border-left: 10px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; width: 0; height: 0; }

/* ---------- Clients marquee ---------- */
.clients { padding: 32px 0 20px; border-bottom: 1px solid var(--line); }
.clients__label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(32px, 5vw, 64px); width: max-content; animation: marquee 48s linear infinite; padding: 6px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 87px; width: auto; max-width: 260px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.marquee__track img:hover { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: clamp(90px, 14vw, 170px) 0 clamp(70px, 10vw, 120px); }
.statement__text { font-size: clamp(1.7rem, 3.9vw, 3.3rem); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; color: var(--ink); max-width: 22ch; max-width: 1050px; }
.statement__text .w { opacity: .14; transition: opacity .25s linear; }
.statement__text .w.on { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: clamp(56px, 8vw, 100px) 0 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: .9rem; color: var(--muted); font-weight: 500; }
.stat dd { margin: 0; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Services (sticky split) ---------- */
.services { padding: clamp(80px, 10vw, 130px) 0; background: var(--tint); }
.svc { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); }
.svc__stage { position: relative; }
.svc__frame { position: sticky; top: 13vh; height: 74vh; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -40px rgba(13, 23, 51, .45); }
.svc__frame > img, .svc__frame > .svc__slides, .svc__frame > video, .svc__frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.svc__frame > img.contain { object-fit: contain; padding: 6%; background: radial-gradient(circle at 50% 45%, #fff, #e8eef8); }
.svc__frame > .is-active { opacity: 1; transform: none; }
/* only the visible layer takes clicks, so the flipbook can be turned in place */
.svc__frame > :not(.is-active):not(.svc__count) { pointer-events: none; }
.svc__frame > iframe { border: 0; background: #f1f4f8; }
.svc__cta { align-self: flex-start; margin-top: 22px; }
/* show the whole film, letterboxed, rather than cropping its titles */
.svc__frame > video { object-fit: contain; background: var(--ink); }
/* e-commerce slideshow: mixed aspect ratios, so contain on a soft backdrop */
.svc__slides { background: radial-gradient(circle at 50% 45%, #fff, #e8eef8); }
.svc__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; opacity: 0; transition: opacity .8s var(--ease); filter: drop-shadow(0 24px 30px rgba(13, 23, 51, .22)); }
.svc__slides img.on { opacity: 1; }
.svc__count { position: absolute; left: 20px; bottom: 18px; font-size: .8rem; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.svc__count b { color: var(--blue); }
.svc__item { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; opacity: .28; transition: opacity .5s var(--ease); border-top: 1px solid rgba(33, 70, 149, .12); }
.svc__item.is-active { opacity: 1; }
.svc__num { font-size: .85rem; font-weight: 700; color: var(--blue-2); margin-bottom: 14px; }
.svc__item h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; }
.svc__item p { margin-top: 14px; font-size: 1.05rem; max-width: 460px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: .8rem; font-weight: 600; color: var(--blue); background: var(--white); border: 1px solid rgba(33, 70, 149, .14); padding: 6px 12px; border-radius: 999px; }
.svc__mob { display: none; }


/* ---------- Work grid ---------- */
.work { padding: clamp(90px, 12vw, 150px) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 9px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--blue); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid { columns: 4 240px; column-gap: 18px; }
.grid figure { margin: 0 0 18px; break-inside: avoid; position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--tint); transform: translateZ(0); }
.grid figure.on-tint img { padding: 10%; }
.grid img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.grid figure:hover img { transform: scale(1.05); }
.grid figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: var(--white); font-size: .8rem; background: linear-gradient(0deg, rgba(8, 20, 52, .85), transparent); transform: translateY(100%); transition: transform .45s var(--ease); }
.grid figcaption b { display: block; font-size: .95rem; }
.grid figure:hover figcaption, .grid figure:focus-visible figcaption { transform: none; }
.grid figure.is-hidden { display: none; }
.work__more { display: flex; margin: 18px auto 0; }
.work__more[hidden] { display: none; }

/* ---------- AI studio ---------- */
.ai { position: relative; padding: clamp(100px, 12vw, 160px) 0; background: radial-gradient(1200px 600px at 15% 0%, #1d4aa3 0%, transparent 60%), radial-gradient(900px 500px at 100% 100%, #1a6eae 0%, transparent 55%), var(--navy); color: rgba(255,255,255,.85); overflow: hidden; }
.ai h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.ai__phones { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: clamp(20px, 4vw, 56px); align-items: start; }
.phone { text-align: center; }
.phone--mid { margin-top: 64px; }
.phone__screen { aspect-ratio: 9 / 16; border-radius: 34px; padding: 8px; background: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,.06)); box-shadow: 0 50px 90px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.15); }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; background: #000; }
.phone h3 { color: var(--white); margin-top: 26px; font-size: 1.15rem; }
.phone p { color: #9cc9ec; margin-top: 6px; font-weight: 600; }
.tools { margin-top: clamp(70px, 9vw, 110px); border-top: 1px solid rgba(255,255,255,.14); padding-top: 40px; }
.tools__label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.tools__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.tools__list li { padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease); }
.tools__list li:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.tools__list b { display: block; color: var(--white); font-size: 1rem; }
.tools__list span { display: block; font-size: .85rem; margin-top: 4px; color: rgba(255,255,255,.65); line-height: 1.45; }

/* ---------- Why / bento ---------- */
.why { padding: clamp(90px, 12vw, 150px) 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 32px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(33, 70, 149, .35); }
.card h3 { margin-top: 14px; }
.card p { margin-top: 10px; color: var(--muted); }
.card__big { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: var(--white); font-size: 1.3rem; }
.card--hero { grid-row: span 2; background: var(--grad); border: 0; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; position: relative; overflow: hidden; }
.card--hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -140px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.card--hero .card__big { font-size: clamp(5rem, 10vw, 8rem); background: none; color: var(--white); }
.card--hero h3, .card--hero p { color: var(--white); }
.card--hero p { opacity: .85; }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: center; }
.card--wide .card__big { grid-row: span 2; }
.card--wide h3 { margin-top: 0; }

/* ---------- Process (pinned horizontal) ---------- */
.process { position: relative; height: 240vh; background: var(--ink); --pp: 0; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 50px; }
.process h2 { color: var(--white); max-width: 16ch; }
.process .eyebrow { color: #9cc9ec; }
.process__bar { margin-top: 30px; height: 2px; background: rgba(255,255,255,.12); max-width: 520px; }
.process__bar span { display: block; height: 100%; width: calc(var(--pp) * 100%); background: var(--grad); }
.process__track { display: flex; gap: 22px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; }
.step { flex: 0 0 clamp(280px, 30vw, 400px); padding: 34px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); min-height: 300px; display: flex; flex-direction: column; }
.step__n { font-size: 4.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: auto; padding-bottom: 40px; }
.step h3 { color: var(--white); font-size: 1.4rem; }
.step p { margin-top: 10px; }

/* ---------- Testimonials ---------- */
.quotes { padding: clamp(90px, 12vw, 150px) 0; background: var(--tint); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; padding: 36px; background: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; box-shadow: 0 30px 60px -45px rgba(13,23,51,.5); }
.quote blockquote { margin: 0; font-size: 1.12rem; font-weight: 500; color: var(--ink); line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-size: 1rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: var(--white); display: grid; place-items: center; font-weight: 800; }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(90px, 12vw, 150px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 38px 34px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; }
.plan__for { color: var(--muted); margin-top: 6px; font-size: .92rem; }
.plan__price { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 26px 0 24px; line-height: 1; }
.plan__price small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23214695' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan--featured { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.8); transform: translateY(-14px); box-shadow: 0 40px 80px -40px rgba(13,23,51,.7); }
.plan--featured h3, .plan--featured .plan__price { color: var(--white); }
.plan--featured .plan__for, .plan--featured .plan__price small { color: rgba(255,255,255,.6); }
.plan--featured li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%235cb4ec' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.plan__badge { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--grad); color: var(--white); padding: 6px 12px; border-radius: 999px; }
.plans__single { text-align: center; margin-top: 40px; color: var(--muted); }
.plans__single b { color: var(--ink); }
.plans__single a { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(90px, 12vw, 150px); }
.faq__wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 90px); }
.faq .sec-head { position: sticky; top: 110px; align-self: start; }
.faq .lede a { color: var(--blue); font-weight: 700; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23214695' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .35s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 26px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 12vw, 150px) 0; background: radial-gradient(900px 500px at 0% 0%, #1d4aa3, transparent 60%), var(--navy); color: rgba(255,255,255,.8); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4rem); }
.contact__lede { margin-top: 20px; font-size: 1.1rem; max-width: 460px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badges li { font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--white); }
.contact__quick { display: grid; gap: 10px; margin-top: 40px; max-width: 460px; }
.qa { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); color: var(--white); text-decoration: none; font-weight: 700; transition: background .3s, border-color .3s; word-break: break-word; }
.qa span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9cc9ec; flex-shrink: 0; }
a.qa:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.form { background: var(--white); border-radius: 26px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: 0 50px 100px -50px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; color: var(--ink); width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: #f8fafd; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-2); background: var(--white); box-shadow: 0 0 0 4px rgba(45, 144, 206, .15); }
.form .is-invalid { border-color: #d64545; }
.form textarea { resize: vertical; }
.form__note { font-size: .88rem; color: var(--muted); min-height: 1.2em; }
.form__note.is-ok { color: #1e9e5a; font-weight: 600; }
.form__note.is-err { color: #d64545; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: #071331; color: rgba(255,255,255,.65); padding: 80px 0 30px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 42px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 340px; }
.footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer p + p { margin-top: 14px; }
.footer b { color: var(--white); }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--white); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s; }
.social a:hover { background: var(--blue); }
.social svg { width: 18px; height: 18px; fill: var(--white); }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer__legal { max-width: 560px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 12, 32, .92); display: grid; place-items: center; padding: 60px 16px; backdrop-filter: blur(8px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; border-radius: 12px; animation: fade .4s var(--ease); }
.lightbox__cap { color: rgba(255,255,255,.8); margin-top: 16px; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.8rem; line-height: 1; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--hero { grid-row: auto; grid-column: span 2; min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc__stage { display: none; }
  .svc__item { min-height: 0; opacity: 1; padding: 34px 0; }
  .svc__mob { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-top: 24px; background: var(--white); }
  .svc__mob.contain { object-fit: contain; padding: 4%; }
  video.svc__mob { aspect-ratio: 16 / 9; }
  .svc__slides.svc__mob { position: relative; overflow: hidden; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .quotes__grid, .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .faq__wrap, .contact__grid { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; }
  .ai__phones { grid-template-columns: repeat(3, 72vw); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .phone { scroll-snap-align: center; }
  .phone--mid { margin-top: 0; }
  /* process: stack vertically, no pin */
  .process { height: auto; padding: 90px 0; }
  .process__pin { position: static; height: auto; overflow: visible; gap: 36px; }
  .process__bar { display: none; }
  .process__track { flex-direction: column; transform: none !important; padding-inline: var(--gutter); }
  .step { flex: none; min-height: 0; }
  .step__n { font-size: 3rem; padding-bottom: 20px; }
}
@media (max-width: 600px) {
  .nav__cta .btn { display: none; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero__actions .btn { width: 100%; }
  .hero__sticky { align-items: end; }
  .hero__content { padding: 0 var(--gutter) 84px; }
  .hero__shade { background: linear-gradient(0deg, rgba(9, 22, 56, .97) 0%, rgba(9, 22, 56, .85) 55%, rgba(9, 22, 56, .35) 100%); }
  .hero__sub { margin-top: 18px; }
  .hero__actions { margin-top: 22px; }
  .hero__chips { display: none; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .hero__foot .hero__tag { display: none; }
  .hero__foot { justify-content: flex-start; bottom: 22px; }
  .bento { grid-template-columns: 1fr; }
  .card--hero, .card--wide { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .grid { columns: 2 140px; column-gap: 10px; }
  .grid figure { margin-bottom: 10px; border-radius: 12px; }
  .grid figcaption { transform: none; padding: 28px 10px 8px; font-size: .7rem; }
  .grid figcaption b { font-size: .8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .filters { overflow-x: auto; flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters button { flex-shrink: 0; }
  .qa { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__title .line > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .statement__text .w { opacity: 1; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Urban Homes art sits on a flat #f6f6f8 backdrop; match it so no box edge shows */
.svc__frame > img.bg-pack, .svc__mob.bg-pack { background: #f6f6f8; }

/* ---------- Blog, articles & inner pages ---------- */
.page-head { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: clamp(120px, 15vw, 170px) 0 clamp(36px, 5vw, 60px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }
.page-head .lede { max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--blue); text-decoration: none; }
.post-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 24px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.post-meta span + span::before { content: "·"; margin-right: 18px; color: var(--blue-2); }
.post-head__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 8 / 5; box-shadow: 0 30px 60px -30px rgba(13, 23, 51, .45); }
.post-head__img img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: 760px; margin-inline: auto; padding: clamp(36px, 6vw, 64px) var(--gutter) 0; font-size: 1.06rem; line-height: 1.8; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child { font-size: 1.2rem; line-height: 1.7; color: var(--ink); font-weight: 500; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; margin-top: 2.1em; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.prose blockquote { margin-inline: 0; padding: 26px 30px; border-radius: 18px; background: var(--tint); border-left: 4px solid var(--blue); }
.prose blockquote p + p { margin-top: .8em; }
.prose .table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--tint); color: var(--ink); }
.prose .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prose .pros-cons > div { padding: 22px 24px; border-radius: 18px; background: var(--tint); }
.prose .pros-cons h3 { margin: 0 0 .5em; }
.prose .ref { font-size: .88rem; color: var(--muted); }

.post-cta { max-width: 1000px; margin: clamp(56px, 8vw, 96px) auto 0; padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(45, 144, 206, .55), transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; max-width: 18ch; }
.post-cta p { color: rgba(255, 255, 255, .75); margin: 10px 0 0; max-width: 46ch; }
.post-cta .btn--ghost { color: #fff; }

.insights, .related { padding: 0 0 clamp(90px, 12vw, 150px); }
.related { padding-top: clamp(70px, 10vw, 120px); }
.blog-list { padding: clamp(20px, 3vw, 40px) 0 clamp(90px, 12vw, 150px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -30px rgba(13, 23, 51, .4); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -30px rgba(13, 23, 51, .5); }
.post-card__img { aspect-ratio: 8 / 5; overflow: hidden; background: var(--tint); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 26px; }
.post-card time { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.post-card :is(h2, h3) { font-size: 1.12rem; font-weight: 700; line-height: 1.32; }
.post-card :is(h2, h3) a { color: inherit; text-decoration: none; }
.post-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable, one link for screen readers */
.post-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.post-card .more { margin-top: auto; padding-top: 6px; font-size: .9rem; font-weight: 700; color: var(--blue); }
.posts--feature .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.posts--feature .post-card:first-child .post-card__img { aspect-ratio: auto; min-height: 320px; }
.posts--feature .post-card:first-child .post-card__body { justify-content: center; padding: clamp(28px, 4vw, 52px); }
.posts--feature .post-card:first-child :is(h2, h3) { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }
.posts--feature .post-card:first-child .more { margin-top: 12px; }

@media (max-width: 900px) {
  .post-head { grid-template-columns: 1fr; }
  .post-head__img { max-width: 560px; }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts--feature .post-card:first-child { grid-template-columns: 1fr; }
  .posts--feature .post-card:first-child .post-card__img { min-height: 0; aspect-ratio: 8 / 5; }
}
@media (max-width: 600px) {
  .posts { grid-template-columns: 1fr; }
  .prose .pros-cons { grid-template-columns: 1fr; }
  .prose { font-size: 1rem; }
}
