@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --navy: #282973;
    --navy-dark: #17184f;
    --navy-deep: #10113d;
    --orange: #ed4a24;
    --gold: #faa41c;
    --ink: #17181d;
    --muted: #5d6070;
    --line: #dedfe5;
    --surface: #f5f5f7;
    --warm-surface: #fff8ed;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(20, 22, 61, 0.14);
    --shadow-lg: 0 24px 56px rgba(20, 22, 61, 0.18);
    --shell: min(1320px, calc(100% - 8vw));
    --transition: 220ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--white);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Manrope", Arial, sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
    transform: translateY(-140%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.section-shell {
    width: var(--shell);
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 100;
    min-height: 64px;
    background: var(--white);
    border-bottom: 1px solid rgba(23, 24, 29, 0.09);
}

.site-header.is-stuck {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 18px rgba(20, 22, 61, 0.08);
}

.nav-shell {
    position: relative;
    width: min(1420px, calc(100% - 5vw));
    min-height: 64px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 54px;
    height: 44px;
    object-fit: cover;
    border-radius: 4px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.06;
}

.brand-copy strong {
    color: var(--navy);
    font-size: 18px;
    letter-spacing: -0.02em;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.primary-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    display: flex;
    align-items: stretch;
    gap: 2px;
    transform: translateX(-50%);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: #34353c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 12px;
    left: 13px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
}

.services-nav-link {
    padding-right: 5px;
}

.dropdown-caret {
    width: 28px;
    padding: 0 8px 0 2px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #34353c;
    cursor: pointer;
}

.dropdown-caret svg {
    display: block;
    transition: transform var(--transition);
}

.nav-dropdown.is-open .dropdown-caret svg {
    transform: rotate(180deg);
}

.dropdown-caret:hover,
.dropdown-caret:focus-visible {
    color: var(--orange-dark);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: -12px;
    width: 360px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: grid;
    gap: 2px;
    padding: 13px 14px;
    border-left: 3px solid transparent;
    transition:
        background var(--transition),
        border-color var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: var(--warm-surface);
    border-left-color: var(--orange);
}

.dropdown-menu strong {
    color: var(--navy);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dropdown-menu span {
    color: var(--muted);
    font-size: 12px;
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.text-action {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #464852;
    font-size: 13px;
}

.text-action:hover,
.text-action:focus-visible {
    color: var(--navy);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 2px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.header-cta {
    min-height: 40px;
    padding-inline: 16px;
    color: var(--white);
    background: var(--navy);
    font-size: 13px;
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
    background: var(--navy-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
    position: relative;
    display: block;
    width: 23px;
    height: 2px;
    margin-inline: auto;
    background: var(--navy);
    transition: transform var(--transition);
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-lines::before {
    top: -7px;
}

.menu-toggle-lines::after {
    top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: clamp(600px, 42vw, 720px);
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-slides {
    position: relative;
    min-height: clamp(600px, 42vw, 720px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: clamp(600px, 42vw, 720px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition:
        opacity 500ms ease,
        visibility 500ms ease,
        transform 500ms ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 42, 0.06) 0%, transparent 42%, rgba(10, 11, 42, 0.48) 100%),
        linear-gradient(0deg, rgba(10, 11, 42, 0.2), transparent 32%);
    pointer-events: none;
}

.hero-slide--image-only .hero-media::after {
    display: none;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-media-accent {
    display: none;
}

.hero-copy {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: clamp(34px, 6vw, 116px);
    width: min(540px, calc(100% - 68px));
    padding: clamp(34px, 4vw, 54px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-top: 5px solid var(--orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}

.hero-slide--artwork .hero-copy {
    color: var(--white);
    background: rgba(12, 13, 47, 0.88);
    border-top-color: var(--gold);
}

.hero-slide--artwork .hero-copy h1,
.hero-slide--artwork .hero-copy p {
    color: var(--white);
}

.hero-slide--artwork .hero-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.hero-slide--artwork .button-link {
    color: var(--white);
}

.hero-slide--artwork .button-link:hover,
.hero-slide--artwork .button-link:focus-visible {
    color: var(--gold);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow-warm {
    color: #c63b19;
}

.eyebrow-light {
    color: #ffd079;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 650px;
    margin-bottom: 22px;
    color: var(--navy-deep);
    font-size: clamp(38px, 3.8vw, 56px);
    font-weight: 700;
}

.hero-copy p {
    max-width: 620px;
    margin-bottom: 28px;
    color: #444650;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button-primary {
    color: var(--white);
    background: var(--navy);
}

.button-link {
    padding-inline: 12px;
    color: var(--navy);
}

.button-link:hover,
.button-link:focus-visible {
    color: var(--orange);
}

.button-link span,
.card-action span {
    font-size: 1.35em;
    transition: transform var(--transition);
}

.button-link:hover span,
.button-link:focus-visible span,
.card-action:hover span,
.card-action:focus-visible span {
    transform: translateX(3px);
}

.quick-links {
    padding-block: 58px 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.quick-links a:hover .quick-icon,
.quick-links a:focus-visible .quick-icon {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(40, 41, 115, 0.18);
}

.quick-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 4px;
    text-decoration: none;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.quick-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.quick-icon-orange {
    background: linear-gradient(135deg, var(--orange), var(--gold));
}

.services {
    padding-block: 58px 104px;
}

.section-heading {
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    align-items: end;
    gap: 8vw;
}

.section-heading h2,
.it-feature-card h2,
.promise h2,
.about h2,
.contact h2 {
    margin-bottom: 0;
    color: var(--navy-deep);
    font-size: clamp(34px, 4vw, 54px);
}

.section-heading p {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 17px;
}

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

.service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 3px 12px rgba(20, 22, 61, 0.09);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

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

.service-image {
    position: relative;
    height: 214px;
    overflow: hidden;
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(16, 17, 61, 0.28));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.service-badge {
    position: absolute;
    z-index: 1;
    bottom: 12px;
    left: 12px;
    padding: 7px 10px;
    color: var(--white);
    background: var(--navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-badge-orange {
    background: var(--orange);
}

.service-card-body {
    position: relative;
    padding: 25px 24px 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.service-number {
    position: absolute;
    top: 23px;
    right: 22px;
    color: #d7d8e1;
    font-size: 14px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 13px;
    padding-right: 30px;
    color: var(--navy-deep);
    font-size: 28px;
}

.service-card p {
    margin-bottom: 25px;
    color: var(--muted);
}

.card-action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    color: var(--white);
    background: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.card-action:hover,
.card-action:focus-visible {
    background: var(--navy-dark);
}

.it-feature {
    position: relative;
    min-height: 600px;
    margin-bottom: 58px;
    display: flex;
    align-items: center;
}

.it-feature-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.it-feature-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 17, 61, 0.18), rgba(16, 17, 61, 0.04) 58%, rgba(16, 17, 61, 0.16));
}

.it-feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.it-feature-card {
    position: relative;
    z-index: 1;
    width: min(580px, 46%);
    margin-right: auto;
    margin-left: clamp(24px, 4vw, 58px);
    padding: clamp(32px, 3vw, 42px);
    background: rgba(255, 255, 255, 0.97);
    border-top: 4px solid var(--orange);
    border-radius: 24px 2px 2px 2px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.it-feature-card h2 {
    margin-bottom: 17px;
    font-size: clamp(34px, 3vw, 44px);
}

.it-feature-card > p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 17px;
}

.check-list {
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 27px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--orange);
    font-weight: 900;
}

.promise {
    padding-block: 102px;
    color: var(--white);
    background:
        radial-gradient(circle at 8% 2%, rgba(250, 164, 28, 0.25), transparent 31%),
        linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.promise-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
    gap: 8vw;
}

.promise-copy {
    align-self: center;
}

.promise h2 {
    margin-bottom: 22px;
    color: var(--white);
}

.promise-copy p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
    color: var(--white);
    background: var(--orange);
}

.promise-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.promise-point {
    min-height: 230px;
    padding: 30px;
    background: rgba(26, 27, 83, 0.82);
    transition: background var(--transition);
}

.promise-point:hover {
    background: rgba(237, 74, 36, 0.94);
}

.promise-point > span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.promise-point:hover > span {
    color: var(--white);
}

.promise-point h3 {
    margin: 34px 0 12px;
    font-size: 25px;
}

.promise-point p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
}

.about {
    padding-block: 110px;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 8vw;
}

.about-logo {
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.about-logo img {
    width: min(74%, 390px);
    height: auto;
    max-height: none;
    object-fit: contain;
    mix-blend-mode: normal;
}

.about-copy h2 {
    margin-bottom: 23px;
}

.about-copy > p {
    color: var(--muted);
    font-size: 17px;
}

.about-values {
    margin-top: 28px;
    margin-bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.about-values span {
    padding: 8px 12px;
    color: var(--navy);
    background: var(--surface);
    border-left: 3px solid var(--orange);
    font-size: 13px;
    font-weight: 700;
}

.contact {
    position: relative;
    padding-block: 90px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(16, 17, 61, 0.97), rgba(40, 41, 115, 0.9)),
        url("../images/fonewave.webp") center / cover;
}

.contact::before {
    content: "";
    position: absolute;
    top: -70px;
    right: 5%;
    width: 190px;
    height: 190px;
    border: 24px solid rgba(250, 164, 28, 0.55);
    border-radius: 50%;
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 8vw;
}

.contact h2 {
    margin-bottom: 19px;
    color: var(--white);
    font-size: clamp(40px, 5vw, 68px);
}

.contact-copy > p {
    max-width: 680px;
    margin-bottom: 29px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.button-accent {
    color: var(--white);
    background: var(--orange);
}

.button-accent:hover,
.button-accent:focus-visible {
    color: var(--navy-deep);
    background: var(--gold);
}

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

.button-outline-light:hover,
.button-outline-light:focus-visible {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.contact-card {
    margin: 0;
    padding: 34px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    font-style: normal;
}

.contact-card-label {
    display: block;
    margin-bottom: 8px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 19px;
}

.contact-card p {
    margin-bottom: 23px;
    color: var(--muted);
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.site-footer {
    padding-top: 62px;
    color: #c8c9d2;
    background: #0c0d2f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 7vw;
}

.brand-footer .brand-mark {
    border: 4px solid var(--white);
}

.brand-footer .brand-copy strong {
    color: var(--white);
}

.footer-brand > p {
    margin: 22px 0 0;
    color: #a9aabd;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-column h2 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 16px;
    letter-spacing: 0;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: var(--gold);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 54px;
    padding-block: 23px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #8f90a3;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    z-index: 50;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    min-height: 42px;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    color: var(--ink);
    background: #e5e5e8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition),
        background var(--transition);
}

.sticky-whatsapp {
    position: fixed;
    z-index: 51;
    right: 18px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--white);
    background: #1f9d55;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(8, 55, 31, 0.28);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition:
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.sticky-whatsapp img {
    width: 23px;
    height: 23px;
    filter: brightness(0) invert(1);
}

.sticky-whatsapp:hover,
.sticky-whatsapp:focus-visible {
    color: var(--white);
    background: #167a41;
    box-shadow: 0 14px 32px rgba(8, 55, 31, 0.34);
    transform: translateY(-2px);
}

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

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--white);
    background: var(--navy);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 650ms ease,
        transform 650ms ease;
}

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

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (hover: hover) and (min-width: 1025px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    :root {
        --shell: min(1080px, calc(100% - 6vw));
    }

    .nav-shell {
        gap: 15px;
    }

    .brand-copy small,
    .text-action span:last-child {
        display: none;
    }

    .primary-nav {
        gap: 0;
    }

    .nav-link {
        padding-inline: 10px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .service-image {
        height: 260px;
    }

    .promise-grid {
        grid-template-columns: 0.82fr 1.18fr;
        gap: 5vw;
    }
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .nav-shell {
        min-height: 62px;
    }

    .brand-copy small {
        display: block;
    }

    .menu-toggle {
        margin-left: auto;
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 62px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 18px 5vw 40px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        background: var(--white);
        transform: none;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .nav-link {
        min-height: 52px;
        padding-inline: 8px;
        justify-content: space-between;
        border-bottom: 1px solid var(--line);
        font-size: 17px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-dropdown {
        display: grid;
        grid-template-columns: 1fr 52px;
    }

    .services-nav-link {
        width: 100%;
        padding-right: 8px;
        justify-content: flex-start;
    }

    .dropdown-caret {
        width: 52px;
        padding: 0;
        border-bottom: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .dropdown-menu {
        grid-column: 1 / -1;
        position: static;
        width: 100%;
        display: none;
        padding: 7px 0 10px 12px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .hero,
    .hero-slides,
    .hero-slide {
        min-height: 900px;
    }

    .hero-media {
        min-height: 0;
    }

    .hero-media img {
        min-height: 0;
    }

    .hero-media::after {
        background: linear-gradient(180deg, transparent 42%, rgba(10, 11, 42, 0.82) 100%);
    }

    .hero-copy {
        top: auto;
        right: 6vw;
        bottom: 88px;
        left: 6vw;
        width: auto;
        padding: 40px;
        transform: none;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(38px, 7vw, 52px);
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 20px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .it-feature {
        min-height: auto;
        padding-top: 370px;
        background: var(--surface);
    }

    .it-feature-visual {
        height: 430px;
    }

    .it-feature-card {
        width: calc(100% - 8vw);
        margin: 0 auto 30px;
    }

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

    .promise-copy {
        max-width: 680px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .about-logo {
        max-width: 650px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-card {
        max-width: 580px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 46px;
    }
}

@media (max-width: 620px) {
    :root {
        --shell: calc(100% - 34px);
    }

    .nav-shell {
        width: calc(100% - 26px);
    }

    .brand-mark {
        width: 48px;
        height: 39px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        font-size: 9px;
    }

    .hero,
    .hero-slides,
    .hero-slide {
        min-height: 820px;
    }

    .hero-media,
    .hero-media img {
        min-height: 0;
    }

    .hero-copy {
        right: 17px;
        bottom: 82px;
        left: 17px;
        width: auto;
        padding: 30px 24px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-copy p {
        font-size: 16px;
    }

    .button-row {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .quick-links {
        padding-block: 45px;
    }

    .quick-icon {
        width: 52px;
        height: 52px;
        font-size: 11px;
    }

    .services {
        padding-block: 42px 80px;
    }

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

    .service-image {
        height: 230px;
    }

    .it-feature {
        width: 100%;
        margin-bottom: 0;
        padding-top: 300px;
    }

    .it-feature-visual {
        height: 330px;
    }

    .it-feature-card {
        width: calc(100% - 34px);
        padding: 30px 24px;
    }

    .promise {
        padding-block: 78px;
    }

    .promise-points {
        grid-template-columns: 1fr;
    }

    .promise-point {
        min-height: auto;
    }

    .promise-point h3 {
        margin-top: 24px;
    }

    .about {
        padding-block: 78px;
    }

    .about-logo {
        padding: 0;
    }

    .contact {
        padding-block: 76px;
    }

    .contact::before {
        top: -45px;
        right: -45px;
        width: 120px;
        height: 120px;
        border-width: 16px;
    }

    .contact-card {
        padding: 28px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .back-to-top span:last-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Internal pages */
.page-hero {
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: var(--navy-deep);
    overflow: hidden;
}

.page-hero-media {
    position: absolute;
    inset: 0;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 42, 0.97) 0%, rgba(10, 11, 42, 0.82) 48%, rgba(10, 11, 42, 0.3) 100%),
        linear-gradient(0deg, rgba(10, 11, 42, 0.35), transparent 42%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: none;
    padding-block: 90px;
}

.breadcrumb {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--gold);
}

.page-hero h1 {
    max-width: 780px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(46px, 6vw, 78px);
}

.page-hero-content > p {
    max-width: 700px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(18px, 2vw, 22px);
}

.page-section {
    padding-block: 96px;
}

.page-section-muted {
    background: var(--surface);
}

.page-section-warm {
    background: var(--warm-surface);
}

.page-heading {
    max-width: 820px;
    margin-bottom: 42px;
}

.page-heading h2,
.split-content h2,
.page-cta h2 {
    margin-bottom: 20px;
    color: var(--navy-deep);
    font-size: clamp(34px, 4vw, 54px);
}

.page-heading p,
.split-content p {
    color: var(--muted);
    font-size: 17px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 8vw;
}

.split-layout-reverse .split-visual {
    order: 2;
}

.split-visual {
    min-height: 480px;
    overflow: hidden;
    background: var(--surface);
}

.split-visual img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.split-visual-logo {
    display: grid;
    place-items: center;
    background: transparent;
}

.split-visual-logo img {
    width: min(74%, 430px);
    height: auto;
    min-height: 0;
    object-fit: contain;
}

.content-lead {
    margin-bottom: 22px;
    color: var(--ink) !important;
    font-size: 20px !important;
    line-height: 1.55;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

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

.feature-tile {
    min-height: 240px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--navy);
    box-shadow: 0 4px 15px rgba(20, 22, 61, 0.07);
}

.feature-tile:nth-child(even) {
    border-top-color: var(--orange);
}

.feature-kicker {
    margin-bottom: 28px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.feature-tile:nth-child(even) .feature-icon {
    background: var(--orange);
}

.feature-tile:hover .feature-icon {
    color: var(--navy-deep);
    background: var(--gold);
    transform: translateY(-3px);
}

.feature-tile h3 {
    margin-bottom: 13px;
    color: var(--navy-deep);
    font-size: 25px;
}

.feature-tile p {
    margin-bottom: 0;
    color: var(--muted);
}

.service-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-page-card {
    position: relative;
    min-height: 390px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
    overflow: hidden;
}

.service-page-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.service-page-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 42, 0.06), rgba(10, 11, 42, 0.95));
}

.service-page-card:hover > img {
    transform: scale(1.04);
}

.service-page-card-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    padding: 12px;
    display: block;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 3px solid var(--orange);
}

.service-page-card h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 36px;
}

.service-page-card p {
    color: rgba(255, 255, 255, 0.78);
}

.service-page-card .card-action {
    background: var(--orange);
}

.service-page-card .card-action:hover,
.service-page-card .card-action:focus-visible {
    color: var(--navy);
    background: var(--gold);
}

.detail-list {
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    list-style: none;
}

.detail-list li {
    position: relative;
    padding: 12px 12px 12px 31px;
    color: #444650;
    border-bottom: 1px solid var(--line);
}

.detail-list li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: var(--orange);
    font-weight: 900;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.process-step {
    min-height: 260px;
    padding: 30px;
    background: var(--white);
}

.process-number {
    display: block;
    margin-bottom: 48px;
    color: var(--orange);
    font-size: 15px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 13px;
    color: var(--navy-deep);
    font-size: 23px;
}

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

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    min-height: 245px;
    padding: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(250, 164, 28, 0.18), transparent 35%),
        var(--white);
    border: 1px solid var(--line);
}

.category-card > span {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 34px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    font-size: 13px;
    font-weight: 900;
}

.category-card > .category-icon {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.category-card:hover > .category-icon {
    color: var(--navy-deep);
    background: var(--gold);
    transform: translateY(-3px);
}

.category-card h3 {
    margin-bottom: 13px;
    color: var(--navy-deep);
    font-size: 24px;
}

.category-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.page-cta {
    padding-block: 82px;
    color: var(--white);
    background:
        radial-gradient(circle at 92% 0%, rgba(250, 164, 28, 0.24), transparent 28%),
        linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.page-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6vw;
}

.page-cta h2 {
    margin-bottom: 14px;
    color: var(--white);
}

.page-cta p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

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

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mission-card {
    min-height: 320px;
    padding: clamp(34px, 5vw, 58px);
    color: var(--white);
    background: var(--navy);
}

.mission-card:nth-child(2) {
    color: var(--ink);
    background: var(--warm-surface);
    border: 1px solid #f3ddbd;
}

.mission-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 32px;
    display: grid;
    place-items: center;
    color: var(--navy-deep);
    background: var(--gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.mission-card:nth-child(2) .mission-icon {
    color: var(--white);
    background: var(--navy);
}

.mission-card h2 {
    margin-bottom: 24px;
    color: inherit;
    font-size: clamp(36px, 4vw, 52px);
}

.mission-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.77);
    font-size: 18px;
}

.mission-card:nth-child(2) p {
    color: var(--muted);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 23px 45px 23px 0;
    color: var(--navy-deep);
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 19px;
    right: 8px;
    color: var(--orange);
    font-size: 26px;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 820px;
    padding: 0 0 23px;
    color: var(--muted);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: 7vw;
}

.contact-methods {
    display: grid;
    gap: 14px;
}

.contact-method {
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    color: var(--ink);
    background: var(--surface);
    border-left: 4px solid var(--navy);
}

.contact-method:nth-child(even) {
    border-left-color: var(--orange);
}

.contact-method-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    font-weight: 800;
}

.contact-method strong,
.contact-method span {
    display: block;
}

.contact-method .contact-method-icon {
    display: grid;
}

.contact-method strong {
    margin-bottom: 4px;
    color: var(--navy-deep);
}

.contact-method span {
    color: var(--muted);
}

.contact-method-email a {
    display: block;
    width: fit-content;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-method-email a + a {
    margin-top: 4px;
}

.contact-method-email a:hover,
.contact-method-email a:focus-visible {
    color: var(--orange);
    text-decoration: underline;
}

.enquiry-form {
    padding: clamp(28px, 5vw, 52px);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.enquiry-form h2 {
    margin-bottom: 10px;
    color: var(--navy-deep);
    font-size: 36px;
}

.enquiry-form > p {
    margin-bottom: 28px;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--navy-deep);
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #b8bac4;
    border-radius: 0;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--navy);
    outline: 3px solid rgba(250, 164, 28, 0.32);
}

.form-status {
    margin-bottom: 22px;
    padding: 16px;
    color: var(--navy-deep);
    background: #fff4de;
    border-left: 4px solid var(--gold);
}

.form-errors {
    margin: 0;
    padding-left: 20px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-links a {
    padding: 10px 13px;
    color: var(--navy);
    background: var(--surface);
    border-left: 3px solid var(--orange);
    font-size: 14px;
    font-weight: 700;
}

.related-links a:hover,
.related-links a:focus-visible {
    color: var(--white);
    background: var(--navy);
}

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

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

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

@media (max-width: 820px) {
    .page-hero {
        min-height: 500px;
    }

    .page-hero-content {
        padding-block: 74px;
    }

    .page-hero-media::after {
        background: rgba(10, 11, 42, 0.78);
    }

    .split-layout,
    .contact-page-grid,
    .page-cta-grid {
        grid-template-columns: 1fr;
    }

    .split-layout-reverse .split-visual {
        order: 0;
    }

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

    .page-cta-actions {
        margin-top: 10px;
    }
}

@media (max-width: 620px) {
    .page-section {
        padding-block: 72px;
    }

    .page-hero {
        min-height: 480px;
    }

    .page-hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .split-visual,
    .split-visual img {
        min-height: 330px;
    }

    .split-visual-logo,
    .split-visual-logo img {
        min-height: 0;
    }

    .feature-grid,
    .feature-grid-four,
    .category-grid,
    .mission-grid,
    .process-grid,
    .detail-list,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .feature-tile,
    .process-step,
    .category-card {
        min-height: 0;
    }

    .feature-kicker,
    .process-number {
        margin-bottom: 25px;
    }

    .service-page-card {
        min-height: 360px;
        padding: 26px;
    }

    .form-field-full {
        grid-column: auto;
    }

    .contact-method {
        grid-template-columns: 40px 1fr;
        padding: 20px;
    }

    .sticky-whatsapp {
        width: 52px;
        height: 52px;
        min-height: 52px;
        padding: 0;
    }

    .sticky-whatsapp span {
        display: none;
    }
}

/* Premium Migo design layer */
.brand-copy strong,
.nav-link,
.dropdown-menu strong,
.header-cta,
.button,
.eyebrow,
.card-action {
    font-family: "Manrope", Arial, sans-serif;
}

.mobile-nav-actions,
.hero-mobile-copy {
    display: none;
}

.hero-media picture {
    position: absolute;
    inset: 0;
    display: block;
}

.hero {
    min-height: clamp(540px, 42vw, 680px);
}

.hero-slides,
.hero-slide {
    min-height: clamp(540px, 42vw, 680px);
}

.quick-links {
    padding-block: 46px 42px;
}

.services {
    padding-block: 52px 90px;
}

.service-card,
.service-page-card,
.feature-tile,
.category-card,
.mission-card,
.contact-method,
.enquiry-form,
.it-feature-card,
.contact-card {
    border-radius: 2px 24px 2px 2px;
}

.service-card,
.service-page-card,
.feature-tile,
.category-card {
    overflow: hidden;
}

.service-number {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    padding: 9px;
    display: grid;
    place-items: center;
    background: var(--warm-surface);
    border-radius: 50%;
}

.service-number img {
    width: 24px;
    height: 24px;
}

.feature-icon img,
.category-icon img,
.mission-icon img,
.contact-method-icon img {
    width: 23px;
    height: 23px;
    filter: brightness(0) invert(1);
}

.mission-icon img {
    width: 27px;
    height: 27px;
    filter: brightness(0) saturate(100%) invert(10%) sepia(54%) saturate(3721%) hue-rotate(231deg) brightness(70%);
}

.mission-card:nth-child(2) .mission-icon img {
    filter: brightness(0) invert(1);
}

.feature-tile,
.category-card {
    position: relative;
    border-top: 0;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.feature-tile::before,
.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0 62%, var(--orange) 62% 82%, var(--gold) 82%);
}

.feature-tile:hover,
.category-card:hover {
    transform: translateY(-4px);
    border-color: #cfd0dc;
    box-shadow: var(--shadow);
}

.feature-tile:nth-child(even) {
    border-top: 0;
}

.promise,
.page-section-warm,
.contact,
.site-footer {
    position: relative;
    overflow: hidden;
}

.promise::after,
.page-section-warm::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(760px, 72vw);
    height: 230px;
    border: 3px solid rgba(250, 164, 28, 0.18);
    border-left-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    transform: rotate(-9deg);
}

.promise::after {
    right: -180px;
    bottom: -130px;
}

.page-section-warm::after {
    right: -240px;
    bottom: -165px;
    border-color: rgba(237, 74, 36, 0.12);
    border-left-color: transparent;
}

.promise > *,
.page-section-warm > *,
.contact > * {
    position: relative;
    z-index: 1;
}

.page-heading {
    position: relative;
    padding-top: 18px;
}

.page-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    border-radius: 0 100% 100% 0;
}

.page-section {
    padding-block: 84px;
}

.page-hero {
    min-height: 500px;
}

.page-hero-content {
    padding-block: 74px;
}

.page-hero h1 {
    font-size: clamp(44px, 5.2vw, 70px);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--gold) 36%, var(--navy) 76%);
}

.contact {
    overflow: hidden;
}

.js .reveal {
    opacity: 0;
    transform: translateY(20px);
}

.reveal,
.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .mobile-nav-actions {
        margin-top: 26px;
        padding: 26px 8px 10px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mobile-nav-actions .header-cta {
        grid-column: 1 / -1;
        min-height: 48px;
        margin-bottom: 4px;
        color: var(--white);
    }

    .mobile-nav-actions > a:not(.header-cta) {
        min-height: 44px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--navy);
        background: var(--surface);
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-nav-actions img,
    .text-action img {
        filter: brightness(0) saturate(100%) invert(16%) sepia(49%) saturate(2304%) hue-rotate(224deg) brightness(86%);
    }

    .hero,
    .hero-slides,
    .hero-slide {
        min-height: 680px;
    }
}

@media (max-width: 620px) {
    .hero,
    .hero-slides,
    .hero-slide {
        min-height: 650px;
    }

    .hero-slide--image-only .hero-media::after {
        display: block;
        background:
            linear-gradient(180deg, rgba(8, 9, 40, 0.18) 0%, rgba(8, 9, 40, 0.04) 44%, rgba(8, 9, 40, 0.28) 100%);
    }

    .hero-media img {
        object-position: center;
    }

    .hero-mobile-copy {
        position: absolute;
        z-index: 2;
        top: 62px;
        right: 24px;
        left: 24px;
        display: block;
        color: var(--white);
    }

    .hero-mobile-copy .eyebrow {
        margin-bottom: 12px;
    }

    .hero-mobile-copy h1 {
        max-width: 520px;
        margin-bottom: 14px;
        color: var(--white);
        font-size: clamp(34px, 10.5vw, 45px);
        line-height: 1.03;
    }

    .hero-mobile-copy p {
        max-width: 430px;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-mobile-copy .button {
        min-height: 42px;
        padding: 10px 15px;
        font-size: 14px;
    }

    .hero-desktop-title {
        display: none;
    }

    .quick-links {
        padding-block: 38px;
        gap: 30px 15px;
    }

    .services {
        padding-block: 34px 68px;
    }

    .page-section {
        padding-block: 66px;
    }

    .page-hero {
        min-height: 450px;
    }

    .page-hero-content {
        padding-block: 58px;
    }

    .page-hero h1 {
        font-size: clamp(38px, 11vw, 48px);
    }

    .page-hero-content > p {
        font-size: 17px;
    }

    .feature-tile,
    .category-card {
        padding: 26px;
    }

    .contact::before {
        right: -18px;
    }
}

/* Homepage feature and company story refinements */
.it-feature-card {
    border-radius: 24px 2px 2px 2px;
}

.about-home {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 6vw;
    padding-block: 94px;
}

.about-home-copy {
    max-width: 620px;
}

.about-home-kicker {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-home-kicker img {
    width: 52px;
    height: 40px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.about-home-kicker .eyebrow {
    margin-bottom: 0;
}

.about-home-copy h2 {
    margin-bottom: 22px;
}

.about-home-copy > p:not(.content-lead) {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.about-proof-grid {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.about-proof-grid > div {
    min-height: 92px;
    padding: 15px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
    border-top: 3px solid var(--navy);
}

.about-proof-grid > div:nth-child(2) {
    border-top-color: var(--orange);
}

.about-proof-grid > div:nth-child(3) {
    border-top-color: var(--gold);
}

.about-proof-grid strong,
.about-proof-grid span {
    display: block;
}

.about-proof-grid strong {
    margin-bottom: 4px;
    color: var(--navy-deep);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
}

.about-proof-grid span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.about-home-visual {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    background: var(--navy-deep);
    border-radius: 2px 28px 2px 2px;
    box-shadow: var(--shadow-lg);
}

.about-home-visual::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -125px;
    width: 430px;
    height: 190px;
    border: 3px solid rgba(250, 164, 28, 0.48);
    border-left-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    transform: rotate(-9deg);
}

.about-home-visual img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
    object-position: 58% center;
}

@media (max-width: 900px) {
    .it-feature-card {
        border-radius: 2px 24px 2px 2px;
    }

    .about-home {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-block: 78px;
    }

    .about-home-copy {
        max-width: 720px;
    }

    .about-home-visual {
        min-height: 460px;
    }

    .about-home-visual img {
        min-height: 460px;
    }
}

@media (max-width: 620px) {
    .about-home {
        gap: 30px;
        padding-block: 66px;
    }

    .about-home-kicker {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .about-home-kicker img {
        width: 48px;
        height: 37px;
    }

    .about-proof-grid {
        grid-template-columns: 1fr;
    }

    .about-proof-grid > div {
        min-height: 0;
        padding: 13px 15px;
    }

    .about-home-copy > .button {
        width: 100%;
    }

    .about-home-visual,
    .about-home-visual img {
        min-height: 380px;
    }
}
