@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --gina-blue: #174061;
    --gina-blue-soft: #2a5a82;
    --ink: #000;
    --ink-2: #0e1318;
    --line: #1d2630;
    --muted: rgba(255, 255, 255, 0.9);
    --text: #d7dde4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--text);
    font-family: "Montserrat";
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 5%, rgba(31, 100, 155, 1) 100%);
    padding: 60px 0 120px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://www.michaelahnatkova.cz/GINA/img/hero-bg.svg");
    width: 100%;
    height: 100%;
    background-size: cover;
    bottom: 0;
    right: 0;
    opacity: 0.1;
    background-repeat: no-repeat;
    pointer-events: none;
    background-position: bottom;
}

.hero .wrap {
    position: absolute;
    top: 50%;
    max-width: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 75vw;
    margin: 0 auto;
    font-size: 16px;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
}

.topnav a:hover {
    color: #fff;
}

.topnav img {
    height: 40px;
    object-fit: contain;
}

.topnav .sep {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .18);
}

.hero-center {
    text-align: center;
}

.hero-center h1 {
    color: #fff;
    font-weight: 400;
    line-height: 1.5;
    font-size: 80px;
    letter-spacing: .01em;
}

.hero-sub {
    color: rgba(255, 255, 255, .95);
    font-size: 18px;
    margin-top: 10px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
}

.hero-buttons .btn {
    width: 172px;
}

.btn {
    font-size: 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 9px 0px;
    border: 1px solid rgba(255, 255, 255, .35);
    color: #cfe0ee;
    background: rgba(255, 255, 255, .03);
    transition: .2s;
    cursor: pointer;
}

.btn:first-child {
    border-right: none;
}

.btn:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.hero-note {
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    line-height: 1.7;
}

/* ---------- SECTION GENERIC ---------- */

.row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 60px 0;
}

section .row,
footer .footer-inner {
    border-top: solid 1px rgba(255, 255, 255, 0.4);
}

.row h2 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    letter-spacing: .01em;
}

.row .body {
    font-size: 13px;
    color: var(--muted);
    max-width: 100%;
}

.row .body p {
    margin-bottom: 14px;
}

.row .body p.sub {
    justify-self: end;
    max-width: 400px;
    margin-bottom: 0;
}

/* logo showcase */
.logo-stage {
    background: #242424;
    border-radius: 0;
    aspect-ratio: 16/7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

@media (max-width: 500px) {
    .color-logo {
        width: 75px !important;
    }

    .swatch {
        width: 50px !important;
        height: 50px !important;
    }
}

.logo-stage img {
    object-fit: contain;
}

.full {
    grid-column: 1 / -1;
}

/* colors */
.color-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 26px;
    justify-content: end;
}

.color-row:first-of-type {
    margin-top: 60px;
}

.color-row:last-of-type {
    margin-bottom: 0 !important;
}

.color-logo {
    width: 150px;
}

.swatch {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    flex: none;
}

.swatch.blue {
    background: var(--gina-blue);
}

.swatch.white {
    background: #fff;
    border: 1px solid #333;
}

.color-meta {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

.color-meta b {
    color: #cdd5dd;
    display: block;
    margin-bottom: 3px;
    font-weight: 700;
}

/* clearspace */
.clear-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin-top: 8px;
}

.clear-box {
    border: 1px dashed #2d3741;
    padding: 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, .012);
}

.clear-box img {
    width: 70%;
}

.clear-box.big img {
    width: 88%;
}

/* in context */
.context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 0;
}

.ctx {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctx.blue {
    background: var(--gina-blue);
}

.ctx.dark {
    background: #fff;
    border: 1px solid var(--line);
}

.ctx img {
    width: 75%;
}

/* readability grid */
.read-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.read-cell .pic {
    border-radius: 0;
    height: 92px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.read-cell .pic img {
    width: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.read-label {
    font-size: 11px;
    margin-top: 9px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.45;
}

.read-label b {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #2e7d32;
    flex: none;
    margin-top: 2px;
    position: relative;
}

.dot.bad {
    background: #c0392b;
}

.dot::before {
    content: "";
    position: absolute;
}

/* white check */
.dot:not(.bad)::before {
    left: 4px;
    top: 2px;
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(45deg);
}

/* white cross */
.dot.bad::before {
    left: 50%;
    top: 50%;
    width: 7px;
    height: 1.6px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.dot.bad::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 1.6px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* co-branding */
.cobrand {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 10px;
}

.lockup-diagram {
    border: 1px dashed #2d3741;
    padding: 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    gap: 18px;
}

.lockup-diagram .a-big {
    font-size: 90px;
    font-weight: 700;
    color: #fff;
    line-height: .8;
}

.lockup-diagram img {
    width: 100%;
    height: 100%;
}

.lockups {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lockup {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lockup img.gmark {
    width: 120px;
}

.lockup .divider {
    width: 1px;
    height: 30px;
    background: #3a4650;
}

.lockup .partner {
    font-size: 20px;
    font-weight: 700;
    color: #3da5e0;
    font-style: italic;
}

/* avoid grid */
.avoid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.avoid-cell .pic {
    background: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.avoid-cell.dark .pic {
    background: #11161c;
    border: 1px solid var(--line);
}

.avoid-cell .pic img {
    width: 100%;
}

.avoid-cap {
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px;
    display: flex;
    gap: 6px;
}

.xdot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #c0392b;
    flex: none;
    margin-top: 2px;
    position: relative;
}

.xdot::before,
.xdot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 1.6px;
    background: #fff;
}

.xdot::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.xdot::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* application examples */
.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 14px;
}

.apps-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

/* footer */
footer .footer-inner {
    padding: 40px 0 60px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.footer-inner img {
    width: 110px;
}

.footer-inner small {
    font-size: 14px;
    color: #fff;
}

.footer-inner a {
    color: #7f8b97;
    text-decoration: underline;
    transition: all 0.3s;
}

.footer-inner a:hover {
    color: #fff;
    text-decoration: none;
}

@media(max-width:760px) {
    .row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 46px 0;
    }

    .read-grid,
    .avoid-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clear-grid,
    .context-grid,
    .cobrand,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .hero-center h1 {
        font-size: 30px;
    }

    .wrap {
        padding: 0 22px;
    }
}