:root {
    --blue: #004aad;
    --blue-soft: #eef5ff;
    --red: #e21b2d;
    --navy: #071120;
    --navy-2: #0d1a2d;
    --text: #263142;
    --muted: #6b7280;
    --light: #f6f8fb;
    --border: #e7eaf0;
    --white: #ffffff;
    --success: #11845b;
    --radius: 8px;
    --shadow: 0 22px 60px rgba(7, 17, 32, 0.12);
    --shadow-hover: 0 32px 80px rgba(7, 17, 32, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--red);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--navy);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
}

section[id],
article[id] {
    scroll-margin-top: 120px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
}

/* ─── HEADER ─────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(231, 234, 240, 0.95);
}

.top-contact {
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.88rem;
}

.top-contact a,
.top-contact span {
    color: var(--text);
    font-weight: 600;
}

.top-contact i {
    color: var(--blue);
    margin-right: 0.35rem;
}

.navbar {
    padding: 0.9rem 0;
}

.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(0, 74, 173, 0.18);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-mark:hover {
    color: var(--navy);
}

.brand-mark strong span:first-child {
    color: var(--red);
}

.brand-mark strong span:last-child {
    color: var(--blue);
}

.nav-link {
    color: var(--text);
    font-weight: 700;
    font-size: 0.96rem;
    padding: 0.7rem 0.85rem !important;
    transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus {
    color: var(--blue);
}

.services-nav-wrap {
    display: flex;
    align-items: center;
}

.services-main-link {
    padding-right: 0.2rem !important;
}

.services-menu-toggle {
    width: 28px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0;
    background: transparent;
}

.services-menu-toggle::after {
    margin-left: 0;
}

.services-toggle-text {
    display: none;
}

/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
    border-radius: var(--radius);
    font-weight: 800;
    padding: 0.78rem 1.15rem;
    border-width: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-sm-lg {
    padding: 0.68rem 1rem;
}

.btn-accent {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-accent:hover,
.btn-accent:focus {
    background: #c91626;
    border-color: #c91626;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(226, 27, 45, 0.30);
}

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

.btn-navy:hover,
.btn-navy:focus {
    background: var(--navy-2);
    border-color: var(--navy-2);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(7, 17, 32, 0.28);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-outline-primary {
    --bs-btn-color: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue);
    --bs-btn-hover-border-color: var(--blue);
    --bs-btn-active-bg: var(--blue);
    --bs-btn-active-border-color: var(--blue);
}

/* ─── TYPOGRAPHY UTILITIES ───────────────────────────── */

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--blue);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

/* ─── SECTIONS ───────────────────────────────────────── */

.section {
    padding: 96px 0;
}

.section-tight {
    padding: 72px 0;
}

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

.section-dark {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-title {
    color: var(--white);
}

.section-dark .eyebrow,
.inverse .eyebrow {
    color: #84bbff;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading.compact {
    max-width: 620px;
}

.section-heading h2,
.section-title {
    font-size: 2.45rem;
    margin-bottom: 1rem;
}

.section-heading p,
.lead-copy {
    color: var(--muted);
    font-size: 1.08rem;
}

.inverse p,
.section-dark .lead-copy {
    color: rgba(255, 255, 255, 0.72);
}

/* ─── HOME HERO ──────────────────────────────────────── */

.home-hero {
    position: relative;
    min-height: 560px;
    height: min(760px, calc(100svh - 132px));
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
    color: var(--white);
}

.hero-visual-layer,
.hero-bg-image,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-visual-layer {
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

.hero-bg-image-main {
    animation: heroImageDrift 18s ease-in-out infinite alternate;
}

.hero-bg-image-alt {
    opacity: 0;
    animation: heroImageCrossfade 18s ease-in-out infinite;
}

.hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.64) 38%, rgba(5, 10, 18, 0.16) 70%, rgba(5, 10, 18, 0.38) 100%),
        linear-gradient(180deg, rgba(5, 10, 18, 0.18) 0%, rgba(5, 10, 18, 0.16) 54%, rgba(5, 10, 18, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.hero-copy-inner {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-copy-inner h1 {
    color: var(--white);
    font-size: 4.85rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0;
    line-height: 0.98;
    text-wrap: balance;
}

.hero-copy-inner p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.16rem;
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-proof-strip {
    width: min(680px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-proof-strip div {
    padding: 1rem 1.15rem;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof-strip div:last-child {
    border-right: 0;
}

.hero-proof-strip strong,
.hero-proof-strip span {
    display: block;
}

.hero-proof-strip strong {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.2;
}

.hero-proof-strip span {
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.86rem;
    margin-top: 0.22rem;
}

@keyframes heroImageDrift {
    from {
        transform: scale(1.01) translateX(0);
    }

    to {
        transform: scale(1.08) translateX(-1.4%);
    }
}

@keyframes heroImageCrossfade {
    0%,
    44%,
    100% {
        opacity: 0;
        transform: scale(1.04);
    }

    56%,
    88% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-image-main,
    .hero-bg-image-alt {
        animation: none;
    }
}

/* ─── IMAGE CARDS ────────────────────────────────────── */

/* Core service cards */

.core-services-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 74, 173, 0.06) 0%, transparent 34%),
        linear-gradient(180deg, var(--white) 0%, #f4f7fb 100%);
}

.core-services-section .container {
    position: relative;
    z-index: 1;
}

.core-services-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.15rem;
}

.core-service-card {
    position: relative;
    grid-column: span 2;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(7, 17, 32, 0.10);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(7, 17, 32, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.core-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
    background: linear-gradient(90deg, var(--red), var(--blue));
}

.core-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 74, 173, 0.24);
    box-shadow: 0 28px 70px rgba(7, 17, 32, 0.14);
}

.core-service-card.is-featured {
    grid-column: span 3;
    min-height: 370px;
    flex-direction: row;
}

.core-service-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--navy);
}

.core-service-card.is-featured .core-service-media {
    flex: 0 0 52%;
    aspect-ratio: auto;
}

.core-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.core-service-card:hover .core-service-media img {
    transform: scale(1.06);
}

.core-service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 17, 32, 0.02) 34%, rgba(7, 17, 32, 0.24) 100%),
        linear-gradient(135deg, rgba(7, 17, 32, 0.20), transparent 54%);
}

.core-service-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: 0 14px 30px rgba(7, 17, 32, 0.18);
    font-size: 1.25rem;
}

.core-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.core-service-card.is-featured .core-service-content {
    padding: 1.6rem;
}

.core-service-kicker {
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.core-service-content h3 {
    margin: 0.7rem 0 0.65rem;
    font-size: 1.42rem;
    letter-spacing: 0;
}

.core-service-card.is-featured .core-service-content h3 {
    font-size: 1.75rem;
}

.core-service-content p {
    color: var(--muted);
    margin-bottom: 1.1rem;
}

.core-service-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f9fbfe;
}

.core-service-meta span {
    display: block;
    padding: 0.78rem;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.core-service-meta span + span {
    border-left: 1px solid var(--border);
}

.core-service-meta small {
    display: block;
    margin-bottom: 0.22rem;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.core-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-top: 1.1rem;
    color: var(--blue);
    font-weight: 900;
}

.core-service-link i {
    transition: transform 0.2s ease;
}

.core-service-card:hover .core-service-link i {
    transform: translate(2px, -2px);
}

.core-services-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(7, 17, 32, 0.09);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
}

.core-services-note span {
    color: var(--navy);
    font-weight: 900;
}

.core-services-note a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--blue);
    font-weight: 900;
}

.image-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--navy);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 17, 32, 0.02) 20%, rgba(7, 17, 32, 0.88) 100%);
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.image-card:hover img {
    transform: scale(1.06);
}

.image-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.45rem;
    color: rgba(255, 255, 255, 0.82);
}

.image-card-content span,
.project-card span,
.portfolio-card span {
    display: inline-block;
    color: var(--red);
    font-weight: 900;
    font-size: 0.76rem;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    letter-spacing: 0.07em;
}

.image-card-content h3 {
    color: var(--white);
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.image-card-content p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.9rem;
}

.image-card-content a {
    color: var(--white);
    font-weight: 800;
}

/* ─── MEDIA FRAME ────────────────────────────────────── */

.media-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}

.media-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ─── FEATURE LIST ───────────────────────────────────── */

.feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.8rem;
}

.feature-list div {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.feature-list strong {
    color: var(--navy);
    font-size: 1.02rem;
}

.feature-list span {
    color: var(--muted);
}

.compact-list div {
    grid-template-columns: 130px 1fr;
}

/* ─── PROCESS STEPS ──────────────────────────────────── */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.process-step {
    padding: 2rem;
    background: var(--white);
    border-right: 1px solid var(--border);
    transition: background 0.2s ease;
}

.process-step:last-child {
    border-right: 0;
}

.process-step:hover {
    background: var(--light);
}

.process-step span,
.value-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 900;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
}

.process-step h3,
.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.process-step p,
.value-card p {
    color: var(--muted);
    margin: 0;
}

/* ─── PROJECT / PORTFOLIO / SERVICE CARDS ────────────── */

.project-card,
.portfolio-card,
.value-card,
.service-overview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-card:hover,
.portfolio-card:hover,
.value-card:hover,
.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.section-dark .project-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.project-card img,
.portfolio-card img,
.service-overview-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card:hover img,
.service-overview-card:hover img {
    transform: scale(1.04);
}

.project-card div,
.portfolio-card-body,
.value-card,
.service-overview-card div {
    padding: 1.4rem;
}

.project-card h3,
.portfolio-card h3,
.service-overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
}

.section-dark .project-card h3 {
    color: var(--white);
}

.project-card p,
.portfolio-card p,
.service-overview-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.service-overview-card div > i:first-child {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.service-overview-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-weight: 900;
}

.section-dark .project-card p {
    color: rgba(255, 255, 255, 0.72);
}

.services-index-section {
    background:
        linear-gradient(135deg, rgba(226, 27, 45, 0.045) 0%, transparent 30%),
        linear-gradient(180deg, var(--white) 0%, #f5f8fc 100%);
}

.service-overview-card {
    position: relative;
    box-shadow: 0 16px 42px rgba(7, 17, 32, 0.07);
}

.service-overview-card::before,
.portfolio-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
    background: linear-gradient(90deg, var(--red), var(--blue));
}

.service-overview-card img {
    height: 260px;
}

.service-overview-card div {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
}

.service-overview-card div > i:first-child {
    position: absolute;
    top: -38px;
    left: 1.4rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(7, 17, 32, 0.16);
}

.service-overview-card h3 {
    margin-top: 1rem;
    font-size: 1.35rem;
    letter-spacing: 0;
}

.service-overview-card a {
    margin-top: auto;
    color: var(--blue);
}

.service-overview-card a i {
    position: static;
    width: auto;
    height: auto;
    display: inline-block;
    margin: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
}

.portfolio-card {
    position: relative;
    box-shadow: 0 14px 34px rgba(7, 17, 32, 0.06);
}

/* ─── QUOTE BAND ─────────────────────────────────────── */

.quote-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.76);
    border-radius: var(--radius);
    padding: 2.3rem;
}

.quote-band.light {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
}

.quote-band h2 {
    color: var(--white);
    margin-bottom: 0.65rem;
}

.quote-band.light h2 {
    color: var(--navy);
}

.quote-band p {
    margin: 0;
    max-width: 720px;
}

.quote-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* ─── CONTACT STRIP ──────────────────────────────────── */

.contact-strip {
    background: var(--light);
}

.contact-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-strip-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-strip-inner p:last-child {
    color: var(--muted);
    margin-bottom: 0;
}

.contact-strip-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
    font-weight: 800;
    background: var(--white);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.contact-pill:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--navy);
}

.contact-pill i {
    color: var(--blue);
}

/* ─── PAGE HERO ──────────────────────────────────────── */

.page-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
    padding: 88px 0 76px;
    color: var(--white);
}

.page-hero-bg,
.page-hero-shade {
    position: absolute;
    inset: 0;
}

.page-hero-bg {
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

.page-hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.68) 44%, rgba(5, 10, 18, 0.28) 100%),
        linear-gradient(180deg, rgba(5, 10, 18, 0.16) 0%, rgba(5, 10, 18, 0.72) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-copy {
    max-width: 850px;
}

.page-hero .eyebrow {
    color: #9dccff;
}

.page-hero-copy h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
    text-wrap: balance;
}

.page-hero-copy p {
    max-width: 730px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.15rem;
    line-height: 1.7;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.page-hero-badges {
    width: min(820px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.page-hero-badges span {
    display: block;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.page-hero-badges span:last-child {
    border-right: 0;
}

.page-hero-badges strong {
    display: block;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-bottom: 0.28rem;
    text-transform: uppercase;
}

/* ─── CLIENT GRID ────────────────────────────────────── */

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.client-grid span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 1.1rem;
    color: var(--white);
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
}

/* ─── SERVICE INDEX ──────────────────────────────────── */

.service-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.service-index a {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 0.95rem;
    color: var(--text);
    font-weight: 800;
    background: var(--white);
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.service-index a:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-soft);
}

/* ─── SERVICE DETAIL PAGES ───────────────────────────── */

.service-detail {
    padding: 88px 0;
    border-top: 1px solid var(--border);
}

.service-detail:nth-child(even) {
    background: var(--light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 3rem;
    align-items: center;
}

.service-detail.is-reversed .service-detail-image {
    order: 2;
}

.service-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.service-detail-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-detail-copy h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-detail-copy > p {
    color: var(--muted);
    font-size: 1.05rem;
}

.service-showcase-section {
    background:
        linear-gradient(135deg, rgba(0, 74, 173, 0.055) 0%, transparent 32%),
        linear-gradient(180deg, var(--white) 0%, #f5f8fc 100%);
}

.service-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
}

.service-page-main {
    display: grid;
    gap: 1.25rem;
}

.service-intro-panel,
.service-content-panel,
.service-quote-panel {
    border: 1px solid rgba(7, 17, 32, 0.10);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(7, 17, 32, 0.07);
}

.service-intro-panel {
    padding: 2rem;
}

.service-intro-panel h2,
.service-quote-panel h2 {
    font-size: 2.25rem;
    margin-bottom: 0.9rem;
    letter-spacing: 0;
}

.service-intro-panel p:last-child,
.service-quote-panel p:last-child {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.service-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.service-benefit-grid article {
    min-height: 150px;
    padding: 1.25rem;
    border: 1px solid rgba(7, 17, 32, 0.10);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(7, 17, 32, 0.06);
}

.service-benefit-grid span,
.service-workflow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
}

.service-benefit-grid h3,
.service-workflow h3 {
    font-size: 1.08rem;
    margin: 0;
    letter-spacing: 0;
}

.service-content-panel {
    padding: 2rem;
}

.service-content-panel .lead-copy {
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.78;
}

.service-content-panel .lead-copy:last-child {
    margin-bottom: 0;
}

.service-workflow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(7, 17, 32, 0.10);
    border-radius: var(--radius);
    background: var(--white);
}

.service-workflow div {
    padding: 1.3rem;
    border-right: 1px solid var(--border);
}

.service-workflow div:last-child {
    border-right: 0;
}

.service-workflow p {
    color: var(--muted);
    margin: 0.6rem 0 0;
    font-size: 0.95rem;
}

.service-quote-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, #0c2442 100%);
    color: rgba(255, 255, 255, 0.78);
}

.service-quote-panel h2 {
    color: var(--white);
}

.service-quote-panel .eyebrow {
    color: #9dccff;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    flex-shrink: 0;
}

.service-sidebar {
    position: sticky;
    top: 125px;
    border: 1px solid rgba(7, 17, 32, 0.10);
    border-radius: var(--radius);
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 18px 46px rgba(7, 17, 32, 0.08);
}

.service-sidebar-feature {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy) 0%, #10233b 100%);
    color: rgba(255, 255, 255, 0.76);
}

.service-sidebar-feature span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.service-sidebar-feature h2 {
    color: var(--white);
    font-size: 1.22rem;
    margin-bottom: 0.5rem;
}

.service-sidebar-feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.service-sidebar > h2 {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}

.service-sidebar nav {
    display: grid;
    gap: 0.38rem;
}

.service-sidebar a {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem;
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 800;
    transition: background 0.18s ease, color 0.18s ease;
}

.service-sidebar a:hover,
.service-sidebar a.active {
    background: var(--blue-soft);
    color: var(--blue);
}

.service-sidebar i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--blue);
}

.glass-types-panel {
    margin-top: 2rem;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light);
}

.glass-types-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
}

.glass-types-panel p {
    color: var(--muted);
}

.glass-types-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.glass-types-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
}

.service-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.7rem 0;
}

.service-meta-grid > div {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    padding: 1.2rem;
}

.service-meta-grid h3 {
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.clean-list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--muted);
}

.clean-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--blue);
}

/* ─── GALLERY ────────────────────────────────────────── */

.gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.gallery-toolbar button {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius);
    padding: 0.7rem 0.95rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.gallery-toolbar button.active,
.gallery-toolbar button:hover {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    min-height: 230px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: transform 0.28s ease;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item:hover img,
.gallery-item:focus img {
    transform: scale(1.05);
}

.gallery-item span {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    border-radius: var(--radius);
    padding: 0.65rem 0.75rem;
    font-weight: 800;
}

/* ─── LIGHTBOX ───────────────────────────────────────── */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(7, 17, 32, 0.92);
    padding: 2rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-inner {
    width: min(1020px, 100%);
}

.lightbox img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: var(--navy);
    border-radius: var(--radius);
}

.lightbox p {
    color: var(--white);
    margin: 1rem 0 0;
    font-weight: 800;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    transition: background 0.18s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─── FORMS ──────────────────────────────────────────── */

.form-shell,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 3rem;
    align-items: start;
}

.form-intro h2,
.contact-details h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.form-intro p,
.contact-details p {
    color: var(--muted);
}

.form-contact-panel {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.form-contact-panel a,
.contact-detail-list div {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    font-weight: 800;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.form-contact-panel a:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--text);
}

.form-contact-panel i,
.contact-detail-list i {
    color: var(--blue);
    font-size: 1.15rem;
}

.premium-form {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(7, 17, 32, 0.08);
}

.premium-form label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--navy);
    font-weight: 800;
}

.premium-form label span {
    color: var(--red);
}

.form-control,
.form-select {
    border-color: var(--border);
    border-radius: var(--radius);
    min-height: 48px;
    color: var(--text);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    font-family: inherit;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 0.18rem rgba(0, 74, 173, 0.14);
}

textarea.form-control {
    min-height: auto;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--red);
}

.form-error {
    margin-top: 0.35rem;
    color: var(--red);
    font-size: 0.88rem;
    font-weight: 700;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-detail-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.4rem 0;
}

.contact-detail-list strong {
    display: block;
    color: var(--navy);
}

.contact-detail-list a {
    color: var(--text);
}

.map-placeholder {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.map-placeholder h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.map-placeholder p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

/* ─── UTILITY PAGES ──────────────────────────────────── */

.utility-page {
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding: 96px 0;
    background: var(--light);
}

.utility-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
}

.utility-card h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.utility-card p {
    color: var(--muted);
}

.utility-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

/* ─── MEGA MENU ──────────────────────────────────────── */

.dropdown-mega {
    position: static;
}

.mega-menu {
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100vw - 32px));
    margin-top: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mega-wrap {
    display: grid;
    grid-template-columns: 0.92fr 2fr;
    background: var(--white);
}

.mega-intro {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.8rem;
}

.mega-intro h2 {
    color: var(--white);
    font-size: 1.85rem;
    margin-bottom: 0.9rem;
}

.mega-intro p {
    color: rgba(255, 255, 255, 0.72);
}

.mega-content {
    padding: 1.2rem;
}

.mega-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.mega-service {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.9rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--text);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.mega-service:hover,
.mega-service:focus {
    border-color: var(--border);
    background: var(--light);
    color: var(--text);
}

.mega-service i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: var(--radius);
}

.mega-service strong {
    display: block;
    color: var(--navy);
    font-size: 0.98rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.mega-service small {
    display: block;
    color: var(--muted);
    line-height: 1.4;
}

.mega-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.9rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
}

.mega-strip a {
    color: var(--red);
    font-weight: 900;
}

.mega-strip-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    padding: 72px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.75fr 1fr;
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo strong span:last-child {
    color: #84bbff;
}

.footer-brand p {
    max-width: 440px;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    color: var(--white);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.footer-social a:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
}

/* ─── FLOATING BUTTONS ───────────────────────────────── */

.floating-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1200;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #128c7e;
    color: var(--white);
    font-size: 1.65rem;
    box-shadow: 0 16px 35px rgba(7, 17, 32, 0.22);
    transition: transform 0.2s ease, background 0.18s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
    color: var(--white);
    background: #0d7569;
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(7, 17, 32, 0.28);
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 5.35rem;
    z-index: 1190;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: var(--shadow);
}

/* ─── STATS BAR ──────────────────────────────────────── */

.stats-bar {
    background: linear-gradient(135deg, #071120 0%, #0a1a30 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-item {
    padding: 2.8rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.05rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.stat-item > p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* ─── TESTIMONIALS ───────────────────────────────────── */

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.testimonial-card > p {
    color: var(--text);
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-author strong {
    color: var(--navy);
    font-size: 0.98rem;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */

[data-reveal] {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal="up"] {
    transform: translateY(36px);
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (min-width: 992px) {
    .dropdown-mega:hover > .dropdown-menu,
    .dropdown-mega:focus-within > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100svh - 82px);
        overflow-y: auto;
        padding: 1rem 0;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link {
        padding: 0.85rem 0 !important;
    }

    .services-nav-wrap {
        gap: 0.75rem;
        justify-content: space-between;
    }

    .services-main-link {
        flex: 1;
    }

    .services-menu-toggle {
        width: auto;
        min-width: 96px;
        min-height: 44px;
        gap: 0.35rem;
        padding: 0.62rem 0.8rem !important;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--light);
        color: var(--navy);
    }

    .services-menu-toggle:hover,
    .services-menu-toggle:focus,
    .services-menu-toggle.show {
        background: var(--blue-soft);
        color: var(--blue);
    }

    .services-toggle-text {
        display: inline;
        font-size: 0.86rem;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0.01em;
    }

    .mega-menu {
        position: static !important;
        transform: none;
        width: 100%;
        margin-top: 0.4rem;
        border-radius: var(--radius);
        box-shadow: none;
    }

    .dropdown-mega .dropdown-menu.show {
        display: block;
    }

    .mega-wrap,
    .home-hero,
    .service-detail-grid,
    .service-page-layout,
    .form-shell,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .mega-services,
    .service-meta-grid {
        grid-template-columns: 1fr;
    }

    .mega-intro {
        padding: 1.3rem;
    }

    .mega-intro h2 {
        font-size: 1.45rem;
    }

    .mega-strip,
    .mega-strip-links {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-copy-inner h1,
    .page-hero-copy h1 {
        font-size: 2.55rem;
    }

    .process-grid,
    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-step:nth-child(2) {
        border-right: 0;
    }

    .process-step:nth-child(1),
    .process-step:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .service-detail.is-reversed .service-detail-image {
        order: 0;
    }

    .service-sidebar {
        position: static;
    }

    .contact-strip-inner,
    .quote-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-strip-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 68px 0;
    }

    .section-tight {
        padding: 56px 0;
    }

    .section-heading {
        text-align: left;
        margin-bottom: 2rem;
    }

    .section-heading h2,
    .section-title,
    .form-intro h2,
    .contact-details h2 {
        font-size: 2rem;
    }

    .hero-copy-inner h1,
    .page-hero-copy h1 {
        font-size: 2.25rem;
    }

    .image-card {
        height: 360px;
    }

    .feature-list div,
    .compact-list div {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .process-grid,
    .client-grid,
    .gallery-grid,
    .footer-main,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-step,
    .process-step:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .stat-item {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .stat-number {
        font-size: 2.6rem;
    }

    .quote-band,
    .contact-strip-inner,
    .premium-form,
    .utility-card {
        padding: 1.4rem;
    }

    .quote-band-actions,
    .hero-actions,
    .utility-actions {
        width: 100%;
    }

    .quote-band-actions .btn,
    .hero-actions .btn,
    .utility-actions .btn,
    .premium-form .btn {
        width: 100%;
    }

    .gallery-toolbar {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-whatsapp {
        width: 54px;
        height: 54px;
    }

    .back-to-top {
        display: none;
    }
}

@media (max-width: 420px) {
    .brand-mark {
        font-size: 1.1rem;
    }

    .hero-copy-inner h1,
    .page-hero-copy h1 {
        font-size: 2rem;
    }

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

@media (max-width: 1199.98px) {
    .hero-copy-inner h1 {
        font-size: 4.1rem;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        height: auto;
        min-height: calc(100svh - 104px);
        padding: 64px 0 82px;
    }

    .hero-content {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-copy-inner {
        max-width: 640px;
    }

    .hero-copy-inner h1 {
        font-size: 3.35rem;
        line-height: 1.02;
    }

    .hero-copy-inner p {
        font-size: 1.08rem;
    }

    .hero-proof-strip {
        margin-top: 1.8rem;
    }

}

@media (max-width: 767.98px) {
    .home-hero {
        min-height: calc(100svh - 96px);
        padding: 46px 0 34px;
        align-items: center;
    }

    .hero-bg-image {
        object-position: 58% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.62) 100%),
            linear-gradient(180deg, rgba(5, 10, 18, 0.18) 0%, rgba(5, 10, 18, 0.82) 100%);
    }

    .hero-copy-inner h1 {
        font-size: 2.55rem;
        line-height: 1.04;
    }

    .hero-copy-inner p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-proof-strip {
        grid-template-columns: 1fr;
        margin-top: 1.35rem;
        background: rgba(255, 255, 255, 0.06);
    }

    .hero-proof-strip div {
        padding: 0.72rem 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .hero-proof-strip div:last-child {
        border-bottom: 0;
    }

}

@media (max-width: 420px) {
    .hero-copy-inner h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 1199.98px) {
    .page-hero-copy h1 {
        font-size: 3.35rem;
    }

    .service-benefit-grid,
    .service-workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-benefit-grid article {
        min-height: 130px;
    }

    .service-workflow div:nth-child(2) {
        border-right: 0;
    }

    .service-workflow div:nth-child(1),
    .service-workflow div:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .core-service-card,
    .core-service-card.is-featured {
        grid-column: span 3;
        flex-direction: column;
    }

    .core-service-card.is-featured {
        min-height: 100%;
    }

    .core-service-card.is-featured .core-service-media {
        flex: initial;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 460px;
        padding: 64px 0 54px;
    }

    .page-hero-bg {
        object-position: 58% center;
    }

    .page-hero-shade {
        background:
            linear-gradient(90deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.70) 100%),
            linear-gradient(180deg, rgba(5, 10, 18, 0.10) 0%, rgba(5, 10, 18, 0.78) 100%);
    }

    .page-hero-copy h1 {
        font-size: 2.35rem;
        line-height: 1.05;
    }

    .page-hero-copy p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .page-hero-actions,
    .service-actions {
        width: 100%;
    }

    .page-hero-actions .btn,
    .service-actions .btn {
        width: 100%;
    }

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

    .page-hero-badges span {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .page-hero-badges span:last-child {
        border-bottom: 0;
    }

    .service-intro-panel,
    .service-content-panel,
    .service-quote-panel {
        padding: 1.25rem;
    }

    .service-intro-panel h2,
    .service-quote-panel h2 {
        font-size: 1.75rem;
    }

    .service-benefit-grid,
    .service-workflow {
        grid-template-columns: 1fr;
    }

    .service-workflow div,
    .service-workflow div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .service-workflow div:last-child {
        border-bottom: 0;
    }

    .service-quote-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-overview-card img,
    .project-card img,
    .portfolio-card img {
        height: 220px;
    }

    .service-overview-card div {
        min-height: auto;
    }

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

    .core-service-card,
    .core-service-card.is-featured {
        grid-column: span 1;
    }

    .core-service-media,
    .core-service-card.is-featured .core-service-media {
        aspect-ratio: 16 / 10;
    }

    .core-service-content,
    .core-service-card.is-featured .core-service-content {
        padding: 1.15rem;
    }

    .core-service-card.is-featured .core-service-content h3,
    .core-service-content h3 {
        font-size: 1.35rem;
    }

    .core-service-meta {
        grid-template-columns: 1fr;
    }

    .core-service-meta span + span {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .core-services-note {
        align-items: flex-start;
        flex-direction: column;
    }
}
