:root {
    --primary: #0C5A96;
    --primary-dark: #08436f;
    --secondary: #8F0D2A;
    --text: #15202b;
    --muted: #61707f;
    --bg: #f5f8fc;
    --white: #ffffff;
    --border: #dbe5ef;
    --shadow: 0 18px 45px rgba(12, 90, 150, 0.10);
    --radius: 18px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(219, 229, 239, 0.7);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.brand-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a {
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text);
    transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(12, 90, 150, 0.08);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 99px;
}

.hero,
.page-hero {
    background:
        radial-gradient(circle at top right, rgba(12, 90, 150, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero {
    padding: 90px 0 72px;
}

.page-hero.small {
    padding: 72px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.08;
    margin: 10px 0 18px;
}

.hero p,
.page-hero p,
.card p,
.service-card p {
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    color: var(--secondary);
    background: rgba(143, 13, 42, 0.08);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: var(--white);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-card,
.card,
.service-card,
.stat-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.hero-gallery-band {
    padding: 0 0 28px;
    background:
        radial-gradient(circle at top right, rgba(12, 90, 150, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-gallery-slider {
    position: relative;
    padding: 8px 2px 10px;
}

.hero-gallery-slides {
    position: relative;
    min-height: 320px;
}

.hero-gallery-item {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(219, 229, 239, 0.8);
    background: #dfe9f5;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
    position: absolute;
    inset: 0;
}

.hero-gallery-item.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.hero-gallery-caption {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: min(100% - 48px, 760px);
    padding: 18px 24px 22px;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    text-shadow:
        0 2px 8px rgba(7, 15, 24, 0.34),
        0 10px 32px rgba(7, 15, 24, 0.42),
        0 24px 60px rgba(7, 15, 24, 0.28);
    font-size: clamp(1.35rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.18;
    background: transparent;
    filter: drop-shadow(0 18px 30px rgba(15, 23, 32, 0.20));
    z-index: 2;
    isolation: isolate;
}

.hero-gallery-caption::before {
    content: '';
    position: absolute;
    inset: -8px 8% -10px;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.10) 34%, rgba(255, 255, 255, 0) 72%);
    filter: blur(16px);
    opacity: 0.95;
    z-index: -2;
}

.hero-gallery-caption::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 42%;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(7, 15, 24, 0.34) 0%, rgba(7, 15, 24, 0.12) 48%, rgba(7, 15, 24, 0) 100%);
    filter: blur(22px);
    z-index: -1;
}

.hero-gallery-caption.is-light-text {
    color: #ffffff;
    text-shadow:
        0 3px 10px rgba(6, 12, 20, 0.40),
        0 12px 36px rgba(6, 12, 20, 0.56),
        0 24px 64px rgba(6, 12, 20, 0.32);
}

.hero-gallery-caption.is-light-text::before {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.10) 34%, rgba(255, 255, 255, 0) 72%);
}

.hero-gallery-caption.is-dark-text {
    color: #15202b;
    text-shadow:
        0 2px 8px rgba(255, 255, 255, 0.34),
        0 10px 28px rgba(255, 255, 255, 0.48),
        0 20px 52px rgba(255, 255, 255, 0.24);
    filter: drop-shadow(0 14px 24px rgba(255, 255, 255, 0.16));
}

.hero-gallery-caption.is-dark-text::before {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.14) 38%, rgba(255, 255, 255, 0) 76%);
}

.hero-gallery-caption.is-dark-text::after {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.10) 44%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 640px) {
    .hero-gallery-caption {
        bottom: 18px;
        width: min(100% - 28px, 760px);
        padding: 14px 16px 18px;
        font-size: clamp(1.1rem, 5vw, 1.55rem);
    }
}

.hero-gallery-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 16px;
}

.hero-gallery-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(15, 23, 32, 0.48);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    pointer-events: auto;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-gallery-arrow:hover {
    background: rgba(15, 23, 32, 0.72);
    transform: scale(1.04);
}

.hero-gallery-arrow span {
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-1px);
}

.hero-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.hero-gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(12, 90, 150, 0.24);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-gallery-dot.is-active {
    background: var(--primary);
    transform: scale(1.15);
}

.stat-box {
    padding: 20px;
}

.stat-box strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.section {
    padding: 74px 0;
}

.section-soft {
    background: var(--bg);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin-top: 12px;
}

.feature-grid,
.services-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card,
.service-card {
    padding: 28px;
}

.service-card.large {
    min-height: 220px;
}

.card h3,
.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.two-col,
.contact-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.accent-card {
    background: linear-gradient(180deg, rgba(12, 90, 150, 0.03), #ffffff 100%);
}

.check-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-info-card {
    display: grid;
    align-content: start;
    gap: 18px;
}

.contact-info-card h2 {
    margin-bottom: 0;
}

.contact-info-intro {
    color: var(--muted);
}

.contact-info-list {
    display: grid;
    gap: 12px;
}

.contact-info-item {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(12, 90, 150, 0.03), rgba(255, 255, 255, 0.96));
}

.contact-info-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-info-item strong {
    display: block;
    line-height: 1.5;
}

.contact-info-actions {
    display: flex;
    flex-wrap: wrap;
}

.btn-compact {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.95rem;
}

.contact-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    outline: none;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(12, 90, 150, 0.10);
}

.area-card {
    display: grid;
    gap: 16px;
}

.area-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.area-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(12, 90, 150, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-weight: 600;
}

.alert.success {
    background: #e8f7ee;
    color: #11653a;
}

.alert.error {
    background: #ffe9ec;
    color: #8d1028;
}

.honeypot {
    display: none;
}

.site-footer {
    background: #0f1720;
    color: rgba(255, 255, 255, 0.9);
    padding-top: 60px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--white);
    margin-bottom: 14px;
}

.site-footer ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
    color: #8cc6f2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding: 18px 0;
}

.center-box {
    text-align: center;
    max-width: 720px;
}

.about-highlight {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.about-highlight-copy p {
    color: var(--muted);
    max-width: 62ch;
}

.about-metrics {
    display: grid;
    gap: 16px;
}

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.about-cta h2 {
    margin: 12px 0 10px;
}

.about-cta p {
    color: var(--muted);
    max-width: 64ch;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.content-main,
.content-sidebar {
    display: grid;
    gap: 18px;
}

.featured-image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.service-summary,
.service-content,
.service-meta {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.service-meta ul {
    list-style: none;
}

.service-meta li + li {
    margin-top: 10px;
}

@media (max-width: 992px) {
    .hero-grid,
    .feature-grid,
    .services-grid,
    .testimonial-grid,
    .about-highlight,
    .content-grid,
    .two-col,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        position: absolute;
        top: 84px;
        left: 16px;
        right: 16px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 72px 0 48px;
    }

    .hero-gallery-slides,
    .hero-gallery-item,
    .hero-gallery-item img {
        min-height: 240px;
    }

    .hero-gallery-arrows {
        padding: 0 10px;
    }

    .hero-gallery-arrow {
        width: 42px;
        height: 42px;
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-logo {
        width: 54px;
        height: 54px;
    }

    .btn {
        width: 100%;
    }

    .contact-form-actions {
        flex-direction: column;
    }
}
