/* ============================================================
   GUNJAN BEAUTY WORLD
   PRIVACY POLICY
   Same Header + Footer Responsive System as index.css
   ============================================================ */


/* ============================================================
   ROOT
   ============================================================ */

:root {
    --ivory: #F4EEE7;
    --paper: #F8F7F5;
    --gold: #CFA57A;
    --gold2: #D5AD84;
    --ink: #111;
    --muted: rgba(102, 102, 102, .8);
    --espresso: #2A2019;
    --ease: cubic-bezier(.16, 1, .3, 1);

    --font-display: "Urbanist", sans-serif;
    --font-body: "outfit", sans-serif;

    --container-max: 1280px;
    --container-gutter: clamp(16px, 3vw, 32px);
}


/* ============================================================
   GLOBAL
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


body {
    width: 100%;
    min-width: 320px;

    font-family: "Urbanist", sans-serif;

    background: var(--ivory);
    color: var(--ink);

    overflow-x: clip;
}


img,
video {
    max-width: 100%;
    display: block;
}


img {
    height: auto;
}


a {
    color: inherit;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    -webkit-tap-highlight-color: transparent;
}


/* ============================================================
   COMMON CONTAINER
   ============================================================ */

.container,
.legal-container {
    width: min(
        var(--container-max),
        calc(100% - 64px)
    );

    margin-inline: auto;
}


/* ============================================================
   HEADER
   SAME AS INDEX.CSS
   ============================================================ */

.hero-nav {
    position: absolute;

    z-index: 50;

    top: 0;
    left: 0;
    right: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    column-gap: clamp(12px, 2vw, 24px);

    padding:
        16px clamp(20px, 4vw, 56px);

    background:
        linear-gradient(
            180deg,
            rgba(15, 10, 6, .55),
            rgba(15, 10, 6, 0)
        );

    transition:
        background-color .25s ease,
        padding .25s ease;
}


.hero-logo {
    grid-column: 1;

    justify-self: start;

    min-width: 0;
}


.hero-nav.scrolled {
    background: rgba(30, 22, 16, .82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    padding-block: 14px;

    position: fixed;

    top: 0;
    left: 0;
    right: 0;
}


.hero-logo img {
    width: auto;

    height: 54px;

    max-width: 150px;

    object-fit: contain;
}


/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

.hero-links {
    list-style: none;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;

    grid-column: 2;

    justify-self: center;

    gap: clamp(10px, 1.6vw, 22px);

    min-width: 0;
}


.hero-links a,
.hero-login {
    font-family: "Urbanist", sans-serif;

    font-size: clamp(14px, 1.1vw, 16px);

    font-weight: 600;

    line-height: 1;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;

    color: var(--ivory);

    position: relative;
}


.hero-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: .3s;
}


.hero-links a:hover::after,
.hero-links .active::after {
    width: 100%;
}


/* ============================================================
   HEADER RIGHT
   ============================================================ */

.hero-right {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: clamp(12px, 1.8vw, 24px);

    grid-column: 3;

    justify-self: end;

    min-width: 0;
}


.hero-login {
    font-family: "outfit", sans-serif;

    font-size: 16px;

    font-weight: 400;

    text-transform: capitalize;

    letter-spacing: -2%;

    text-decoration: none;

    color: var(--ivory);

    display: inline-flex;

    align-items: center;

    gap: 6px;

    position: relative;

    padding-bottom: 0;

    white-space: nowrap;
}


.hero-login::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #E4C793;

    transition:
        width .3s var(--ease);
}


.hero-login:hover::after {
    width: 100%;
}


.hero-login .login-icon {
    font-size: 16px;

    line-height: 1;

    display: inline-block;

    transition:
        transform .3s var(--ease),
        color .3s var(--ease);
}


.hero-login:hover .login-icon {
    transform: translate(2px, -2px);

    color: #E4C793;
}


.hero-login:hover {
    color: #E4C793;
}


/* ============================================================
   HEADER CTA
   ============================================================ */

.hero-cta {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 24px;

    border-radius: 10px;

    background: var(--gold);

    color: #F8F7F5;

    text-decoration: none;

    font-family: "outfit", sans-serif;

    font-size: 17px;

    font-weight: 300;

    letter-spacing: -1%;

    text-transform: none;

    transition:
        background-color .25s var(--ease),
        transform .25s var(--ease),
        box-shadow .25s var(--ease);
}


.hero-cta:hover {
    background-color: var(--gold2);

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, .25);
}


.hero-cta:active {
    transform: translateY(0);

    box-shadow: none;
}


/* ============================================================
   MOBILE MENU BUTTON
   ============================================================ */

.hero-toggle {
    display: none;

    border: 0;

    background: rgba(0, 0, 0, 0);

    border-radius: 8px;

    padding: 9px;

    gap: 5px;

    flex-direction: column;

    cursor: pointer;
}


.hero-toggle span {
    width: 25px;

    height: 1.5px;

    background: rgba(244, 238, 231, 1);
}


/* ============================================================
   MOBILE MENU
   ============================================================ */

.hero-menu {
    display: none;
}


/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */

.legal-page {
    width: 100%;

    background: var(--ivory);

    color: var(--ink);

    overflow: visible !important;
}


/* ============================================================
   PRIVACY POLICY HERO
   ============================================================ */

.legal-hero {
    position: relative;

    min-height: 600px;

    background:
        linear-gradient(
            180deg,
            #2A2019 0%,
            #38291F 100%
        );

    color: var(--ivory);

    display: flex;

    align-items: center;

    overflow: hidden;
}


.legal-hero::before {
    content: "";

    position: absolute;

    width: clamp(250px, 34vw, 520px);
    height: clamp(250px, 34vw, 520px);

    right: -190px;
    top: -270px;

    border:
        1px solid rgba(213, 173, 132, .18);

    border-radius: 50%;

    pointer-events: none;
}


.legal-hero::after {
    content: "";

    position: absolute;

    width: clamp(180px, 25vw, 380px);
    height: clamp(180px, 25vw, 380px);

    left: -200px;
    bottom: -250px;

    border:
        1px solid rgba(213, 173, 132, .12);

    border-radius: 50%;

    pointer-events: none;
}


/* ============================================================
   PRIVACY HERO CONTENT
   ============================================================ */

.legal-hero .eyebrow {
    position: relative;

    z-index: 1;

    margin-bottom: 16px;

    font-family: "Urbanist", sans-serif;

    font-size: 13px;

    letter-spacing: .22em;

    text-transform: uppercase;

    text-align: center;

    color: var(--gold);

    font-weight: 500;
}


.legal-hero h1 {
    position: relative;

    z-index: 1;

    margin-bottom: 16px;

    font-family: "Urbanist", sans-serif;

    font-size: 64px;

    line-height: 80px;

    font-weight: 600;

    letter-spacing: -2%;

    text-transform: uppercase;

    text-align: center;

    color: var(--ivory);

    overflow-wrap: anywhere;
}


.legal-hero .updated {
    position: relative;

    z-index: 1;

    margin: 0;

    color:
        rgba(244, 238, 231, .68);

    font-family: "outfit", sans-serif;

    font-size: 15px;

    font-weight: 300;

    line-height: 1.6;

    text-align: center;
}


/* ============================================================
   PRIVACY CONTENT AREA
   ============================================================ */

.legal {
    width: 100%;

    padding:
        clamp(70px, 8vw, 100px)
        0
        clamp(80px, 9vw, 110px);

    overflow: visible !important;
}


/* ============================================================
   PRIVACY GRID
   ============================================================ */

.legal-grid {
    display: grid;

    grid-template-columns:
        245px minmax(0, 1fr);

    gap:
        clamp(35px, 5vw, 65px);

    align-items: start;

    overflow: visible !important;
}


/* ============================================================
   STICKY SIDE NAVIGATION
   DESKTOP + LAPTOP
   ============================================================ */

.legal-side {
    position: -webkit-sticky;

    position: sticky;

    top: 100px;

    align-self: start;

    width: 100%;

    height: max-content;

    max-height:
        calc(100vh - 120px);

    overflow-y: auto;

    padding: 24px;

    background: var(--paper);

    border:
        1px solid rgba(17, 17, 17, .07);

    border-radius: 10px;

    z-index: 10;

    scrollbar-width: thin;
}


.legal-side strong {
    display: block;

    margin-bottom: 12px;

    font-family: "Urbanist", sans-serif;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: .1em;

    text-transform: uppercase;

    color: var(--ink);
}


.legal-side a {
    display: block;

    padding: 7px 0;

    font-family: "outfit", sans-serif;

    font-size: 14px;

    font-weight: 300;

    line-height: 1.5;

    color: var(--muted);

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.legal-side a:hover {
    color: var(--gold);

    transform: translateX(3px);
}


/* ============================================================
   PRIVACY CONTENT CARD
   ============================================================ */

.legal-content {
    min-width: 0;

    padding:
        clamp(32px, 4vw, 52px)
        clamp(24px, 5vw, 64px);

    background: var(--paper);

    border-radius: 10px;
}


.legal-content section {
    scroll-margin-top: 120px;
}


.legal-content h2 {
    margin:
        38px 0 13px;

    font-family: "Urbanist", sans-serif;

    font-size: 27px;

    font-weight: 600;

    line-height: 1.25;

    letter-spacing: -.015em;

    color: var(--ink);
}


.legal-content h2:first-child {
    margin-top: 0;
}


.legal-content p,
.legal-content li {
    color: #4f4b47;

    font-family: "outfit", sans-serif;

    font-size: 16px;

    font-weight: 300;

    line-height: 1.75;
}


.legal-content p {
    margin-bottom: 16px;
}


.legal-content ul {
    margin:
        0 0 18px;

    padding-left: 22px;
}


.legal-content li {
    margin: 5px 0;
}


.legal-content strong {
    color: var(--ink);

    font-weight: 500;
}


.legal-content a {
    color: var(--gold);

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;

    transition: color .25s ease;
}


.legal-content a:hover {
    color: var(--espresso);
}


/* ============================================================
   1200px
   ============================================================ */

@media (max-width:1200px) {

    .hero-nav {
        padding-inline: 30px;
    }

    .hero-links {
        gap: 14px;
    }

    .hero-right {
        gap: 14px;
    }

    .hero-cta {
        padding-inline: 18px;

        font-size: 14px;

        font-weight: 400;

        letter-spacing: 0;
    }


    .legal-container {
        width: min(
            var(--container-max),
            calc(100% - 64px)
        );
    }

    .legal-grid {
        gap: 40px;
    }

    .legal-side {
        top: 100px;
    }

    .legal-hero {
        min-height: 500px;
    }

    .legal-hero h1 {
        font-size: 64px;

        line-height: 72px;
    }

}


/* ============================================================
   1000px
   HEADER → MOBILE MENU
   ============================================================ */

@media (max-width:1000px) {

    .hero-links,
    .hero-right {
        display: none;
    }


    .hero-nav {
        display: flex;

        justify-content: space-between;

        align-items: center;

        padding-inline:
            clamp(20px, 4vw, 40px);
    }


    .hero-logo {
        order: 1;
    }


    .hero-toggle {
        order: 2;

        display: flex;
    }


    body.menu-open {
        overflow: hidden;
    }


    body.menu-open::before {
        content: "";

        position: fixed;

        inset: 0;

        background:
            rgba(15, 10, 6, .55);

        z-index: 7;

        animation:
            gbwFadeIn .3s ease;
    }


    @keyframes gbwFadeIn {

        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }

    }


    .hero-menu {
        position: fixed;

        top: 0;
        right: 0;
        bottom: 0;

        z-index: 8;

        width:
            min(320px, 82vw);

        background:
            rgba(244, 238, 231, 1);

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 6px;

        padding:
            88px 32px 32px;

        overflow-y: auto;

        box-shadow:
            -16px 0 48px rgba(0, 0, 0, .35);

        transform:
            translateX(100%);

        transition:
            transform .4s var(--ease);
    }


    .hero-menu.open {
        transform: none;
    }


    .hero-menu a {
        color: #111111;

        text-decoration: none;

        font-family: "Urbanist", sans-serif;

        font-size: 20px;

        font-weight: 500;

        width: 100%;

        padding: 8px 0;
    }


    .hero-menu a.hero-cta {
        color: var(--ivory);

        font-family: "outfit", sans-serif;

        font-weight: 400;

        font-size: 16px;

        padding: 12px;

        margin-top: 14px;

        text-align: center;

        width: 100%;
    }


    .hero-menu .close {
        position: absolute;

        top: 22px;
        right: 24px;

        background: none;

        border: 0;

        color: #111111;

        font-size: 34px;

        cursor: pointer;
    }


    .hero-menu a:hover {
        color: var(--gold);

        transform: translateX(4px);
    }


    .hero-menu a.hero-cta:hover {
        color: var(--ivory);

        transform: translateY(-2px);
    }


    /* PRIVACY */

    .legal-grid {
        grid-template-columns:
            220px minmax(0, 1fr);

        gap: 30px;
    }


    .legal-side {
        top: 90px;
    }


    .legal-hero {
        min-height: 450px;
    }


    .legal-content {
        padding:
            38px 35px;
    }

}


/* ============================================================
   900px
   TABLET
   STICKY OFF
   ============================================================ */

@media (max-width:900px) {

    .legal-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .legal-side {
        position: static !important;

        top: auto !important;

        max-height: none;

        overflow: visible;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap:
            0 18px;

        padding: 22px;
    }


    .legal-side strong {
        grid-column: 1 / -1;
    }


    .legal-hero {
        min-height: 400px;
    }

}


/* ============================================================
   680px
   SAME MOBILE BREAKPOINT AS INDEX.CSS
   ============================================================ */

@media (max-width:680px) {

    .container,
    .legal-container {
        width: calc(100% - 48px);
    }


    /* HEADER */

    .hero-nav {
        padding: 18px 16px;
    }


    .hero-nav.scrolled {
        padding-block: 13px;
    }


    .hero-logo img {
        height: 43px;

        max-width: 120px;
    }


    .hero-toggle {
        padding: 9px;
    }


    /* PRIVACY HERO */

    .legal-hero {
        min-height: 400px;
    }


    .legal-hero .eyebrow {
        font-size: 12px;

        letter-spacing: .22em;

        margin-bottom: 15px;
    }


    .legal-hero h1 {
        font-size:
            clamp(38px, 11vw, 54px);

        line-height: 58px;
    }


    .legal-hero .updated {
        font-size: 14px;
    }


    /* PRIVACY CONTENT */

    .legal {
        padding:
            60px 0 65px;
    }


    .legal-side {
        display: block;

        padding: 20px;
    }


    .legal-side a {
        padding: 6px 0;

        font-size: 14px;
    }


    .legal-content {
        padding:
            32px 24px;
    }


    .legal-content section {
        scroll-margin-top: 30px;
    }


    .legal-content h2 {
        margin-top: 32px;

        font-size: 24px;
    }


    .legal-content p,
    .legal-content li {
        font-size: 15px;

        line-height: 1.7;
    }


    /* FOOTER */

    .footer {
        padding-top: 56px;
    }


    .footer-top {
        flex-direction: column;

        gap: 35px;

        padding-bottom: 32px;
    }


    .footer-brand {
        flex-basis: auto;
    }


    .footer-links {
        width: 100%;

        justify-content: flex-start;

        gap: 28px;
    }


    .footer-contact {
        flex-basis: 100%;

        max-width: none;
    }


    .footer-socials {
        margin-top: 30px;
    }


    .footer-col {
        min-width: 120px;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: row;

        gap: 12px;

        font-size: 14px;

        padding-top: 24px;
    }


    .back-top {
        min-height: 14px;
    }

}


/* ============================================================
   480px
   SMALL PHONE
   ============================================================ */

@media (max-width:480px) {

    .legal-container {
        width: calc(100% - 28px);
    }


    /* HEADER */

    .hero-logo img {
        height: 39px;

        max-width: 108px;
    }


    /* PRIVACY HERO */

    .legal-hero {
        min-height: 350px;
    }


    .legal-hero h1 {
        font-size: 44px;

        line-height: 50px;
    }


    .legal {
        padding:
            50px 0 55px;
    }


    .legal-content {
        padding:
            27px 20px;
    }


    .legal-content h2 {
        font-size: 22px;
    }


    .legal-content p,
    .legal-content li {
        font-size: 14px;

        line-height: 1.7;
    }


    .legal-content ul {
        padding-left: 19px;
    }


    /* FOOTER */

    .footer-links {
        flex-direction: column;

        gap: 24px;
    }


    .footer-col {
        min-width: 0;
    }


    .footer-brand p {
        font-size: 15px;

        line-height: 21px;

        max-width: 200px;
    }


    .footer-col a {
        font-size: 16px;

        line-height: 26px;
    }


    .footer-contact p {
        font-size: 16px;

        line-height: 22px;
    }


    .footer-bottom {
        text-align: center;

        align-items: center;

        flex-direction: column;

        gap: 8px;

        font-size: 15px;
    }


    .back-top {
        min-height: 14px;
    }

}


/* ============================================================
   380px
   VERY SMALL PHONE
   ============================================================ */

@media (max-width:380px) {

    .container,
    .legal-container {
        width: calc(100% - 32px);
    }


    /* HEADER */

    .hero-nav {
        padding-inline: 12px;
    }


    .hero-logo img {
        height: 39px;

        max-width: 108px;
    }


    /* PRIVACY HERO */

    .legal-hero .eyebrow {
        font-size: 10px;

        letter-spacing: .17em;
    }


    .legal-hero h1 {
        font-size: 40px;

        line-height: 48px;
    }


    .legal {
        padding:
            42px 0 48px;
    }


    .legal-side {
        padding: 17px;
    }


    .legal-side a {
        font-size: 13px;
    }


    .legal-content {
        padding:
            24px 17px;
    }


    .legal-content h2 {
        font-size: 21px;
    }


    .legal-content p,
    .legal-content li {
        font-size: 14px;
    }

}