.home-gallery{position:relative;min-height:520px;border-radius:28px;overflow:hidden;background:#577055;isolation:isolate}
.home-gallery__slides,.home-gallery__slide,.home-gallery__shade{position:absolute;inset:0}
.home-gallery__slide{display:none;margin:0}
.home-gallery__slide:first-child{display:block}
.home-gallery.is-ready .home-gallery__slide{display:block;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease}
.home-gallery.is-ready .home-gallery__slide.is-active{opacity:1;visibility:visible}
.home-gallery__slide img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform 5.6s ease}
.home-gallery.is-ready .home-gallery__slide.is-active img{transform:scale(1.045)}
.home-gallery__slide figcaption{position:absolute;top:78px;left:28px;z-index:2;max-width:calc(100% - 56px);padding:7px 10px;border-radius:9px;background:rgba(20,42,30,.76);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(4px)}
.home-gallery__shade{z-index:1;pointer-events:none;background:linear-gradient(0deg,rgba(12,30,22,.84),rgba(12,30,22,.08) 45%,rgba(12,30,22,.42))}
.home-gallery__top,.home-gallery__bottom{position:absolute;left:28px;right:28px;z-index:2;color:#fff;display:flex;justify-content:space-between;gap:20px}
.home-gallery__top{top:24px;align-items:center}
.home-gallery__top>span{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:11px;color:#eee5cd}
.home-gallery__arrows{display:none;gap:8px}
.home-gallery.is-ready .home-gallery__arrows{display:flex}
.home-gallery__arrows button{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(22,45,33,.45);color:#fff;font-size:20px;display:grid;place-items:center;backdrop-filter:blur(5px);transition:background .2s,transform .2s}
.home-gallery__arrows button:hover{background:var(--moss);transform:translateY(-2px)}
.home-gallery__bottom{bottom:27px;align-items:end}
.home-gallery__bottom h3{font:600 37px/1.1 Fraunces,Georgia,serif;margin:0 0 6px}
.home-gallery__bottom p{margin:0 0 9px;font-size:15px;font-weight:700}
.home-gallery__bottom small{display:block;max-width:430px;color:#eee7d7;font-size:10px;line-height:1.4}
.home-gallery__dots{display:none;align-items:center;gap:1px;flex:0 0 auto}
.home-gallery.is-ready .home-gallery__dots{display:flex}
.home-gallery__dots button{width:28px;height:34px;border:0;padding:0;background:transparent;display:grid;place-items:center}
.home-gallery__dots button:after{content:"";width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55);transition:transform .2s,background .2s}
.home-gallery__dots button.is-active:after{background:#fff;transform:scale(1.45)}
.mortgage{background:#d9e1d1}
.mortgage__grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}
.mortgage__intro p{max-width:550px;font-size:17px;color:var(--soft);margin-bottom:27px}
.mortgage__banks-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--moss2);margin-bottom:11px}
.mortgage__banks{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0 0 27px;padding:0}
.mortgage__banks li{padding:10px 15px;border:1px solid rgba(38,58,43,.23);border-radius:12px;background:rgba(255,255,255,.5);font-weight:800;font-size:13px;white-space:nowrap}
.mortgage__steps{display:grid;gap:12px}
.mortgage__steps>div{display:grid;grid-template-columns:48px 1fr;column-gap:16px;align-items:baseline;padding:22px 24px;background:rgba(255,255,255,.45);border:1px solid rgba(38,58,43,.14);border-radius:20px}
.mortgage__steps span{grid-row:span 2;color:var(--moss2);font:600 24px/1 Fraunces,Georgia,serif}
.mortgage__steps strong{font-size:17px}
.mortgage__steps p{margin:7px 0 0;color:var(--soft);font-size:13px}
@media(max-width:800px){.mortgage__grid{grid-template-columns:1fr;gap:28px}.home-gallery{min-height:440px}}
@media(max-width:520px){.home-gallery{min-height:405px;border-radius:22px}.home-gallery__slide:nth-child(-n+3){background:#344b38}.home-gallery__slide:nth-child(-n+3) img{height:65%;object-fit:contain;object-position:center top}.home-gallery__top,.home-gallery__bottom{left:17px;right:17px}.home-gallery__top{top:16px}.home-gallery__slide figcaption{top:68px;left:17px;right:75px;font-size:11px}.home-gallery__bottom{bottom:17px;display:block}.home-gallery__bottom h3{font-size:28px}.home-gallery__bottom p{font-size:13px}.home-gallery__bottom small{max-width:280px;font-size:9px}.home-gallery__dots{margin-top:8px}.home-gallery__dots button{width:25px;height:30px}.mortgage__steps>div{grid-template-columns:35px 1fr;padding:18px;column-gap:12px}.mortgage__steps strong{font-size:15px}.mortgage__intro p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.home-gallery__slide,.home-gallery__slide img,.home-gallery__arrows button{transition:none!important;transform:none!important}}
