/* ==========================================================================
   Mono Marine — homepage v6
   Merge: v1 structure (topbar, light sections, service cards, response band,
   quality cards, news grid, contact form) + v5 hero and motion layer.
   Palette and type from design.css (Archivo + Inter).
   ========================================================================== */

:root {
    --r-card: 10px;
    --r-photo: 12px;
    --r-pill: 999px;
}

/* Pre-reveal offsets must never create a horizontal scrollbar */
body {
    overflow-x: clip;
}

/* ---------------------------------------------------------------
   Scroll progress
   --------------------------------------------------------------- */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 2px;
    pointer-events: none;
}

.progress__bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--blue-600), #9fd0f5);
    transition: width 0.1s linear;
}

/* ---------------------------------------------------------------
   Top bar — styled by design.css so every page matches
   --------------------------------------------------------------- */

/* ---------------------------------------------------------------
   Header (white, sticky — design.css base)
   --------------------------------------------------------------- */

/* ---------------------------------------------------------------
   Buttons used on this page
   --------------------------------------------------------------- */
.btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
    background: transparent;
}

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

.btn--whatsapp {
    background: #1f9d55;
    color: #fff;
    box-shadow: 0 8px 22px rgba(31, 157, 85, 0.22);
}

.btn--whatsapp:hover {
    background: #178246;
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(600px, calc(100svh - 118px), 840px);
    padding-block: clamp(56px, 7vw, 92px);
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}

.hero__media {
    position: absolute;
    inset: -8% 0;
    z-index: 0;
    will-change: transform;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    animation: hero-zoom 24s cubic-bezier(0.2, 0.6, 0.3, 1) both;
}

@keyframes hero-zoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(4, 18, 26, 0.94) 0%, rgba(4, 18, 26, 0.78) 40%, rgba(4, 18, 26, 0.28) 74%, rgba(4, 18, 26, 0.5) 100%),
        linear-gradient(180deg, rgba(4, 18, 26, 0.55) 0%, rgba(4, 18, 26, 0) 32%, rgba(4, 18, 26, 0.58) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: clamp(32px, 5vw, 72px);
}

.hero__content {
    max-width: 720px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9fd0f5;
}

.hero__eyebrow::before {
    content: "";
    width: 0;
    height: 1px;
    background: currentColor;
    animation: line-grow 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes line-grow {
    to {
        width: 40px;
    }
}

.hero__title {
    margin-top: 24px;
    font-size: clamp(2.6rem, 5.6vw, 5.1rem);
    line-height: 0.99;
    letter-spacing: -0.04em;
    color: #fff;
}

.hero__title span {
    display: block;
    overflow: hidden;
}

.hero__title span > span {
    display: block;
    transform: translateY(105%);
    animation: line-up 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__title span:nth-child(1) > span {
    animation-delay: 0.12s;
}

.hero__title span:nth-child(2) > span {
    animation-delay: 0.22s;
}

.hero__title span:nth-child(3) > span {
    animation-delay: 0.32s;
}

@keyframes line-up {
    to {
        transform: none;
    }
}

.hero__title em {
    font-style: normal;
    color: #9fd0f5;
}

.hero__lead {
    max-width: 50ch;
    margin-top: 22px;
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.82);
    opacity: 0;
    animation: soft-in 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    opacity: 0;
    animation: soft-in 0.9s 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes soft-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Stats panel — the v1 signature, in glass over the v5 hero */
.hero__panel {
    position: relative;
    padding: 24px 26px 26px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-card);
    background: rgba(6, 26, 38, 0.44);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(4, 18, 26, 0.28);
    opacity: 0;
    animation: soft-in 1s 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__panel-title {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

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

.hero__stat {
    padding: 16px 0 4px;
}

.hero__stat:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat:nth-child(even) {
    padding-left: 18px;
}

.hero__stat:nth-child(n + 3) {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.2vw, 1.95rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.hero__stat span {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------------------------------------------------------------
   Partner marquee
   --------------------------------------------------------------- */
.marquee {
    position: relative;
    padding-block: 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.marquee__inner {
    display: flex;
    align-items: center;
    gap: 36px;
}

.marquee__label {
    flex: none;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.marquee__viewport {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 42s linear infinite;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(38px, 5vw, 72px);
    padding-right: clamp(38px, 5vw, 72px);
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__track img {
    width: auto;
    height: auto;
    max-width: 170px;
    max-height: 30px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.marquee__track a:hover img {
    filter: none;
    opacity: 1;
}

@keyframes marquee {
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ---------------------------------------------------------------
   Service cards
   --------------------------------------------------------------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.service-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--navy-800);
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.service-card:hover .service-card__media img {
    transform: scale(1.055);
}

.service-card__num {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 26px;
    padding-inline: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px 24px;
}

.service-card__body h3 {
    margin-bottom: 9px;
    font-size: 1.24rem;
    line-height: 1.18;
}

.service-card__body h3 a {
    transition: color 0.2s ease;
}

.service-card__body h3 a:hover {
    color: var(--blue-700);
}

.service-card__body p {
    margin-bottom: 18px;
    font-size: 13.5px;
    line-height: 1.62;
    color: var(--muted);
}

.service-card__body .link-arrow {
    margin-top: auto;
    font-size: 13px;
}

.service-card--cta {
    justify-content: flex-start;
    padding: 26px 24px;
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: rgba(255, 255, 255, 0.74);
}

.service-card--cta:hover {
    border-color: var(--navy-700);
    transform: translateY(-5px);
}

.service-card--cta h3 {
    margin: 16px 0 12px;
    font-size: 1.3rem;
    line-height: 1.24;
    color: #fff;
}

.service-card--cta p {
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.7);
}

.service-card--cta .btn {
    margin-top: auto;
}

/* ---------------------------------------------------------------
   About
   --------------------------------------------------------------- */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(40px, 7vw, 92px);
}

.about__media {
    position: relative;
    padding-bottom: 30px;
}

.about__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 4.7;
    border-radius: var(--r-photo);
    background: var(--paper-2);
}

.about__frame img {
    position: absolute;
    top: -6%;
    left: 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center 30%;
    will-change: transform;
}

.about__badge {
    position: absolute;
    right: 16px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 300px;
    padding: 20px 24px;
    background: #fff;
    border-left: 3px solid var(--blue-600);
    border-radius: 0 var(--r-card) var(--r-card) 0;
    box-shadow: var(--shadow-md);
}

.about__badge strong {
    font-family: var(--font-display);
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--navy-900);
}

.about__badge span {
    max-width: 140px;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.about__body h2 {
    margin-top: 14px;
    margin-bottom: 20px;
    max-width: 18ch;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.04;
    text-wrap: balance;
}

.about__lead {
    max-width: 58ch;
    margin-bottom: 28px;
    font-size: 15.5px;
    line-height: 1.75;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin-bottom: 32px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.checklist__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
}

.checklist__icon .icon {
    width: 12px;
    height: 12px;
    stroke-width: 2.4;
}

.about__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

/* ---------------------------------------------------------------
   24/7 response band
   --------------------------------------------------------------- */
.response {
    position: relative;
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 108px);
    background: var(--navy-900);
    color: #fff;
}

.response__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 78%);
    pointer-events: none;
    animation: response-grid-move 12s linear infinite;
}

@keyframes response-grid-move {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 64px 64px, 64px 64px;
    }
}

/* Sonar pulse rings — bright, expanding circles */
.response__grid-bg::before,
.response__grid-bg::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 65%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(21, 133, 216, 0.35);
    box-shadow: 0 0 24px rgba(21, 133, 216, 0.15), inset 0 0 24px rgba(21, 133, 216, 0.08);
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0;
    animation: response-sonar-pulse 3s ease-out infinite;
    pointer-events: none;
}

.response__grid-bg::after {
    animation-delay: 1.5s;
}

@keyframes response-sonar-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.05);
        opacity: 0;
        border-color: rgba(21, 133, 216, 0.6);
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
        border-color: rgba(21, 133, 216, 0.02);
    }
}

/* Horizontal scan line — moves left to right, then right to left (oscillates) */
.response .shell::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20%;
    width: 15%;
    background: linear-gradient(90deg, transparent, rgba(21, 133, 216, 0.08), transparent);
    filter: blur(6px);
    animation: response-scan 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes response-scan {
    0% {
        left: -20%;
    }
    100% {
        left: 105%;
    }
}

.response__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.response__intro h2 {
    max-width: 20ch;
    margin-top: 14px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.06;
    color: #fff;
    text-wrap: balance;
}

.response__intro > p {
    max-width: 48ch;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.72);
}

.response__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.response__phone-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    color: #9fd0f5;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.response__phone:hover .response__phone-icon {
    background: rgba(159, 208, 245, 0.14);
    border-color: #9fd0f5;
}

.response__phone span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.response__phone small {
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.response__steps {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.response__steps li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.response__step-num {
    padding-top: 3px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #9fd0f5;
}

.response__steps h3 {
    font-size: 1.06rem;
    color: #fff;
}

.response__steps p {
    max-width: 46ch;
    margin-top: 7px;
    font-size: 13.5px;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.68);
}

/* ---------------------------------------------------------------
   Quality cards
   --------------------------------------------------------------- */
.quality__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.quality-card {
    padding: 28px 26px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.quality-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
}

.quality-card__icon .icon {
    width: 21px;
    height: 21px;
}

.quality-card h3 {
    margin: 18px 0 9px;
    font-size: 1.1rem;
}

.quality-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

/* ---------------------------------------------------------------
   Work gallery
   --------------------------------------------------------------- */
.work__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(26px, 3.4vw, 40px);
}

.work__head h2 {
    max-width: 20ch;
    margin-top: 12px;
}

.work__nav {
    display: flex;
    gap: 10px;
    flex: none;
}

.work__btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--navy-800);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.work__btn:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}

.work__btn:disabled {
    opacity: 0.35;
    cursor: default;
    background: #fff;
    border-color: var(--line-strong);
    color: var(--navy-800);
}

.work__btn .icon {
    width: 17px;
    height: 17px;
}

.work__btn--prev .icon {
    transform: rotate(180deg);
}

.work__track {
    display: flex;
    gap: 18px;
    padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.work__track::-webkit-scrollbar {
    display: none;
}

.work__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.work__card {
    position: relative;
    flex: 0 0 min(64vw, 520px);
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-photo);
    scroll-snap-align: start;
    background: var(--paper-2);
}

.work__card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    transition: filter 0.4s ease;
    pointer-events: none;
}

.work__card:hover img {
    filter: brightness(1.04);
}

.work__card figcaption {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 60px 24px 22px;
    background: linear-gradient(180deg, rgba(4, 18, 26, 0) 0%, rgba(4, 18, 26, 0.82) 100%);
    color: #fff;
}

.work__tag {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9fd0f5;
}

.work__title {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

.work__card figcaption .icon {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------------------------------------------------------------
   Contact
   --------------------------------------------------------------- */
.contact {
    position: relative;
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 108px);
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.76);
}

.contact::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: -30%;
    width: 52vw;
    height: 52vw;
    max-width: 720px;
    max-height: 720px;
    background: radial-gradient(circle, rgba(21, 133, 216, 0.18) 0%, rgba(21, 133, 216, 0) 68%);
    pointer-events: none;
}

.contact__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact__intro h2 {
    max-width: 16ch;
    margin-top: 14px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.05;
    color: #fff;
    text-wrap: balance;
}

.contact__intro > p {
    max-width: 46ch;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.7);
}

.contact-list {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #9fd0f5;
}

.contact-list__icon .icon {
    width: 16px;
    height: 16px;
}

.contact-list small {
    display: block;
    margin-bottom: 2px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.contact-list a,
.contact-list span {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.contact-list a:hover {
    color: #9fd0f5;
}

.contact__intro .btn--whatsapp {
    margin-top: 26px;
}

.contact__form-wrap {
    padding: clamp(24px, 3vw, 36px);
    background: #fff;
    border-radius: var(--r-photo);
    box-shadow: 0 30px 70px rgba(4, 18, 26, 0.28);
}

.contact-form__title {
    font-size: clamp(1.25rem, 1.7vw, 1.45rem);
    color: var(--navy-900);
}

.contact-form__sub {
    margin: 6px 0 22px;
    font-size: 12.5px;
    color: var(--muted);
}

.contact-form .field {
    margin-bottom: 14px;
}

.contact-form .field label {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-800);
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
    min-height: 46px;
    font-size: 14px;
}

.contact-form .field textarea {
    min-height: 108px;
}

.contact-form__submit {
    width: 100%;
    margin-top: 4px;
}

.contact-form__privacy {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted);
    text-align: center;
}

.contact .form-note {
    margin-bottom: 18px;
}

/* ---------------------------------------------------------------
   Scroll animation primitives
   --------------------------------------------------------------- */
[data-anim] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

[data-anim="left"] {
    transform: translateX(-28px);
}

[data-anim="right"] {
    transform: translateX(28px);
}

[data-anim].in {
    opacity: 1;
    transform: none;
}

/* Sections that host horizontal reveal offsets */
.about {
    overflow: clip;
}

@media (max-width: 1180px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

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

@media (max-width: 1023px) {
    .hero {
        min-height: 0;
        padding-block: clamp(56px, 9vw, 84px);
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 36px;
    }

    .hero__panel {
        max-width: 560px;
    }

    .about__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .about__frame {
        aspect-ratio: 4 / 3.4;
    }

    .about__media {
        max-width: 560px;
    }

    .response__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .quality__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

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

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

    .topbar__group--secondary {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }
}

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

    .work__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

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

@media (max-width: 560px) {
    .hero__title {
        font-size: clamp(2.3rem, 10.5vw, 3rem);
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .about__badge {
        right: 0;
        padding: 16px 18px;
    }

    .about__badge strong {
        font-size: 2.1rem;
    }

    .about__badge span {
        font-size: 9.5px;
    }

    .work__card {
        flex-basis: 84vw;
    }

    .work__nav {
        display: none;
    }

    .contact-list {
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .response__grid-bg,
    .response__grid-bg::before,
    .response__grid-bg::after,
    .response .shell::before {
        animation: none;
    }
    .hero__img,
    .hero__eyebrow::before,
    .hero__title span > span,
    .hero__lead,
    .hero__actions,
    .hero__panel,
    .marquee__track,
    .pulse-dot {
        animation: none !important;
    }

    .hero__title span > span {
        transform: none;
    }

    .hero__eyebrow::before {
        width: 40px;
    }

    .hero__lead,
    .hero__actions,
    .hero__panel {
        opacity: 1;
        transform: none;
    }

    [data-anim] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero__media,
    .about__frame img {
        transform: none !important;
    }
}
