/* ========= Base theme ========= */
:root {
    --color-bg: #0f1621;
    --color-bg-alt: #141c29;
    --color-surface: #182335;
    --color-surface-soft: #1d2940;
    --color-text: #e6edf7;
    --color-text-muted: #9aa4b8;
    --color-accent: #50E3C2;
    --color-accent-soft: rgba(80, 227, 194, 0.1);
    --color-border-subtle: #273244;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-subtle: 0 8px 24px rgba(0, 0, 0, 0.35);
    --container-width: 1120px;
    --transition-fast: 150ms ease-out;
    --transition-med: 220ms ease;
}

/* ========= Global resets ========= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at top left, #182335 0, #0b1018 45%, #05070a 100%);
    color: var(--color-text);
    line-height: 1.6;
}

/* ========= Utilities ========= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section-header {
    max-width: 720px;
}

.section-header h2 {
    margin: 0 0 1rem;
    font-size: 2.1rem;
    line-height: 1.25;
}

.section-header p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.section-header-centered {
    text-align: center;
    margin: 0 auto 2.5rem;
}

.section-header-centered p {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

.section-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 0.75rem 1rem;
    z-index: 9999;
}

.skip-link:focus {
    left: 1rem;
}

/* ========= Buttons ========= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color var(--transition-med), color var(--transition-med),
    border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-fast);
}

.btn-primary {
    background: var(--color-accent);
    color: #021013;
    box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
    background: #5ff0d0;
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(230, 237, 247, 0.4);
}

.btn-outline:hover {
    background: rgba(230, 237, 247, 0.06);
    border-color: var(--color-accent);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========= Header ========= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 8, 15, 0.98), rgba(5, 8, 15, 0.8));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.85rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.logo-mark {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 10px;
    background: radial-gradient(circle at 30% 20%, #8bf6e7, #3fdabe 55%, #128c72 100%);
    box-shadow: 0 0 0 1px rgba(80, 227, 194, 0.3), 0 0 18px rgba(80, 227, 194, 0.3);
}

.logo-text {
    color: var(--color-text);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-med);
}

.main-nav a:hover {
    color: var(--color-text);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
}

/* ========= Hero ========= */
.hero {
    position: relative;
    padding: 4.5rem 0 4.75rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hero-text-block {
    padding: 4rem 0;
    max-width: 600px;
}

.hero-title {
    margin: 0 0 0.5rem;
    font-size: 2.75rem;
    line-height: 1.2;
}

.hero-subtitle {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-body {
    margin: 0 0 1.75rem;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.hero-media {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at top left, #213250, #0b1019);
    box-shadow: var(--shadow-soft);
    min-height: 260px;
}

.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 11, 22, 0.1), rgba(10, 215, 170, 0.08));
    pointer-events: none;
}

/* ========= About / Intro ========= */
.section-about {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

/* ========= Values ========= */
.section-values {
    background: radial-gradient(circle at top, #151f33, #0b1018 55%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-subtle);
}

.value-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.value-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.97rem;
}

/* ========= Services ========= */
.section-services {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--color-surface-soft);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 210px;
    box-shadow: var(--shadow-subtle);
}

.service-icon {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.service-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.service-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Shared grid width for Values & Services card rows */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: none;

    /* matches your lower sections */
    margin: 0;

    /* centers the row */
}

/* ========= Contact ========= */
.section-contact {
    background: radial-gradient(circle at top right, #1d2940, #05070b 55%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
    padding-bottom: 4.5rem;
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: flex-start;
}

.contact-copy h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
}

.contact-copy p {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 520px;
    font-size: 0.98rem;
}

.contact-form {
    background: rgba(12, 18, 30, 0.95);
    border-radius: 18px;
    padding: 1.75rem 1.7rem 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.contact-form textarea {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field-full {
    flex-basis: 100%;
}

label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

input,
textarea {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 15, 26, 0.9);
    color: var(--color-text);
    font: inherit;
    padding: 0.6rem 0.9rem;
    outline: none;
    transition: border-color var(--transition-med), box-shadow var(--transition-med),
    background-color var(--transition-med);
}

textarea {
    border-radius: 14px;
    resize: vertical;
    min-height: 150px;
    padding-top: 0.7rem;
}

input::placeholder,
textarea::placeholder {
    color: rgba(154, 164, 184, 0.8);
}

input:focus,
textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(80, 227, 194, 0.35);
    background: rgba(7, 11, 20, 0.98);
}

/* ========= Footer ========= */
.site-footer {
    background: #05070b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0 1.8rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.footer-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--color-text);
}

.footer-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========= Responsive ========= */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.2fr);
    }

    .hero-text-block {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .hero-media {
        max-width: 520px;
        margin: 0 auto;
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    .main-nav ul {
        gap: 0.85rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section {
        padding: 3.25rem 0;
    }

    .values-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form {
        padding: 1.5rem 1.4rem 1.7rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
