/* =========================================================
   RELAX WELLNESS APARTMAN
   JOGI / INFORMÁCIÓS OLDALAK
========================================================= */


/* =========================================================
   ALAP
========================================================= */

.legal-page {
    margin: 0;

    background: #f4efe5;

    color: #17362f;
}


/* =========================================================
   FEJLÉC
========================================================= */

.legal-header {
    background: #082f27;

    box-shadow:
        0 1px 0 rgba(255, 255, 255, .08);
}


/* =========================================================
   HERO
========================================================= */

.legal-hero {
    position: relative;

    min-height: 470px;

    padding:
        155px
        6%
        90px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 39, 32, .98) 0%,
            rgba(7, 48, 39, .95) 55%,
            rgba(11, 58, 47, .93) 100%
        );
}


/*
   Finom dekoráció a háttérben.
*/

.legal-hero::after {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -100px;
    top: 35px;

    border:
        1px
        solid
        rgba(214, 163, 79, .13);

    border-radius: 50%;
}


.legal-hero-inner {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


.legal-eyebrow {
    margin:
        0
        0
        22px;

    color: #d6a34f;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .28em;
}


.legal-hero h1 {
    max-width: 760px;

    margin:
        0
        0
        25px;

    color: #f7f1e7;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(45px, 5vw, 78px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.025em;
}


.legal-intro {
    max-width: 610px;

    margin: 0;

    color:
        rgba(255, 255, 255, .72);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   DOKUMENTUM HÁTTÉR
========================================================= */

.legal-content {
    padding:
        90px
        6%
        110px;

    background: #f4efe5;
}


.legal-document {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    padding:
        70px
        80px;

    box-sizing: border-box;

    background: #fffdf8;

    box-shadow:
        0 20px 60px rgba(32, 45, 39, .08);
}


/* =========================================================
   SZOLGÁLTATÓ
========================================================= */

.legal-provider {
    padding-bottom: 55px;

    margin-bottom: 20px;

    border-bottom:
        1px
        solid
        rgba(23, 54, 47, .14);
}


.legal-small-title {
    margin:
        0
        0
        10px;

    color: #c28e3f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .22em;
}


.legal-provider h2 {
    margin:
        0
        0
        8px;

    color: #17362f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 32px;

    font-weight: 400;
}


.legal-provider > p:not(.legal-small-title) {
    margin:
        0
        0
        32px;

    color: #65716d;

    font-size: 14px;
}


.provider-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        22px
        50px;
}


.provider-grid div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.provider-grid span {
    color: #8a928f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.provider-grid strong,
.provider-grid a {
    color: #17362f;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;
}


.provider-grid a:hover {
    color: #c28e3f;
}


/* =========================================================
   FEJEZETEK
========================================================= */

.legal-section {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr);

    gap: 20px;

    padding:
        45px
        0;

    border-bottom:
        1px
        solid
        rgba(23, 54, 47, .11);
}


.legal-number {
    padding-top: 7px;

    color: #c28e3f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    font-style: italic;
}


.legal-section h2 {
    margin:
        0
        0
        22px;

    color: #17362f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(24px, 3vw, 32px);

    font-weight: 400;

    line-height: 1.15;
}


.legal-section p {
    max-width: 760px;

    margin:
        0
        0
        17px;

    color: #4d5c57;

    font-size: 15px;

    line-height: 1.82;
}


.legal-section p:last-child {
    margin-bottom: 0;
}


.legal-section strong {
    color: #17362f;

    font-weight: 700;
}


.legal-section p a {
    color: #9b6c28;

    text-decoration: underline;

    text-underline-offset: 3px;
}


/* =========================================================
   KIEMELT INFORMÁCIÓK
========================================================= */

.legal-highlight {
    margin:
        27px
        0;

    padding:
        25px
        28px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;

    background: #f1eadc;

    border-left:
        3px
        solid
        #d6a34f;
}


.legal-highlight div {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.legal-highlight span {
    color: #8a7655;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.legal-highlight strong {
    color: #17362f;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    font-weight: 400;
}


.legal-highlight small {
    color: #68746f;

    font-size: 11px;

    line-height: 1.5;
}


.single-highlight {
    grid-template-columns: 1fr;
}


/* =========================================================
   KAPCSOLAT DOBOZ
========================================================= */

.legal-contact-box {
    margin:
        25px
        0;

    padding:
        24px
        28px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    background: #f1eadc;

    border-left:
        3px
        solid
        #d6a34f;
}


.legal-contact-box a {
    width: fit-content;

    color: #17362f;

    font-size: 15px;

    font-weight: 600;

    text-decoration: none;
}


.legal-contact-box a:hover {
    color: #b77f2d;
}


/* =========================================================
   HATÁLYOS
========================================================= */

.legal-effective {
    margin-top: 55px;

    padding:
        25px
        28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: #0b392f;

    color: #fff;
}


.legal-effective span {
    color: #d6a34f;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .2em;
}


.legal-effective strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    font-weight: 400;
}


/* =========================================================
   ALSÓ GOMBOK
========================================================= */

.legal-actions {
    margin-top: 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.legal-back-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        0
        27px;

    box-sizing: border-box;

    background: #d6a34f;

    color: #102f29;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .08em;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease;
}


.legal-back-button:hover {
    transform:
        translateY(-2px);

    background: #e1b563;
}


.legal-home-link {
    color: #65716d;

    font-size: 12px;

    text-decoration: none;

    border-bottom:
        1px
        solid
        rgba(101, 113, 109, .45);
}


.legal-home-link:hover {
    color: #17362f;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .legal-hero {
        min-height: 400px;

        padding:
            135px
            7%
            70px;
    }


    .legal-content {
        padding:
            60px
            5%
            80px;
    }


    .legal-document {
        padding:
            55px
            50px;
    }

}


/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 700px) {

    .legal-hero {
        min-height: 360px;

        padding:
            120px
            22px
            55px;
    }


    .legal-hero::after {
        width: 300px;
        height: 300px;

        right: -150px;
        top: 60px;
    }


    .legal-eyebrow {
        margin-bottom: 16px;

        font-size: 9px;

        line-height: 1.6;
    }


    .legal-hero h1 {
        margin-bottom: 20px;

        font-size: 42px;

        line-height: 1.02;
    }


    .legal-intro {
        font-size: 14px;

        line-height: 1.65;
    }


    .legal-content {
        padding:
            35px
            14px
            60px;
    }


    .legal-document {
        padding:
            38px
            22px;

        box-shadow:
            0 10px 35px rgba(32, 45, 39, .06);
    }


    .legal-provider {
        padding-bottom: 38px;
    }


    .legal-provider h2 {
        font-size: 27px;
    }


    .provider-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .legal-section {
        grid-template-columns: 1fr;

        gap: 7px;

        padding:
            35px
            0;
    }


    .legal-number {
        padding-top: 0;

        font-size: 12px;
    }


    .legal-section h2 {
        margin-bottom: 18px;

        font-size: 25px;
    }


    .legal-section p {
        font-size: 14px;

        line-height: 1.75;
    }


    .legal-highlight {
        grid-template-columns: 1fr;

        gap: 22px;

        padding:
            22px
            20px;
    }


    .legal-highlight strong {
        font-size: 18px;
    }


    .legal-contact-box {
        padding:
            20px;
    }


    .legal-effective {
        align-items: flex-start;

        flex-direction: column;

        padding:
            22px;
    }


    .legal-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .legal-back-button {
        width: 100%;
    }


    .legal-home-link {
        align-self: center;
    }

}


/* =========================================================
   NAGYON KIS MOBIL
========================================================= */

@media (max-width: 380px) {

    .legal-hero h1 {
        font-size: 36px;
    }


    .legal-document {
        padding:
            32px
            17px;
    }

}

/* JOGI OLDALAK – HERO CÍMEK EGYSÉGES SORKÖZE */
.legal-hero h1 {
    line-height: 1.08;
}