:root {
    --bg: #f3f5f9;
    --bg-soft: #eaf1ff;
    --surface: #ffffff;
    --surface-alt: #eef3ff;
    --primary: #102a75;
    --primary-strong: #0c1f58;
    --primary-soft: #1d3fa8;
    --accent: #d5b468;
    --accent-soft: #f6ebd1;
    --text: #1d2433;
    --muted: #5c6679;
    --line: rgba(16, 42, 117, 0.1);
    --shadow: 0 20px 50px rgba(16, 42, 117, 0.12);
    --radius: 22px;
    --container: 1180px;
}

.content-media-image{display:block;max-width:100%;height:auto;border-radius:8px;margin:16px 0}.content-media-video{position:relative;width:100%;max-width:820px;aspect-ratio:16/9;margin:16px 0}.content-media-video iframe,.content-media-video video{display:block;width:100%;height:100%;border:0;border-radius:8px}.content-image-slider{width:100%;overflow:hidden;margin:24px 0}.content-slider-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 10px}.content-image-slider figure{position:relative;flex:0 0 min(82%,720px);margin:0;scroll-snap-align:start}.content-image-slider img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
section { padding: 92px 0; }

.section-label {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 42, 117, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1, h2, h3, h4 {
    margin: 0 0 18px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

h1 { font-size: clamp(2.7rem, 5vw, 5rem); }
h2 { font-size: clamp(2.1rem, 3vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 18px; color: var(--muted); font-size: 1.03rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, #74b01e 0%, #74b01e73 100%);
    color: #fff;
    box-shadow: 0 20px 30px rgba(16, 42, 117, 0.2);
}
.btn-secondary {
    background: #fff;
    color: var(--primary);
    border-color: rgba(16, 42, 117, 0.15);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 245, 249, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 42, 117, 0.08);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand img {
    width: 52px;
    height: 52px;
}
.brand strong {
    display: block;
    font-size: 1.08rem;
    letter-spacing: -0.04em;
    color: var(--primary);
}
.brand small {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.main-nav a {
    position: relative;
    color: var(--primary);
    font-size: 0.94rem;
    font-weight: 600;
}
.main-nav a.active,
.main-nav a:hover { color: var(--primary-soft); }
.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -11px;
    height: 2px; border-radius: 999px;
    background: var(--primary-soft);
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 5px auto;
    border-radius: 999px;
}

.hero {
    padding-top: 70px;
    padding-bottom: 36px;
    background:
        linear-gradient(135deg, rgba(16, 42, 117, 0.02), rgba(213, 180, 104, 0.06)),
        var(--bg);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}
.hero-copy {
    max-width: 610px;
}
.hero-copy p {
    font-size: 1.08rem;
    max-width: 560px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 28px;
}
.hero-meta-item strong {
    display: block;
    font-size: 2rem;
    letter-spacing: -0.05em;
    color: var(--primary);
}
.hero-meta-item span {
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-panel {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    box-shadow: var(--shadow);
}
.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255,255,255,0.05), transparent 48%);
    z-index: 1;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.hero-panel-inner {
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    padding: 22px;
    z-index: 2;
}
.hero-panel-card {
    position: absolute;
    left: 38px;
    right: 38px;
    bottom: 30px;
    background: rgb(112 111 111 / 54%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 22px;
    color: #fff;
    z-index: 3;
}
.hero-panel-card small {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-panel-card h3 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 2rem;
}
.hero-panel-line {
    position: absolute;
    top: 26px; right: 26px; left: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}
.top-dots {
    display: flex;
    gap: 8px;
}
.top-dots span {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.28);
}
.top-badge {
    padding: 8px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff; font-size: 0.72rem; font-weight: 700;
}
.hero-slider-dots {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 4;
    display: flex;
    gap: 8px;
}
.hero-slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.42);
    cursor: pointer;
    padding: 0;
    transition: 0.25s ease;
}
.hero-slider-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.section-head {
    max-width: 700px;
    margin-bottom: 42px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 18px 38px rgba(16, 42, 117, 0.04);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 12px; }
.card ul {
    list-style: none;
    padding: 0; margin: 0;
    display: grid; gap: 8px;
    color: var(--muted);
}
.card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 10px;
    font-weight: 900;
}
.icon-box {
    display: grid;
    place-items: center;
    width: 62px; height: 62px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(16,42,117,0.12), rgba(213,180,104,0.18));
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
}

.about-featured-hero {
    /* padding-top: 28px; */
    padding-top: 0px;
    padding-bottom: 20px;
}
.about-hero-inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 440px;
    min-height: 440px;
    /* border-radius: 30px; */
    background-image: linear-gradient(180deg, rgba(11, 17, 33, 0.35), rgba(11, 17, 33, 0.55)), url('../images/pages/construction-tall-concrete-pylon-bridge-using-tower-crane.jpg');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-hero-copy {
    width: min(100%, 760px);
    padding: 40px 42px 34px;
}
.about-hero-copy .section-label {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 18px;
}
.about-hero-copy h1 {
    margin: 0;
    font-size: 35px;
    color: rgba(255,255,255,0.96);
    line-height: 1.1;
    letter-spacing: -0.06em;
    max-width: 840px;
}
@media (max-width: 767px) {
    .about-hero-inner {
        height: 320px;
        min-height: 320px;
    }
    .about-hero-copy {
        padding: 22px 18px 20px;
    }
    .about-hero-copy h1 {
        font-size: 20px;
        line-height: 1.2;
    }
}

.services-featured-hero {
    padding-top: 0;
    padding-bottom: 20px;
}
.services-hero-inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 440px;
    min-height: 440px;
    background-image: linear-gradient(180deg, rgba(11, 17, 33, 0.35), rgba(11, 17, 33, 0.55)), url('../images/pages/miami-skyscrapers-with-bridge-sea-day.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.services-hero-copy {
    width: min(100%, 760px);
    padding: 40px 42px 34px;
}
.services-hero-copy .section-label {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 18px;
}
.services-hero-copy h1 {
    margin: 0;
    font-size: 35px;
    color: rgba(255,255,255,0.96);
    line-height: 1.1;
    letter-spacing: -0.06em;
    max-width: 840px;
}
@media (max-width: 767px) {
    .services-hero-inner {
        height: 320px;
        min-height: 320px;
    }
    .services-hero-copy {
        padding: 22px 18px 20px;
    }
    .services-hero-copy h1 {
        font-size: 20px;
        line-height: 1.2;
    }
}

.gallery-featured-hero,
.projects-featured-hero,
.contact-featured-hero {
    padding-top: 0;
    padding-bottom: 20px;
}
.gallery-hero-inner,
.projects-hero-inner,
.contact-hero-inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 440px;
    min-height: 440px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.gallery-hero-copy,
.projects-hero-copy,
.contact-hero-copy {
    width: min(100%, 760px);
    padding: 40px 42px 34px;
}
.gallery-hero-copy .section-label,
.projects-hero-copy .section-label,
.contact-hero-copy .section-label {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 18px;
}
.gallery-hero-copy h1,
.projects-hero-copy h1,
.contact-hero-copy h1 {
    margin: 0;
    font-size: 35px;
    color: rgba(255,255,255,0.96);
    line-height: 1.1;
    letter-spacing: -0.06em;
    max-width: 840px;
}
@media (max-width: 767px) {
    .gallery-hero-inner,
    .projects-hero-inner,
    .contact-hero-inner {
        height: 320px;
        min-height: 320px;
    }
    .gallery-hero-copy,
    .projects-hero-copy,
    .contact-hero-copy {
        padding: 22px 18px 20px;
    }
    .gallery-hero-copy h1,
    .projects-hero-copy h1,
    .contact-hero-copy h1 {
        font-size: 20px;
        line-height: 1.2;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
}
.about-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 18px 38px rgba(16,42,117,0.06);
    padding: 30px;
}
.about-box {
    height: 100%;
    min-height: 420px;
    border-radius: 30px;
    background-image: linear-gradient(180deg, rgba(12, 21, 44, 0.25), rgba(12, 21, 44, 0.45)), url('../images/pages/businessmen-hands-white-table-with-documents-drafts.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 24px 18px;
    box-shadow: var(--shadow);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.metric {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
}
.metric strong { display: block; font-size: 2rem; color: var(--primary); }
.metric span { color: var(--muted); font-size: 0.82rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.feature-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px 18px;
}
.feature-item .num {
    display: inline-flex;
    width: 42px; height: 42px;
    border-radius: 50%;
    align-items: center; justify-content: center;
    background: var(--accent-soft);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 18px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.client-item {
    display: grid;
    place-items: center;
    min-height: 120px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(16,42,117,0.03);
}

.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, #163b8d 100%);
    border-radius: 28px;
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
}
.cta-band .btn {
    min-width: 220px;
    min-height: 62px;
    padding: 0 28px;
    white-space: nowrap;
}
.cta-band p { color: rgba(255,255,255,0.75); margin: 0; }

.site-footer {
    background: #74b01e;
    color: #fff;
    padding: 70px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 26px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer p,
.site-footer li,
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer ul {
    list-style: none; padding: 0; margin: 0; display: grid; gap: 10px;
}
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px;
}
.socials { display: flex; gap: 12px; }
.socials a {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18); color: #fff; font-weight: 700;
}

.service-intro {
    max-width: 900px;
    margin-bottom: 32px;
}
.service-intro p {
    font-size: 1.08rem;
}
.service-stack {
    display: grid;
    gap: 24px;
}
.service-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 30px 28px;
    box-shadow: 0 18px 38px rgba(16,42,117,0.05);
}
.service-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}
.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 800;
}
.service-panel h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 2rem);
}
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
}
.service-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-size: 1rem;
}
.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 0;
    background: transparent;
    border-radius: 22px;
    cursor: pointer;
    padding: 0;
    min-height: 250px;
    box-shadow: 0 18px 36px rgba(16,42,117,0.08);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, transparent, rgba(11, 23, 56, 0.68));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.gallery-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 13, 27, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
    z-index: 200;
}
.lightbox.is-open {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: min(1100px, 90vw);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lightbox-content img {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.33);
    background: rgba(255,255,255,0.05);
}
.lightbox-caption {
    color: #fff;
    font-size: 0.95rem;
    opacity: 0.9;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(255,255,255,0.12);
    color: white;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    cursor: pointer;
}
.lightbox-close {
    top: 18px;
    right: 18px;
    transform: none;
    font-size: 2.2rem;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.page-hero {
    /* padding-top: 90px; padding-bottom: 60px; */
}
.page-hero .container { max-width: 100%; }
.page-hero .section-label { margin-bottom: 18px; }
.split-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
}
.text-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 38px rgba(16,42,117,0.05);
}
.contact-grid {
    display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 38px rgba(16,42,117,0.05);
}
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-list div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input,.textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font: inherit; background: rgba(255,255,255,0.88); color: var(--text);
}
.textarea { min-height: 150px; resize: vertical; }
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}
.alert-success {
    background: #e6f7ec;
    color: #106b38;
    border: 1px solid #b7ebd0;
}
.alert-error {
    background: #fdf0f0;
    color: #bc2828;
    border: 1px solid #f9c9c9;
}

@media (max-width: 980px) {
    .hero-inner, .about-grid, .split-grid, .contact-grid, .footer-grid, .grid-3, .feature-grid, .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-inner, .about-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; left: 16px; right: 16px; top: calc(100% + 10px);
        display: none; flex-direction: column; align-items: stretch; padding: 18px;
        background: rgba(255,255,255,0.97); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .nav-cta { margin-left: 0; }
    .service-list { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    section { padding: 72px 0; }
    .hero { padding-top: 54px; }
    .hero-meta, .metrics, .grid-3, .feature-grid, .clients-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .cta-band, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .service-head { align-items: flex-start; }
    .gallery-grid { grid-template-columns: 1fr; }
}
