/* CORVANTA FINANCIAL — Fintech visual redesign. No routes or application logic modified. */
:root{--cf-ink:#08234f;--cf-blue:#0b49ac;--cf-cyan:#57d8e5;--cf-mint:#79f1c6;--cf-card:#fff;--cf-soft:#f2f7ff}
html{scroll-behavior:smooth}body{overflow-x:clip}*{box-sizing:border-box}
nav#nav{box-shadow:0 14px 45px rgba(5,28,76,.12)!important;border:1px solid rgba(219,232,255,.8)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
nav#nav .btn-getstarted{background:linear-gradient(115deg,#0750b8,#07347e)!important;color:#fff!important;border-radius:999px!important;box-shadow:0 8px 20px rgba(0,60,148,.22)!important}
.hero{height:auto!important;min-height:0!important;overflow:hidden!important;isolation:isolate;background:linear-gradient(111deg,#062967 0%,#073b90 39%,#1164d3 61%,#78b5ff 100%)!important}
.hero:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 28% 50%,rgba(33,129,242,.4),transparent 45%),radial-gradient(circle at 90% 35%,rgba(217,243,255,.4),transparent 48%)}
.hero-bg-canvas{opacity:.22!important;pointer-events:none!important}
.hero .ticker-bar{background:rgba(4,33,92,.42)!important;border-top:1px solid rgba(255,255,255,.12)!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
.hero-main{position:relative!important;z-index:2!important;padding:35px 0 0!important;margin:0!important}
.hero .hero-container{width:min(calc(100% - 70px),1560px)!important;max-width:1560px!important;margin:0 auto!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(230px,.72fr) minmax(365px,.96fr)!important;align-items:stretch!important;gap:clamp(8px,1.3vw,22px)!important;min-height:600px!important}
.hero .hero-left{min-width:0!important;align-self:center!important;position:relative!important;z-index:3!important;padding:12px 0 28px!important}
.hero .hero-eyebrow{width:max-content;max-width:100%;font-size:11px!important;letter-spacing:1.2px!important;border-radius:999px!important;padding:9px 14px!important}
.hero .hero-h1{font-size:clamp(37px,3.5vw,64px)!important;line-height:1.045!important;letter-spacing:-.035em!important;margin:17px 0 18px!important;font-weight:900!important}
.hero .hero-h1 span{display:block!important}
.hero .hero-h1 .h1-blue{color:var(--cf-mint)!important;text-shadow:0 8px 25px rgba(0,0,0,.1)}
.hero .hero-h1::after{content:"";display:block;width:min(85%,420px);height:5px;background:linear-gradient(90deg,var(--cf-mint),transparent);border-radius:5px;margin-top:17px}
.hero .hero-sub{max-width:555px!important;font-size:clamp(15px,1.15vw,18px)!important;line-height:1.7!important;color:#eaf3ff!important;margin:0 0 22px!important}
.hero .hero-btns{display:flex!important;gap:12px!important;flex-wrap:wrap!important;align-items:center!important}
.hero .btn-hero-main{background:#fff!important;color:#073b8d!important;border-radius:14px!important;padding:16px 22px!important;font-weight:800!important;box-shadow:0 14px 35px rgba(0,26,74,.22)!important}
.hero .hero-features,.hero .hero-trust{display:none!important}
.hero .hero-person{display:flex!important;position:relative!important;align-items:flex-end!important;justify-content:center!important;min-width:0!important;width:100%!important;height:600px!important;align-self:end!important;margin:0!important;overflow:visible!important;z-index:2!important;pointer-events:none!important;background:transparent!important}
.hero .hero-person img{display:block!important;position:relative!important;max-width:100%!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;margin:0!important;filter:drop-shadow(0 14px 24px rgba(0,19,63,.24))!important}
.hero .hero-right{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;gap:20px!important;min-width:0!important;width:100%!important;padding:28px 0!important;margin:0!important;z-index:4!important}
.hero .hero-loan-panel{display:block!important;position:relative!important;width:100%!important;min-width:0!important;margin:0!important;padding:24px 19px 18px!important;border-radius:24px!important;background:rgba(255,255,255,.97)!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 20px 50px rgba(5,36,98,.19)!important;text-align:center!important;color:var(--cf-ink)!important}
.hero .hero-loan-title{display:inline-block!important;position:relative!important;margin:-39px auto 22px!important;padding:11px 25px!important;background:linear-gradient(115deg,#073b91,#0d61c7)!important;color:white!important;border-radius:999px!important;font-size:clamp(16px,1.25vw,20px)!important;line-height:1.2!important;font-weight:800!important;box-shadow:0 9px 22px rgba(5,51,137,.2)!important}
.hero .hero-loan-links{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;align-items:start!important;justify-content:stretch!important;width:100%!important;margin:0!important;padding:0!important}
.hero .hero-loan-links a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-width:0!important;width:100%!important;text-decoration:none!important;color:#0c3476!important;font-size:clamp(11px,.9vw,14px)!important;line-height:1.25!important;font-weight:750!important;overflow-wrap:normal!important}
.hero .hero-loan-links a span{display:block!important;text-align:center!important}
.hero .hero-loan-links a i{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:clamp(43px,3.4vw,58px)!important;height:clamp(43px,3.4vw,58px)!important;border-radius:50%!important;border:1px solid #b5d0ff!important;background:linear-gradient(145deg,#fff,#eaf2ff)!important;color:#0b4ca8!important;font-size:clamp(19px,1.5vw,25px)!important;box-shadow:0 5px 12px rgba(0,61,145,.1)!important}
.hero .hero-loan-links a:hover i{background:#dcecff!important;transform:translateY(-2px)}
.hero .hero-loan-apply{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:auto!important;margin:22px auto 0!important;padding:12px 26px!important;background:linear-gradient(120deg,#074ba9,#063580)!important;color:#fff!important;border-radius:999px!important;text-decoration:none!important;font-size:14px!important;font-weight:800!important;box-shadow:0 10px 23px rgba(5,62,151,.22)!important}
.hero .speedo-wrap{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important}
.hero .speedo-card{position:relative!important;width:100%!important;max-width:100%!important;margin:0!important;padding:18px 20px 13px!important;background:#fff!important;border-radius:24px!important;box-shadow:0 20px 50px rgba(5,36,98,.18)!important;border:1px solid rgba(221,232,255,.8)!important}
.hero .speedo-svg-wrap{width:100%!important;max-width:100%!important}
.hero .speedo-svg{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:290px!important;margin:0 auto!important}
.hero .speedo-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
.hero .speedo-meta,.hero .sp-float{display:none!important}
.hero .hero-benefit-strip{position:relative!important;z-index:5!important;width:min(calc(100% - 70px),1560px)!important;max-width:1560px!important;min-height:88px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0 auto 18px!important;padding:16px 20px!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:24px!important;box-shadow:0 14px 40px rgba(6,40,101,.16)!important}
.hero .hero-benefit{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;padding:8px 16px!important;border-right:1px solid #d3e1fa!important;color:#0a387c!important;min-width:0!important}
.hero .hero-benefit:last-child{border-right:0!important}
.hero .hero-benefit i{font-size:27px!important;color:#0b55b5!important;flex-shrink:0!important}
.hero .hero-benefit span{display:flex!important;flex-direction:column!important;gap:2px!important}
.hero .hero-benefit strong{font-size:clamp(12px,1vw,16px)!important;color:#073a86!important;line-height:1.3!important}
.hero .hero-benefit small{font-size:13px!important;color:#405777!important}
.loan-section{background:linear-gradient(160deg,#f5f9ff,#eaf3ff)!important;padding:85px 0!important}
.loan-card{border-radius:22px!important;border:1px solid #dce8fa!important;box-shadow:0 12px 36px rgba(15,60,125,.075)!important}
.loan-card:hover{box-shadow:0 20px 45px rgba(15,60,125,.14)!important}
.loan-icon{border-radius:16px!important;background:linear-gradient(140deg,#dceaff,#f3f9ff)!important;color:#0b4ea9!important}
.loan-apply{border-radius:999px!important;background:linear-gradient(120deg,#074ba9,#07337e)!important}
/* Tablet: headline and cards, no collisions, portrait becomes its own framed visual. */
@media (min-width:701px) and (max-width:1199px){
 .hero .hero-container{width:min(calc(100% - 48px),900px)!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;min-height:0!important;padding:25px 0 0!important;align-items:start!important}
 .hero .hero-left{grid-column:1!important;grid-row:1!important;align-self:center!important;padding:0 0 18px!important}
 .hero .hero-h1{font-size:clamp(34px,4.1vw,50px)!important}
 .hero .hero-person{grid-column:2!important;grid-row:1!important;display:flex!important;height:390px!important;align-self:end!important;overflow:hidden!important}
 .hero .hero-person img{height:100%!important;width:100%!important;object-fit:contain!important}
 .hero .hero-right{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:16px!important;padding:0 0 20px!important}
 .hero .hero-loan-panel{padding:22px 12px 16px!important}
 .hero .hero-loan-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 7px!important}
 .hero .hero-loan-links a i{width:46px!important;height:46px!important;font-size:20px!important}
 .hero .hero-benefit-strip{width:min(calc(100% - 48px),900px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .hero .hero-benefit:nth-child(2){border-right:0!important}
}
/* Actual mobile: fully stacked, every link styled, no floating overlays or clipped gauge. */
@media (max-width:700px){
 nav#nav{max-width:calc(100% - 20px)!important;width:calc(100% - 20px)!important;left:50%!important;right:auto!important}
 .hero .ticker-bar{margin-top:0!important}
 .hero .hero-main{padding:22px 0 0!important}
 .hero .hero-container{width:calc(100% - 32px)!important;max-width:480px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;min-height:0!important;padding:0!important;margin:0 auto!important}
 .hero .hero-left{order:1!important;width:100%!important;max-width:100%!important;padding:10px 0 15px!important;margin:0!important}
 .hero .hero-eyebrow{font-size:9px!important;letter-spacing:.8px!important;padding:8px 10px!important}
 .hero .hero-h1{font-size:clamp(31px,8.7vw,45px)!important;line-height:1.08!important;margin:18px 0 16px!important}
 .hero .hero-sub{font-size:14px!important;line-height:1.65!important;margin-bottom:20px!important}
 .hero .hero-btns{gap:9px!important}
 .hero .btn-hero-main{padding:13px 18px!important;font-size:14px!important}
 .hero .hero-person{order:2!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;width:100%!important;max-width:100%!important;height:240px!important;min-height:0!important;overflow:hidden!important;margin:0!important;border-radius:18px 18px 0 0!important;background:radial-gradient(ellipse at 50% 90%,rgba(165,220,255,.42),rgba(20,94,189,.06) 67%,transparent 75%)!important}
 .hero .hero-person img{height:100%!important;width:100%!important;max-width:270px!important;object-fit:contain!important;object-position:center bottom!important;margin:0 auto!important}
 .hero .hero-right{order:3!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:16px!important;width:100%!important;padding:8px 0 24px!important;margin:0!important}
 .hero .hero-loan-panel{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:22px 12px 18px!important;border-radius:20px!important}
 .hero .hero-loan-title{display:inline-block!important;max-width:100%!important;margin:-34px auto 20px!important;padding:10px 20px!important;font-size:17px!important}
 .hero .hero-loan-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px 6px!important;align-items:start!important;width:100%!important}
 .hero .hero-loan-links a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important;max-width:100%!important;color:#0c3476!important;text-decoration:none!important;font-size:12px!important;font-weight:750!important;line-height:1.25!important}
 .hero .hero-loan-links a i{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;font-size:20px!important}
 .hero .hero-loan-apply{display:inline-flex!important;margin:18px auto 0!important;padding:12px 20px!important;font-size:13px!important}
 .hero .speedo-wrap,.hero .speedo-card{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;position:relative!important;transform:none!important}
 .hero .speedo-card{padding:16px 12px 12px!important;border-radius:20px!important}
 .hero .speedo-header{gap:6px!important;flex-wrap:wrap!important}
 .hero .speedo-svg{width:100%!important;height:auto!important;max-height:none!important}
 .hero .sp-float,.hero .speedo-meta{display:none!important}
 .hero .hero-benefit-strip{width:calc(100% - 32px)!important;max-width:480px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;padding:12px!important;margin:0 auto 18px!important;border-radius:20px!important}
 .hero .hero-benefit{gap:8px!important;justify-content:flex-start!important;padding:11px 8px!important;border:0!important}
 .hero .hero-benefit i{font-size:20px!important}
 .hero .hero-benefit strong{font-size:11px!important}
 .hero .hero-benefit small{font-size:11px!important}
 .loan-section{padding:55px 0!important}
 .loan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .loan-card{min-height:215px!important;padding:18px 14px!important}
}
@media (max-width:370px){.hero .hero-loan-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hero .hero-benefit-strip{grid-template-columns:1fr!important}.loan-grid{grid-template-columns:1fr!important}.hero .hero-h1{font-size:30px!important}}
@media (prefers-reduced-motion:reduce){.hero .hero-loan-links a i,.loan-card{transition:none!important}}

/* CORVANTA — MOBILE FINTECH REFINEMENT */
@media (max-width: 700px) {

  /* Keep headline clear of fixed navigation */
  .hero .hero-main {
    padding-top: 105px !important;
  }

  .hero .hero-left {
    padding-top: 0 !important;
    padding-bottom: 8px !important;
  }

  .hero .hero-h1 {
    font-size: clamp(30px, 8vw, 40px) !important;
    line-height: 1.1 !important;
    margin: 10px 0 14px !important;
  }

  .hero .hero-sub {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
  }

  /* Compact existing CTA buttons */
  .hero .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero .hero-btns > a,
  .hero .hero-btns > button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Preserve enquiry counter while centering it */
  .hero .hero-btns .enquiry-counter {
    max-width: 100% !important;
  }

  /* Consultant image */
  .hero .hero-person {
    height: 205px !important;
    margin-top: 4px !important;
  }

  .hero .hero-person img {
    max-width: 245px !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  /* Reduce space before loan services */
  .hero .hero-right {
    padding-top: 0 !important;
    gap: 14px !important;
  }

  .hero .hero-loan-panel {
    margin-top: 0 !important;
  }
}
