:root {
    --bg-deep: #020617;
    --bg-soft: rgba(11, 23, 46, 0.85);
    --card: rgba(10, 19, 36, 0.9);
    --primary: #42e3d8;
    --accent: #f0abfc;
    --text-main: #f8fbff;
    --text-muted: #b4c3d6;
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.18);
    --gradient: radial-gradient(circle at 8% 20%, #42e3d8 0%, rgba(66, 227, 216, 0) 45%),
                radial-gradient(circle at 90% 10%, #f472b6 0%, rgba(244, 114, 182, 0) 40%),
                linear-gradient(135deg, #020617 0%, #0b1120 60%, #020617 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-main);
    background: var(--gradient);
    min-height: 100vh;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(66, 227, 216, 0.25), transparent 45%),
                radial-gradient(circle at 80% 20%, rgba(240, 171, 252, 0.2), transparent 35%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus {
    color: #7cfff7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

main {
    padding-top: 120px;
}

section {
    padding: 4.5rem 0;
}

.container {
    position: relative;
    z-index: 1;
}

.navbar {
    background: rgba(3, 8, 18, 0.9) !important;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.navbar-brand img {
    height: 54px;
}

.navbar .nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--text-main);
}

.dropdown-menu {
    background: rgba(4, 10, 24, 0.96);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.75rem;
}

.dropdown-item {
    color: var(--text-muted);
    border-radius: 0.6rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(66, 227, 216, 0.12);
    color: var(--text-main);
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(66, 227, 216, 0.12);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero .container,
.page-hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-copy,
.page-hero-copy {
    background: var(--bg-soft);
    padding: 2.5rem;
    border-radius: 1.75rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-copy::after,
.page-hero-copy::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(66, 227, 216, 0.12), transparent);
    pointer-events: none;
}

.hero-title,
.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
}

.hero-lead,
.page-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-pill {
    border-radius: 999px;
    padding: 0.9rem 1.8rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-pill:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(66, 227, 216, 0.35);
}

.btn-primary-pill {
    background: linear-gradient(120deg, #42e3d8, #0ea5e9);
    color: #020617;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.25);
}

.btn-outline-pill {
    border-color: rgba(248, 251, 255, 0.35);
    color: var(--text-main);
}

.btn-pill:hover {
    transform: translateY(-2px);
}

.hero-list,
.list-check,
.list-plain {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 0.75rem;
    color: var(--text-muted);
}

.hero-list li,
.list-check li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-list i,
.list-check i {
    color: var(--primary);
}

.hero-visual,
.page-hero-media {
    position: relative;
    padding: 3rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(66, 227, 216, 0.05), rgba(15, 118, 110, 0.35));
    border: 1px solid var(--border);
    overflow: hidden;
}

.hero-card,
.stat,
.service-card:nth-child(odd),
.content-card:hover {
    animation: floatCard 6s ease-in-out infinite;
}

.hero-card {
    position: relative;
    background: rgba(2, 6, 23, 0.65);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    z-index: 1;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.stat {
    background: rgba(4, 10, 24, 0.7);
    padding: 1rem 1.3rem;
    border-radius: 1rem;
    border: 1px solid rgba(66, 227, 216, 0.25);
}

.stat strong {
    display: block;
    font-size: 1.7rem;
    font-family: 'Space Grotesk', sans-serif;
}

.stats-grid,
.services-grid,
.insights-grid,
.document-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats-card,
.service-card,
.insight-card,
.document-card,
.content-card,
.highlight-card {
    background: var(--card);
    border-radius: 1.5rem;
    padding: 1.75rem;
    border: 1px solid var(--border);
}

.gallery-card .gallery-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 240px;
    margin: 0 0 1.25rem;
    background: rgba(2, 6, 23, 0.4);
}

.gallery-card .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content-grid {
    display: grid;
    gap: 1.75rem;
}

.two-column {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card,
.insight-card,
.content-card,
.document-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.insight-card:hover,
.document-card:hover,
.content-card:hover {
    transform: translateY(-6px);
    border-color: rgba(66, 227, 216, 0.6);
}

.service-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card h3,
.content-card h2,
.content-card h3,
.document-card h3 {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.service-card p,
.content-card p,
.document-card p,
.insight-card ul,
.section-subtitle,
.page-lead {
    color: var(--text-muted);
}

.img-frame {
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 25px 80px rgba(2, 6, 23, 0.65);
    overflow: hidden;
}

.embed-card {
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(2, 6, 23, 0.85);
}

.embed-card iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.cta-panel {
    background: linear-gradient(120deg, rgba(13, 148, 136, 0.4), rgba(14, 165, 233, 0.25));
    border-radius: 2rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.cta-panel.simple-cta {
    text-align: center;
    justify-items: center;
}

.cta-panel.simple-cta .hero-actions {
    justify-content: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-card,
.form-card,
.map-card {
    background: var(--card);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
    color: var(--text-muted);
}

.contact-card li {
    display: flex;
    gap: 0.75rem;
    font-size: 1rem;
}

.contact-card i {
    font-size: 1.35rem;
    color: var(--primary);
}

form .form-control,
form textarea {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    width: 100%;
    margin-bottom: 1rem;
}

form .form-control:focus,
form textarea:focus {
    outline: none;
    border-color: rgba(66, 227, 216, 0.8);
    box-shadow: 0 0 0 2px rgba(66, 227, 216, 0.2);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1rem 0;
    color: var(--text-muted);
}

.form-check-input {
    width: 1rem;
    height: 1rem;
}

.map-card h3 {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
}

footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.85);
    margin-top: 4rem;
}

footer .social-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

footer .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: border-color 0.2s ease;
}

footer .social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.legal-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb-trail {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-compact {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
}

.gallery-section.tight-top {
    padding-top: 1.5rem;
}

.breadcrumb-trail a {
    color: var(--text-main);
}

.breadcrumb-trail span {
    color: var(--text-muted);
}

.document-card .actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.document-card .actions a {
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.document-card .actions a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.highlight-card {
    border-color: rgba(244, 114, 182, 0.4);
    background: linear-gradient(150deg, rgba(244, 114, 182, 0.08), rgba(6, 78, 59, 0.2));
}

.highlight-card h3 {
    margin-top: 0;
}

.list-plain {
    list-style: none;
    padding: 0;
}

.list-plain li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.list-plain li:last-child {
    border-bottom: 0;
}

.badge-soft {
    background: rgba(66, 227, 216, 0.18);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.media-card {
    border-radius: 1.2rem;
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(2, 6, 23, 0.7);
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-nav {
        background: rgba(3, 8, 18, 0.95);
        padding: 1.25rem;
        border-radius: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-copy,
    .hero-visual,
    .page-hero-copy,
    .page-hero-media,
    .cta-panel,
    .contact-card,
    .form-card,
    .map-card {
        padding: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}
