:root {
    --accent: #f2711c;
    --accent-strong: #9e4d14;
    --ink: #10151c;
    --ink-soft: #2b3440;
    --muted: #66717f;
    --line: #dde3ea;
    --surface: #ffffff;
    --surface-alt: #f4f6f8;
    --surface-dark: #151b22;
    --surface-dark-2: #1d2630;
    --text-light: #f5f7fa;
    --shadow-lg: 0 22px 50px rgba(16, 21, 28, 0.14);
    --shadow-md: 0 12px 30px rgba(16, 21, 28, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 96px 0;
}

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

.section-dark {
    background: linear-gradient(180deg, var(--surface-dark), #10161d);
    color: var(--text-light);
}

.section-kicker {
    margin-bottom: 14px;
    color: var(--accent-strong);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-kicker-light {
    color: #f5c29d;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 44px;
}

.section-heading h2,
.intro h2,
.operations-copy h2,
.sectors h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.section-summary,
.intro-copy p,
.operations-copy p,
.contact-panel p,
.contact-details dd,
.trust-grid p {
    color: var(--muted);
    font-size: 1.02rem;
}

.section-summary-light {
    color: rgba(245, 247, 250, 0.78);
}

.topbar {
    background: var(--ink);
    color: rgba(245, 247, 250, 0.86);
    font-size: 0.87rem;
}

.topbar-inner {
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.topbar a:hover {
    color: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(221, 227, 234, 0.9);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    width: 220px;
    height: auto;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.main-nav a {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.96rem;
}

.main-nav a:hover {
    color: var(--accent-strong);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--ink);
}

.btn-primary:hover {
    background: #ff862f;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(245, 247, 250, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 247, 250, 0.9);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
}

.btn-header {
    background: var(--ink);
    color: var(--text-light);
}

.btn-header:hover {
    background: var(--surface-dark-2);
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: clamp(620px, 78vh, 760px);
    display: flex;
    align-items: stretch;
    background:
        linear-gradient(90deg, rgba(10, 13, 18, 0.9) 0%, rgba(10, 13, 18, 0.74) 42%, rgba(10, 13, 18, 0.3) 100%),
        url("../images/hero-photo-v2.png") center center / cover no-repeat;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.2) 0%, rgba(10, 13, 18, 0.55) 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
    align-items: center;
    padding: 88px 0 92px;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    margin-bottom: 18px;
    color: #f7c7a4;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    font-size: clamp(2.9rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-lead {
    margin-top: 24px;
    max-width: 58ch;
    font-size: 1.15rem;
    color: rgba(245, 247, 250, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-points {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.hero-points li {
    position: relative;
    padding-left: 22px;
    color: rgba(245, 247, 250, 0.84);
}

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.trust-band {
    border-bottom: 1px solid var(--line);
    background: #f9fafb;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 26px 0;
}

.trust-grid article {
    padding-right: 18px;
}

.trust-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ink);
    font-weight: 700;
}

.intro-grid,
.operations-grid,
.sectors-grid,
.contact-grid {
    display: grid;
    gap: 36px;
}

.intro-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
}

.intro-copy {
    max-width: 66ch;
}

.intro-copy p + p {
    margin-top: 18px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.value-item {
    min-height: 156px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.value-item strong,
.service-card h3,
.step-item h3,
.contact-panel h3,
.contact-details h3 {
    display: block;
    margin-bottom: 12px;
    font-size: 1.16rem;
    line-height: 1.25;
}

.service-card h3,
.step-item h3,
.contact-panel h3,
.contact-details h3 {
    position: relative;
    padding-left: 18px;
}

.service-card h3::before,
.step-item h3::before,
.contact-panel h3::before,
.contact-details h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), #ffb278);
    box-shadow: 0 0 0 4px rgba(242, 113, 28, 0.12);
}

.value-item span {
    color: var(--muted);
    font-size: 0.96rem;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(242, 113, 28, 0.14), transparent 42%),
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.72) 48%, transparent 100%);
    opacity: 0;
    transform: translateX(-18%);
    transition: opacity 0.3s ease, transform 0.45s ease;
    pointer-events: none;
}

.service-card::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #ffc08e);
    transform: scaleX(0.35);
    transform-origin: left center;
    opacity: 0.72;
    transition: transform 0.26s ease, opacity 0.26s ease;
}

.service-card p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 0.97rem;
    transition: color 0.26s ease;
}

.service-icon {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff8f2, #fff1e5);
    box-shadow: inset 0 0 0 1px rgba(242, 113, 28, 0.08);
    transition: transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.service-icon img {
    width: 34px;
    height: 34px;
    transition: transform 0.26s ease, filter 0.26s ease;
}

.service-card h3 {
    position: relative;
    z-index: 1;
    transition: color 0.26s ease, transform 0.26s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(158, 77, 20, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
    box-shadow: 0 22px 45px rgba(16, 21, 28, 0.14);
}

.service-card:hover::before,
.service-card:focus-within::before {
    opacity: 1;
    transform: translateX(0);
}

.service-card:hover::after,
.service-card:focus-within::after {
    transform: scaleX(1);
    opacity: 1;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
    transform: translateY(-2px) rotate(-3deg);
    background: linear-gradient(180deg, #fff3e9, #ffe7d3);
    box-shadow: 0 14px 24px rgba(242, 113, 28, 0.18);
}

.service-card:hover .service-icon img,
.service-card:focus-within .service-icon img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.service-card:hover h3,
.service-card:focus-within h3 {
    color: var(--accent-strong);
    transform: translateX(2px);
}

.service-card:hover p,
.service-card:focus-within p {
    color: #4e5967;
}

.operations-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    align-items: center;
}

.steps {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.step-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.step-item span {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--ink);
    color: var(--text-light);
    font-weight: 800;
    font-size: 0.96rem;
}

.operations-media img {
    min-height: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.sectors-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
}

.sector-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
}

.sector-list span {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(245, 247, 250, 0.16);
    border-radius: 6px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.04);
}

.contact-heading {
    max-width: 760px;
}

.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.contact-panel,
.contact-details {
    min-height: 100%;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.contact-panel {
    display: grid;
    gap: 16px;
}

.contact-intro {
    min-height: 3.2em;
}

.small-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-details dl {
    display: grid;
    gap: 18px;
}

.contact-details dt {
    margin-bottom: 4px;
    color: var(--ink);
    font-weight: 700;
}

.contact-details a {
    color: var(--accent-strong);
}

.site-footer {
    background: #0c1016;
    color: rgba(245, 247, 250, 0.78);
}

.footer-inner,
.footer-bottom {
    display: grid;
    gap: 24px;
}

.footer-inner {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    padding: 34px 0 24px;
}

.footer-logo {
    width: 190px;
    margin-bottom: 14px;
}

.footer-inner strong {
    color: var(--text-light);
}

.footer-bottom {
    padding: 20px 0 28px;
    border-top: 1px solid rgba(245, 247, 250, 0.1);
    font-size: 0.92rem;
}

@media (max-width: 1080px) {
    .services-grid,
    .contact-grid,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operations-grid,
    .sectors-grid,
    .intro-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: auto;
        padding: 18px 0;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .main-nav ul {
        justify-content: space-between;
        gap: 14px 18px;
        width: 100%;
    }

    .logo {
        width: auto;
    }

    .hero {
        min-height: 560px;
        background:
            linear-gradient(180deg, rgba(10, 13, 18, 0.82) 0%, rgba(10, 13, 18, 0.72) 100%),
            url("../images/hero-photo-v2.png") 72% center / cover no-repeat;
    }

    .hero-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 72px 0 76px;
    }
}

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

    .section {
        padding: 74px 0;
    }

    .topbar-inner {
        justify-content: flex-start;
    }

    .logo img {
        width: 182px;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .main-nav li {
        min-width: 0;
    }

    .main-nav a {
        width: 100%;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 8px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.92);
        font-size: 0.88rem;
    }

    .btn,
    .btn-header {
        width: 100%;
    }

    .btn-header {
        width: auto;
        min-width: 108px;
        padding: 0 18px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-actions,
    .services-grid,
    .values-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-intro {
        min-height: 0;
    }

    .service-card,
    .contact-panel,
    .contact-details,
    .value-item {
        padding: 24px 20px;
    }

    .step-item {
        grid-template-columns: 1fr;
    }

    .step-item span {
        width: 48px;
        height: 48px;
    }

    .sector-list {
        gap: 10px;
    }

    .sector-list span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer-inner,
    .footer-bottom {
        text-align: center;
        justify-items: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}
