:root {
    --accent: #1ebbf0;
    --accent-dark: #0ea5d9;
    --dark: #0f1217;
    --dark-2: #171b22;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --max: 1140px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Open Sans', Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--white);
    padding: .5rem 1rem;
    z-index: 9999;
}
.skip-link:focus { left: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 18, 23, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand img { display: block; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: var(--white);
    padding: .45rem .75rem;
    border-radius: 4px;
    cursor: pointer;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
}

.site-nav a {
    color: rgba(255,255,255,.88);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    text-decoration: none;
}

.hero {
    position: relative;
    min-height: clamp(420px, 70vh, 680px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 20%, #1a2332 0%, var(--dark) 55%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,18,23,.92) 0%, rgba(15,18,23,.55) 55%, rgba(15,18,23,.25) 100%);
    z-index: 1;
}

.hero-art-left,
.hero-art-right {
    position: absolute;
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}
.hero-art-left { left: -4%; bottom: -5%; width: min(38vw, 420px); }
.hero-art-right { right: -2%; top: 8%; width: min(32vw, 360px); }

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max);
    margin: 0 auto;
    padding: 4rem 1.25rem;
    width: 100%;
}

.hero h1 {
    margin: 0 0 1rem;
    font-family: Roboto, sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 700;
    max-width: 12ch;
}

.hero-lead {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: rgba(255,255,255,.85);
    max-width: 36rem;
    margin: 0;
}

.section {
    padding: 3.5rem 1.25rem;
}

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.section-alt { background: #f4f7fa; }

.section-title {
    margin: 0 0 .5rem;
    font-family: Roboto, sans-serif;
    font-size: 1.75rem;
    color: #111;
}

.section-kicker {
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .78rem;
    margin: 0 0 .35rem;
}

.content-block + .content-block { margin-top: 2.5rem; }

.content-block h2 {
    font-family: Roboto, sans-serif;
    font-size: 1.5rem;
    margin: 0 0 .75rem;
    color: #111;
}

.content-block p { margin: 0 0 1rem; color: var(--text-light); }

.content-figure { margin: 1.5rem 0; text-align: center; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border: 1px solid #e5ebf0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.25rem; }
.card-body h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.card-body p { margin: 0 0 .75rem; font-size: .92rem; color: var(--text-light); }

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white) !important;
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent-dark) !important;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.testimonial {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.1rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.testimonial p { margin: 0 0 .75rem; font-size: .95rem; }
.testimonial cite { font-style: normal; font-weight: 700; color: #111; }
.stars { color: #f5a623; letter-spacing: .1em; font-size: .85rem; margin-bottom: .5rem; }

.cta-band {
    background: linear-gradient(135deg, #0f1217, #1a2a3a);
    color: var(--white);
    text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.82); }
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.page-hero {
    background: var(--dark-2);
    color: var(--white);
    padding: 2.5rem 1.25rem;
}
.page-hero-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.page-hero h1 {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .75rem;
}
.ref-item {
    background: #fff;
    border: 1px solid #e5ebf0;
    padding: .85rem 1rem;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 600;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: .25rem;
    font-size: .9rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .65rem .75rem;
    border: 1px solid #ccd6e0;
    border-radius: 6px;
    font: inherit;
    margin-bottom: 1rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.map-wrap {
    border-radius: 8px;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid #e5ebf0;
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; }

.alert {
    padding: .75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.alert-ok { background: #e8f8ef; color: #176b3a; border: 1px solid #b8e6cb; }
.alert-err { background: #fdecea; color: #9b1c1c; border: 1px solid #f5c2c0; }

.site-footer {
    background: #eef2f6;
    border-top: 1px solid #dde4eb;
    padding: 1.25rem;
}
.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer-copy { margin: 0; font-size: .85rem; color: var(--text-light); }

.scroll-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--dark);
        padding: 1rem 1.25rem 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: .5rem; }
    .two-col { grid-template-columns: 1fr; }
    .hero-art-left, .hero-art-right { opacity: .2; }
}

@media (max-width: 480px) {
    .header-inner { padding: .65rem 1rem; }
    .brand img { width: 160px; height: auto; }
}
