:root {
  --c-principal: #DF9113;
  --c-background: #191919;
  --c-secundary: #404040;
  --c-details: #8E8E8E;
  --c-white-letters: #fff;
  --c-grey-letters: #E9E9E9;
  --c-darck-letters: #000;
}

body {
    font-family: "Genos", sans-serif;
    background-color: var(--c-background);
}

header {
    position: relative;
    background-image: url(/multimedia/header.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border-bottom: solid 5px var(--c-principal);
    margin-bottom: 100px;
}

header > a { /* header bottom button */
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    align-self: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgba(25, 25, 25, 0.2) !important;
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px;
    z-index: 9999;
}

section {
    margin-top: 32px;
    position: relative;
}

.width-background {
    position: relative;
    background-image: url('/multimedia/Image-background-Packs.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.width-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* ----- Typografy & letters ----- */
a {
    font-weight: 300;
    font-size: 26px;
    color: var(--c-white-letters);
    text-decoration: none;
    letter-spacing: 3px;
    color: var(--c-white-letters);
    margin: 0;
}

h1 {
    font-weight: 900;
    line-height: 0.45;
    font-size: clamp(2.4rem, 10vw, 11rem);
    color: var(--c-principal);
}

h2, h4, label {
    color: var(--c-principal);
    font-weight: 800;
    font-size: clamp(1.6rem, 5vw, 58px);
    text-align: center;
}


h3 {
    color: var(--c-white-letters);
    font-weight: 100;
    font-size: clamp(1.2rem, 4vw, 45px);
    letter-spacing: 15px;
}

h4 {
    font-size: clamp(1.5rem, 4vw, 38px) !important;
    line-height: 0.8;
    margin: 0;
}
/* ----- Commun clases ----- */
.cm-glass25-bk {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cm-glass50-bk {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.standar-btn {
    color: white;
    border: solid var(--c-principal) 4px;
    border-radius: 16px;
    padding: 4px 20px;
    display: flex;
    justify-self: center;
    font-size: 26px;
    transition: all ease 0.1s;
}
.standar-btn:hover {
    scale: 1.05;
    box-shadow: var(--c-principal) 0 0 15px;
}
/* ----- Contenedor grid ----- */
.grid-cont {
    display: flex;
    flex-wrap: wrap;
    flex: 1 0 calc(350px);
    max-width: 100%;
    justify-content: center;
    gap: 32px;
}

/* How We Work secction */
.hww-item {
    display: flex;
    gap: 16px;
    max-width: 550px;
    align-items: center;
}

.hww-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    background-color: var(--c-secundary);
    color: var(--c-details);
    width: fit-content; 
    height: fit-content;
    min-width: 80px;
    min-height: 80px;
    border-radius: 16px;
}
.hww-icon, i {
    margin: 0;
    font-size: 40px;
}
.hww-text-cont {
    display: flex;
    flex-direction: column;
}
.hww-item h5 {
    color: var(--c-details);
    font-weight: 700;
    line-height: 0.9;
    font-size: clamp(1.4rem, 3vw, 35px);
    margin: 0;
}
.hww-item p, .swp-info p {
    color: var(--c-secundary);
    font-weight: 300;
    font-size: clamp(1.2rem, 2.5vw, 28px);
    line-height: 0.8;
    margin: 0;
}

/* ----- PACKS CARDS ----- */
.product-card {
    max-width: 340px;
    width: 100%;
    pointer-events: painted;
    height: 490px;
    background-color: var(--c-secundary);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: #000 0 0 25px;
}

.product-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.product-card::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to top, var(--c-background) 44%, #1e1e1e00 100%);
    pointer-events: none;
}

.card-content {
    z-index: 2;
    position: absolute;
    color: var(--c-white-letters);
    display: flex;
    bottom: 0;
    height: 57%;
    width: 100%;
    padding: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h5 {
    font-size: 36px;
    line-height: 0.8;
    margin: 0;
    text-align: center;
}
.card-content div p {
    font-size: 22px;
    line-height: 0.8;
    margin: 0;
    color: #9A1A1A;
    text-decoration: line-through;
    text-align: center;
}

.card-content > p {
    margin: 0;
    text-align: center;
    line-height: 0.9;
    font-size: 20px;
    font-weight: 200;
}

ul {
    margin: 0;
    line-height: 0.9;
    font-size: 25px;
    font-weight: 200;
}

.product-card:hover {
    box-shadow: var(--c-principal) 0 0 25px; 
    transform: translateY(-10px);
}

.description {
    opacity: 0;
    z-index: 3;
    font-size: 20px;
    color: var(--c-white-letters);
    text-align: center;
    transition: opacity 0.3s ease;
    line-height: 0.8;
}
.product {
    max-width: 340px;
    pointer-events: none;
}

.product:hover .description {
    opacity: 1;
}

/* PACKs background shadow decoration */
.deco-top {
    background: linear-gradient(to bottom, var(--c-background) 44%, #1e1e1e00 100%);
    height: 50px;
    width: 100%;
    z-index: 3;
}
.deco-bottom {
    background: linear-gradient(to top, var(--c-background) 44%, #1e1e1e00 100%);
    height: 50px;
    width: 100%;
    margin-top: 32px;
    z-index: 3;
}

.bswp-info {
    color: var(--c-white-letters);
    line-height: 0.9;
    font-size: 25px;
    font-weight: 200;
    letter-spacing: 4px;
    text-align: center;
    margin-top: 16px;
}

/* ----- Services ----- */
@media (max-width: 615px) {
    .swp-info {
        z-index: 1;
        bottom: 0;
        justify-self: center;
        text-align: center;
        width: 100%;
        padding: 16px 32px;
        height: fit-content;
        margin-bottom: 32px;
    }
    .desktop {
        display: none;
    }
    .phone {
        display: flex;
    }
}
@media (min-width: 616px) {
    .swp-info {
        position: absolute;
        z-index: 1;
        bottom: 0;
        justify-self: center;
        text-align: center;
        width: 100%;
        max-width: 550px;
        padding: 16px 32px;
        height: fit-content;
        margin-bottom: 32px;
        border-radius: 25px;
    }
    .desktop {
        display: flex;
    }
    .phone {
        display: none;
    }

}

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--c-principal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
    opacity: 0;
}
.burger-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px;
    right: 0;
    width: 220px;
    padding: 16px;
    gap: 16px;
    background: rgba(25, 25, 25, 0.95);
    border-left: 3px solid var(--c-principal);
    border-bottom: 3px solid var(--c-principal);
    border-radius: 0 0 0 16px;
}

.nav-menu.open {
    display: flex;
}

.nav-menu a {
    font-size: 22px;
    letter-spacing: 2px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--c-principal);
}
.swp-info p {
    color: var(--c-darck-letters);
    margin-top: 16px;
}

/* Swiper pagination */
.swiper {
    width: 100%;
    height: fit-content;
    position: absolute;
}

.swiper-slide {
    max-height: 800px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-progressbar-fill {
    background: var(--c-principal) !important;
}
.swiper-pagination-progressbar {
    background-color: var(--c-secundary) !important;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--c-principal) !important;
}


/* ----- Footer ----- */
footer {
    background-color: var(--c-darck-letters);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 16px;
    margin-top: 64px;
}

footer a, footer p, footer li {
    color: var(--c-grey-letters);
    font-size: 22px;
    font-weight: 200;
    margin: 0;
    line-height: 1;

}
footer div p {
    color: var(--c-principal) !important;
}

footer p a {
    color: var(--c-principal);
    text-decoration: underline;
}

footer img {
    width: 100%;
    max-width: 800px;
}

footer .grid-cont {
    max-height: fit-content !important;
    justify-content: space-around;
    width: 100%;
}



/* ----- Contact page ----- */
.h-contact {
    height: fit-content;
    border: none;
    padding: 120px 0 ;
    margin: 0;
    text-align: center;
}

.f-contact {
    margin: 0;
}

/* Form */

label {
    color: var(--c-principal);
    font-size: 26px;
    line-height: .9;
}
.form-cont {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.form-cont .grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* hace que se pongan en modo tabla */
    gap: 32px;
    margin-top: 64px;
}

.field {
    display: grid;
    gap: 6px;
}

input, select, textarea, button {
    font: inherit;
}

input, select, textarea {
    padding: 16px;
    border: solid 4px var(--c-principal) !important;
    border-radius: 16px;
    font-size: 26px;
    color: var(--c-grey-letters);
    transition: all ease 0.1s;

}

textarea {
    min-height: 230px;
    resize: vertical;
    padding: 16px;
}

input:focus, select:focus, textarea:focus, button:focus {
    box-shadow: var(--c-principal) 0 0 25px;
    scale: 1.01;
    outline: none;
}

@media (max-width: 720px) {
    .form-cont .grid {
        grid-template-columns: 1fr;
    }
    .action {
        flex-direction: column;
    }
}

.actions {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

.actions button {
    width: 100%;
    justify-content: center;
}

.checks label {
    color: var(--c-grey-letters);
    font-weight: 300;
}
.checks a {
    color: var(--c-principal);
    font-weight: 500;
}

/* Select */
select option {
    background-color: var(--c-background);
    color: var(--c-grey-letters);
    font-size: 22px;
    padding: 10px;
}