/* =========================
   FONTS
========================= */

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

@font-face {
    font-family: "Satoshi";
    src: url("FONTS/Satoshi-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Satoshi";
    src: url("FONTS/Satoshi-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Satoshi";
    src: url("FONTS/Satoshi-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================
   GLOBAL
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 20px;

    background: #f5f5f3;

    font-family: "Inter Tight", Arial, sans-serif;
    color: #111111;
}

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

a {
    color: inherit;
}

section {
    scroll-margin-top: 120px;
}


/* =========================
   HEADINGS
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Satoshi", "Inter Tight", Arial, sans-serif;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 40px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 1000;

    width: calc(100% - 80px);
    max-width: 1100px;
    height: 72px;

    padding: 0 10px 0 24px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}


/* NAVBAR LOGO */

.navbar__logo {
    justify-self: start;

    display: flex;
    align-items: center;

    text-decoration: none;
}

.navbar__logo img {
    width: auto;
    height: 48px;
}


/* NAVBAR LINKS */

.navbar__links {
    justify-self: center;

    display: flex;
    align-items: center;

    gap: 34px;
}

.navbar__links a {
    position: relative;

    color: #4f4f4f;

    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-weight: 800;

    text-decoration: none;

    transition: color 0.2s ease;
}

.navbar__links a:hover {
    color: #0e1e32;
}

.navbar__links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: #0e1e32;

    transform: translateX(-50%);

    transition: width 0.2s ease;
}

.navbar__links a:hover::after {
    width: 100%;
}


/* NAVBAR CTA */

.navbar__cta {
    justify-self: end;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 16px 36px;

    background: #2F6BFF;
    color: #ffffff;

    border-radius: 999px;

    font-family: "Inter Tight", sans-serif;
    font-size: 18px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.navbar__cta:hover {
    background: #2c3d54;

    transform: translateY(-1px);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 760px;

    padding:
        130px
        clamp(48px, 5vw, 80px)
        60px
        clamp(48px, 7vw, 120px);

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.85fr);

    grid-template-areas:
        "content visual";

    gap: clamp(40px, 5vw, 80px);

    align-items: center;

    background: linear-gradient(
        to top right,
        #0e1e32 0%,
        #2c3d54 100%
    );

    border-radius: 28px;

    overflow: hidden;
}


/* HERO CONTENT */

.hero__content {
    grid-area: content;

    min-width: 0;
    max-width: 800px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 {
    max-width: 800px;

    margin: 0;

    color: #ffffff;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(52px, 5vw, 82px);
    font-weight: 500;

    line-height: 0.98;
    letter-spacing: -0.045em;
}

.hero__tagline {
    max-width: 580px;

    margin: 28px 0 0;

    color: #ffffff;

    font-family: "Inter Tight", sans-serif;
    font-size: 18px;
    font-weight: 400;

    line-height: 1.6;
}


/* HERO BUTTONS */

.hero__actions {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 36px;
}

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 999px;

    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.hero__button--primary {
    background: #2F6BFF;
    color: #ffffff;

    border: 2px solid #2F6BFF;
}

.hero__button--primary:hover {
    background: #f0f2f4;
    border-color: #f0f2f4;
    color: #2F6BFF;

    transform: translateY(-2px);
}

.hero__button--secondary {
    background: transparent;
    color: #ffffff;

    border: 2px solid rgba(255, 255, 255, 1);
}

.hero__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #2F6BFF;
    color: #2F6BFF;

    transform: translateY(-2px);
}


/* HERO IMAGE */

.hero__visual {
    grid-area: visual;

    width: 100%;
    height: 560px;

    overflow: hidden;

    border-radius: 24px;
}

.hero__visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =========================
   SHARED SECTION LABEL
========================= */

.section-label {
    display: inline-block;

    margin-bottom: 32px;

    color: #788492;

    font-family: "Inter Tight", sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================
   SKILLS
========================= */

.skills {
    margin-top: 20px;

    padding:
        clamp(70px, 8vw, 120px)
        clamp(36px, 6vw, 90px);

    background: #ffffff;

    border-radius: 28px;
}

.skills__intro {
    margin-bottom: 72px;
}

.skills__intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: end;
}

.skills__intro h2 {
    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(46px, 5vw, 72px);
    font-weight: 500;

    line-height: 1;
    letter-spacing: -0.045em;
}

.skills__intro p {
    max-width: 480px;

    margin: 0 0 4px;

    color: #66717d;

    font-size: 17px;
    line-height: 1.65;
}


/* SKILLS LAYOUT */

.skills__layout {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 18px;
}

.skills__side {
    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 18px;
}


/* SKILL CARDS */

.skill-card {
    min-height: 280px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    background: #f5f5f3;

    border: 1px solid rgba(14, 30, 50, 0.06);
    border-radius: 24px;
}

.skill-card--featured {
    min-height: 578px;

    background: linear-gradient(
        to top right,
        #0e1e32,
        #2c3d54
    );

    color: #ffffff;

    border: none;
}

.skill-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #84909c;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.skill-card--featured .skill-card__top {
    color: rgba(255, 255, 255, 0.55);
}

.skill-card__content {
    margin-top: auto;
}

.skill-card h3 {
    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: 28px;
    font-weight: 500;

    letter-spacing: -0.035em;
}

.skill-card--featured h3 {
    color: #ffffff;

    font-size: clamp(38px, 4vw, 54px);
}

.skill-card p {
    max-width: 480px;

    margin: 16px 0 28px;

    color: #66717d;

    font-size: 15px;
    line-height: 1.6;
}

.skill-card--featured p {
    max-width: 520px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
}

.skill-card__tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.skill-card__tags span {
    padding: 8px 12px;

    background: #ffffff;
    color: #435163;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;
}

.skill-card--featured .skill-card__tags span {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.14);
}


/* =========================
   CASES
========================= */

.cases {
    margin-top: 20px;

    padding:
        clamp(70px, 8vw, 120px)
        clamp(36px, 6vw, 90px);

    background: #ffffff;

    border-radius: 28px;
}

.cases__header {
    margin-bottom: 72px;
}

.cases__intro {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: end;
}

.cases__intro h2 {
    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(46px, 5vw, 72px);
    font-weight: 500;

    line-height: 1;
    letter-spacing: -0.045em;
}

.cases__intro p {
    max-width: 480px;

    margin: 0 0 4px;

    color: #66717d;

    font-size: 17px;
    line-height: 1.65;
}


/* CASE GRID */

.cases__grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


/* =========================
   CASE CARDS
========================= */

.case-card {
    min-height: 430px;

    padding: 32px;

    display: flex;
    flex-direction: column;

    background: #f5f5f3;

    border: 1px solid rgba(14, 30, 50, 0.06);
    border-radius: 24px;

    overflow: hidden;
}

.case-card--featured {
    grid-column: 1 / -1;

    min-height: 540px;

    background: #e9edf1;
}

.case-card--dark {
    background: linear-gradient(
        to top right,
        #0e1e32,
        #2c3d54
    );

    color: #ffffff;

    border: none;
}


/* CASE META */

.case-card__meta {
    display: flex;
    justify-content: space-between;

    color: #7d8995;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-card--dark .case-card__meta {
    color: rgba(255, 255, 255, 0.5);
}


/* FEATURED CONTENT */

.case-card__featured-content {
    flex: 1;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: end;

    margin-top: 60px;
}


/* CASE COPY */

.case-card__copy {
    margin-top: auto;
}

.case-card__label {
    display: block;

    margin-bottom: 20px;

    color: #75818e;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.case-card h3 {
    max-width: 620px;

    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 500;

    line-height: 1.06;
    letter-spacing: -0.04em;
}

.case-card--featured h3 {
    font-size: clamp(42px, 5vw, 68px);
}

.case-card--dark h3 {
    color: #ffffff;
}

.case-card p {
    max-width: 540px;

    margin: 20px 0 28px;

    color: #66717d;

    font-size: 15px;
    line-height: 1.6;
}

.case-card--dark p {
    color: rgba(255, 255, 255, 0.72);
}


/* OLD TEXT LINK — KEPT FOR COMPATIBILITY */

.case-card__link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: fit-content;

    color: #0e1e32;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.case-card__link span {
    transition: transform 0.2s ease;
}

.case-card__link:hover span {
    transform: translate(3px, -3px);
}

.case-card--dark .case-card__link {
    color: #ffffff;
}


/* =========================
   CASE METRICS
========================= */

.case-card__metrics {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.case-metric {
    padding: 24px;

    background: rgba(255, 255, 255, 0.7);

    border-radius: 18px;
}

.case-metric strong {
    display: block;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;

    letter-spacing: -0.04em;
}

.case-metric span {
    display: block;

    margin-top: 8px;

    color: #71808d;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================
   CASE CARD CTA
========================= */

.case-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    width: 100%;

    margin-top: auto;
    padding-top: 32px;
}

.case-card__button,
.case-card__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 46px;

    padding: 0 20px;

    background: #2F6BFF;
    color: #ffffff;

    border-radius: 999px;

    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.case-card__button span {
    font-size: 16px;

    transition: transform 0.2s ease;
}

.case-card__button:hover {
    background: #2c3d54;
    color: #ffffff;

    transform: translateY(-2px);
}

.case-card__button:hover span {
    transform: translate(2px, -2px);
}


/* DARK CASE CTA */

.case-card--dark .case-card__button,
.case-card--dark .case-card__button:visited {
    background: #2F6BFF;
    color: #ffffff;
}

.case-card--dark .case-card__button:hover {
    background: #ffffff;
    color: #0e1e32;
}


/* =========================
   ABOUT
========================= */

.about {
    margin-top: 20px;

    min-height: 680px;

    padding: clamp(28px, 4vw, 60px);

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: clamp(32px, 5vw, 72px);

    align-items: stretch;

    background: #e9edf1;

    border-radius: 28px;
}


/* ABOUT IMAGE */

.about__image {
    min-height: 560px;

    overflow: hidden;

    border-radius: 22px;
}

.about__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ABOUT CARD */

.about__card {
    align-self: center;

    max-width: 640px;

    padding: clamp(36px, 4vw, 56px);

    background: #ffffff;

    border-radius: 22px;

    box-shadow: 0 10px 30px rgba(14, 30, 50, 0.06);
}

.about__card .section-label {
    margin-bottom: 30px;
}

.about__card h2 {
    margin: 0;

    color: #0e1e32;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(44px, 4.5vw, 64px);
    font-weight: 500;

    line-height: 1;
    letter-spacing: -0.045em;
}

.about__lead {
    max-width: 540px;

    margin: 30px 0 0;

    color: #0e1e32;

    font-size: 20px;

    line-height: 1.5;
    letter-spacing: -0.015em;
}

.about__text {
    max-width: 540px;

    margin: 20px 0 0;

    color: #64717f;

    font-size: 16px;
    line-height: 1.7;
}


/* ABOUT BUTTON */

.about__button {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 34px;

    padding: 14px 22px;

    background: #2F6BFF;
    color: #ffffff;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.about__button:hover {
    background: #2c3d54;

    transform: translateY(-2px);
}

.about__button span {
    transition: transform 0.2s ease;
}

.about__button:hover span {
    transform: translate(2px, -2px);
}


/* =========================
   CLOSING
========================= */

.closing {
    margin-top: 20px;

    background: linear-gradient(
        to bottom right,
        #2c3d54 0%,
        #0e1e32 55%,
        #081521 100%
    );

    border-radius: 28px;

    overflow: hidden;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding:
        clamp(42px, 5vw, 64px)
        clamp(36px, 6vw, 90px);

    background: transparent;
    color: #ffffff;
}

.contact__content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.contact__label {
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact__email,
.contact__email:visited {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    color: #ffffff;

    font-family: "Satoshi", sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 500;

    letter-spacing: -0.04em;
    text-decoration: none;

    transition: opacity 0.2s ease;
}

.contact__email:hover {
    color: #ffffff;

    opacity: 0.7;
}

.contact__email span {
    color: #ffffff;

    font-size: 0.65em;

    transition: transform 0.2s ease;
}

.contact__email:hover span {
    transform: translate(3px, -3px);
}


/* =========================
   FOOTER
========================= */

.footer {
    min-height: 110px;

    padding: 28px 38px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    background: transparent;
    color: #ffffff;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__left {
    justify-self: start;

    color: rgba(255, 255, 255, 0.5);

    font-size: 12px;
}


/* FOOTER SOCIALS */

.footer__socials {
    justify-self: center;

    display: flex;
    align-items: center;

    gap: 10px;
}

.footer__social,
.footer__social:visited {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.footer__social svg {
    width: 18px;
    height: 18px;

    fill: currentColor;
}

.footer__social:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);

    transform: translateY(-2px);
}


/* FOOTER BACK TO TOP */

.footer__top,
.footer__top:visited {
    justify-self: end;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer__top:hover {
    color: #ffffff;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;

        grid-template-areas:
            "content"
            "visual";

        padding:
            130px
            40px
            40px;

        gap: 50px;
    }

    .hero__visual {
        height: 480px;
    }

    .skills__intro-grid,
    .cases__intro {
        grid-template-columns: 1fr;

        gap: 28px;
    }

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

    .skills__side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .skill-card--featured {
        min-height: 460px;
    }

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

    .case-card--featured {
        grid-column: auto;
    }

    .case-card__featured-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

        gap: 28px;
    }

    .about__image {
        min-height: 520px;
    }

    .about__card {
        max-width: none;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    body {
        padding: 12px;
    }


    /* NAVBAR */

    .navbar {
        top: 28px;

        width: calc(100% - 48px);
        height: 64px;

        grid-template-columns: 1fr auto;

        padding: 0 7px 0 18px;
    }

    .navbar__links {
        display: none;
    }

    .navbar__logo img {
        height: 40px;
    }

    .navbar__cta {
        padding: 11px 16px;

        font-size: 13px;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding:
            120px
            28px
            28px;

        gap: 44px;

        border-radius: 20px;
    }

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

    .hero__tagline {
        margin-top: 22px;

        font-size: 16px;
        line-height: 1.55;
    }

    .hero__visual {
        height: 380px;

        border-radius: 18px;
    }


    /* SKILLS */

    .skills {
        margin-top: 12px;

        padding: 70px 24px;

        border-radius: 20px;
    }

    .skills__intro {
        margin-bottom: 48px;
    }

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

    .skills__intro p {
        font-size: 16px;
    }

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

    .skill-card,
    .skill-card--featured {
        min-height: 340px;

        padding: 24px;

        border-radius: 20px;
    }

    .skill-card--featured h3 {
        font-size: 38px;
    }


    /* CASES */

    .cases {
        margin-top: 12px;

        padding: 70px 24px;

        border-radius: 20px;
    }

    .cases__header {
        margin-bottom: 48px;
    }

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

    .cases__intro p {
        font-size: 16px;
    }

    .case-card,
    .case-card--featured {
        min-height: 420px;

        padding: 24px;

        border-radius: 20px;
    }

    .case-card__metrics {
        grid-template-columns: 1fr;
    }

    .case-card--featured h3 {
        font-size: 42px;
    }

    .case-card__actions {
        padding-top: 26px;
    }

    .case-card__button {
        min-height: 44px;

        padding: 0 18px;
    }


    /* ABOUT */

    .about {
        margin-top: 12px;

        min-height: auto;

        padding: 18px;

        gap: 18px;

        border-radius: 20px;
    }

    .about__image {
        min-height: 420px;

        border-radius: 16px;
    }

    .about__card {
        padding: 30px 24px;

        border-radius: 16px;
    }

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

    .about__lead {
        font-size: 18px;
    }

    .about__text {
        font-size: 15px;
    }


    /* CLOSING */

    .closing {
        margin-top: 12px;

        border-radius: 20px;
    }

    .contact {
        padding: 36px 24px;
    }

    .contact__content {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;
    }

    .contact__email {
        font-size: 30px;
    }


    /* FOOTER */

    .footer {
        padding: 28px 24px;

        grid-template-columns: 1fr auto;

        gap: 28px;
    }

    .footer__socials {
        justify-self: end;
    }

    .footer__top {
        grid-column: 1 / -1;

        justify-self: start;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 450px) {

    .hero__actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }

    .hero__button {
        width: 100%;
    }

}