/* ==========================================================
   CASALS REIG - WIFI
   styles.css
   ========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    color:#444;

    min-height:100vh;

    overflow-x:hidden;

    background:
        linear-gradient(
            135deg,
            #7B1732 0%,
            #912040 28%,
            #B52956 58%,
            #D46D8E 100%
        );

}


/*----------------------------------------------------------
Fons SVG
----------------------------------------------------------*/

.background{

    position:fixed;

    inset:0;

    z-index:0;

    overflow:hidden;

}

.background-svg{

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:.18;

}


/*----------------------------------------------------------
Contingut
----------------------------------------------------------*/

.page{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

    padding:35px;

}


.card{

    width:100%;

    max-width:900px;

    background:rgba(255,255,255,.97);

    border-radius:22px;

    padding:55px;

    box-shadow:

        0 15px 45px rgba(0,0,0,.18);

    backdrop-filter:blur(4px);

}


/*----------------------------------------------------------
Logo
----------------------------------------------------------*/

.logo{

    display:block;

    margin:auto;

    width:320px;

    max-width:85%;

}


/*----------------------------------------------------------
Icona WIFI
----------------------------------------------------------*/

.wifi-icon{

    width:72px;

    margin:35px auto 25px;

}

.wifi-icon svg{

    width:100%;

    height:auto;

}

.wifi-icon path{

    fill:none;

    stroke:#9C1E44;

    stroke-width:5;

    stroke-linecap:round;

}

.wifi-icon circle{

    fill:#9C1E44;

}


/*----------------------------------------------------------
Títols
----------------------------------------------------------*/

h1{

    text-align:center;

    color:#8F1E40;

    font-size:2.4rem;

    font-weight:700;

    line-height:1.25;

}

h1 span{

    color:#B22655;

}

hr{

    width:90px;

    height:4px;

    margin:28px auto;

    border:none;

    border-radius:50px;

    background:

        linear-gradient(
            90deg,
            #7B1732,
            #C42B61
        );

}

.intro{

    max-width:680px;

    margin:auto;

    text-align:center;

    line-height:1.8;

    color:#666;

    font-size:1.05rem;

}


/*----------------------------------------------------------
Condicions
----------------------------------------------------------*/

section{

    margin-top:50px;

}

h2{

    color:#982042;

    font-size:1.7rem;

    margin-bottom:25px;

    padding-left:18px;

    border-left:6px solid #B32656;

}

.conditions{

    list-style:none;

}

.conditions li{

    position:relative;

    padding-left:38px;

    margin-bottom:22px;

    line-height:1.7;

    color:#555;

}

.conditions li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    color:#B32656;

    font-weight:bold;

    font-size:1.2rem;

}


/*----------------------------------------------------------
Botó
----------------------------------------------------------*/

footer{

    margin-top:50px;

    text-align:center;

}

.button{

    display:inline-block;

    text-decoration:none;

    padding:

        16px
        42px;

    border-radius:10px;

    color:white;

    font-size:1.05rem;

    font-weight:700;

    letter-spacing:.3px;

    background:

        linear-gradient(
            90deg,
            #7B1732,
            #B32656
        );

    transition:
        transform .25s,
        box-shadow .25s,
        opacity .25s;

    box-shadow:

        0 10px 22px rgba(150,30,70,.35);

}

.button:hover{

    transform:translateY(-2px);

    opacity:.95;

    box-shadow:

        0 14px 30px rgba(150,30,70,.45);

}

footer p{

    margin-top:25px;

    color:#777;

    font-size:.9rem;

}


/*----------------------------------------------------------
Mòbil
----------------------------------------------------------*/

@media(max-width:768px){

    .page{

        padding:18px;

    }

    .card{

        padding:28px;

        border-radius:16px;

    }

    h1{

        font-size:1.9rem;

    }

    h2{

        font-size:1.4rem;

    }

    .intro{

        font-size:1rem;

    }

    .button{

        width:100%;

        text-align:center;

    }

}