:root {
    --ink: #17233c;
    --ink-soft: #526078;
    --brand-blue-dark: #064ba5;
    --brand-blue: #075bc7;
    --brand-blue-bright: #2b7de0;
    --brand-pink: #d71967;
    --cloud: #f5f7fb;
    --line: #dce3ed;
    --white: #ffffff;
    --header-height: 76px;
    --shadow: 0 18px 44px rgba(23, 35, 60, 0.12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
    letter-spacing: 0;
}

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

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

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

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.12;
}

h1 {
    max-width: 800px;
    margin-bottom: 1.5rem;
    font-size: 4.25rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.25rem;
}

.skip-link {
    position: fixed;
    z-index: 1100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

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

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.96);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(23, 35, 60, 0.08);
}

.navbar {
    min-height: var(--header-height);
    padding: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-blue);
    font-weight: 800;
}

.brand-word {
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
}

.brand-word--accent {
    color: var(--brand-pink);
}

.nav-link {
    padding: 0.65rem 0.85rem !important;
    color: #294647;
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--brand-blue-dark);
}

.navbar-toggler {
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(7, 91, 199, 0.2);
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 5px;
    font-weight: 800;
}

.btn svg,
.text-link svg,
.service-card a svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border-color: var(--brand-blue-dark) !important;
    background: var(--brand-blue-dark) !important;
}

.btn-link {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.btn-link:hover,
.btn-link:focus {
    color: var(--white);
}

.hero {
    color: var(--white);
    background: var(--ink);
}

.hero-slider,
.hero-slide {
    height: min(720px, calc(100svh - 120px));
    min-height: 560px;
}

.hero-slide {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("../images/sns-team-hero.jpg");
    background-position: center;
    background-size: cover;
}

.hero-slide::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(15, 30, 58, 0.76);
    content: "";
}

.hero-slide--web {
    background-position: 62% center;
}

.hero-slide--web::before {
    background: rgba(12, 48, 92, 0.79);
}

.hero-slide--growth {
    background-position: 72% center;
}

.hero-slide--growth::before {
    background: rgba(29, 31, 56, 0.76);
}

.hero-content {
    padding-top: 3rem;
    padding-bottom: 7rem;
}

.hero-content > * {
    max-width: 720px;
}

.hero-content h2 {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: 4rem;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--brand-pink);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #ff8abb;
}

.hero-copy {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.125rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-controls {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 2rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swiper-pagination {
    position: static;
    width: auto !important;
}

.swiper-pagination-bullet {
    width: 28px;
    height: 3px;
    margin: 0 4px !important;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.7);
}

.swiper-pagination-bullet-active {
    background: var(--white);
}

.hero-nav {
    display: flex;
    gap: 0.5rem;
}

.hero-nav button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: var(--white);
    background: rgba(23, 35, 60, 0.46);
}

.hero-nav button:hover,
.hero-nav button:focus {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.hero-nav svg {
    width: 18px;
    height: 18px;
}

.proof-bar {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

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

.proof-grid p {
    display: flex;
    min-height: 116px;
    margin: 0;
    padding: 1.5rem 2rem;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid var(--line);
}

.proof-grid p:first-child {
    border-left: 1px solid var(--line);
}

.proof-grid strong {
    color: var(--brand-blue-dark);
    font-size: 1.35rem;
    white-space: nowrap;
}

.proof-grid span {
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.4;
}

.section {
    padding: 7rem 0;
}

.section-heading {
    display: grid;
    margin-bottom: 3.25rem;
    align-items: end;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 3rem;
}

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

.section-heading > p {
    margin: 0;
    color: var(--ink-soft);
}

.section-services {
    background: var(--cloud);
}

.service-grid {
    display: grid;
    border-top: 1px solid #cbdad5;
    border-left: 1px solid #cbdad5;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
    position: relative;
    min-height: 410px;
    padding: 2rem;
    border-right: 1px solid #cbdad5;
    border-bottom: 1px solid #cbdad5;
    background: var(--white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    z-index: 1;
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 3.25rem;
    place-items: center;
    border-radius: 6px;
    color: var(--brand-blue-dark);
    background: #e6effc;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-number {
    margin-bottom: 0.75rem;
    color: var(--brand-pink);
    font-size: 0.75rem;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card > p:not(.service-number) {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.service-card a {
    position: absolute;
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-blue-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.about-grid,
.contact-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 7rem;
}

.about-copy h2,
.contact-copy h2 {
    margin-bottom: 1.5rem;
}

.about-copy .lead {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 600;
}

.about-copy > p:not(.eyebrow):not(.lead),
.contact-copy > p {
    color: var(--ink-soft);
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-blue-dark);
    font-weight: 800;
}

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

.principles article {
    display: grid;
    min-height: 150px;
    padding: 1.75rem 0;
    align-items: start;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 70px 1fr;
    gap: 1rem;
}

.principles article > span {
    color: var(--brand-pink);
    font-size: 0.8rem;
    font-weight: 800;
}

.principles h3 {
    margin-bottom: 0.5rem;
}

.principles p {
    max-width: 500px;
    margin: 0;
    color: var(--ink-soft);
}

.section-work {
    color: var(--ink);
    background: var(--cloud);
}

.section-work .section-heading > p {
    color: var(--ink-soft);
}

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

.client-item {
    position: relative;
    display: grid;
    min-height: 154px;
    padding: 2rem 1.5rem;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 76px minmax(0, 1fr) 190px 52px;
    gap: 1.5rem;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.client-item::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--brand-blue);
    content: "";
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 180ms ease;
}

.client-item:nth-child(2)::before {
    background: var(--brand-pink);
}

.client-item:hover,
.client-item:focus-visible {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 16px 36px rgba(23, 35, 60, 0.08);
}

.client-item:hover::before,
.client-item:focus-visible::before {
    transform: scaleY(1);
}

.client-index {
    color: rgba(7, 91, 199, 0.45);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.client-item:nth-child(2) .client-index {
    color: rgba(215, 25, 103, 0.48);
}

.client-sector {
    display: flex;
    margin-bottom: 0.55rem;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-blue-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.client-sector::before {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--brand-pink);
    content: "";
}

.client-details h3 {
    max-width: 720px;
    margin: 0;
    font-size: 1.5rem;
}

.client-domain {
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.client-action {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #b9c7dc;
    border-radius: 50%;
    color: var(--brand-blue);
    background: var(--white);
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.client-action svg {
    width: 19px;
    height: 19px;
}

.client-item:hover .client-action,
.client-item:focus-visible .client-action {
    border-color: var(--brand-blue);
    color: var(--white);
    background: var(--brand-blue);
}

.section-contact {
    background: var(--white);
}

.contact-direct {
    display: grid;
    margin-top: 2.25rem;
    gap: 1rem;
}

.contact-direct a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.contact-direct svg {
    width: 22px;
    height: 22px;
    color: var(--brand-blue);
}

.contact-direct span {
    overflow-wrap: anywhere;
}

.contact-direct small {
    display: block;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 600;
}

.contact-form-wrap {
    padding: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-label {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 50px;
    border-color: #bfd0cc;
    border-radius: 4px;
    color: var(--ink);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(7, 91, 199, 0.16);
}

.field-error {
    display: block;
    margin-top: 0.35rem;
    color: #b42318;
    font-size: 0.78rem;
    font-weight: 700;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-status {
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.form-status--success {
    color: #12633f;
    font-weight: 700;
}

.form-status--error {
    color: #b42318;
    font-weight: 700;
}

.site-footer {
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.72);
    background: #10182c;
}

.footer-inner {
    display: grid;
    align-items: end;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.brand-light {
    margin-bottom: 1rem;
    color: #75adf0;
}

.site-footer p {
    margin-bottom: 0;
    font-size: 0.86rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--white);
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

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

@media (max-width: 1199.98px) {
    h1,
    .hero-content h2 {
        max-width: 680px;
        font-size: 3.5rem;
    }

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

    .about-grid,
    .contact-grid {
        gap: 4rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 70px;
    }

    h2 {
        font-size: 2.5rem;
    }

    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-item.ms-lg-3 {
        margin-top: 0.5rem;
    }

    .section {
        padding: 5.5rem 0;
    }

    .section-heading,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section-heading > p {
        max-width: 680px;
    }
}

@media (max-width: 767.98px) {
    h1,
    .hero-content h2 {
        max-width: 520px;
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .hero-slider,
    .hero-slide {
        height: calc(100svh - 112px);
        min-height: 520px;
        max-height: 680px;
    }

    .hero-slide,
    .hero-slide--web,
    .hero-slide--growth {
        background-position: 67% center;
    }

    .hero-slide::before,
    .hero-slide--web::before,
    .hero-slide--growth::before {
        background: rgba(15, 30, 58, 0.82);
    }

    .hero-content {
        padding-top: 2rem;
        padding-bottom: 6rem;
    }

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

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

    .proof-grid p {
        min-height: 84px;
        padding: 1rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .proof-grid p:first-child {
        border-left: 0;
    }

    .client-item {
        min-height: 144px;
        padding: 1.5rem 0.75rem;
        grid-template-columns: 42px minmax(0, 1fr) 44px;
        gap: 0.75rem;
    }

    .client-index {
        align-self: start;
        padding-top: 0.2rem;
        font-size: 1.35rem;
        grid-row: 1 / span 2;
    }

    .client-details h3 {
        font-size: 1.15rem;
    }

    .client-domain {
        grid-column: 2;
        grid-row: 2;
    }

    .client-action {
        width: 42px;
        height: 42px;
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }

    .footer-inner {
        align-items: start;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    h1,
    .hero-content h2 {
        font-size: 2.25rem;
    }

    .brand-word {
        font-size: 0.82rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-nav {
        display: none;
    }

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

    .service-card {
        min-height: 365px;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .form-footer .btn {
        width: 100%;
    }
}

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

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