@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --ink: #313131;
    --blue: #007aff;
    --indigo: #5057e6;
    --paper: #f7f7f7;
    --line: #dedfe2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: 'DM Sans',Arial,sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

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

button,
summary {
    font: inherit;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 6px;
}

img {
    max-width: 100%;
    object-fit: cover;
}

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

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 600;
}

h2 {
    font-size: clamp(32px,3.5vw,52px);
    margin-bottom: 28px;
}

h3 {
    font-size: 24px;
}

p {
    color: #65676e;
}

em {
    font-weight: 400;
}

header {
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3%;
    gap: 30px;
    background: #f7f7f7;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #eee;
}

.brand {
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 210px;
    height: auto;
}

header nav {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}

header nav>a:not(.nav-contact):hover {
    color: var(--blue);
}

.nav-contact,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--blue);
    color: white;
    border-radius: 8px;
    padding: 17px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: background .2s,transform .2s;
}

.nav-contact {
    background: #313131;
    padding: 16px 30px;
}

.button:hover,
.nav-contact:hover {
    background: var(--indigo);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

.nav-services {
    position: relative;
}

.nav-services summary {
    cursor: pointer;
    list-style: none;
}

.nav-services summary:after {
    content: '⌄';
    margin-left: 8px;
}

.dropdown {
    position: absolute;
    top: 40px;
    left: -20px;
    width: 380px;
    background: white;
    box-shadow: 0 16px 35px #0002;
    padding: 18px;
    max-height: 75vh;
    overflow: auto;
    border-top: 3px solid var(--blue);
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
}

.dropdown a:hover {
    background: #f0f5ff;
    color: var(--blue);
}

.hero {
    min-height: 760px;
    height: calc(100svh - 106px);
    max-height: 1050px;
    position: relative;
    margin: 0 18px;
    display: flex;
    align-items: flex-end;
    padding: 70px 4%;
    background: #0b1523;
    color: white;
    isolation: isolate;
}

.hero>img,
.detail-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#091321db,#111b2760),linear-gradient(0deg,#07121db0,transparent 80%);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
}

.eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: .17em;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(42px,5.2vw,78px);
    max-width: 1100px;
    margin-bottom: 24px;
}

.hero p {
    color: #e5e9ee;
    max-width: 650px;
    font-size: 18px;
}

.hero .button {
    margin-top: 14px;
}

.hero-scroll {
    position: absolute;
    right: 50px;
    bottom: 65px;
    font-size: 30px;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    width: 54px;
    text-align: center;
}

.section {
    padding: 110px max(6%,calc((100% - 1240px)/2));
    scroll-margin-top: 20px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 70px;
    margin-bottom: 50px;
}

.section-heading h2 {
    max-width: 800px;
    margin: 0;
}

.section-heading>p {
    max-width: 330px;
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 44px 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
}

.card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #e7eaef;
}

.card-image img {
    width: 100%;
    height: 100%;
    transition: transform .4s;
}

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

.service-number {
    position: absolute;
    bottom: 0;
    left: 0;
    background: white;
    padding: 8px 17px;
    font-size: 14px;
    font-weight: 600;
}

.card-body {
    padding-top: 23px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 25px;
    line-height: 1.2;
}

.card-body p {
    font-size: 16px;
    margin-bottom: 22px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more span {
    font-size: 25px;
    color: var(--blue);
}

.seiton {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10%;
    background: #f2f5fa;
    align-items: center;
}

.seiton-brand {
    background: white;
    padding: 36px;
}

.seiton-brand img {
    object-fit: contain;
    height: auto;
    width: 100%;
    display: block;
}

.seiton-brand p {
    font-size: 24px;
    line-height: 1.3;
    margin: 24px 0 0;
    color: #070954;
}

.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.pillars span {
    font-size: 14px;
    padding: 7px 13px;
    border: 1px solid #cbd4e6;
    background: white;
    border-radius: 4px;
}

.text-link {
    font-weight: 600;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 6px;
    font-size: 16px;
    display: inline-block;
}

.company-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
}

.company-layout h2 {
    font-size: 42px;
}

.company-layout em {
    color: var(--blue);
}

.subheading {
    margin-top: 65px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px 40px;
}

.why-grid>div {
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.why-grid h3 {
    font-size: 23px;
}

.process {
    background: #141b29;
    color: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 45px;
}

.process-grid p {
    color: #bec5d1;
    font-size: 16px;
}

.process-grid h3 {
    font-size: 24px;
}

.step {
    display: block;
    color: #60b3ff;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
}

.sectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 55px;
}

.sectors details {
    border-bottom: 1px solid var(--line);
    padding: 23px 0;
    align-self: start;
}

.sectors summary {
    cursor: pointer;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.sectors summary span {
    color: var(--blue);
}

.sectors details[open] summary span {
    transform: rotate(45deg);
}

.sectors p {
    margin: 18px 0 0;
    font-size: 16px;
}

.contact {
    background: #f4f4f6;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 90px;
    align-items: center;
}

.contact h2 {
    font-size: 42px;
}

.contact p {
    margin-bottom: 0;
}

.contact-channel {
    border-left: 1px solid #ccc;
    padding-left: 50px;
}

.contact-channel p {
    font-size: 15px;
    margin: 0 0 25px;
}

footer {
    padding: 70px 6% 25px;
    background: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    object-fit: contain;
    height: auto;
    margin-bottom: 20px;
}

.footer-top p,
.footer-top a {
    font-size: 15px;
}

.footer-top a {
    display: block;
    margin-bottom: 12px;
}

.footer-top h3 {
    font-size: 18px;
    letter-spacing: 0;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #696969;
}

.detail-hero {
    height: 480px;
    position: relative;
    isolation: isolate;
    background: #111;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 50px 6%;
}

.detail-title {
    max-width: 1050px;
}

.breadcrumb {
    font-size: 14px;
    display: block;
    margin-bottom: 35px;
    color: #e5e9ef;
}

.detail-title h1 {
    font-size: clamp(35px,4.3vw,64px);
    margin-bottom: 20px;
}

.detail-title p {
    color: white;
    font-size: 22px;
    margin: 0;
}

.detail-title .eyebrow {
    margin-bottom: 16px;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0,2.3fr) 1fr;
    gap: 85px;
}

.intro {
    font-size: 23px;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 50px;
}

.detail-main h2 {
    font-size: 32px;
}

.includes,
.benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
}

.includes li,
.benefits li {
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 0 15px 23px;
    position: relative;
}

.includes li:before,
.benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
}

.ideal {
    background: #f2f5fa;
    padding: 30px;
    margin-bottom: 35px;
}

.ideal p {
    margin-bottom: 0;
}

aside {
    align-self: start;
    position: sticky;
    top: 145px;
    background: #f6f6f7;
    padding: 28px;
}

aside h3 {
    font-size: 21px;
}

aside a {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    padding: 13px 0;
    border-bottom: 1px solid #ddd;
}

aside a[aria-current],
aside a:hover {
    color: var(--blue);
}

.workflow-brand {
    border: 1px solid #e2e5eb;
    padding: 30px;
    margin-bottom: 45px;
}

.workflow-brand img {
    object-fit: contain;
    height: auto;
    margin-bottom: 20px;
    max-width: 340px;
    width: 100%;
}

.workflow-brand h2 {
    font-size: 30px;
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 14px;
}

.skip:focus {
    top: 10px;
}

@media(min-width:1500px) {
    .hero-content {
        max-width: 1150px;
    }
    .hero h1 {
        font-size: 80px;
    }
}

@media(max-width:1100px) {
    header nav {
        gap: 20px;
    }
    .brand img {
        width: 180px;
    }
    .section {
        padding: 80px 5%;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-heading {
        gap: 30px;
    }
    .section-heading>p {
        max-width: 280px;
    }
    .detail-content {
        gap: 35px;
    }
    .hero {
        min-height: 650px;
    }
    .contact {
        gap: 35px;
    }
    .company-layout {
        gap: 40px;
    }
    .company-layout h2 {
        font-size: 36px;
    }
}

@media(max-width:800px) {
    header {
        height: 82px;
        padding: 0 6%;
    }
    .brand img {
        width: 175px;
    }
    .menu-toggle {
        display: flex;
        gap: 15px;
        background: none;
        border: 0;
        align-items: center;
        padding: 10px;
        font-size: 16px;
    }
    .menu-toggle span {
        font-size: 22px;
    }
    header nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #fff;
        max-height: calc(100svh - 82px);
        overflow: auto;
        padding: 22px 6%;
        box-shadow: 0 15px 25px #0001;
    }
    header nav.open {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }
    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        max-height: none;
        padding: 15px 0 0;
        border: 0;
    }
    .nav-contact {
        align-self: flex-start;
    }
    .hero {
        margin: 0 8px;
        padding: 50px 7%;
        height: 710px;
        min-height: 0;
        max-height: none;
    }
    .hero h1 {
        font-size: 46px;
    }
    .hero p {
        font-size: 17px;
    }
    .hero-scroll {
        display: none;
    }
    .section {
        padding: 65px 6%;
    }
    .section-heading,
    .company-layout {
        display: block;
    }
    .section-heading>p {
        max-width: none;
        margin-top: 25px;
    }
    .service-grid {
        gap: 35px 20px;
    }
    .card-image {
        height: 200px;
    }
    .card-body h3 {
        font-size: 23px;
    }
    .seiton {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    .seiton-brand {
        max-width: 420px;
    }
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sectors {
        grid-template-columns: 1fr;
    }
    .contact {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-channel {
        border-left: 0;
        border-top: 1px solid #ccc;
        padding: 30px 0 0;
    }
    .contact h2 {
        font-size: 34px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-top>div:first-child {
        grid-column: 1/-1;
    }
    .footer-bottom {
        display: block;
    }
    .footer-bottom span {
        display: block;
        margin-bottom: 10px;
    }
    .detail-content {
        grid-template-columns: 1fr;
    }
    .detail-hero {
        height: 470px;
    }
    .detail-title p {
        font-size: 19px;
    }
    aside {
        position: static;
    }
    .company-layout h2 {
        font-size: 34px;
    }
}

@media(max-width:500px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .card-image {
        height: 245px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero {
        height: 700px;
    }
    .hero .eyebrow {
        font-size: 12px;
    }
    .why-grid,
    .process-grid,
    .includes,
    .benefits {
        grid-template-columns: 1fr;
    }
    .why-grid {
        gap: 16px;
    }
    .process-grid {
        gap: 22px;
    }
    .step {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-top>div:first-child {
        grid-column: auto;
    }
    .detail-title h1 {
        font-size: 36px;
    }
    .button {
        font-size: 14px;
        padding: 16px 22px;
    }
    .intro {
        font-size: 21px;
    }
    .seiton-brand {
        padding: 20px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .section h2 {
        font-size: 33px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none!important;
    }
}
