.hero {
    position: relative;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 10% 10%, rgba(0, 103, 184, 0.18), transparent 30%), radial-gradient(circle at 80% 0%, rgba(0, 69, 120, 0.22), transparent 34%), linear-gradient(135deg, #0f172a, #0a2342 50%, #0f172a);
    width: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.35));
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(20px, 5vw, 40px);
    padding: clamp(22px, 4vw, 38px);
    color: #f8fafc;
    align-items: center;
}

.hero-image-top {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    justify-content: center;
}

.hero-image-top img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
    border-radius: 18px;
}

.hero-tags {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.hero-copy h1 {
    margin: 6px 0 12px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.12;
    color: #ffffff;
}

.hero-copy .lede {
    color: rgba(248, 250, 252, 0.86);
    font-size: 17px;
}

.hero-actions .cta.ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.hero-stats-row .card-big {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.hero-stats-row .mini {
    font-size: 13px;
    color: rgba(248, 250, 252, 0.86);
}

.hero-stats-row .meta-note {
    color: rgba(248, 250, 252, 0.78);
    font-weight: 600;
    font-size: 14px;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    align-items: flex-end;
}

.hero-figure {
    display: flex;
    justify-content: flex-end;
}

.hero-figure img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
    border-radius: 18px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 18px;
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    width: min(420px, 100%);
}

.glass-card .panel-list {
    padding-left: 18px;
    margin: 10px 0 12px;
    color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.4px;
    color: var(--muted);
    margin: 0 0 8px;
    font-weight: 700;
}

.section {
    margin-top: 60px;
    padding: 0 clamp(18px, 4vw, 32px);
}

.band {
    padding-top: clamp(28px, 5vw, 40px);
    padding-bottom: clamp(28px, 5vw, 40px);
}

.section.alt {
    background: linear-gradient(135deg, #ffffff, #f5f7fa);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.section-head h2 {
    margin: 4px 0 8px;
    font-size: clamp(26px, 4vw, 36px);
}

.section-desc {
    color: var(--muted);
    margin: 0;
    max-width: 720px;
    line-height: 1.6;
}

.surface {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px clamp(18px, 4vw, 32px);
    box-shadow: var(--shadow);
}

.alt {
    background: linear-gradient(135deg, #ffffff, #f5f7fa);
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.tile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 26px rgba(0, 103, 184, 0.08);
}

.tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 103, 184, 0.12);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
}

.card-title {
    margin: 6px 0 6px;
    font-weight: 700;
    font-size: 18px;
}

.card-body {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.lanes {
    padding: 2px;
}

.lane-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.lane {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.lane-num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.project-card-body {
    display: grid;
    gap: 8px;
}

.project-card-media {
    display: flex;
    justify-content: center;
}

.project-card-media img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.project-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.project-card-row {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: center;
    gap: 14px;
}

@media (min-width: 960px) {
    .project-card-row {
        grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    }
}

.projects-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #f5f5f5;
}

.projects-hero::after {
    display: none;
}

.projects-hero > * {
    position: relative;
    z-index: 1;
}

.project-intro {
    margin: 12px 0 16px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.project-intro .card-title {
    margin: 0 0 6px;
}

.project-intro .card-body {
    margin: 0;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.quote-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.hero-quote {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: center;
    gap: 16px;
    padding: 18px;
}

.quote-figure {
    display: flex;
    justify-content: center;
}

.quote-figure img,
.quote-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #f3f4f6;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--muted);
    font-size: 42px;
}

.quote-text {
    display: grid;
    gap: 4px;
    align-items: center;
}

.quote-mark {
    font-size: 36px;
    color: #0a3b7d;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-quote .card-title {
    margin: 0;
}

.name-line {
    margin: 0;
}

.mini-inline {
    color: var(--muted);
    font-size: 14px;
}

.cta-surface {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    align-items: start;
    background: linear-gradient(110deg, rgba(0, 103, 184, 0.12), rgba(0, 69, 120, 0.16)), #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 22px clamp(18px, 4vw, 32px);
    box-shadow: var(--shadow);
}

.cta-copy h2 {
    margin: 6px 0 8px;
}

.cta-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: #ffffff;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-hero {
    margin: 18px 0 16px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(0, 103, 184, 0.08), rgba(0, 69, 120, 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: center/contain no-repeat url("../img/rock1.png");
    opacity: 0.1;
}

.contact-hero-text {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 10px 12px;
    color: var(--text);
}

.contact-hero-text .card-title {
    color: var(--text);
    font-size: 18px;
    line-height: 1.5;
    margin: 4px 0 0;
}

.contact-hero-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.services-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(0, 103, 184, 0.05), rgba(15, 23, 42, 0.03));
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: center/contain no-repeat url("../img/rock2.png");
    opacity: 0.1;
    pointer-events: none;
}

.services-hero > * {
    position: relative;
    z-index: 1;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.embed-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.embed-container iframe {
    width: 100%;
    display: block;
}

.map-block {
    margin-top: 40px;
}

.map-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px clamp(18px, 4vw, 32px);
    box-shadow: var(--shadow);
}

.map-embed {
    margin-top: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (max-width: 720px) {
    .hero {
        min-height: 70vh;
    }

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

    .section {
        margin-top: 44px;
    }
}

@media (max-width: 540px) {
    h1 {
        font-size: 30px;
    }

    .section-head h2 {
        font-size: 24px;
    }

    .hero {
        min-height: 65vh;
    }

    .hero-visual {
        align-items: center;
    }

    .hero-figure img {
        max-width: 320px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 18px;
    }

    .hero-figure img {
        max-width: 420px;
    }

    .hero-tags {
        justify-content: center;
    }
}
