* {
    box-sizing: border-box;
}

:root {
    --primary: #081f35;
    --primary-soft: #12385f;
    --accent: #00c4b4;
    --text: #111827;
    --muted: #64748b;
    --bg: #f7f9fc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 24px 70px rgba(8, 31, 53, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

section {
    padding: 110px 0;
}

h2 {
    margin: 0 0 64px;
    text-align: center;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    color: var(--primary);
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 0 60px;
    margin-top: -30px;
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(8, 31, 53, 0.96), rgba(18, 56, 95, 0.92)),
        url("https://picsum.photos/1920/1080?random=2") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(0, 196, 180, 0.28), transparent 30%),
        linear-gradient(90deg, rgba(8, 31, 53, 0.96), rgba(8, 31, 53, 0.35));
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 70px;
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-slider-wrap {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 22px;
    align-items: center;
}

.hero-slider {
    position: relative;
    min-height: 390px;
}

.hero-slide {
    position: absolute;
    inset: 100px auto auto 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-24px);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 780px;
    margin: 0 0 28px;
    font-size: clamp(36px, 6vw, 42px);
    font-weight: 780;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 660px;
    margin: 0;
    color: #d7e1ec;
    font-size: clamp(16px, 2vw, 18px);
}

.hero-arrow {
    position: relative;
    top: 100px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-arrow-right {
    left: 20px;
}

.hero-arrow-left {
    right: 20px;
}

.hero-arrow:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: rgba(0, 196, 180, 0.16);
}

.hero-actions {
    position: relative;
    top: -30px;
    left: 78px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 16px 40px rgba(0, 196, 180, 0.22);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(0, 196, 180, 0.12);
}

.hero-dots {
    position: relative;
    top: -35px;
    left: 78px;
    display: flex;
    gap: 10px;
    margin-top: 36px;
}

.hero-dots span {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dots span.active {
    width: 52px;
    background: var(--accent);
}

.hero-panel {
    padding: 34px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
    transform: translateY(25px);
}

.panel-label {
    display: block;
    margin-bottom: 26px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-item strong {
    color: var(--white);
    font-size: 15px;
}

.panel-item p {
    color: #d7e1ec;
    font-size: 16px;
    line-height: 1.55;
}

.panel-item.highlight {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(0, 196, 180, 0.45);
    background: rgba(0, 196, 180, 0.1);
    grid-template-columns: 1fr;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* SERVICES */

.services {
    background: var(--white);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.card {
    min-height: 250px;
    padding: 38px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 196, 180, 0.65);
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 15px;
    color: var(--primary);
    font-size: 23px;
    line-height: 1.2;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15.8px;
    line-height: 1.75;
}

/* CTA */

.cta {
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 196, 180, 0.22), transparent 34%),
        var(--primary);
}

.cta h2 {
    margin-bottom: 20px;
    color: var(--white);
}

.cta p {
    max-width: 640px;
    margin: 0 auto 38px;
    color: #cbd5e1;
    font-size: 19px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-panel {
        max-width: 680px;
    }

    .hero-slider {
        min-height: 400px;
    }

    .hero-slide {
        inset: 80px auto auto 0;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 78px 0;
    }

    .hero {
        min-height: 100svh;
        align-items: flex-start;
        padding: 105px 0 46px;
        margin-top: 0;
    }

    .hero-inner {
        width: min(100% - 32px, 1280px);
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-slider-wrap {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-slider {
        min-height: 300px;
    }

    .hero-slide {
        inset: 0 auto auto 0;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: clamp(32px, 9vw, 44px);
        line-height: 1.02;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .eyebrow {
        margin-bottom: 14px;
    }

    .hero-actions {
        top: 0;
        left: 0;
        margin-top: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-dots {
        top: 0;
        left: 0;
        margin-top: 22px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-height: 50px;
    }

    .hero-panel {
        display: none;
    }

    .panel-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 96px;
    }

    .hero-slider {
        min-height: 330px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-dots span {
        width: 18px;
    }

    .hero-dots span.active {
        width: 36px;
    }
}