/* Base */
:root {
    --primary: #0a5d83;
    --primary-dark: #083d57;
    --secondary: #f3a712;
    --accent: #11b5a4;
    --text: #15212b;
    --muted: #58636f;
    --light: #f7fbfd;
    --white: #ffffff;
    --border: rgba(10, 93, 131, 0.12);
    --shadow: 0 16px 40px rgba(8, 61, 87, 0.12);
    --radius: 18px;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 92px 0;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 12px;
    font-size: 0.85rem;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

p {
    margin-top: 0;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--secondary);
    color: #13222c;
    box-shadow: 0 12px 24px rgba(243, 167, 18, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    height: var(--header-height);
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(8, 61, 87, 0.08);
}

.nav-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--primary-dark);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 10px 22px rgba(10, 93, 131, 0.24);
}

.brand-text {
    font-size: 1rem;
}

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

.site-nav a {
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--secondary);
    transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-dark);
    margin: 5px 0;
    border-radius: 20px;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background:
        linear-gradient(110deg, rgba(6, 27, 42, 0.84), rgba(8, 61, 87, 0.63)),
        url("../img/hero-bg.svg") center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(17, 181, 164, 0.18), transparent 28%),
        radial-gradient(circle at 80% 30%, rgba(243, 167, 18, 0.16), transparent 24%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 110px 0;
    max-width: 760px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    max-width: 680px;
    margin-bottom: 28px;
}

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

/* About */
.two-column {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 34px;
    align-items: stretch;
}

.about-card {
    background: linear-gradient(180deg, #ffffff, #f1f8fb);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.about-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.about-card li + li {
    margin-top: 12px;
}

/* Services */
.services-section {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 22px rgba(8, 61, 87, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover,
.image-card:hover,
.contact-form-wrap:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.image-cards-header {
    margin-top: 54px;
    margin-bottom: 24px;
}

.image-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.image-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #dceef5;
}

.image-card-body {
    padding: 20px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.detail-box {
    background: #f8fcfe;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

.detail-box a {
    color: var(--primary);
    font-weight: 700;
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 24px rgba(8, 61, 87, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form h3 {
    margin-bottom: 22px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(8, 61, 87, 0.14);
    border-radius: 14px;
    font: inherit;
    color: var(--text);
    background: #fbfdfe;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(10, 93, 131, 0.45);
    box-shadow: 0 0 0 4px rgba(17, 181, 164, 0.12);
}

.form-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.form-alert.success {
    background: rgba(17, 181, 164, 0.12);
    color: #0a5f57;
    border: 1px solid rgba(17, 181, 164, 0.3);
}

.form-alert.error {
    background: rgba(189, 51, 70, 0.09);
    color: #8b2132;
    border: 1px solid rgba(189, 51, 70, 0.22);
}

.form-btn {
    border: 0;
    cursor: pointer;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.86);
    padding: 24px 0;
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer p {
    margin: 0;
    color: inherit;
}

.back-top {
    font-weight: 700;
    color: var(--white);
}

/* Responsive */
@media (max-width: 1080px) {
    .services-grid,
    .image-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid,
    .two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 74px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(var(--header-height) - 4px);
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(8, 61, 87, 0.08);
        border-radius: 18px;
        box-shadow: 0 18px 36px rgba(8, 61, 87, 0.14);
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .hero-content {
        padding: 82px 0;
    }

    .section {
        padding: 76px 0;
    }
}

@media (max-width: 600px) {
    .services-grid,
    .image-card-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}
