/* =========================================================
   SOLO-GYM
   ABOUT / O GYMU
   ========================================================= */

.sg-about {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 110px 0 100px;
    color: var(--sg-text, #f5f5f5);
}


/* =========================================================
   TYPOGRAPHY / SHARED
   ========================================================= */

.sg-about__eyebrow,
.sg-about__section-label {
    display: inline-block;

    color: var(--sg-gold, #eab308);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .16em;

    text-transform: uppercase;
}

.sg-about__text {
    max-width: 760px;
}

.sg-about__text p {
    margin: 0 0 17px;

    color: var(--sg-muted, #9ca3af);

    font-size: 16px;
    line-height: 1.7;
}

.sg-about__text p:last-child {
    margin-bottom: 0;
}

.sg-about__heading {
    margin: 15px 0 28px;

    color: #fff;

    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.045em;
}


/* =========================================================
   HERO
   ========================================================= */

.sg-about__hero {
    max-width: 900px;

    margin: 0 auto;
    padding: 30px 0 125px;

    text-align: center;
}

.sg-about__title {
    margin: 20px auto 28px;

    color: #fff;

    font-size: clamp(52px, 7vw, 88px);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -.055em;
}

.sg-about__intro {
    max-width: 700px;

    margin: 0 auto;

    color: var(--sg-muted, #9ca3af);

    font-size: 18px;
    line-height: 1.65;
}


/* =========================================================
   PROČ SOLO-GYM
   ========================================================= */

.sg-about__section {
    padding: 70px 0 80px;

    border-top: 1px solid rgba(255,255,255,.12);
}

.sg-about__section--intro {
    padding-top: 65px;
}

.sg-about__statement {
    margin-top: 38px;

    color: #fff;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}


/* =========================================================
   FEATURE BLOCKS
   ========================================================= */

.sg-about__feature {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);

    margin-top: 0;

    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.sg-about__feature-number {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 70px;

    border-right: 1px solid rgba(255,255,255,.12);

    color: var(--sg-gold, #eab308);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.sg-about__feature-content {
    padding: 70px 65px 75px;
}

.sg-about__highlight {
    display: inline-block;

    margin-top: 34px;
    padding: 13px 18px;

    border-left: 2px solid var(--sg-gold, #eab308);

    color: #fff;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   DOG FRIENDLY
   ========================================================= */

.sg-about__feature--dog {
    margin-top: 70px;

    background:
        linear-gradient(
            90deg,
            rgba(234,179,8,.045),
            transparent 55%
        );
}

.sg-about__feature--dog .sg-about__heading {
    max-width: 700px;
}


/* =========================================================
   KOMFORT
   ========================================================= */

.sg-about__section:nth-of-type(5) {
    padding-top: 90px;
}


/* =========================================================
   LOCATION
   ========================================================= */

.sg-about__location {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-top: 20px;

    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.sg-about__location-content {
    padding: 70px 55px 75px 0;
}

.sg-about__location-address {
    margin: 0 0 28px;

    color: #fff;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.sg-about__location-map {
    min-height: 430px;

    border-left: 1px solid rgba(255,255,255,.12);
}

.sg-about__location-map iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 430px;

    border: 0;

    filter: grayscale(1);
}


/* =====================================================
   ABOUT — PETR PEČ
   ===================================================== */

.sg-about__person {
    margin-top: 5rem;
    border-top: 1px solid var(--sg-border);
    border-bottom: 1px solid var(--sg-border);
}


/* Clickable profile */

.sg-about__person-card {
    display: grid;
    grid-template-columns: 38% 62%;

    width: 100%;
    padding: 0;

    border: 0;

    background: transparent;
    color: inherit;

    text-align: left;

    cursor: pointer;
}


.sg-about__person-image {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: var(--sg-surface);
}


.sg-about__person-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.sg-about__person-card:hover
.sg-about__person-image img {
    transform: scale(1.025);
}


.sg-about__person-hint {
    position: absolute;

    right: 1.5rem;
    bottom: 1.5rem;

    padding: .55rem .8rem;

    background: rgba(0, 0, 0, .75);

    color: var(--sg-primary);

    font-size: .7rem;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.sg-about__person-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 4rem 5rem;

    border-left: 1px solid var(--sg-border);
}


.sg-about__person-eyebrow {
    display: block;

    margin-bottom: 1rem;

    color: var(--sg-primary);

    font-size: .75rem;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.sg-about__person-content h2,
.sg-about__petr-body h2 {
    margin: 0 0 2rem;

    color: var(--sg-text);

    font-size: clamp(2.5rem, 4vw, 4.5rem);

    line-height: .95;
    letter-spacing: -.04em;
}


.sg-about__person-content p,
.sg-about__petr-intro {
    max-width: 680px;

    margin: 0;

    color: var(--sg-text-muted);

    font-size: 1.05rem;
    line-height: 1.7;
}


.sg-about__person-link {
    display: inline-flex;

    align-items: center;
    gap: .75rem;

    margin-top: 2rem;

    color: var(--sg-primary);

    font-size: .75rem;
    font-weight: 700;

    letter-spacing: .1em;
    text-transform: uppercase;
}

/* =====================================================
   PETR MODAL
   ===================================================== */

.sg-modal__dialog.sg-about__petr-dialog {
    position: relative;

    display: grid;
    grid-template-columns: 36% minmax(0, 64%);

    width: min(1080px, calc(100vw - 3rem));
    height: min(760px, calc(100vh - 3rem));

    background: var(--sg-surface, #181818);
    border: 1px solid var(--sg-border, rgba(255,255,255,.12));

    overflow: hidden;
}


/* =====================================================
   MEDIA
   ===================================================== */

.sg-about__petr-media {
    min-width: 0;
    min-height: 0;

    background: #111;

    overflow: hidden;
}

.sg-about__petr-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* =====================================================
   BODY
   ===================================================== */

.sg-about__petr-body {
    min-width: 0;
    min-height: 0;

    padding: 4rem 4.5rem;

    overflow-y: auto;
}


/* =====================================================
   DETAILS
   ===================================================== */

.sg-about__petr-details {
    display: grid;

    gap: 0;

    margin-top: 2.5rem;
}

.sg-about__petr-details > div {
    padding: 1.25rem 0;

    border-top: 1px solid var(--sg-border);
}

.sg-about__petr-details > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.sg-about__petr-details strong {
    display: block;

    margin-bottom: .45rem;

    color: var(--sg-text);

    font-size: .75rem;
    font-weight: 700;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.sg-about__petr-details p {
    margin: 0;

    color: var(--sg-text-muted);

    font-size: .95rem;
    line-height: 1.65;
}

.sg-about__petr-motto p {
    font-style: italic;
}


/* =====================================================
   CLOSE
   ===================================================== */

.sg-about__petr-dialog .sg-modal__close {
    position: absolute;

    top: 1rem;
    right: 1rem;

    z-index: 5;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .sg-about__person-card {
        grid-template-columns: 1fr;
    }

    .sg-about__person-image {
        min-height: 420px;
    }

    .sg-about__person-content {
        padding: 2.5rem 1.5rem;

        border-left: 0;
        border-top: 1px solid var(--sg-border);
    }

    .sg-about__person-content h2,
    .sg-about__petr-body h2 {
        font-size: 2.5rem;
    }


    .sg-about__petr-dialog {
        grid-template-columns: 1fr;

        width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);

        overflow-y: auto;
    }


    .sg-about__petr-media {
        min-height: 300px;
        max-height: 380px;
    }


    .sg-about__petr-media img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    .sg-about__petr-body {
        padding: 2rem 1.5rem 2.5rem;
    }

    .sg-modal__dialog.sg-about__petr-dialog {
        grid-template-columns: 1fr;

        width: calc(100vw - 2rem);
        max-width: none;

        max-height: calc(100vh - 2rem);

        overflow-y: auto;
    }

    .sg-about__petr-media {
        min-height: 300px;
        max-height: 380px;
    }

    .sg-about__petr-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .sg-about__petr-body {
        padding: 2rem 1.5rem 2.5rem;
    }

}

/* =========================================================
   RESPECT
   ========================================================= */

.sg-about__respect {
    margin-top: 100px;

    padding: 85px 60px;

    border: 1px solid rgba(234,179,8,.28);

    background:
        linear-gradient(
            135deg,
            rgba(234,179,8,.07),
            rgba(255,255,255,.015)
        );
}

.sg-about__respect-inner {
    max-width: 850px;

    margin: 0 auto;
}

.sg-about__respect-title {
    max-width: 800px;

    margin: 20px 0 35px;

    color: #fff;

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.05em;
}

.sg-about__respect-text {
    max-width: 760px;
}

.sg-about__respect-text p {
    margin: 0 0 18px;

    color: #a1a1aa;

    font-size: 16px;
    line-height: 1.7;
}

.sg-about__respect-text p:last-child {
    margin-bottom: 0;
}

.sg-about__respect-statement {
    margin-top: 45px;

    color: var(--sg-gold, #eab308);

    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.025em;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.sg-about__cta {
    padding: 120px 0 20px;

    text-align: center;
}

.sg-about__cta-inner {
    max-width: 900px;

    margin: 0 auto;
}

.sg-about__cta-title {
    max-width: 850px;

    margin: 18px auto 35px;

    color: #fff;

    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.05em;
}

.sg-about__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 54px;

    padding: 0 30px;

    background: var(--sg-gold, #eab308);
    color: #111;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;

    text-transform: uppercase;

    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.sg-about__cta-button:hover {
    background: #f2bd0b;
    color: #111;

    transform: translateY(-2px);

    box-shadow: 0 12px 30px rgba(234,179,8,.16);
}

.sg-about__cta-button span:last-child {
    font-size: 21px;

    transition: transform .2s ease;
}

.sg-about__cta-button:hover span:last-child {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .sg-about__feature {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .sg-about__feature-content {
        padding: 60px 45px 65px;
    }

    .sg-about__location {
        grid-template-columns: 1fr;
    }

    .sg-about__location-content {
        padding: 60px 0;
    }

    .sg-about__location-map {
        min-height: 360px;

        border-top: 1px solid rgba(255,255,255,.12);
        border-left: 0;
    }

    .sg-about__location-map iframe {
        min-height: 360px;
    }

    .sg-about__person {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .sg-about__person-image {
        min-height: 420px;
    }

    .sg-about__person-content {
        padding: 55px 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .sg-about {
        width: min(100% - 30px, 560px);

        padding: 75px 0 70px;
    }


    /* HERO */

    .sg-about__hero {
        padding: 20px 0 80px;
    }

    .sg-about__title {
        font-size: clamp(44px, 13vw, 62px);
    }

    .sg-about__intro {
        font-size: 16px;
    }


    /* SHARED */

    .sg-about__heading {
        font-size: 35px;
    }

    .sg-about__text p {
        font-size: 15px;
    }


    /* SECTION */

    .sg-about__section {
        padding: 55px 0 60px;
    }

    .sg-about__statement {
        font-size: 19px;
    }


    /* FEATURES */

    .sg-about__feature {
        display: block;
    }

    .sg-about__feature-number {
        justify-content: flex-start;

        padding: 22px 18px;

        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .sg-about__feature-content {
        padding: 45px 18px 50px;
    }

    .sg-about__highlight {
        margin-top: 28px;

        font-size: 15px;
    }

    .sg-about__feature--dog {
        margin-top: 55px;
    }


    /* LOCATION */

    .sg-about__location {
        margin-top: 0;
    }

    .sg-about__location-content {
        padding: 55px 0;
    }

    .sg-about__location-map,
    .sg-about__location-map iframe {
        min-height: 300px;
    }


    /* PERSON */

    .sg-about__person {
        display: block;

        margin-top: 75px;
    }

    .sg-about__person-image {
        min-height: 360px;

        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .sg-about__person-content {
        padding: 45px 18px 50px;
    }


    /* RESPECT */

    .sg-about__respect {
        margin-top: 75px;

        padding: 55px 22px;
    }

    .sg-about__respect-title {
        font-size: 42px;
    }

    .sg-about__respect-text p {
        font-size: 15px;
    }

    .sg-about__respect-statement {
        font-size: 24px;
    }


    /* CTA */

    .sg-about__cta {
        padding-top: 85px;
    }

    .sg-about__cta-title {
        font-size: 43px;
    }

    .sg-about__cta-button {
        width: 100%;
    }

}