:root{
    --bg: #f4f8fc;
    --surface: #ffffff;
    --surface-2: #f8fbff;
    --primary: #0f3d75;
    --primary-2: #184f95;
    --accent: #2f80ed;
    --accent-soft: #eaf3ff;
    --text: #112033;
    --muted: #5d6b7a;
    --border: #dbe7f3;
    --shadow: 0 18px 45px rgba(15, 61, 117, 0.12);
    --shadow-soft: 0 10px 25px rgba(17, 32, 51, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: 1200px;
    --transition: 0.28s ease;
    --header-offset: 110px;
}

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

html{
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body{
    font-family: 'Inter', sans-serif;
    background:
            radial-gradient(circle at top right, rgba(47,128,237,0.08), transparent 26%),
            radial-gradient(circle at top left, rgba(15,61,117,0.07), transparent 22%),
            var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

section[id],
header[id]{
    scroll-margin-top: var(--header-offset);
}

a{
    color: inherit;
    text-decoration: none;
}

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

.container{
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section{
    padding: 88px 0;
    position: relative;
}

.section.pt-0{
    padding-top: 0;
}

.section-header{
    max-width: 820px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-kicker{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2{
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-header p{
    font-size: 17px;
    color: var(--muted);
}

/* Header */
.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.86);
    border-bottom: 1px solid rgba(219,231,243,0.9);
}

.header-inner{
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title{
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-subtitle{
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.nav{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a{
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    font-size: 15px;
}

.nav a:hover{
    background: var(--accent-soft);
    color: var(--accent);
}

/* home */
.home{
    position: relative;
    padding: 84px 0 72px;
    overflow: hidden;
}

.home::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 15% 18%, rgba(47,128,237,0.16), transparent 22%),
            radial-gradient(circle at 82% 24%, rgba(15,61,117,0.12), transparent 28%),
            linear-gradient(180deg, #f7fbff 0%, #f3f8fd 100%);
    z-index: -2;
}

.home::after{
    content: "";
    position: absolute;
    right: -120px;
    top: 40px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(47,128,237,0.12), rgba(47,128,237,0) 68%);
    z-index: -1;
    filter: blur(12px);
}

.home-grid{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
    align-items: center;
}

.home-copy{
    position: relative;
    z-index: 1;
}

.home h1{
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.02;
    color: var(--primary);
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    max-width: 760px;
}

.home p{
    font-size: clamp(17px, 2vw, 20px);
    color: var(--muted);
    max-width: 760px;
    margin-bottom: 30px;
}

.home-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
    font-size: 15px;
    border: 1px solid transparent;
}

.btn-primary{
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 12px 28px rgba(24, 79, 149, 0.28);
}

.btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(24, 79, 149, 0.34);
}

.btn-secondary{
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    border-color: var(--border);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover{
    background: var(--accent-soft);
    color: var(--accent);
}

.home-points{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 860px;
}

.home-point{
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(219,231,243,0.9);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
    padding: 18px;
}

.home-point strong{
    display: block;
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.home-point span{
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.home-visual{
    position: relative;
}

.home-card{
    position: relative;
    min-height: 540px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
            linear-gradient(180deg, rgba(13, 42, 82, 0.08), rgba(13, 42, 82, 0.02)),
            linear-gradient(135deg, #eef5fd 0%, #dfeeff 100%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    align-items: flex-end;
}

.home-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to top, rgba(10, 27, 51, 0.58), rgba(10, 27, 51, 0.14)),
            url("../img/home.jpg") center/cover no-repeat;
    transform: scale(1.02);
}

.home-card-content{
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
}

.home-card-content h3{
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.home-card-content p{
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    margin: 0;
    max-width: 420px;
}

.home-floating{
    position: absolute;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(219,231,243,0.9);
    box-shadow: var(--shadow-soft);
    border-radius: 18px;
    padding: 16px 18px;
    min-width: 220px;
    backdrop-filter: blur(12px);
}

.home-floating strong{
    display: block;
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 6px;
}

.home-floating span{
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.home-floating.top{
    top: 28px;
    left: 16px;
}

/* Cards / general */
.card{
    background: var(--surface);
    border: 1px solid rgba(219,231,243,0.85);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

/* About */
.about-grid{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: stretch;
}

.about-media{
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 18px;
    background:
            linear-gradient(180deg, rgba(24,79,149,0.08), rgba(47,128,237,0.03)),
            #fff;
}

.about-media-inner{
    position: relative;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background:
            linear-gradient(to top, rgba(11, 31, 58, 0.5), rgba(11, 31, 58, 0.08)),
            url("../img/about.jpg") center/cover no-repeat;
    min-height: 430px;
}

.about-badge{
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    max-width: 270px;
}

.about-badge strong{
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.about-badge span{
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.about-content{
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2{
    font-size: clamp(28px, 4vw, 42px);
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.about-content p{
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 18px;
}

.about-list{
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.about-list-item{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 1px solid rgba(219,231,243,0.75);
}

.check{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex: 0 0 24px;
    margin-top: 2px;
}

.about-list-item strong{
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 15px;
}

.about-list-item span{
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Services */
.services-layout{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: stretch;
}

.services-visual{
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 18px;
    background:
            linear-gradient(180deg, rgba(24,79,149,0.08), rgba(47,128,237,0.03)),
            #fff;
}

.services-visual-inner{
    position: relative;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background:
            linear-gradient(to top, rgba(11, 31, 58, 0.5), rgba(11, 31, 58, 0.08)),
            url("../img/services.jpg") center/cover no-repeat;
    min-height: 430px;
}

.services-visual-badge{
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    max-width: 290px;
}

.services-visual-badge strong{
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.services-visual-badge span{
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.services-wrap{
    position: relative;
    padding: 34px;
    overflow: hidden;
    background:
            radial-gradient(circle at top right, rgba(47,128,237,0.08), transparent 25%),
            linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.services-wrap::before{
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47,128,237,0.12), rgba(47,128,237,0) 68%);
    pointer-events: none;
}

.services-grid{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.service-main h3{
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.12;
    color: var(--primary);
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.service-main > p{
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 22px;
}

.service-highlight{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border: 1px solid rgba(219,231,243,0.95);
    box-shadow: var(--shadow-soft);
}

.service-icon{
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 56px;
    box-shadow: 0 12px 24px rgba(24,79,149,0.2);
}

.service-icon svg{
    width: 28px;
    height: 28px;
}

.service-highlight strong{
    display: block;
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 8px;
}

.service-highlight p{
    color: var(--muted);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.service-side{
    display: grid;
    gap: 18px;
}

.mini-card{
    margin-top: 14px;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(219,231,243,0.9);
    box-shadow: var(--shadow-soft);

}

.mini-card .mini-label{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mini-card h4{
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.mini-card p{
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.address-card{
    background:
            linear-gradient(135deg, rgba(15,61,117,0.98), rgba(47,128,237,0.92));
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.address-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 26%),
            radial-gradient(circle at bottom left, rgba(255,255,255,0.08), transparent 22%);
    pointer-events: none;
}

.address-card *{
    position: relative;
    z-index: 1;
}

.address-card .mini-label{
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.address-card h4,
.address-card p{
    color: #fff;
}

/* Contact */
.contact-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.contact-card{
    padding: 28px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid rgba(219,231,243,0.9);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.contact-icon{
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 12px 24px rgba(24,79,149,0.22);
}

.contact-icon svg{
    width: 26px;
    height: 26px;
}

.contact-card h3{
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.contact-card p,
.contact-card a{
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    word-break: break-word;
}

.contact-card a:hover{
    color: var(--accent);
}

/* Map */
.map-shell{
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(219,231,243,0.85);
    background: #fff;
}

.map-shell iframe{
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

/* Footer */
.site-footer{
    padding: 28px 0 40px;
    color: var(--muted);
}

.footer-inner{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(219,231,243,0.9);
    font-size: 14px;
}

.footer-brand{
    color: var(--primary);
    font-weight: 700;
}

.footer-right a{
    color: var(--primary);
    font-weight: 600;
}

.footer-right a:hover{
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1100px){
    .home-grid,
    .about-grid,
    .services-layout,
    .services-grid{
        grid-template-columns: 1fr;
    }

    .home-visual{
        order: -1;
    }

    .home-card{
        min-height: 460px;
    }

    .home-floating.top{
        left: 16px;
    }
}

@media (max-width: 860px){
    :root{
        --header-offset: 95px;
    }

    .header-inner{
        min-height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav{
        width: 100%;
    }

    .home{
        padding-top: 56px;
    }

    .home-points,
    .contact-grid{
        grid-template-columns: 1fr;
    }

    .section{
        padding: 72px 0;
    }

    .about-content,
    .services-wrap{
        padding: 24px;
    }

    .home-card{
        min-height: 400px;
    }
}

@media (max-width: 640px){
    :root{
        --header-offset: 88px;
    }

    .container{
        width: min(var(--container), calc(100% - 20px));
    }

    .home h1{
        font-size: 34px;
    }

    .home p,
    .section-header p,
    .about-content p,
    .service-main > p{
        font-size: 16px;
    }

    .home-card{
        min-height: 360px;
        padding: 18px;
    }

    .home-card-content h3{
        font-size: 24px;
    }

    .home-floating{
        position: static;
        margin-top: 14px;
    }

    .about-media,
    .services-visual{
        padding: 14px;
    }

    .about-media-inner,
    .services-visual-inner{
        min-height: 320px;
    }

    .contact-card,
    .mini-card{
        padding: 22px;
    }
}