/* 2026 visual redesign — preserves the original page content and behavior. */
:root {
    --ink: #071827;
    --navy: #0b2945;
    --navy-soft: #123b60;
    --blue: #3f8fbd;
    --blue-bright: #7dc4e8;
    --ice: #dceef6;
    --paper: #f7f4ee;
    --white: #ffffff;
    --line: rgba(7, 24, 39, 0.13);
    --shadow-soft: 0 24px 70px rgba(7, 24, 39, 0.11);
    --shadow-card: 0 12px 40px rgba(7, 24, 39, 0.08);
    --radius-card: 26px;
    --radius-small: 14px;
}

html {
    background: var(--paper);
    scroll-padding-top: 96px;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.65;
}

body,
.btn,
.desktop-nav a,
.eyebrow,
h1,
h3,
.author {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
p,
li {
    text-wrap: pretty;
}

h2 {
    color: var(--ink);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.container {
    max-width: 1240px;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section-header {
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-header.center {
    text-align: left;
}

.section-header.center h2 {
    max-width: 820px;
}

.eyebrow {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.btn {
    min-height: 52px;
    padding: 0.9rem 1.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    box-shadow: none;
    transform: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-bright);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(63, 143, 189, 0.26);
}

.btn-outline {
    border: 1px solid var(--navy);
    background: transparent;
    color: var(--navy);
}

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

.btn:focus-visible,
a:focus-visible,
.faq-toggle:focus-visible {
    outline: 3px solid var(--blue-bright);
    outline-offset: 4px;
}

/* Header */
.site-header,
.site-header.scrolled {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(5, 20, 34, 0.88);
    box-shadow: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header.scrolled {
    background: rgba(5, 20, 34, 0.96);
}

.header-container {
    min-height: 88px;
    max-width: 1460px;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.header-logo-img {
    width: auto;
    height: 72px;
    object-fit: contain;
}

.desktop-nav {
    gap: clamp(1.3rem, 2.7vw, 2.8rem);
}

.desktop-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    background: var(--blue-bright);
    content: '';
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.desktop-nav a:hover {
    color: var(--white);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.site-header .btn-primary {
    min-height: 44px;
    background: var(--white);
    color: var(--navy);
}

.site-header .btn-primary:hover {
    background: var(--blue-bright);
}

/* Hero */
.hero-section {
    min-height: 96svh;
    align-items: stretch;
    justify-content: center;
    padding: 120px clamp(1.25rem, 6vw, 6rem) 5rem;
    text-align: left;
}

.hero-video-bg #scroll-video {
    transform: scale(1.04);
}

.video-overlay {
    background:
        linear-gradient(90deg, rgba(4, 18, 31, 0.94) 0%, rgba(4, 18, 31, 0.73) 43%, rgba(4, 18, 31, 0.22) 78%, rgba(4, 18, 31, 0.08) 100%),
        linear-gradient(0deg, rgba(4, 18, 31, 0.48), transparent 45%);
}

.hero-content {
    width: min(1320px, 100%);
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
}

.hero-text {
    max-width: 810px;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    width: fit-content;
    margin: 0 0 1.35rem;
    color: var(--blue-bright);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.76rem, 1.2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-location::after {
    width: clamp(2.5rem, 7vw, 5rem);
    height: 1px;
    background: currentColor;
    content: '';
    opacity: 0.72;
}

.hero-location svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

.hero-text .eyebrow {
    margin-bottom: 1.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--blue-bright);
    font-weight: 700;
    text-shadow: none;
}

.hero-text h1 {
    max-width: 790px;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: clamp(3.25rem, 7.2vw, 6.8rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.94;
    text-shadow: 0 12px 42px rgba(0, 0, 0, 0.3);
}

.hero-text p.subtitle {
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.77);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 400;
    text-shadow: none;
}

.hero-actions .btn-primary {
    min-height: 60px;
    padding-inline: 2rem;
    background: var(--blue-bright);
    color: var(--ink);
}

.hero-actions .btn-primary:hover {
    background: var(--white);
    color: var(--ink);
}

/* Review marquee */
.marquee-section {
    padding: 2.2rem 0 2.8rem;
    border: 0;
    background: var(--navy);
}

.marquee-header {
    margin-bottom: 1rem;
}

.marquee-header .eyebrow {
    color: var(--blue-bright);
}

.marquee-container::before {
    background: linear-gradient(to right, var(--navy), transparent);
}

.marquee-container::after {
    background: linear-gradient(to left, var(--navy), transparent);
}

.marquee-item {
    width: min(390px, 82vw);
    min-height: 160px;
    margin-inline: 0.65rem;
    padding: 1.5rem 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: none;
}

.marquee-item p {
    color: rgba(255, 255, 255, 0.88);
    font-style: normal;
}

.marquee-item strong {
    color: var(--blue-bright);
}

/* Services */
.services-section {
    padding: clamp(6rem, 10vw, 10rem) 0;
    border: 0;
    background: var(--paper);
}

.services-grid {
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

.service-card {
    overflow: hidden;
    padding: 0 2.25rem 2.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-soft);
}

.service-img {
    width: calc(100% + 4.5rem);
    max-width: none;
    height: clamp(270px, 31vw, 420px);
    margin: 0 -2.25rem 2.25rem;
    border-radius: 0;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--navy);
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.service-card > p:not(.service-subtitle),
.service-list {
    color: #53616c;
    font-size: 0.95rem;
}

.service-subtitle {
    color: var(--blue);
    font-size: 1rem;
}

.service-list {
    display: grid;
    gap: 0.55rem;
    margin: 1.8rem 0;
    padding-left: 1.25rem;
}

.service-list li::marker {
    color: var(--blue);
}

/* Process */
.process-section {
    padding: clamp(6rem, 10vw, 10rem) 0;
    background: var(--ice);
}

.process-timeline {
    max-width: 1180px;
    gap: 1.4rem;
}

.process-step.process-step-with-image {
    overflow: hidden;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 0;
    border: 1px solid rgba(11, 41, 69, 0.12);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
}

.process-step .step-content {
    padding: clamp(2rem, 5vw, 4.25rem);
}

.process-step .step-content h3 {
    margin-bottom: 1.25rem;
    color: var(--navy);
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.process-step .step-content p {
    color: #526572;
    font-size: 0.94rem;
}

.process-step .step-image {
    align-self: stretch;
    min-height: 430px;
    margin: 0;
}

.process-step .step-image img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    mix-blend-mode: normal;
    object-fit: cover;
}

.process-section .container > div[style] {
    margin-top: 3rem !important;
}

.process-section .container > div[style] .btn {
    padding: 1rem 2rem !important;
    font-size: 0.8rem !important;
}

/* About */
.about-section {
    position: relative;
    overflow: hidden;
    padding: clamp(6rem, 11vw, 11rem) 0;
    background: var(--ink);
}

.about-section::after {
    position: absolute;
    top: -20%;
    right: -15%;
    width: 55vw;
    height: 55vw;
    border: 1px solid rgba(125, 196, 232, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(125, 196, 232, 0.025), 0 0 0 160px rgba(125, 196, 232, 0.02);
    content: '';
}

.about-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 7vw, 7rem);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    position: absolute;
    top: -18px;
    right: 22px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: var(--blue-bright);
    content: '';
}

.about-img {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}

.about-text h2,
.about-text h3 {
    color: var(--white);
}

.about-text h2 {
    margin-bottom: 2.5rem;
}

.about-text h3 {
    color: var(--blue-bright);
}

.about-text p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.68);
}

.about-text .btn-primary {
    background: var(--blue-bright);
    color: var(--ink);
}

/* Reviews */
.reviews-section {
    padding: clamp(6rem, 10vw, 10rem) 0;
    background: var(--paper);
}

.reviews-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
    gap: 1.25rem;
    padding: 0;
}

.review-card {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.review-card::before {
    display: block;
    margin-bottom: 1rem;
    color: var(--blue);
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 0.65;
}

.quote {
    color: #4e5c67;
    font-size: 0.92rem;
    font-style: normal;
}

.author {
    color: var(--navy);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* FAQ */
.faq-section {
    padding: clamp(6rem, 10vw, 10rem) 0;
    background: var(--navy);
}

.faq-split {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.faq-left h2 {
    color: var(--white);
}

.faq-left .section-header p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.faq-left .section-header a {
    color: var(--blue-bright) !important;
}

.faq-item,
.faq-item:first-child {
    border-color: rgba(255, 255, 255, 0.16);
}

.faq-toggle {
    padding: 1.65rem 0;
    color: var(--white);
}

.faq-toggle:hover {
    color: var(--blue-bright);
}

.faq-q {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.faq-icon {
    flex: 0 0 auto;
    color: var(--blue-bright);
}

.faq-a {
    color: rgba(255, 255, 255, 0.62);
}

/* Lead form */
.cta-section {
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: var(--ice);
}

.cta-box {
    max-width: 920px;
    padding: clamp(2rem, 7vw, 6rem);
    border: 1px solid rgba(11, 41, 69, 0.1);
    border-radius: 32px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.cta-box h2 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.cta-box > p {
    max-width: 560px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.lead-form {
    max-width: 720px;
}

.form-group label,
.checkbox-group-title {
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.lead-form input[type='text'],
.lead-form input[type='email'],
.lead-form textarea {
    padding: 1rem 1.05rem;
    border: 1px solid #c9d5db;
    border-radius: 12px;
    background: #fbfcfc;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(63, 143, 189, 0.15);
}

.checkbox-label {
    color: #52616c;
}

.checkbox-label input[type='checkbox'] {
    accent-color: var(--blue);
}

.submit-btn {
    min-height: 60px;
    background: var(--navy);
}

.submit-btn:hover {
    background: var(--blue);
    color: var(--white);
}

/* Footer */
.site-footer {
    padding: 4.5rem 0;
    border: 0;
    background: #04121f;
}

.footer-logo {
    height: 110px;
}

.site-footer .btn-primary {
    background: var(--blue-bright);
    color: var(--ink);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1000px) {
    .reviews-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-step.process-step-with-image {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .header-container {
        min-height: 78px;
    }

    .header-logo-img {
        height: 62px;
    }

    .hero-section {
        min-height: 90svh;
        padding-top: 116px;
    }

    .hero-text {
        max-width: 680px;
    }

    .services-grid,
    .about-grid,
    .faq-split {
        grid-template-columns: 1fr;
    }

    .service-img {
        height: min(55vw, 440px);
    }

    .process-step.process-step-with-image {
        display: grid;
        grid-template-columns: 1fr;
    }

    .process-step.process-step-with-image .step-image {
        order: -1;
        min-height: 360px;
        grid-column: auto;
    }

    .about-grid {
        gap: 3.5rem;
    }

    .about-img {
        max-height: 720px;
    }

    .faq-left {
        position: static;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }

    .site-header .btn.compact {
        display: none;
    }

    .header-container {
        justify-content: center;
    }

    .hero-section {
        min-height: 88svh;
        padding: 112px 1.25rem 4rem;
    }

    .video-overlay {
        background: linear-gradient(90deg, rgba(4, 18, 31, 0.91), rgba(4, 18, 31, 0.58));
    }

    .hero-text h1 {
        font-size: clamp(2.75rem, 14vw, 4.4rem);
    }

    .hero-location {
        gap: 0.55rem;
        margin-bottom: 1.1rem;
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .hero-location::after {
        width: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        padding-inline: 1rem;
    }

    .services-section,
    .process-section,
    .about-section,
    .reviews-section,
    .faq-section,
    .cta-section {
        padding-block: 5.5rem;
    }

    .service-card {
        padding-inline: 1.4rem;
    }

    .service-img {
        width: calc(100% + 2.8rem);
        height: 280px;
        margin-right: -1.4rem;
        margin-left: -1.4rem;
    }

    .process-step .step-content {
        padding: 1.5rem;
    }

    .process-step.process-step-with-image .step-image {
        min-height: 270px;
    }

    .reviews-masonry {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Contact form: retain every field while using horizontal space efficiently. */
.cta-section {
    padding-block: clamp(4rem, 7vw, 6.5rem);
}

.cta-box {
    max-width: 1040px;
    padding: clamp(2rem, 5vw, 4rem);
}

.cta-box h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.cta-box > p {
    margin-bottom: 2rem;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    max-width: 860px;
}

.lead-form > .form-row,
.lead-form > .checkbox-group,
.lead-form > .submit-btn,
.lead-form > #form-status {
    grid-column: 1 / -1;
}

.form-row {
    gap: 1.25rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 0;
}

.form-group label,
.checkbox-group-title {
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    line-height: 1.4;
}

.lead-form input[type='text'],
.lead-form input[type='email'],
.lead-form textarea {
    padding: 0.78rem 0.9rem;
}

.lead-form textarea {
    min-height: 108px;
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.25rem;
    margin: 0.4rem 0 0.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(7, 24, 39, 0.1);
    border-radius: 14px;
    background: #f7fafb;
}

.checkbox-group-title {
    grid-column: 1 / -1;
}

.checkbox-label {
    margin-top: 0;
    font-size: 0.84rem;
}

.submit-btn {
    min-height: 54px;
    margin-top: 0.25rem;
    padding-block: 0.85rem;
}

@media (max-width: 900px) {
    .review-card,
    .review-card:nth-child(2),
    .review-card:nth-child(3n + 4),
    .review-card:nth-child(5),
    .review-card:nth-child(6) {
        grid-column: span 6;
    }

    .review-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .review-card,
    .review-card:nth-child(2),
    .review-card:nth-child(3n + 4),
    .review-card:nth-child(5),
    .review-card:nth-child(6),
    .review-card:first-child {
        grid-column: 1 / -1;
        padding: 1.6rem;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .lead-form > .form-row,
    .lead-form > .checkbox-group,
    .lead-form > .submit-btn,
    .lead-form > #form-status {
        grid-column: auto;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .checkbox-group-title {
        grid-column: auto;
    }
}

/* Refined section compositions */
.services-section,
.process-section,
.reviews-section {
    position: relative;
    overflow: hidden;
}

.services-section .section-header,
.process-section .section-header,
.reviews-section .section-header {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.services-section .section-header::after,
.process-section .section-header::after,
.reviews-section .section-header::after {
    flex: 1;
    height: 1px;
    margin-bottom: 0.55rem;
    background: currentColor;
    content: '';
    opacity: 0.18;
}

/* Services become two full-width editorial feature rows. */
.services-section::before {
    position: absolute;
    top: 7%;
    right: -12rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(63, 143, 189, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(63, 143, 189, 0.025), 0 0 0 140px rgba(63, 143, 189, 0.018);
    content: '';
}

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

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

.service-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(7, 24, 39, 0.12);
}

.service-card:nth-child(even) {
    background: var(--navy);
}

.service-card:nth-child(even) .service-img {
    order: 2;
}

.service-card:nth-child(even) .service-content h3,
.service-card:nth-child(even) .service-content .service-subtitle {
    color: var(--white);
}

.service-card:nth-child(even) .service-content > p:not(.service-subtitle),
.service-card:nth-child(even) .service-list {
    color: rgba(255, 255, 255, 0.66);
}

.service-card:nth-child(even) .btn-outline {
    border-color: var(--blue-bright);
    color: var(--blue-bright);
}

.service-card:nth-child(even) .btn-outline:hover {
    background: var(--blue-bright);
    color: var(--ink);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 34px 90px rgba(7, 24, 39, 0.17);
}

.service-card .service-img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 680px;
    margin: 0;
    border-radius: 0;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 5rem);
}

.service-content::before {
    width: 54px;
    height: 5px;
    margin-bottom: 1.8rem;
    border-radius: 999px;
    background: var(--blue);
    content: '';
}

.service-card:nth-child(even) .service-content::before {
    background: var(--blue-bright);
}

.service-content h3 {
    max-width: 560px;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.service-content > p:not(.service-subtitle),
.service-content .service-list {
    max-width: 650px;
}

.service-content .btn {
    align-self: flex-start;
}

/* Process loses the generic card stack in favour of an editorial sequence. */
.process-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(220, 238, 246, 0.62)),
        var(--ice);
}

.process-timeline {
    gap: 0;
}

.process-step.process-step-with-image {
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 8vw, 7rem);
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    border: 0;
    border-top: 1px solid rgba(11, 41, 69, 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.process-step.process-step-with-image:last-child {
    border-bottom: 1px solid rgba(11, 41, 69, 0.16);
}

.process-step.process-step-with-image::before {
    position: absolute;
    top: -5px;
    left: 0;
    width: 72px;
    height: 9px;
    border-radius: 999px;
    background: var(--blue);
    content: '';
}

.process-step .step-content {
    align-self: center;
    padding: 0;
}

.process-step .step-content h3 {
    margin-bottom: 1.7rem;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    line-height: 1.05;
}

.process-step .step-content p {
    max-width: 620px;
    font-size: 0.96rem;
}

.process-step .step-content p:first-of-type strong {
    color: var(--navy);
    font-size: 1.05rem;
}

.process-step .step-image {
    align-self: center;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    filter: drop-shadow(0 20px 36px rgba(7, 24, 39, 0.13));
}

.process-step .step-image img {
    border-radius: 26px;
    object-fit: cover;
}

.process-step.process-step-with-image:nth-child(odd) .step-image {
    order: -1;
}

.process-step.process-step-with-image:nth-child(even) .step-image {
    order: 1;
}

/* Reviews use a featured story plus supporting testimonials. */
.reviews-section {
    background:
        radial-gradient(circle at 88% 12%, rgba(125, 196, 232, 0.25), transparent 28rem),
        var(--paper);
}

.reviews-masonry {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.35rem;
}

.review-card {
    display: flex;
    flex-direction: column;
    grid-column: span 4;
    min-height: 300px;
    padding: 2.25rem;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(7, 24, 39, 0.09);
}

.review-card:first-child {
    grid-column: span 7;
    min-height: 420px;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    background: var(--navy);
}

.review-card:nth-child(2) {
    grid-column: span 5;
    min-height: 420px;
    background: var(--ice);
}

.review-card:nth-child(3n + 4) {
    background: #e8f3f7;
}

.review-card:first-child .quote {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.7vw, 1.24rem);
    line-height: 1.72;
}

.review-card:first-child .author {
    color: var(--blue-bright);
}

.review-card:first-child::before {
    color: var(--blue-bright);
}

.review-card .author {
    margin-top: auto;
}

@media (max-width: 980px) {
    .service-card {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) .service-img {
        order: 0;
    }

    .service-card .service-img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .process-step.process-step-with-image {
        gap: 3rem;
    }

    .review-card,
    .review-card:first-child,
    .review-card:nth-child(2) {
        grid-column: span 6;
    }
}

@media (max-width: 720px) {
    .services-section .section-header,
    .process-section .section-header,
    .reviews-section .section-header {
        display: block;
    }

    .services-section .section-header::after,
    .process-section .section-header::after,
    .reviews-section .section-header::after {
        display: block;
        width: 72px;
        margin-top: 1.5rem;
    }

    .service-content {
        padding: 2rem 1.5rem 2.5rem;
    }

    .service-content h3 {
        font-size: 1.8rem;
    }

    .process-step.process-step-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 3.5rem;
    }

    .process-step.process-step-with-image .step-image,
    .process-step.process-step-with-image:nth-child(odd) .step-image,
    .process-step.process-step-with-image:nth-child(even) .step-image {
        order: -1;
    }

    .review-card,
    .review-card:first-child,
    .review-card:nth-child(2) {
        grid-column: 1 / -1;
        min-height: 0;
        padding: 2rem;
    }
}

/* Scroll-linked motion and interaction polish */
.scroll-progress {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.scroll-progress::after {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-bright));
    box-shadow: 0 0 14px rgba(125, 196, 232, 0.75);
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left center;
    will-change: transform;
    content: '';
}

.desktop-nav a.active {
    color: var(--white);
}

.desktop-nav a.active::after {
    transform: scaleX(1);
}

.hero-video-bg #scroll-video {
    transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.08);
    will-change: transform;
}

.service-img,
.process-step .step-image img,
.about-img {
    will-change: transform;
}

.service-img {
    transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.055);
}

.process-step .step-image img,
.about-img {
    transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.035);
}

.js .reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.985);
    transition:
        opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.js .service-card.reveal-on-scroll.is-revealed:hover {
    transform: translate3d(0, -5px, 0) scale(1);
}

.js .section-header.reveal-on-scroll::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 900ms 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .section-header.reveal-on-scroll.is-revealed::after {
    transform: scaleX(1);
}

.service-card,
.review-card,
.process-step .step-image,
.about-image-wrapper {
    transition:
        opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 850ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 260ms ease;
}

.faq-icon {
    transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress {
        display: none;
    }

    .hero-video-bg #scroll-video,
    .service-img,
    .process-step .step-image img,
    .about-img,
    .js .reveal-on-scroll,
    .js .reveal-on-scroll.is-revealed {
        opacity: 1;
        transform: none;
    }
}

/* Final review layout override: predictable rows at every viewport. */
.reviews-masonry {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
}

.review-card,
.review-card:nth-child(2),
.review-card:nth-child(3n + 4) {
    grid-column: span 4;
    min-height: 0;
    padding: 2rem;
    border: 1px solid rgba(7, 24, 39, 0.1);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(7, 24, 39, 0.07);
}

.review-card:first-child {
    grid-column: 1 / -1;
    min-height: 0;
    padding: clamp(2.5rem, 5vw, 4rem);
    background: var(--navy);
}

.review-card:nth-child(5),
.review-card:nth-child(6) {
    grid-column: span 6;
}

.review-card::before {
    margin-bottom: 0.8rem;
    font-size: 3.8rem;
}

.review-card:first-child .quote {
    max-width: 980px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.review-card:not(:first-child) .quote {
    font-size: 0.9rem;
    line-height: 1.65;
}

.review-card .author {
    padding-top: 1.25rem;
}

@media (max-width: 900px) {
    .review-card,
    .review-card:nth-child(2),
    .review-card:nth-child(3n + 4),
    .review-card:nth-child(5),
    .review-card:nth-child(6) {
        grid-column: span 6;
    }

    .review-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .review-card,
    .review-card:nth-child(2),
    .review-card:nth-child(3n + 4),
    .review-card:nth-child(5),
    .review-card:nth-child(6),
    .review-card:first-child {
        grid-column: 1 / -1;
        padding: 1.6rem;
    }
}
