@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy:#0b2545;
  --navy-2:#102f5a;
  --navy-deep:#081a33;
  --gold:#c8a24a;
  --gold-dk:#a8842f;
  --gold-soft:rgba(200,162,74,.28);
  --cream:#f7f3e8;
  --cream-2:#fbf8f0;
  --ink:#1c2531;
  --muted:#5c6573;
  --line:rgba(11,37,69,.14);
  --maxw:1160px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}

.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 20px;
}

h1,h2,h3{font-family:'Playfair Display',Georgia,'Times New Roman',serif;line-height:1.15;color:var(--navy)}

.eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:600;
  letter-spacing:2.4px;
  text-transform:uppercase;
  color:var(--gold-dk);
  margin-bottom:12px;
}
.section-title{
  font-size:27px;
  font-weight:700;
  letter-spacing:.2px;
}
.gold-divider{
  display:block;
  width:64px;
  height:2px;
  background:var(--gold);
  margin:16px 0 26px;
}
.gold-divider::after{
  content:"";display:block;width:8px;height:8px;background:var(--gold);
  transform:rotate(45deg);margin:-5px auto 0;
}

/* ============ HEADER ============ */
.site-header{
  background:var(--navy);
  border-bottom:1px solid rgba(200,162,74,.35);
  position:sticky;top:0;z-index:50;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  min-height:64px;
}
.logo img{height:38px;width:auto}
.site-header .logo img{filter:brightness(0) invert(1)}
.site-header .logo{
  background:var(--cream);
  padding:6px 12px;
  border:1px solid var(--gold);
}
.site-header .logo img{filter:none}

.main-nav{display:flex;align-items:center;gap:26px}
.main-nav a{
  font-size:14px;font-weight:500;color:var(--cream);
  letter-spacing:.3px;padding:6px 0;position:relative;
}
.main-nav a:not(.nav-cta):hover{color:var(--gold)}
.main-nav a:not(.nav-cta)::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:1px;
  background:var(--gold);transition:width .25s ease;
}
.main-nav a:not(.nav-cta):hover::after{width:100%}
.nav-cta{
  background:var(--gold);color:var(--navy-deep)!important;
  font-weight:600;padding:11px 20px;border:1px solid var(--gold);
  min-height:44px;display:inline-flex;align-items:center;
  transition:background .2s,color .2s;
}
.nav-cta:hover{background:transparent;color:var(--gold)!important}

.burger{
  display:none;background:none;border:0;cursor:pointer;
  width:44px;height:44px;flex-direction:column;justify-content:center;gap:5px;
}
.burger span{display:block;width:26px;height:2px;background:var(--gold);transition:.25s}
.burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ============ HERO ============ */
.hero{
  background:var(--navy);
  color:var(--cream);
  position:relative;
  overflow:hidden;
  padding:54px 0 60px;
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:
    repeating-linear-gradient(90deg,transparent 0 78px,rgba(200,162,74,.05) 78px 80px);
  pointer-events:none;
}
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.hero-inner{position:relative;z-index:2;max-width:760px}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;
  color:var(--gold);border:1px solid var(--gold-soft);
  padding:8px 14px;margin-bottom:22px;
}
.hero-badge .dot{width:7px;height:7px;background:var(--gold);border-radius:50%;animation:pulse 1.8s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}

.hero-title{
  font-size:38px;font-weight:800;color:var(--cream);
  letter-spacing:.3px;margin-bottom:18px;
}
.hero-lead{
  font-size:17px;color:rgba(247,243,232,.86);
  line-height:1.7;max-width:620px;margin-bottom:30px;
}
.hero-lead strong{color:var(--gold);font-weight:600}

.hero-stats{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  border-top:1px solid var(--gold-soft);
  border-bottom:1px solid var(--gold-soft);
  padding:20px 0;margin-bottom:30px;
}
.hstat{display:flex;flex-direction:column;gap:3px}
.hstat-num{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;color:var(--gold)}
.hstat-label{font-size:12px;line-height:1.35;color:rgba(247,243,232,.7);letter-spacing:.3px}
.hstat-div{width:1px;height:40px;background:var(--gold-soft)}

.hero-cta,.nav-cta,.hero-cta:link{font-family:'Inter',sans-serif}
.hero-cta{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--gold);color:var(--navy-deep);
  font-size:16px;font-weight:700;letter-spacing:.4px;
  padding:16px 38px;border:1px solid var(--gold);
  min-height:52px;
  transition:transform .15s,background .2s,color .2s,box-shadow .2s;
}
.hero-cta:hover{background:var(--cream);box-shadow:0 6px 22px rgba(200,162,74,.3)}
.hero-cta:active{transform:translateY(1px)}
.hero-note{font-size:13px;color:rgba(247,243,232,.6);margin-top:16px;letter-spacing:.3px}

/* ============ WHY ============ */
.why{padding:64px 0;background:var(--cream-2)}
.why-grid{
  display:grid;grid-template-columns:1fr;gap:18px;
}
.why-card{
  background:#fff;border:1px solid var(--line);
  border-top:3px solid var(--gold);
  padding:26px 24px;
}
.why-icon{
  display:inline-block;color:var(--gold);font-size:18px;
  margin-bottom:14px;
}
.why-card h3{font-size:19px;font-weight:600;margin-bottom:10px}
.why-card p{font-size:14.5px;color:var(--muted);line-height:1.65}

/* ============ OFFERS ============ */
.offers-section{padding:64px 0;background:var(--navy);position:relative}
.offers-section .eyebrow{color:var(--gold)}
.offers-section .section-title{color:var(--cream)}
.offers-sub{
  font-size:16px;color:rgba(247,243,232,.82);max-width:640px;
  line-height:1.65;margin-bottom:32px;
}
.offers-sub strong{color:var(--gold);font-weight:600}
.offers-foot{
  font-size:13px;color:rgba(247,243,232,.6);text-align:center;
  margin-top:30px;letter-spacing:.2px;
}

#offers.row{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.offer,.offer.offer-small{
  background:var(--cream-2);
  border:1px solid rgba(200,162,74,.4);
  padding:22px 20px 20px;
  display:flex;flex-direction:column;
  position:relative;
  transition:transform .18s,box-shadow .2s,border-color .2s;
}
.offer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--gold);
}
.offer:hover{
  transform:translateY(-3px);
  border-color:var(--gold);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}

.offer-key{display:none}

.offer-logo{
  display:flex;align-items:center;justify-content:center;
  min-height:54px;padding-bottom:16px;
  border-bottom:1px solid var(--line);margin-bottom:16px;
}
.offer-logo a{display:inline-flex;align-items:center;justify-content:center}
.offer-logo img{max-height:46px;width:auto;object-fit:contain}

.offer-info{display:flex;flex-direction:column;gap:0;margin-bottom:14px}
.offer-info li{
  display:flex;align-items:center;justify-content:space-between;
  padding:9px 0;border-bottom:1px solid var(--line);
  font-size:14px;
}
.offer-info li:last-child{border-bottom:0}
.offer-info .text{color:var(--muted);font-weight:500}
.offer-info .value{
  color:var(--navy);font-weight:700;
  font-family:'Playfair Display',serif;font-size:15.5px;
  text-align:right;
}
.offer-info li:last-child .value{color:var(--gold-dk)}

.offer-present{
  background:rgba(11,37,69,.04);
  border:1px solid var(--line);
  padding:8px 11px;margin-bottom:12px;
}
.offer-present-text{font-size:10.5px;color:var(--muted);letter-spacing:.3px;margin-bottom:3px;text-transform:uppercase}
.offer-present-inner{display:flex;gap:8px;font-size:11px;color:var(--muted);font-weight:500}
.offer-present-inner div{white-space:nowrap}

.offer-links{margin-bottom:14px;text-align:center}
.offer-links a{
  font-size:11px;color:var(--muted);
  text-decoration:underline;text-underline-offset:2px;
}
.offer-links a:hover{color:var(--gold-dk)}

.offer-cta{
  margin-top:auto;
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:50px;
  background:var(--gold);color:var(--navy-deep);
  font-family:'Inter',sans-serif;
  font-size:15.5px;font-weight:700;letter-spacing:.4px;
  border:1px solid var(--gold-dk);
  transition:background .18s,color .18s,transform .12s,box-shadow .2s;
}
.offer-cta:hover{
  background:var(--navy);color:var(--gold);border-color:var(--navy);
  box-shadow:0 8px 20px rgba(11,37,69,.3);
}
.offer-cta:active{transform:translateY(1px)}

/* ============ HOW ============ */
.how{padding:64px 0;background:var(--cream-2)}
.steps{display:grid;grid-template-columns:1fr;gap:20px;counter-reset:s}
.steps li{
  background:#fff;border:1px solid var(--line);
  border-left:3px solid var(--gold);
  padding:24px 24px 22px;position:relative;
}
.step-num{
  font-family:'Playfair Display',serif;font-size:34px;font-weight:700;
  color:var(--gold-soft);display:block;margin-bottom:6px;
}
.steps h3{font-size:18px;font-weight:600;margin-bottom:8px}
.steps p{font-size:14.5px;color:var(--muted);line-height:1.65}

/* ============ FOOTER ============ */
.site-footer{background:var(--navy-deep);color:rgba(247,243,232,.72);padding:48px 0 36px}
.footer-top{
  display:flex;flex-direction:column;gap:22px;
  align-items:flex-start;
}
.footer-logo{background:var(--cream);padding:6px 12px;border:1px solid var(--gold);display:inline-block}
.footer-nav{display:flex;flex-wrap:wrap;gap:18px}
.footer-nav a{font-size:14px;color:rgba(247,243,232,.8);font-weight:500}
.footer-nav a:hover{color:var(--gold)}
.footer-divider{margin:26px 0;width:100%;max-width:none;height:1px;background:var(--gold-soft)}
.footer-divider::after{display:none}
.footer-legal{font-size:12px;line-height:1.7;color:rgba(247,243,232,.55);margin-bottom:18px}
.footer-copy{font-size:13px;color:rgba(247,243,232,.7);margin-bottom:6px}
.footer-link a{font-size:13px;color:var(--gold);text-decoration:underline;text-underline-offset:2px}
.footer-link a:hover{color:var(--cream)}

/* ============ RESPONSIVE ============ */
@media (max-width:860px){
  .burger{display:flex}
  .main-nav{
    display:none;position:absolute;top:64px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--navy-2);border-top:1px solid var(--gold-soft);
    padding:8px 20px 18px;
  }
  .main-nav.open{display:flex}
  .main-nav a{padding:14px 0;border-bottom:1px solid rgba(200,162,74,.16);min-height:44px;display:flex;align-items:center}
  .main-nav a::after{display:none}
  .nav-cta{margin-top:12px;justify-content:center}
}

@media (min-width:600px){
  .why-grid{grid-template-columns:repeat(2,1fr)}
  #offers.row{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .footer-top{flex-direction:row;align-items:center;justify-content:space-between}
}

@media (min-width:880px){
  .why-grid{grid-template-columns:repeat(4,1fr)}
  #offers.row{grid-template-columns:repeat(3,1fr)}
}

@media (min-width:760px){
  .section-title{font-size:32px}
  .hero{padding:74px 0 80px}
  .hero-title{font-size:50px}
  .hero-lead{font-size:18.5px}
}

@media (max-width:420px){
  .hero-title{font-size:31px}
  .hero-stats{gap:12px}
  .hstat-div{display:none}
  .hstat{flex:1 1 28%}
}/* === logo size bump 2026-06-22 === */
.logo img,.header .logo img,header .logo img{height:56px !important;max-height:56px !important;width:auto !important;max-width:74vw}
.footer .logo img,.footer-brand img,.footer-top .logo img{height:46px !important;max-height:46px !important;width:auto !important}
@media(max-width:600px){.logo img,.header .logo img,header .logo img{height:46px !important;max-height:46px !important}}
/* === calculator css === */
/* ===== Loan calculator (rcalc) ===== */
.rcalc-section{padding:38px 0 30px}
.rcalc-card{
  max-width:560px;margin:0 auto;
  background:#fff;
  border:1px solid rgba(200,162,74,.28);
  border-radius:18px;
  box-shadow:0 18px 50px rgba(20,18,12,.10);
  padding:28px 30px 26px;
}
.rcalc-head{text-align:center;margin-bottom:22px}
.rcalc-badge{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:600;letter-spacing:.02em;
  color:#9a7a23;
  background:rgba(200,162,74,.12);
  border:1px solid rgba(200,162,74,.30);
  padding:6px 14px;border-radius:999px;
}
.rcalc-dot{width:7px;height:7px;border-radius:50%;background:#c8a24a;flex:none}
.rcalc-title{
  margin:14px 0 0;
  font-size:26px;line-height:1.2;font-weight:700;
  color:#1d1a14;
}

.rcalc-row{margin-bottom:20px}
.rcalc-row-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.rcalc-label{font-size:15px;font-weight:600;color:#3a352b;text-transform:uppercase;letter-spacing:.04em}
.rcalc-pill{
  display:inline-block;
  font-size:16px;font-weight:700;color:#7a5e16;
  background:rgba(200,162,74,.14);
  border:1px solid rgba(200,162,74,.32);
  padding:6px 14px;border-radius:10px;
  min-width:96px;text-align:center;
}

/* Range input — themed (webkit + moz) */
.rcalc-range{
  -webkit-appearance:none;appearance:none;
  width:100%;height:8px;margin:4px 0;
  border-radius:999px;
  background:linear-gradient(90deg,#c8a24a 0%,#c8a24a 0%,rgba(200,162,74,.18) 0%,rgba(200,162,74,.18) 100%);
  outline:none;cursor:pointer;
}
.rcalc-range::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:26px;height:26px;border-radius:50%;
  background:#c8a24a;border:4px solid #fff;
  box-shadow:0 2px 8px rgba(200,162,74,.55);
  cursor:pointer;transition:transform .12s ease;
}
.rcalc-range::-webkit-slider-thumb:hover{transform:scale(1.08)}
.rcalc-range::-webkit-slider-thumb:active{transform:scale(.96)}
.rcalc-range::-moz-range-thumb{
  width:26px;height:26px;border-radius:50%;
  background:#c8a24a;border:4px solid #fff;
  box-shadow:0 2px 8px rgba(200,162,74,.55);
  cursor:pointer;
}
.rcalc-range::-moz-range-track{height:8px;border-radius:999px;background:rgba(200,162,74,.18)}
.rcalc-range::-moz-range-progress{height:8px;border-radius:999px;background:#c8a24a}
.rcalc-range:focus-visible{box-shadow:0 0 0 3px rgba(200,162,74,.30)}

.rcalc-scale{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:#9a948a}

/* Result row */
.rcalc-result{
  display:flex;align-items:stretch;justify-content:space-between;
  gap:6px;
  background:rgba(200,162,74,.07);
  border:1px solid rgba(200,162,74,.22);
  border-radius:14px;
  padding:16px 14px;
  margin:6px 0 22px;
}
.rcalc-res-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center}
.rcalc-res-label{font-size:12px;color:#8a8377;letter-spacing:.02em}
.rcalc-res-val{font-size:18px;font-weight:700;color:#1d1a14;white-space:nowrap}
.rcalc-res-total .rcalc-res-val{color:#9a7a23}
.rcalc-res-div{width:1px;background:rgba(200,162,74,.30);align-self:stretch;flex:none}

/* CTA */
.rcalc-cta{
  display:block;width:100%;
  border:none;cursor:pointer;
  font-size:18px;font-weight:700;letter-spacing:.01em;
  color:#fff;
  background:#c8a24a;
  padding:17px 22px;min-height:54px;
  border-radius:13px;
  box-shadow:0 10px 26px rgba(200,162,74,.40);
  transition:background .15s ease,transform .12s ease,box-shadow .15s ease;
}
.rcalc-cta:hover{background:#b8902f;box-shadow:0 12px 30px rgba(200,162,74,.50)}
.rcalc-cta:active{transform:translateY(1px) scale(.995)}
.rcalc-cta:focus-visible{outline:3px solid rgba(200,162,74,.40);outline-offset:2px}

.rcalc-note{margin:14px 0 0;text-align:center;font-size:13px;color:#9a948a}

/* Mobile */
@media (max-width:560px){
  .rcalc-section{padding:26px 0 22px}
  .rcalc-card{padding:22px 18px 20px;border-radius:16px}
  .rcalc-title{font-size:22px}
  .rcalc-pill{min-width:84px;font-size:15px}
  .rcalc-result{flex-direction:column;gap:0;padding:6px 14px}
  .rcalc-res-item{flex-direction:row;justify-content:space-between;padding:12px 2px}
  .rcalc-res-div{width:auto;height:1px;align-self:stretch}
  .rcalc-res-label,.rcalc-res-val{font-size:15px}
}
/* reject-hide-apr: APR ставка + юр-лінки прибрані з карток */
.offer-present,.offer-links,.offer-button{display:none !important}

/* reject-hide-socialproof */
#fomo-popup,.sp-badge,.sp-popup,.social-proof{display:none !important}

/* offer logo bigger + left + видано сьогодні to the right */
.offer-logo{justify-content:space-between !important;gap:14px;min-height:62px}
.offer-logo a{flex:1 1 auto;min-width:0;justify-content:flex-start !important;text-align:left}
.offer-logo img{max-height:60px !important;max-width:180px;width:auto;object-fit:contain}
.offer-issued{flex:none;min-width:92px;text-align:right;white-space:nowrap;line-height:1.05}
.offer-issued b{display:block;font-size:23px;font-weight:900;color:#16a34a;line-height:1;letter-spacing:-.4px}
.offer-issued span{display:block;font-size:10px;color:#64748b;font-weight:700;margin-top:3px;text-transform:uppercase;letter-spacing:.03em}
@media(max-width:560px){.offer-logo{gap:10px;min-height:56px}.offer-logo a{max-width:calc(100% - 84px)}.offer-logo img{max-height:50px !important;max-width:140px}.offer-issued{min-width:74px;white-space:normal;max-width:80px}.offer-issued b{font-size:22px}.offer-issued span{font-size:9px;line-height:1.05;letter-spacing:.02em}}

/* header logo: no box, white on navy */
.site-header .logo{background:none !important;border:none !important;padding:0 !important;box-shadow:none !important}
.site-header .logo img{filter:brightness(0) invert(1) !important}
