/* Proposal B: bento grid. Loads after home.css and reuses its tokens (Chase palette by default). */

.tile { position: relative; border-radius: var(--r-card); background: var(--bg); overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1), background-color .3s ease; }
.tile.hov:hover, a.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,44,109,.12); }
.section.alt .tile:not(.t-dark) { background: var(--bg); }
.t-dark { background: var(--band) !important; color: var(--band-ink); }
.t-dark h1, .t-dark h2, .t-dark h3 { color: var(--band-ink); }
.t-dark p { color: var(--band-muted); }
.t-dark .eyebrow { color: var(--band-muted); }
.btn-white { background: #fff; color: var(--band); }
.btn-white:hover { background: #fff; color: var(--band); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-line:hover { color: #fff; border-color: #fff; }
.chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.chip i { color: var(--accent); font-size: 16px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
.head-row h2 { font-size: clamp(32px, 4vw, 48px); }
.head-row > p { max-width: 440px; font-size: 18px; color: var(--muted); }

/* Hero bento: fills the first screen */
.b-hero { padding: 20px 0 28px; }
.bento-hero { display: grid; grid-template-columns: 1.35fr 1fr 0.5fr; grid-template-rows: 1fr auto; gap: 16px; height: max(540px, calc(100svh - 68px - 64px)); max-height: 1040px; }
.t-main { grid-column: 1; grid-row: 1 / span 2; padding: clamp(28px, 4vh, 52px); display: flex; flex-direction: column; justify-content: center; }
.t-main h1 { font-size: clamp(32px, min(3.1vw, 5.4vh), 80px); }
.t-main .accent-l { color: var(--on-dark); margin-top: 4px; }
.t-main p { margin-top: clamp(14px, 2.2vh, 22px); font-size: 17px; max-width: 520px; }
.t-main .actions { margin-top: clamp(18px, 3vh, 30px); display: flex; flex-wrap: wrap; gap: 12px; }
.t-main .actions .btn { flex: none; }
.t-photo { grid-column: 2 / span 2; grid-row: 1; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-fin, .t-rate, .t-lic { padding: 22px; display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.t-fin { grid-column: 2; grid-row: 2; background: var(--accent); color: #fff; flex-direction: row; align-items: center; gap: 18px; }
.t-fin .big { font-size: 52px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.t-fin .big small { font-size: 18px; font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.t-fin p { font-size: 15px; color: rgba(255,255,255,.88); }
.t-rate { grid-column: 3; grid-row: 2; color: var(--ink); text-align: center; align-items: center; gap: 2px; }
.t-rate .big { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.t-rate p { font-size: 13px; color: var(--muted); }
.t-rate:hover { color: var(--ink); background: var(--surface-2); }
.t-lic { display: none; }

/* Services bento */
.bento-svc { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 330px 330px; gap: 16px; }
.svc { display: block; color: var(--ink); background: var(--surface); }
.svc:hover { color: var(--ink); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc:hover img { transform: scale(1.05); }
.svc-1 { grid-row: 1 / span 2; }
.svc-4 { grid-column: 2 / span 2; }
.svc-card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,255,255,.95);  border-radius: calc(var(--r-card) - 4px); padding: 18px 20px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.svc:hover .svc-card { transform: translateY(-4px); }
.svc-card h3 { font-size: 20px; }
.svc-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.svc-card .link-more { margin-top: 10px; font-size: 15px; color: var(--accent); }
.svc:hover .link-more i { transform: translateX(3px); }

/* Horizontal steps with a line that draws itself */
.hsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.hsteps::before { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: var(--line); }
.hsteps::after { content: ""; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: var(--cta); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.6,0,.2,1) .2s; }
.hsteps.in::after, html:not(.js-reveal) .hsteps::after { transform: scaleX(1); }
.hsteps li { position: relative; padding-top: 0; transition: transform .3s ease; }
.hsteps li:hover .dot { transform: scale(1.08); }
.hsteps .dot { transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.hsteps .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 600; position: relative; z-index: 1; margin-bottom: 22px; transition: background-color .3s ease, color .3s ease; }
.hsteps.in .dot { background: var(--cta); border-color: var(--cta); color: #fff; }
.hsteps.in li:nth-child(2) .dot { transition-delay: .55s; }
.hsteps.in li:nth-child(3) .dot { transition-delay: .95s; }
.hsteps.in li:nth-child(4) .dot { transition-delay: 1.35s; }
.hsteps h3 { font-size: 20px; }
.hsteps p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.js-reveal .hsteps.reveal { transform: none; }

/* Why bento */
.bento-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.w-photo { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 420px; }
.w-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w { background: var(--surface); padding: 24px; transition: transform .45s cubic-bezier(.2,.7,.2,1), background-color .3s ease; }
.w:hover { background: var(--accent-soft); transform: translateY(-3px); }
.w:hover i { transform: scale(1.08); }
.w i { display: inline-block; transition: transform .3s ease; }
.w i { font-size: 26px; color: var(--accent); }
.w h3 { margin-top: 12px; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
.w p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Pricing bento */
.bento-price { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.p-fin { padding: 36px; display: flex; flex-direction: column; }
.p-fin .huge { font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 8px 0 16px; color: #fff; }
.p-fin ul, .p-card ul { display: grid; gap: 10px; margin: 22px 0 28px; }
.p-fin li, .p-card li { display: flex; gap: 10px; font-size: 15px; }
.p-fin li { color: var(--band-ink); }
.p-fin li i { color: var(--on-dark); font-size: 18px; margin-top: 2px; }
.p-fin .btn { margin-top: auto; align-self: flex-start; }
.p-card { padding: 32px; display: flex; flex-direction: column; border: 1px solid transparent; transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .45s ease; }
.p-card:hover, .p-fin:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,44,109,.10); }
.p-card:hover { border-color: var(--accent); }
.p-card h3 { font-size: 22px; }
.p-card .sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.p-card .amount { margin-top: 22px; font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.p-card .amount small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.p-card li i { color: var(--accent); font-size: 18px; margin-top: 2px; }
.p-card .btn { margin-top: auto; width: 100%; }

/* Reviews marquee */
.rv-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-marquee ul { display: flex; gap: 16px; width: max-content; padding: 4px 0; animation: marquee 60s linear infinite; }
.rv-marquee:hover ul { animation-play-state: paused; }
.rv { width: 380px; flex: none; background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.rv p { font-size: 15px; color: var(--ink); flex: 1; }
.rv .who { font-size: 13px; color: var(--muted); }
.rv .who strong { color: var(--ink); }

/* Area + FAQ */
.bento-faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.area-tile { padding: 36px; position: sticky; top: 100px; }
.area-tile h2 { font-size: clamp(28px, 3vw, 36px); }
.area-tile p { margin-top: 14px; font-size: 16px; color: var(--muted); }
.area-tile .cities { margin-top: 22px; }
.area-tile .cities li { background: var(--surface); border-color: transparent; font-size: 14px; padding: 8px 14px; transition: background-color .2s ease, color .2s ease; }
.area-tile .cities li:hover { background: var(--accent); color: #fff; }
.faq-col h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.faq-col .faq { max-width: none; }
.faq-note { margin-top: 20px; color: var(--muted); }

/* Final CTA tile */
.final-tile { padding: clamp(48px, 8vw, 96px) 32px; text-align: center; }
.js-reveal .final-tile.reveal { transform: translateY(28px) scale(.985); }
.js-reveal .final-tile.reveal.in { transform: none; }
.final-tile h2 { font-size: clamp(34px, 4.6vw, 56px); }
.final-tile p { margin: 18px auto 0; max-width: 620px; font-size: 18px; }
.final-tile .actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Hero tiles enter in sequence */
.bento-hero > .tile { animation: pop .7s cubic-bezier(.2,.7,.2,1) both; }
.bento-hero > .tile:nth-child(2) { animation-delay: .12s; }
.bento-hero > .tile:nth-child(3) { animation-delay: .24s; }
.bento-hero > .tile:nth-child(4) { animation-delay: .34s; }
.t-main > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.t-main > :nth-child(1) { animation-delay: .2s; }
.t-main > :nth-child(2) { animation-delay: .3s; }
.t-main > :nth-child(3) { animation-delay: .4s; }
.t-main > :nth-child(4) { animation-delay: .5s; }
.js-reveal .bento-svc .reveal:nth-child(2), .js-reveal .bento-why .reveal:nth-child(2n) { transition-delay: .08s; }
.js-reveal .bento-svc .reveal:nth-child(3), .js-reveal .bento-why .reveal:nth-child(3n) { transition-delay: .16s; }
.js-reveal .bento-svc .reveal:nth-child(4) { transition-delay: .24s; }
.js-reveal .bento-price .reveal:nth-child(2) { transition-delay: .08s; }
.js-reveal .bento-price .reveal:nth-child(3) { transition-delay: .16s; }

/* Fluid canvas: grows with the screen (phones to ultrawide), no fixed jumps */
.wrap { max-width: none; width: min(100%, 1720px); padding-inline: clamp(16px, 4.2vw, 72px); }
.section { padding-block: clamp(64px, 8vw, 128px); }
.bento-hero, .bento-svc, .bento-why, .bento-price, .bento-faq { gap: clamp(10px, 1.1vw, 20px); }
.bento-svc { grid-template-rows: repeat(2, clamp(300px, 23vw, 440px)); }
.w-photo { min-height: clamp(320px, 30vw, 560px); }
.t-main p, .head-row > p, .final-tile p { font-size: clamp(16px, 0.55vw + 11px, 20px); }
.head-row > p { max-width: clamp(320px, 32vw, 520px); }
.svc-card h3 { font-size: clamp(18px, 0.6vw + 12px, 24px); }
.svc-card p { font-size: clamp(13px, 0.3vw + 10px, 16px); }
.t-fin .big { font-size: clamp(40px, 3.4vw, 72px); }
.t-rate .big { font-size: clamp(32px, 2.6vw, 56px); }
.rv { width: clamp(280px, 24vw, 420px); transition: transform .35s ease, background-color .3s ease; }
.rv:hover { transform: translateY(-3px); background: var(--accent-soft); }

@media (max-width: 1080px) {
  .bento-hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto 260px auto; height: auto; max-height: none; }
  .t-main { grid-column: 1 / span 2; grid-row: 1; }
  .t-main h1 { font-size: clamp(32px, 5.4vw, 54px); }
  .t-photo { grid-column: 1 / span 2; grid-row: 2; }
  .t-fin { grid-column: 1; grid-row: 3; }
  .t-rate { grid-column: 2; grid-row: 3; }
  .bento-svc { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 280px 280px; }
  .svc-1 { grid-column: 1 / span 2; grid-row: 1; }
  .svc-4 { grid-column: 1 / span 2; }
  .bento-why { grid-template-columns: 1fr 1fr; }
  .bento-price { grid-template-columns: 1fr 1fr; }
  .p-fin { grid-column: 1 / span 2; }
}
@media (max-width: 860px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .hsteps { grid-template-columns: 1fr; gap: 28px; }
  .hsteps::before, .hsteps::after { top: 20px; bottom: 20px; left: 20px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .hsteps::after { transform: scaleY(0); }
  .hsteps.in::after { transform: scaleY(1); }
  .hsteps li { padding-left: 64px; }
  .hsteps .dot { position: absolute; left: 0; top: 0; margin: 0; }
  .bento-faq { grid-template-columns: 1fr; }
  .area-tile { position: static; }
}
@media (max-width: 560px) {
  .t-main h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .t-main { padding: 28px 22px; }
  .t-fin { grid-column: 1 / span 2; }
  .t-rate { grid-column: 1 / span 2; grid-row: 4; flex-direction: row; gap: 10px; }
  .bento-svc { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 320px; }
  .svc-1, .svc-4 { grid-column: auto; grid-row: auto; }
  .bento-why { grid-template-columns: 1fr; }
  .w-photo { grid-column: auto; grid-row: auto; min-height: 300px; }
  .bento-price { grid-template-columns: 1fr; }
  .p-fin { grid-column: auto; }
  .rv { width: 300px; }
  .t-main .actions .btn, .final-tile .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-marquee ul { animation: none; width: auto; overflow-x: auto; }
  .rv-marquee li[aria-hidden="true"] { display: none; }
  .hsteps::after { transform: scaleX(1); }
}
