﻿:root {
    --orange: #ff6408;
    --orange-dark: #de5100;
    --blue: #08aeea;
    --green: #79d43a;
    --ink: #162033;
    --muted: #687386;
    --line: #e6eaf0;
    --soft: #f7f9fc;
    --soft-blue: #eef9fb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(22, 32, 51, 0.1);
    --shadow-strong: 0 28px 70px rgba(22, 32, 51, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background: var(--white);
    text-rendering: optimizeLegibility;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: var(--orange);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.topbar-inner,
.nav-inner,
.footer-inner,
.top-actions,
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-inner {
    min-height: 44px;
}

.top-actions {
    gap: 14px;
}

.top-actions span {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.55);
}

.pin {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    background: var(--white);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(230, 234, 240, 0.9);
    box-shadow: 0 10px 30px rgba(22, 32, 51, 0.04);
    backdrop-filter: blur(14px);
}

.nav-inner {
    min-height: 116px;
}

.brand img {
    width: 318px;
    height: 108px;
    object-fit: contain;
    object-position: left center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 800;
}

.menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #151d2d;
    transition: color 0.18s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 0;
    height: 4px;
    background: var(--blue);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 64px;
}

.menu a:hover {
    color: var(--orange-dark);
}

.menu .quote-link {
    min-height: 52px;
    padding: 0 26px;
    color: var(--white);
    background: var(--orange);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(255, 100, 8, 0.24);
}

.menu .quote-link::after {
    display: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--orange);
    border-radius: 8px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0 78%, #ffffff 100%);
    pointer-events: none;
}

.slides,
.hero-content {
    min-height: 560px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1180px;
    gap: 56px;
}

.hero-copy {
    width: min(620px, 48%);
    align-self: center;
}

.hero-visual {
    width: min(760px, 53vw);
    height: clamp(300px, 34vw, 430px);
    align-self: center;
    margin-right: -94px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero h1,
.hero h2 {
    max-width: 760px;
    margin: 0;
    font-size: 60px;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero p:not(.eyebrow) {
    max-width: 590px;
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary-btn {
    border: 0;
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 12px 24px rgba(255, 100, 8, 0.2);
}

.primary-btn:hover {
    background: var(--orange-dark);
    box-shadow: 0 16px 32px rgba(255, 100, 8, 0.26);
    transform: translateY(-1px);
}

.ghost-btn {
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
}

.ghost-btn:hover {
    border-color: #c9d5e2;
    background: var(--white);
    transform: translateY(-1px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 100, 8, 0.18);
    border-radius: 50%;
    color: var(--orange);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(22, 32, 51, 0.14);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.slider-btn::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-1px);
}

.slider-btn:hover {
    color: var(--white);
    background: var(--orange);
    box-shadow: 0 18px 38px rgba(255, 100, 8, 0.24);
    transform: translateY(-50%) scale(1.04);
}

.hero .eyebrow,
.hero .slider-dots {
    display: none;
}

.prev {
    left: 34px;
}

.next {
    right: 34px;
}

.prev::before {
    content: "\2039";
}

.next::before {
    content: "\203A";
}
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(230, 234, 240, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(22, 32, 51, 0.08);
    transform: translateX(-50%);
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: #d2dbe6;
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease;
}

.slider-dots button.active {
    width: 28px;
    background: var(--orange);
}

.mobile-carousel-dots {
    display: none;
}

.metrics {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 34px 0 42px;
}

.metric-grid div {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 62%, #fff6ef 100%);
    box-shadow: 0 14px 34px rgba(22, 32, 51, 0.06);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.metric-grid div::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -32px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(8, 174, 234, 0.08);
}

.metric-grid div:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 100, 8, 0.24);
    box-shadow: var(--shadow);
}

.metric-grid strong,
.metric-grid span {
    display: block;
    position: relative;
    z-index: 1;
}

.metric-icon {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 48px;
    height: 48px;
    margin-top: 0;
    color: var(--orange);
    background: transparent;
    border: 0;
    border-radius: 0;
}

.metric-icon svg,
.quality-icon svg {
    display: block;
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.metric-grid strong {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: 25px;
    line-height: 1.1;
}

.metric-grid div > span:not(.metric-icon) {
    grid-column: 1;
    grid-row: 2;
    color: var(--muted);
}

.metric-grid .metric-icon {
    display: inline-flex;
}

.metric-grid div:nth-child(2) .metric-icon {
    color: var(--orange-dark);
}

.metric-grid div:nth-child(3) .metric-icon {
    color: var(--orange);
}

.metric-grid div:nth-child(4) .metric-icon {
    color: #cc4a00;
}

.section {
    padding: 92px 0;
}

.page-hero {
    position: relative;
    min-height: 390px;
    display: grid;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(18, 26, 42, 0.93) 0%, rgba(18, 26, 42, 0.74) 48%, rgba(18, 26, 42, 0.18) 100%),
        var(--page-bg) center right / cover no-repeat,
        #172033;
    overflow: hidden;
}

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

.page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 54px;
    line-height: 1.08;
}

.page-hero p:not(.section-kicker) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.document-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.document-card img,
.document-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #fff6ef;
}

.document-placeholder {
    display: grid;
    place-items: center;
    color: var(--orange-dark);
    font-weight: 900;
}

.document-card h3,
.document-card p {
    margin: 0;
    padding: 0 18px;
}

.document-card h3 {
    padding-top: 18px;
    font-size: 20px;
}

.document-card p {
    padding-bottom: 20px;
    color: var(--muted);
}

.about {
    background: var(--white);
}

.about-main-image {
    width: min(100%, 500px);
    height: auto;
    aspect-ratio: 5 / 3;
    margin-top: 26px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(22, 32, 51, 0.1);
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.about-gallery-heading {
    max-width: 720px;
    margin-top: 54px;
}

.about-gallery-heading h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: 0;
}

.about-gallery figure {
    position: relative;
    height: clamp(180px, 16vw, 240px);
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
    box-shadow: 0 16px 34px rgba(22, 32, 51, 0.1);
}

.about-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-gallery figcaption {
    display: none;
}

.services {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.quality {
    position: relative;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    overflow: hidden;
}

.quality::before {
    display: none;
}

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

.quality-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.quality-intro-panel {
    position: relative;
    width: min(100%, 1180px);
    min-height: 0;
    justify-self: center;
    display: grid;
    align-content: center;
    padding: 44px 46px 48px;
    text-align: center;
    border: 1px solid var(--line);
    border-top: 5px solid var(--orange);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.quality-intro-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 100, 8, 0.06), transparent 32%, rgba(255, 100, 8, 0.04));
    pointer-events: none;
}

.quality-documents-title {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    color: var(--ink);
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: 0;
    text-align: center;
}

.home-documents {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.compact-document {
    position: relative;
    border-radius: 8px;
    border-top: 4px solid var(--orange);
    box-shadow: 0 16px 34px rgba(22, 32, 51, 0.09);
}

.compact-document::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6408' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.2 13.8 6.8 21l5.2-3 5.2 3-1.4-7.2'/%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='m10.4 8 1.1 1.1 2.2-2.4'/%3E%3C/svg%3E") center / 19px 19px no-repeat,
        #fff7f1;
    border: 1px solid #ffc9a9;
    box-shadow: 0 10px 20px rgba(255, 100, 8, 0.16);
}

.compact-document img,
.compact-document .document-placeholder {
    aspect-ratio: 1 / 1;
    background: var(--white);
}

.compact-document .document-placeholder {
    color: var(--orange-dark);
    background:
        linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
    font-size: 22px;
}

.compact-document h3 {
    padding: 14px 10px 16px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}

.references {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.references-heading {
    margin-bottom: 28px;
}

.reference-feature {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    min-height: 240px;
    padding: 34px 40px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.reference-logo-row {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 28px;
    min-height: 0;
}

.reference-logo-row .reference-feature-logo {
    grid-column: auto;
}

.reference-feature-logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 170px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, #ffffff 0%, #fff7f1 100%);
    overflow: hidden;
}

.reference-feature-logo img {
    width: min(220px, 100%) !important;
    height: min(120px, 100%) !important;
    max-width: 220px !important;
    max-height: 120px !important;
    object-fit: contain;
}

.reference-feature-copy h2,
.reference-feature-copy h3 {
    max-width: 680px;
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: 0;
}

.reference-feature-copy p:not(.section-kicker) {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.process {
    position: relative;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(18, 26, 42, 0.9) 0%, rgba(18, 26, 42, 0.68) 42%, rgba(18, 26, 42, 0.06) 100%),
        linear-gradient(135deg, rgba(255, 100, 8, 0.14), transparent 38%),
        var(--process-bg, url("assets/process-bg.jpg")) center right / cover no-repeat,
        #172033;
    overflow: hidden;
}

.process::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 26, 42, 0.04), rgba(18, 26, 42, 0.36));
    pointer-events: none;
}

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

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

.split,
.contact-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    align-items: start;
}

.section h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.16;
    letter-spacing: 0;
}

.quality .section-kicker {
    color: var(--orange);
}

.quality h2 {
    text-shadow: none;
}

.section-copy p,
.contact p,
.process p {
    margin-top: 0;
    color: var(--muted);
    font-size: 17px;
}

.process p {
    color: rgba(255, 255, 255, 0.72);
}

.about-note {
    margin-top: 26px;
    padding: 22px;
    border-left: 5px solid var(--orange);
    border-radius: 8px;
    background: #fff7f1;
}

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

.section-heading {
    max-width: 710px;
    margin-bottom: 36px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 22px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.service-card,
.process-grid div {
    min-height: 230px;
    padding: 30px;
    border-radius: 8px;
}

.service-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(150px, 12vw, 176px);
    gap: 22px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 100, 8, 0.28);
    box-shadow: var(--shadow-strong);
}

.service-card span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 10px;
    color: var(--orange-dark);
    background: #fff0e8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card-copy {
    min-width: 0;
}

.service-card-image {
    width: clamp(150px, 12vw, 176px);
    height: clamp(150px, 12vw, 176px);
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(22, 32, 51, 0.12);
}

.service-card h3,
.process-grid h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.2;
}

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

.process-grid div {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(18, 26, 42, 0.72), rgba(18, 26, 42, 0.48));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
}

.process-grid strong {
    display: block;
    margin-bottom: 22px;
    color: var(--orange);
    font-size: 36px;
    line-height: 1;
}

.quality-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 1180px);
    justify-self: center;
    padding-top: 10px;
}

.quality-list h2 {
    grid-column: 1 / -1;
    max-width: 760px;
    margin: 0 auto 10px;
    text-align: center;
}

.quality-list div {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, max-content) 28px;
    column-gap: 9px;
    row-gap: 8px;
    align-items: start;
    justify-content: start;
    min-height: 176px;
    padding: 28px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--orange);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(22, 32, 51, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.quality-list div:hover {
    transform: translateY(-3px);
    background: var(--white);
    box-shadow: 0 24px 52px rgba(22, 32, 51, 0.12);
}

.quality-list strong,
.quality-list span {
    display: block;
}

.quality-list strong {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    color: var(--ink);
    margin-bottom: 0;
    font-size: 18px;
}

.quality-list div > span:not(.quality-icon) {
    grid-column: 1 / -1;
    grid-row: 2;
    color: var(--muted);
}

.quality-icon {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    color: var(--orange);
    background: #fff3eb;
    border: 1px solid rgba(255, 100, 8, 0.2);
    border-radius: 7px;
    box-shadow: none;
}

.quality-icon svg {
    width: 15px;
    height: 15px;
}

.quality-list .quality-icon {
    display: inline-flex;
}

.quality-list div:nth-child(2) .quality-icon {
    color: var(--orange-dark);
    background: #fff6ef;
}

.quality-list div:nth-child(3) .quality-icon {
    color: var(--orange);
    background: #fff0e8;
}

.quality-list div:nth-child(4) .quality-icon {
    color: #cc4a00;
    background: #fff6ef;
}

.contact-layout {
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.contact {
    position: relative;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 44%, rgba(255, 255, 255, 0.12) 100%),
        var(--contact-bg, url("assets/contact-bg.jpg")) center right / cover no-repeat,
        #fff7f1;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 246, 239, 0.28)),
        radial-gradient(circle at 88% 22%, rgba(255, 100, 8, 0.12), transparent 28%);
    pointer-events: none;
}

.contact-info {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    font-weight: 800;
}

.contact-panel {
    display: grid;
    gap: 16px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 100, 8, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(12px);
}

.map-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 100, 8, 0.16);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
}

.map-panel.compact {
    width: min(520px, 100%);
    margin-top: 24px;
    box-shadow: 0 16px 36px rgba(22, 32, 51, 0.12);
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 240px;
    border: 0;
}

.map-panel.compact iframe {
    height: 220px;
}

.contact-row {
    display: grid;
    gap: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.contact-row span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-row a,
.contact-row strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.3;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: #fbfcfe;
}

.contact-form textarea {
    resize: vertical;
}

.form-alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-alert.success {
    color: #11643b;
    background: #e9f9f0;
}

.form-alert.error {
    color: #9a3412;
    background: #fff1e8;
}

.footer {
    padding: 24px 0;
    color: var(--white);
    background: #121a2a;
}

.footer a {
    font-weight: 900;
}

@media (max-width: 1050px) {
    .menu {
        gap: 18px;
        font-size: 14px;
    }

    .hero-content {
        gap: 28px;
    }

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

@media (max-width: 920px) {
    .nav-inner {
        min-height: 86px;
    }

    .brand img {
        width: 230px;
        height: 82px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 86px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 24px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .menu.open {
        display: flex;
    }

    .menu a::after {
        display: none;
    }

    .menu .quote-link {
        justify-content: center;
        margin-top: 10px;
    }

    .hero,
    .slides,
    .hero-content {
        min-height: 560px;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.88)),
            #ffffff;
    }

    .process {
        background:
            linear-gradient(90deg, rgba(18, 26, 42, 0.9) 0%, rgba(18, 26, 42, 0.72) 100%),
            var(--process-bg, url("assets/process-bg.jpg")) center / cover no-repeat,
            #172033;
    }

    .contact {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 239, 0.74)),
            var(--contact-bg, url("assets/contact-bg.jpg")) center / cover no-repeat,
            #fff7f1;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
    }

    .hero-copy,
    .hero-visual {
        width: 100%;
    }

    .hero-visual {
        height: clamp(220px, 42vw, 300px);
        max-width: 420px;
        margin-right: 0;
        padding: 0;
        border-radius: 8px;
    }

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

    .hero h1,
    .hero h2 {
        font-size: 40px;
    }

    .slider-btn {
        display: none;
    }

    .split,
    .contact-layout,
    .service-grid,
    .process-grid,
    .metric-grid,
    .quality-list,
    .document-grid {
        grid-template-columns: 1fr;
    }

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

    .service-card-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 640px) {
    .topbar-inner,
    .top-actions,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-inner {
        padding: 10px 0;
        gap: 8px;
    }

    .top-actions span {
        display: none;
    }

    .hero,
    .slides,
    .hero-content {
        min-height: 600px;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9)),
            #ffffff;
    }

    .hero-content {
        padding: 42px 0 70px;
    }

    .hero h1,
    .hero h2 {
        font-size: 36px;
    }

    .hero p:not(.eyebrow) {
        font-size: 17px;
    }

    .section {
        padding: 66px 0;
    }

    .section h2 {
        font-size: 30px;
    }

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

    .service-card-image {
        width: 100%;
        height: 180px;
        order: -1;
    }

    .page-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 760px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: min(100% - 28px, 520px);
    }

    .topbar {
        font-size: 12px;
    }

    .topbar-inner {
        min-height: auto;
        padding: 8px 0;
        gap: 5px;
    }

    .topbar-inner > a {
        display: none;
    }

    .top-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        line-height: 1.25;
    }

    .top-actions a {
        white-space: nowrap;
    }

    .navbar {
        top: 0;
        box-shadow: 0 10px 28px rgba(22, 32, 51, 0.08);
    }

    .nav-inner {
        min-height: 84px;
        gap: 12px;
    }

    .brand img {
        width: 218px;
        height: 74px;
        object-position: left center;
    }

    .menu-toggle {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        box-shadow: 0 10px 24px rgba(255, 100, 8, 0.2);
    }

    .menu {
        top: 84px;
        left: 14px;
        right: 14px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 18px 48px rgba(22, 32, 51, 0.16);
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        width: 100%;
        min-height: 46px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 15px;
    }

    .menu a:hover,
    .menu a.active {
        color: var(--orange-dark);
        background: #fff3eb;
    }

    .menu .quote-link {
        min-height: 48px;
        margin-top: 8px;
        padding: 0 18px;
    }

    .hero,
    .slides {
        min-height: 0;
    }

    .hero {
        border-bottom: 0;
        background:
            linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
    }

    .hero::before {
        display: none;
    }

    .slide {
        position: relative;
        display: none;
        min-height: auto;
    }

    .slide.active {
        display: block;
    }

    .hero-content {
        min-height: auto;
        flex-direction: column;
        justify-content: flex-start;
        gap: 22px;
        padding: 32px 0 42px;
    }

    .hero-copy {
        width: 100%;
        order: 1;
    }

    .hero-visual {
        order: 0;
        width: 100%;
        height: auto;
        max-width: none;
        margin: 0;
        border-radius: 8px;
        box-shadow: 0 20px 48px rgba(22, 32, 51, 0.12);
        background: var(--white);
    }

    .hero-visual img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .eyebrow,
    .section-kicker {
        margin-bottom: 9px;
        font-size: 12px;
    }

    .hero h1,
    .hero h2 {
        max-width: 100%;
        font-size: 34px;
        line-height: 1.12;
    }

    .hero p:not(.eyebrow) {
        margin: 14px 0 20px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
        min-height: 48px;
        padding: 0 18px;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: -8px;
    }

    .metric-grid div {
        min-height: 118px;
        padding: 18px;
        grid-template-columns: 1fr 34px;
    }

    .metric-grid strong {
        font-size: 21px;
    }

    .metric-grid div > span:not(.metric-icon) {
        font-size: 14px;
        line-height: 1.35;
    }

    .metric-icon {
        width: 34px;
        height: 34px;
    }

    .metric-icon svg,
    .quality-icon svg {
        width: 28px;
        height: 28px;
    }

    .section {
        padding: 58px 0;
    }

    .section h2 {
        font-size: 30px;
        line-height: 1.18;
    }

    .section-copy p,
    .contact p,
    .process p {
        font-size: 16px;
    }

    .split,
    .contact-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        grid-template-columns: none;
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        padding: 4px 0 18px;
        margin-left: 0;
        margin-right: 0;
        -webkit-overflow-scrolling: touch;
    }

    .service-grid::-webkit-scrollbar {
        height: 0;
    }

    .service-grid > * {
        scroll-snap-align: start;
        width: 100%;
    }

    .mobile-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin: 0 0 22px;
    }

    .mobile-carousel-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #d2dbe6;
        transition: width 0.18s ease, background 0.18s ease;
    }

    .mobile-carousel-dots button.active {
        width: 24px;
        background: var(--orange);
    }

    .slider-dots {
        bottom: 14px;
        padding: 7px 9px;
    }

    .slider-dots button {
        width: 8px;
        height: 8px;
    }

    .slider-dots button.active {
        width: 24px;
    }

    .service-card {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        box-shadow: 0 16px 42px rgba(22, 32, 51, 0.1);
    }

    .service-card-image {
        order: -1;
        width: 100%;
        height: 210px;
        border-radius: 8px;
    }

    .service-card span {
        margin-bottom: 12px;
    }

    .service-card h3,
    .process-grid h3 {
        font-size: 22px;
    }

    .process {
        background:
            linear-gradient(180deg, rgba(18, 26, 42, 0.86) 0%, rgba(18, 26, 42, 0.76) 100%),
            var(--process-bg, url("assets/process-bg.jpg")) center / cover no-repeat,
            #172033;
    }

    .metric-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        margin-top: 0;
    }

    .metric-grid div {
        min-height: 76px;
        padding: 9px 7px;
        grid-template-columns: 1fr;
        align-content: center;
        justify-items: center;
        text-align: center;
    }

    .metric-grid div::after {
        display: none;
    }

    .metric-grid strong {
        font-size: 13px;
        line-height: 1.1;
    }

    .metric-grid div > span:not(.metric-icon) {
        font-size: 10px;
        line-height: 1.2;
    }

    .metric-icon {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        width: 22px;
        height: 22px;
        margin: 4px 0;
    }

    .metric-icon svg {
        width: 20px;
        height: 20px;
    }

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

    .process-grid div {
        min-height: 0;
        padding: 13px 10px;
    }

    .process-grid strong {
        margin-bottom: 8px;
        font-size: 22px;
    }

    .process-grid h3 {
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 1.18;
    }

    .process-grid p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.35;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

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

    .quality-list h2 {
        margin-bottom: 4px;
        font-size: 24px;
    }

    .quality-list div {
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 6px;
        padding: 12px;
        min-height: 104px;
    }

    .quality-list strong {
        font-size: 14px;
        line-height: 1.18;
    }

    .quality-list span:not(.quality-icon) {
        font-size: 11px;
        line-height: 1.35;
    }

    .document-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .quality-showcase {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .reference-feature {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 0;
        padding: 24px;
    }

    .reference-logo-row {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 24px) / 3);
        grid-template-columns: none !important;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .reference-logo-row .reference-feature-logo {
        grid-column: auto;
        scroll-snap-align: start;
    }

    .reference-logo-row .reference-feature-logo:nth-child(-n + 2) {
        grid-column: auto;
    }

    .reference-feature-logo {
        width: 100%;
        height: 104px;
        padding: 10px;
    }

    .reference-feature-logo img {
        width: 100% !important;
        height: 100% !important;
        max-width: 104px !important;
        max-height: 68px !important;
    }

    .reference-feature-copy h2,
    .reference-feature-copy h3 {
        font-size: 30px;
        line-height: 1.18;
    }

    .about-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .about-gallery figure {
        height: 300px;
    }

    .about-gallery-heading {
        margin-top: 34px;
    }

    .about-gallery-heading h2 {
        font-size: 28px;
    }

    .quality-intro-panel {
        min-height: 0;
        padding: 20px;
    }

    .quality-documents-title {
        font-size: 24px;
        line-height: 1.15;
    }

    .home-documents {
        gap: 8px;
        margin-top: 16px;
    }

    .compact-document h3 {
        padding: 8px 5px 9px;
        font-size: 11px;
    }

    .quality-icon {
        width: 24px;
        height: 24px;
    }

    .quality-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 239, 0.9)),
            var(--contact-bg, url("assets/contact-bg.jpg")) center / cover no-repeat,
            #fff7f1;
    }

    .contact-panel {
        padding: 20px;
    }

    .contact-row {
        gap: 4px;
    }

    .contact-row a,
    .contact-row strong {
        font-size: 17px;
        line-height: 1.35;
        word-break: break-word;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
    }

    .map-panel.compact {
        height: 190px;
        margin-top: 18px;
    }

    .page-hero {
        min-height: 300px;
        padding: 52px 0;
        background:
            linear-gradient(180deg, rgba(18, 26, 42, 0.9) 0%, rgba(18, 26, 42, 0.76) 100%),
            var(--page-bg) center / cover no-repeat,
            #172033;
    }

    .page-hero h1 {
        font-size: 34px;
        line-height: 1.14;
    }

    .page-hero p:not(.section-kicker) {
        font-size: 16px;
    }

    .footer-inner {
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 24px, 420px);
    }

    .brand img {
        width: 190px;
        height: 66px;
    }

    .nav-inner {
        min-height: 76px;
    }

    .menu {
        top: 76px;
    }

    .top-actions {
        font-size: 11px;
    }

    .hero h1,
    .hero h2,
    .page-hero h1 {
        font-size: 30px;
    }

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

    .service-card-image {
        height: 190px;
    }
}
