/* ===================================================
   FinSensus Oy
   Modern Business Theme
=================================================== */

:root{

    --primary:#0F172A;
    --secondary:#1E293B;
    --green:#2D7FF9;
    --green-dark:#1E63D6;
    --white:#ffffff;
    --light:#F8FAFC;
    --text:#475569;
    --shadow:0 20px 50px rgba(0,0,0,.12);
    --radius:18px;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    background:var(--light);
    color:var(--text);
    overflow-x:hidden;

}

img{
    max-width:100%;
    display:block;
}

section{
    padding:100px 0;
}

h1,h2,h3,h4{

    color:var(--primary);
    font-weight:700;

}

.container{

    max-width:1200px;

}

/* ==========================
      NAVBAR
========================== */

.navbar{

    background:rgba(15,23,42,.92);

    backdrop-filter:blur(12px);

    padding:16px 0;

    transition:.35s;

}

.navbar-brand img{

    height:58px;

}

.nav-link{

    color:white!important;

    margin-left:25px;

    font-weight:600;

}

.nav-link:hover{

    color:var(--green)!important;

}

/* ==========================
        HERO
========================== */

.hero{

    background:

    linear-gradient(rgba(15,23,42,.80),
    rgba(15,23,42,.88)),

    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    min-height:100vh;

    display:flex;

    align-items:center;

   padding-top:100px;   /* LISÄÄ TÄMÄ */

}

.hero h1{

    color:white;

    font-size:64px;

    line-height:1.08;

    margin:30px 0;

}

.hero .lead{

    color:#d7dce4;

    font-size:21px;

    max-width:650px;

}

.badge-top{

    display:inline-block;

    background:rgba(45,127,249,.12);

    border:1px solid rgba(45,127,249,.25);

    color:#CFE3FF;

    padding:10px 20px;

    border-radius:40px;

    font-weight:600;

}

.btn-success{

    background:var(--green);

    border:none;

    padding:16px 34px;

    border-radius:10px;

    font-weight:700;

}

.btn-success:hover{

    background:var(--green-dark);

}

.btn-outline-light{

    padding:16px 34px;

    border-radius:10px;

}

/* ==========================
      HERO BOX
========================== */

.hero-box{

    background:white;

    padding:35px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.hero-box h3{

    margin-bottom:30px;

}

.stat{

    border-bottom:1px solid #ececec;

    padding:18px 0;

}

.stat:last-child{

    border-bottom:none;

}

.stat span{

    color:var(--green);

    font-size:42px;

    font-weight:800;

    display:block;

}

.stat p{

    margin:0;

}

/* ===================================================
   PALVELUT
=================================================== */

.section-tag{

    display:inline-block;
    color:var(--green);
    font-size:.9rem;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:15px;

}

.section-text{

    max-width:700px;
    margin:15px auto 0;
    color:var(--text);
    font-size:1.1rem;

}

.service-card{

    background:white;
    padding:40px 35px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.35s;
    height:100%;
    text-align:left;
    border-top:5px solid transparent;

}

.service-card:hover{

    transform:translateY(-10px);
    border-top:5px solid var(--green);

}

.service-card i{

    font-size:52px;
    color:var(--green);
    margin-bottom:25px;

}

.service-card h3{

    margin-bottom:15px;
    font-size:1.45rem;

}

.service-card p{

    margin:0;
    color:var(--text);

}

/* ===================================================
   HYÖDYT
=================================================== */

#hyodyt{

    background:#f1f5f9;

}

#hyodyt h2{

    margin-bottom:25px;

}

.benefits{

    list-style:none;
    padding:0;
    margin-top:35px;

}

.benefits li{

    margin-bottom:18px;
    font-size:1.08rem;
    display:flex;
    align-items:center;

}

.benefits i{

    color:var(--green);
    margin-right:14px;
    font-size:1.2rem;

}

/* ===================================================
   PROSESSI
=================================================== */

.process-box{

    background:white;
    padding:45px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);

}

.process-box h3{

    margin-bottom:35px;

}

.step{

    display:flex;
    gap:20px;
    align-items:flex-start;
    margin-bottom:28px;

}

.step:last-child{

    margin-bottom:0;

}

.step-number{

    width:52px;
    height:52px;

    border-radius:50%;

    background:var(--green);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    font-size:20px;

    flex-shrink:0;

}

.step h4{

    margin-bottom:6px;
    font-size:1.15rem;

}

.step p{

    margin:0;
    color:var(--text);

}

/* ===================================================
   HOVER
=================================================== */

.service-card,
.hero-box,
.process-box{

    transition:
    transform .35s ease,
    box-shadow .35s ease;

}

.hero-box:hover,
.process-box:hover{

    transform:translateY(-6px);

    box-shadow:0 30px 60px rgba(0,0,0,.16);

}

/* ===================================================
   CTA
=================================================== */

.cta{

    background:linear-gradient(135deg,#0F172A,#1E293B);

    color:white;

    text-align:center;

    border-radius:24px;

    padding:80px 50px;

    margin:100px auto;

}

.cta h2{

    color:white;

    font-size:42px;

    margin-bottom:20px;

}

.cta p{

    color:#CBD5E1;

    max-width:700px;

    margin:0 auto 35px;

    font-size:1.15rem;

}

.cta .btn{

    padding:18px 40px;

    font-size:18px;

    font-weight:700;

}

/* ===================================================
   YHTEYSTIEDOT
=================================================== */

#yhteys{

    background:white;

}

.contact-card{

    background:white;

    border-radius:18px;

    padding:45px;

    box-shadow:var(--shadow);

    height:100%;

}

.contact-card h3{

    margin-bottom:25px;

}

.contact-item{

    display:flex;

    align-items:center;

    margin-bottom:18px;

}

.contact-item i{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#ECFDF5;

    color:var(--green);

    display:flex;

    justify-content:center;

    align-items:center;

    margin-right:15px;

}

.contact-form{

    background:white;

    border-radius:18px;

    padding:45px;

    box-shadow:var(--shadow);

}

.contact-form input,

.contact-form textarea{

    border-radius:10px;

    border:1px solid #CBD5E1;

    padding:14px;

    margin-bottom:18px;

    width:100%;

}

.contact-form textarea{

    min-height:160px;

    resize:vertical;

}

.contact-form button{

    background:var(--green);

    color:white;

    border:none;

    padding:15px 35px;

    border-radius:10px;

    font-weight:700;

}

.contact-form button:hover{

    background:var(--green-dark);

}

/* ===================================================
   FOOTER
=================================================== */

footer{

    background:#08111F;

    color:#CBD5E1;

    padding:70px 0 30px;

}

.footer-logo{

    height:55px;

    margin-bottom:20px;

}

footer h5{

    color:white;

    margin-bottom:20px;

}

footer a{

    color:#CBD5E1;

    text-decoration:none;

}

footer a:hover{

    color:white;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:40px;

    padding-top:20px;

    text-align:center;

    font-size:.9rem;

}

/* ===================================================
   ANIMAATIOT
=================================================== */

.fade-up{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===================================================
   RESPONSIIVISUUS
=================================================== */

@media(max-width:991px){

.hero{

padding:140px 0 90px;

min-height:auto;

}

.hero h1{

font-size:46px;

text-align:center;

}

.hero .lead{

text-align:center;

margin:auto;

}

.hero-box{

margin-top:50px;

}

.badge-top{

display:block;

margin:0 auto 25px;

width:max-content;

}

.hero .btn{

display:block;

width:100%;

margin-bottom:15px;

}

.btn-outline-light{

margin-left:0!important;

}

.service-card{

text-align:center;

}

.process-box{

margin-top:40px;

}

.cta{

padding:60px 25px;

}

.cta h2{

font-size:32px;

}

}

@media(max-width:768px){

section{

padding:70px 0;

}

h2{

font-size:30px;

}

.navbar-brand img{

height:48px;

}

.hero h1{

font-size:36px;

}

.hero .lead{

font-size:18px;

}

.stat span{

font-size:34px;

}

}

#palvelut,
#hyodyt,
#meista,
#yhteys{

    scroll-margin-top:100px;

}

.hero-logo{

    width:320px;
    max-width:100%;
    display:block;
    margin:0 auto 25px;

}

.hero-box h3{

    text-align:center;
    margin-bottom:30px;

}

.experience-item{

    padding:18px 0;
    border-top:1px solid #E2E8F0;

}

.experience-item:first-of-type{

    border-top:none;

}

.experience-title{

    font-size:1.35rem;
    font-weight:700;
    color:#0F172A;
    margin-bottom:4px;

}

.experience-text{

    color:#64748B;
    line-height:1.5;

}

.contact-item a{
    color:inherit;
    text-decoration:none;
    transition:.2s;
}

.contact-item a:hover{
    color:var(--green);
}

/* ==========================
   FOOTER
========================== */

footer{

    background:#0F172A;
    color:#CBD5E1;

    padding:50px 0 30px;

}

.footer-content{

    text-align:center;

}

}

.footer-text{

    color:#94A3B8;

    font-size:1rem;

    margin-bottom:25px;

}

.footer-divider{

    width:70px;
    height:2px;

    background:#2D7FF9;

    margin:0 auto 25px;

}

.copyright{

    margin:0;

    color:#64748B;

    font-size:.9rem;

}

.whatsapp-float{

    position:fixed;
    right:25px;
    bottom:25px;

    width:62px;
    height:62px;

    background:#25D366;
    color:#fff;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:34px;

    text-decoration:none;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:9999;

    transition:.25s;

}

.whatsapp-float:hover{

    transform:scale(1.08);

    background:#1EBE5D;

    color:#fff;

}

@media(max-width:768px){

    .whatsapp-float{

        width:56px;
        height:56px;

        right:18px;
        bottom:18px;

        font-size:30px;

    }

}