:root {
    --color-white: #ffffff;
    --color-black: #000000;

    --color-bg-page: #ffffff;
    --color-bg-footer: #f7f7f7;

    --color-text-disclaimer: #313131;
}

@font-face {
    font-family: "Samsung Sharp Sans";
    src: url("samsungsharpsans-bold.woff2") format("woff2");
}

@font-face {
    font-family: 'SamsungOne300C';
    src: url('./fonts/SamsungOne-300C_v1.0.ttf');
}

@font-face {
    font-family: 'SamsungOne700';
    src: url('./fonts/SamsungOne-700.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Samsung Sharp Sans, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    justify-content: center;
    background: var(--color-bg-page);
}

.container {
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
}

.hero .title {
    display: flex;
    flex-direction: column;
    /* Min, flex, Max */
    gap: clamp(16px, 2.67vw, 32px);
    text-align: center;
    padding: 80px 88px;
}

.hero .title h1,
.hero-split .title h1 {
    font-family: Samsung Sharp Sans, sans-serif;
    /* Min, flex, Max */
    font-size: clamp(24px, 5vw, 48px);
    word-break: keep-all;
}

.hero .title p,
.hero-split .title p {
    font-family: SamsungOne300C, sans-serif;
    font-style: normal;
    /* Min, flex, Max */
    font-size: clamp(12px, 2.5vw, 18px);
}

.hero .figure img,
.hero-split .figure img {
    display: block;
    width: 100%;
}

.hero-split {
    display: flex;
    align-items: center;
}

.hero-split .title,
.hero-split .figure {
    flex: 1;
}

.hero-split .title {
    display: flex;
    flex-direction: column;
    /* Min, flex, Max */
    gap: clamp(16px, 2.67vw, 32px);
    text-align: left;
    padding: 80px 48px 80px 88px;
}

#session-storage {
    background-color: #f3f4f6;
}

#session-connection {
    padding-top: clamp(32px, 5vw, 64px);
    background-color: var(--color-black);
}

#session-connection .title {
    position: relative;
    z-index: 1;
    margin-bottom: -280px;
    color: var(--color-white);
}

#session-connection .figure {
    z-index: 0;
    color: var(--color-white);
}

#session-protection {
    margin-top: 92px;
}

#session-experience {
    margin: 80px 0;
}

#session-experience #title h1 {
    font-family: Samsung Sharp Sans, sans-serif;
    text-align: center;
    font-size: clamp(24px, 4vw, 38px);
    padding: 24px 0;
    margin-bottom: 64px;
}

#session-experience #cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

#session-experience .card {
    flex: 1;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 40px;
}

#session-experience .card .content img {
    display: block;
    width: 100%;
    border-radius: 20px;
    background: #f3f4f6;
}

#session-experience .card .content h1,
#session-experience .card .content p {
    padding: 0 30px;
}

#session-experience .card .content h1 {
    font-family: SamsungOne700, sans-serif;
    font-size: clamp(14px, 2vw, 24px);
    margin-top: clamp(20px, 3.33vw, 40px);
}

#session-experience .card .content p {
    font-family: SamsungOne300C, sans-serif;
    font-size: clamp(12px, 1.17vw, 14px);
    margin: 24px 0;
}

#session-experience .card .cta {
    padding: 0 30px;
}

#session-experience .card .cta .button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid var(--color-black);
    background: transparent;
    border-radius: 999px;
    font-family: SamsungOne700, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-black);
    cursor: pointer;
    transition: 0.3s;
}

#session-experience .card .cta .button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

#session-products {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#session-products .banner {
    width: 100%;
    /* Altura proporcional */
    height: clamp(180px, 27.8vw, 400px);
    border-radius: 24px;

    display: flex;
    align-items: center;

    padding: clamp(16px, 3.33vw, 48px) clamp(32px, 5.55vw, 80px);

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

#session-products #galaxy-fit-3 {
    background-image: url('./images/galaxy-fit3-large.png');
}

#session-products #galaxy-buds-core {
    background-image: url('./images/galaxy-buds-core-large.png');
}

#session-products .banner .content h1 {
    font-size: clamp(32px, 3.33vw, 48px);
    font-weight: bold;
    margin-bottom: 16px;
}

#session-products .banner .button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid transparent;
    background: var(--color-black);
    border-radius: 999px;
    font-family: SamsungOne700, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-white);
    cursor: pointer;
    transition: 0.3s;
}

#session-products .banner .button:hover {
    border-color: var(--color-black);
    background: var(--color-white);
    color: var(--color-black);
}

#session-disclaimer {
    padding: 48px 96px;
    font-size: 12px;
    color: var(--color-text-disclaimer);
    background-color: var(--color-bg-footer);
}

#session-disclaimer p, #session-disclaimer li {
    font-family: SamsungOne300C, sans-serif;
    font-style: normal;
    line-height: 150%;
    margin: 16px 0;
}

#session-disclaimer li {
    margin-left: 16px;
    padding-left: 8px;
}



/* Laptop */
@media screen and (max-device-width: 920px),
screen and (max-width: 920px) {
    #session-connection .title {
        margin-bottom: clamp(-140px, -22vw, -280px);
    }
}

/* Tablet */
@media screen and (max-device-width: 720px),
screen and (max-width: 720px) {

    .hero .title,
    .hero-split .title {
        padding: 48px 32px;
        text-align: center;
    }

    .hero .title p,
    .hero-split .title p {
        line-height: 150%;
    }

    .hero-split {
        flex-direction: column;
    }

    .hero-split .figure {
        padding: 0 24px;
    }

    #session-protection {
        margin-top: 0;
    }

    #session-updates .figure {
        overflow: hidden;
    }

    #session-updates .figure img {
        width: calc(100% + 200px);
        /* compensa medate de cada lado */
        margin-left: -100px;
    }

    #session-experience {
        margin: 32px 0 64px 0;
    }

    #session-experience #title h1 {
        padding: 24px;
        margin-bottom: 16px;
    }

    #session-experience #cards {
        flex-direction: column;
        margin: 0 20px;
        gap: 48px;
    }

    #session-experience .card {
        margin-bottom: 0;
    }

    #session-experience .card .content h1 {
        font-size: 20px;
        margin-top: 20px;
    }

    #session-experience .card .content p {
        font-size: 14px;
        margin: 24px 0;
        line-height: 150%;
    }

    #session-products .banner {
        height: clamp(100px, 100vw, 720px);
        padding: 32px 20px;

        justify-content: flex-start;
        align-items: flex-start;

        text-align: center;

        background-position: center bottom;
        background-size: contain;
    }

    #session-products #galaxy-fit-3 {
        background-image: url('./images/galaxy-fit3-small.png');
    }

    #session-products #galaxy-buds-core {
        background-image: url('./images/galaxy-buds-core-small.png');
    }

    #session-products .banner .content {
        width: 100%;
    }

    #session-products .banner .content h1 {
        font-size: clamp(20px, 7.5vw, 54px);
    }

    #session-disclaimer {
        padding: 64px 48px;
    }
}

/* Mobile */
@media screen and (max-device-width: 480px),
screen and (max-width: 480px) {
    .hero .title {
        padding: 32px 16px;
    }

    #session-connection .title {
        margin-bottom: -80px;
    }

    #session-experience .card .content h1,
    #session-experience .card .content p {
        padding: 0;
    }

    #session-experience .card .cta {
        text-align: center;
    }

    #session-disclaimer {
        padding: 32px 16px;
    }
}