:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --muted: #6b7280;
    --text: #0f1724;
    --accent: #2563eb;
    --accent-2: #7c3aed;
    --radius: 12px;
    --shadow-1: 0 6px 18px rgba(12, 26, 75, 0.08);
    --shadow-2: 0 10px 40px rgba(12, 26, 75, 0.12);
    --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85));
    --screen-pad-x: 1.2rem;
    --screen-pad-y: 1.2rem;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    display: flex;
    justify-content: center;
    padding: var(--screen-pad-y) var(--screen-pad-x)
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    min-height: 90vh;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header {
    /* height: calc(100vh - 2 * var(--screen-pad-y)); */
    min-height: 500px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: calc(var(--radius) * 1.2);
    background: var(--surface);
    box-shadow: var(--shadow-2);
}

header .hero-top {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-top: 1rem;
    justify-content: center;
}

header .hero-top .hero-top-left {
    width: 35%;
    display: flex;
    flex-shrink: 0;

    background-image: url("logo.png");
    background-size:contain;
    background-repeat:no-repeat;
    background-position: center;
}

header .hero-top .hero-top-right {
    padding: 0 0 0 var(--screen-pad-x);
    width: 50%;
    align-content: center;
    text-align: center;
}

header .hero-bottom {
    flex-grow: 1;
    margin-bottom: 2rem;
    align-content: center;
}

header .hero-bottom .controls {
    float: left;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    justify-content: center;
    align-content: center;
}

h1 .headline {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.06;
}

p .kicker {
    color: var(--muted);
    font-size: 3rem;
}

.btn {
    color: var(--text);
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    height: 4rem;

    border: 0.1rem;
    border-style: solid;
    border-radius: 10px;
    box-shadow: var(--shadow-1);
    padding: 0.4rem 0.6rem;
}

.btn-accent {
    position: relative;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
    cursor: pointer;
    border: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

.btn-plain {
    background: transparent;
    border-color: var(--text);
}

.btn-plain:hover {
    border-color: #4325eb;
}

.btn:focus {
    outline: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.13), 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 320ms ease, height 320ms ease;
    pointer-events: none;
}

.btn:active::after {
    width: 220px;
    height: 220px;
    transition: width 160ms ease, height 160ms ease;
}

main .main {
    display: flex;
    flex-direction: column;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card {
    width: 100%;
    background: var(--surface);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow-1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card h3 {
    width: fit-content;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.45;
}

.card .contacts {
    background-image: linear-gradient(135deg, var(--accent) 0%, var(--accent-2));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

footer {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1rem;
    gap: 8px;
}

footer div {
    display: inline-block;
    align-items:center;
}

footer .logo {
    font-weight:600;
    display: inline-block;
}

footer .copyright {
    float: right;
    font-size:0.9rem;
}

.seo {
    display: none;
}

@media (max-width: 764px) { 
    header .hero-top {
        flex-direction: column;
        padding-top: 1rem;
    }

    header .hero-top .hero-top-left {
        width: 100%;
        height: 5rem;
    }

    header .hero-top .hero-top-right {
        padding: 0;
        width: 100%;
    }

    header .hero-bottom .controls {
        display: flex;
        flex-direction: column;
        grid-template-columns: repeat(2, 1fr);
    }

    .btn {
        width: 100%;
        height: auto;
    }

    /* h1 .headline {
        font-size: 1rem;
    } */
}
