/* ─── HOME PAGE ───────────────────────────────────────────────── */

/* ── Hero ── */
.hero-home {
    position: relative;
    height: 100dvh;
    min-height: 560px;
    display: grid;
    align-items: flex-end;
    background: url("/imgs/bg/enviroment.jpg") center center / cover no-repeat;
}

.hero-home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,14,22,0.82) 0%,
        rgba(8,14,22,0.28) 55%,
        transparent 100%
    );
}

.hero-home-inner {
    position: relative;
    z-index: 1;
    padding: 0 0 72px;
}

.hero-home-inner .eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-cyan);
    margin-bottom: 14px;
    display: block;
}

.hero-home-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 78px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -1.5px;
    color: #fff;
    margin: 0 0 20px;
    max-width: 16ch;
}

.hero-home-inner .lead {
    font-size: clamp(15px, 1.4vw, 17px);
    color: rgba(255,255,255,0.72);
    max-width: 52ch;
    line-height: 1.65;
    margin: 0 0 28px;
}

.hero-scroll-hint {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.38);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-scroll-hint::before {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
    animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.25; transform: scaleY(1); }
    50%       { opacity: 0.70; transform: scaleY(0.55); }
}

/* ── Content sections ── */
.home-section {
    background: #fff;
    color: var(--text-dark);
    padding: 96px 0;
}

.home-section.tinted {
    background: #f5f6fa;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.1;
    color: #0f1923;
    margin: 0 0 20px;
}

.section-body {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5060;
    max-width: 58ch;
}

/* ── Split image + text ── */
.home-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.home-split.reverse {
    direction: rtl;
}
.home-split.reverse > * {
    direction: ltr;
}

.split-img {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    /* !! ADD IMAGE — e.g. background-image: url("/imgs/your-photo.jpg") */
    background: linear-gradient(135deg, #1a2e44 0%, #0e374f 100%);
    background-size: cover;
    background-position: center;
}

.split-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-text {
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.home-section.tinted .split-text {
    background: #f5f6fa;
}

/* ── Services grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #e8e9f0;
    border: 1px solid #e8e9f0;
    margin-top: 48px;
}

.service-tile {
    padding: 36px 28px;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: background 180ms ease;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.service-tile:hover::before { transform: scaleX(1); }
.service-tile:hover { background: #f5f6fa; }

.service-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.service-icon svg {
    width: 20px; height: 20px;
    fill: #fff;
}

.service-tile h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #0f1923;
    margin: 0 0 10px;
}

.service-tile p {
    font-size: 14px;
    color: #4a5060;
    line-height: 1.65;
    margin: 0;
}

/* ── Full-width image break ── */
.img-break {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1620 0%, #1a2e44 100%);
    background-size: cover;
    background-position: center;
}

.img-break img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.img-break-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,32,0.55);
    display: flex;
    align-items: center;
}

.img-break-quote {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    color: #fff;
    max-width: 22ch;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.img-break-quote span {
    color: var(--c-cyan);
}

/* ── Stats ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e8e9f0;
    border: 1px solid #e8e9f0;
    margin-top: 56px;
}

.stat-cell {
    background: #fff;
    padding: 36px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    color: var(--c-blue);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: #7a7f8d;
    letter-spacing: 0.04em;
}

/* ── CTA strip ── */
.home-cta-strip {
    background: #0f1923;
    color: #fff;
    padding: 96px 0;
    text-align: center;
}

.home-cta-strip h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 700;
    letter-spacing: -0.8px;
    margin: 0 0 16px;
    color: #fff;
}

.home-cta-strip p {
    color: rgba(255,255,255,0.60);
    font-size: 16px;
    margin: 0 auto 32px;
    max-width: 48ch;
    line-height: 1.65;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 7px;
    background: var(--c-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, transform 120ms ease;
}

.btn-primary:hover {
    background: var(--c-blue-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 7px;
    background: transparent;
    color: #0f1923;
    font-size: 14px;
    font-weight: 650;
    border: 1.5px solid #d0d3dd;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.btn-ghost:hover {
    border-color: var(--c-blue);
    background: rgba(37,99,235,0.04);
}

.btn-ghost.light {
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}

.btn-ghost.light:hover {
    border-color: var(--c-cyan);
    background: rgba(6,182,212,0.10);
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .home-split,
    .home-split.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .split-img { min-height: 300px; }

    .split-text { padding: 48px 28px; }

    .services-grid { grid-template-columns: 1fr; }

    .stats-row { grid-template-columns: 1fr 1fr; }

    .home-section { padding: 64px 0; }

    .img-break { height: 320px; }
}

@media (max-width: 560px) {
    .stats-row { grid-template-columns: 1fr; }
}