/*
    GLOBALS
*/

:root {

    /*COLORS PALETTE*/
    --base-color: #16110d;
    --header: #110d0a;
    --secondary-color: #1f1811;
    --tags-color: #9bcb6b;
    --focus: #e39b3c;
    --white: #f2ede4;
    --grey: #9a8f81;
    --black: #17110c;
    --deco: #8a6a2e;
    --whatsapp: #25d366;

    /*FONTS*/

    --headings: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'Karla', system-ui, sans-serif;
    --tags: 'JetBrains Mono', ui-monospace, monospace;

}

/*GLOBALS*/

html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-padding-top: 0rem;
    scroll-behavior: smooth;
    scroll-padding-top: 14rem;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-color: var(--base-color);
    font-optical-sizing: auto;
    position: relative;
}

h1,h2,h3,h4,h5,h6, summary {
    color: var(--white);
    font-family: var(--headings);
}

summary {
    margin: 2rem 0;
    font-size: 1.6rem;
    cursor: pointer;
    font-weight: 700;
}

h2 {
    font-size: 4rem;
    margin-top: 0;
}

h3 {
    font-size: 3rem;
    margin: 2rem 0 0 0;
}

h4 {
    font-size: 2.5rem;
}

span {
    color: var(--focus);
}

p, a{
    color: var(--grey);
    font-family: var(--body);
    font-size: 1.5rem;
    line-height: 1.5;
}
a {
    text-decoration: none;;
    
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    color: var(--focus);
    opacity: 0.1;
    margin-inline: 0;
    margin-top: 2rem;
}

svg {
    width: 5rem;
    height: auto;
}

.focus-button {
    background-color: var(--focus);
}

.tag {
    color: var(--tags-color);
    font-family: var(--tags);
}


.container {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
}

/*SHARED SELECTORS*/

.header, .logo_container, .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*HEADER*/

.header{
    height: 12rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(22, 17, 13, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    
}

.logo_container {
    position: relative;
   
}

.logo_container__img {
    width: 9rem;
    overflow: hidden;
}

.logo_container__header {
    position: absolute;
    right: -9rem;
    font-size: 1.5rem;
}

.text_formater {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.section_margin {
    margin-top: 15rem;
}

.no-margin {
    margin: 0;
}

/*NAVBAR*/



 .toggle-button, .button {
        color: var(--black);
        font-weight: bold;
        font-family: var(--tags);
        background-color: var(--focus);
        border: none;
        padding: 2rem;
        border-radius: 3rem;
        transition: all ease 0.3s;
        display: flex;
        text-decoration: none;
        text-align: center;
        justify-content: center;
        align-items: center;


    }


 .button--quote, .navigation {
        display: none;
}

/*PSEUDO-SELECTORS*/

.button:hover {
    transform: translateY(-6px);
    filter: brightness(120%);
}

/*TOGGLE MENU*/

.toggle-menu {
    position: fixed;
    top: 12rem;              /* la altura de tu .header */
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--header);
    padding: 2rem 2.5rem 3rem;
    border-bottom: 1px solid rgba(227, 155, 60, 0.1);
    z-index: 90;
}

.toggle-btn {
    position: relative;
}

.toggle-btn__close,
.toggle-btn__open {
    position: absolute;
    top: -20px;
    left: 0;
    transition: opacity 0.3s ease;
    margin-left: -7rem;
    width: 4rem;
    cursor: pointer;
}

.toggle-btn__close {
    fill: var(--tags-color);
    
    
}

.toggle-btn__open {
    fill: var(--focus);
    
}

.toggle-navigation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-button {
    margin-top: 3rem;
}

.toggle__link {
    transition: color ease 0.3s;
}

.toggle__link:hover {
    color: var(--white);
}


.navigation__link.is-active,
.toggle__link.is-active {
    color: var(--white);
}

.navigation__link {
    position: relative;
}

.navigation__link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: var(--focus);
    border-radius: 2px;
}

/*MAIN CONTENT*/


/*FLOAT BLOCK*/
.float {
    background-color: var(--secondary-color);
    padding: 2rem;
    border: 1px solid rgba(227, 155, 60, 0.1);
    border-radius: 2rem;
    
    
}

.float__bar {
    display: flex;
    gap: 1rem;
}

.float__bar__circle:first-child {
    background-color: #4a3a2a;
}

.float__bar__circle {
    background-color: #33291F;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.float__content__text {
    color: var(--white);
    font-family: var(--tags);

}

.float__deco {
    color: rgba(154, 143, 129, 0.2);
}

/*ENTRY INFO*/

.entry_info {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
}

.entry_info__title {
    font-size: 5rem;
    line-height: 0.9;
    text-align: left;
    padding-right: 10rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.entry_info__text {
    font-size: 2rem;
}

.entry_info__buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.button--contact, .button--category {
    background-color: transparent;
    border: 1px solid rgba(227, 155, 60, 0.1);
}

.button--contact {
    color: var(--white);
}

.button--contact:hover {
    color: var(--focus);
    border-color: var(--focus);
}

.main_grid {
    margin-top: 10rem;
    position: relative;
    
}


.main_grid::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: min(780px, 90vw);
    aspect-ratio: 1;
    background: radial-gradient(circle,
        rgba(227, 155, 60, 0.10) 0%,
        transparent 62%);
    pointer-events: none;
    z-index: -1;
}



/*FOR WHO SECTION*/

.for_who_container {
    display: flex;
    flex-direction: column;
}

.categories_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.button--category {
    color: var(--grey);
    transition: all 0.3s ease;
} 

.button--category:hover {
    color: var(--white);
    border-color: var(--tags-color);
}

/*CATEGORIES*/

.packages_container {
    margin-top: 10rem;
}

/*CARDS*/


.card {
    background-color: var(--secondary-color);
    border: 1px solid  rgba(227, 155, 60, 0.1);
    padding: 3rem 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.card__levels {
    display: flex;
    gap: 1rem;
}

.card .button--card {
    margin-top: auto;
}

.card__list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 1rem;
    flex: 1;
}

.card__list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    color: var(--grey);
    font-family: var(--body);
    font-size: 1.5rem;
    line-height: 1.5;
}

.card__list li::before, .mantainence-list li::before {
    font-family: var(--tags);
    color: var(--tags-color);
    flex-shrink: 0;
    line-height: 1.4;
}

.card__list li::before {
    content: '└';
}



.level {
    background-color: rgba(227, 155, 60, 0.2)
}

.level--active {
    background-color: var(--tags-color);
}

.level--active, .level {
    width: 30px;
    height: 5px;
    border-radius: 20%;
}

.card__text {
    margin: 0 0 2rem 0;
    font-family: var(--tags);
    font-size: 1.2rem;
}

.card__price {
    margin-top: 2rem;
    margin-bottom: 0;
    font-family: var(--tags);
    font-size: 2rem;
    font-weight: bold;
}

.card--deco {
    color: var(--tags-color);
}

.button--card, .button--form {
    display: block;
    width: 100%;
    margin-inline: auto;
    margin-top: 1rem;
}

.card--most-requested {
    border-color: var(--focus)
}

.quote--card {
    border-style: dotted;
    border-width: 3px;
}

.button--package-quote {
    margin-top: 2rem;
    width: fit-content;
    display: flex;
    align-self: center;
}


/*MANTAINENCE-SECTION*/

.mantainence-list {
    padding-top: 2rem;
}

.mantainence-list li::before {
    content: '•';
} 

.extra-bag {
    background-color: rgba(227, 155, 60, 0.1);
    border: 1px solid rgba(227, 155, 60, 0.3);
    padding: 1rem 2rem;
    border-radius: 2rem;
}

.extra-bag__text{
    color: var(--white);
    font-weight: 700;
}

/*COMPLEMENTS*/

.complements {
    list-style: none;
    display: grid;
    padding: 0;
    gap: 0.15rem;
}

.complements li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(227, 155, 60, 0.2);
}

.complements__name, .complements__price {
    font-size: 1.5rem;
}

.complements__name {
    color: var(--white);
    font-family: var(--body);
}

.complements__line {
    flex: 1;
    border-bottom: 1px dotted rgba(227, 155, 60, 0.3);
    transform: translateY(-4px);
    min-width: 1.5rem;
}

.complements__price {
    font-weight: bold;
    font-family: var(--tags);
}

/*PROCESS SECTION*/

.process {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 2rem;
}

.step {
    border-top: 2px solid var(--base-color);
    margin-top: 2rem;
}

.step__number {
    color: var(--deco);
    font-family: var(--tags);
}

.step__title, .process__header {
    color: var(--base-color);
}

.step__text {
    color: var(--black);
}

/*CLIENTS*/

.carousel {
    max-width: 100%;
    margin: 4rem auto;
}

.carousel__row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel__window {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.carousel__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel__slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.carousel__photo-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
}

.carousel__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 0.35s ease, background 0.35s ease;
}

.carousel__overlay span {
    color: var(--tags-color);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    transform: translateY(10px);
    transition: transform 0.35s ease;
    font-family: var(--tags);
}

.carousel__photo-link:hover .carousel__overlay {
    background: rgba(0, 0, 0, 0.55);
    opacity: 1;
}

.carousel__photo-link:hover .carousel__overlay span {
    transform: translateY(0);
}

.carousel__photo-link:hover .carousel__photo {
    transform: scale(1.05);
}

.carousel__name {
    margin-top: 1.5rem;
    font-size: 1.8rem;
    color: var(--focus);
}

.carousel__name, .carousel__description {
    text-align: center;
    font-family: var(--body);
}

.carousel__description {
    margin-top: 0.4rem;
    font-size: 1.2rem;
    color: var(--white);
}

.carousel__arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--tags-color);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel__arrow--izq {
    margin-right: 2rem;
}

.carousel__arrow--der {
    margin-left: 2rem;
}

.carousel__arrow:hover {
    background: var(--raiz-verde-oscuro, #234f34);
    transform: scale(1.08);
}

.carrusel__puntos {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carrusel__punto {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cfd8d1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carrusel__punto--activo {
    background: var(--raiz-verde, #2f6b45);
    transform: scale(1.25);
}

.carousel__controllers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-text {
    text-align: center;
    font-family: var(--tags);
    font-size: 1rem;
}


/*FAQ*/

.faq__detail{
    border-top: 1px dotted rgba(227, 155, 60, 0.3);
}

details:nth-child(3) {
    margin-top: 2rem;
}

.faq__question {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.faq__icon {
    font-size: 1.8rem;
    color: var(--tags-color);
    transition: transform 0.3s ease;
}

.faq__detail[open] .faq__icon {
    transform: rotate(45deg);
}

.faq__question:hover {
    color: var(--focus);
}

/*CONTACT*/

.info_text {
    color: var(--white);
}

.info__row {
    margin: 1.5rem 0;
}

.button--whatsapp {
    background-color: var(--whatsapp);
    margin-bottom: 2rem;
    margin-top: 4rem;
}

.label{
    color: var(--grey);
    font-family: var(--tags);
}

/*FORM*/

.contact {
    margin-bottom: 15rem;
}

.form {
    display: flex;
    flex-direction: column;
}

.label, .form_select  {
    font-size: 1.3rem;
}

.input, .form_select, .txtarea {
    background-color: var(--secondary-color);
    border: 1px solid rgba(227, 155, 60, 0.1);
    margin: 1rem 0;
    height: 3rem;
    border-radius: 0.5rem;
    font-family: var(--body);
    color: var(--white);
}

.input, .txtarea {
    padding: 2rem;
}


.form_select {
    color: var(--white);
    background-color: var(--secondary-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--grey) 50%),
        linear-gradient(135deg, var(--grey) 50%, transparent 50%);
    background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    height: auto;
    padding: 1.2rem 4rem 1.2rem 2rem;
}

.txtarea {
    height: 10rem;
    color: var(--grey);
    resize: none;
}

.input:focus, .txtarea:focus, .form_select:focus {
    border: 2px solid var(--focus);
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    caret-color: var(--white);
}

.form_select, .form_select option {
    font-size: 1.6rem;
}


.form__error {
    display: none;
    background-color: rgba(227, 100, 60, 0.12);
    border: 1px solid rgba(227, 100, 60, 0.4);
    border-radius: 0.8rem;
    padding: 1rem 1.5rem;
    color: var(--white);
    font-family: var(--tags);
    font-size: 1.3rem;
    margin: 1rem 0;
}

.form__error.is-visible {
    display: block;
}

.input.has-error,
.txtarea.has-error,
.form_select.has-error {
    border-color: #e3643c;
}

/*FOOTER*/

.footer_logo {
    display: flex;
    align-items: center;
    
}

.footer__img {
    width: 5rem;
}

.footer__text {
    font-family: var(--tags);
    font-size: 1rem;
    margin-left: 2rem;
    text-align: center;
}

/*SPINE*/

.spine {
    position: fixed;
    left: clamp(14px, 2.2vw, 30px);
    top: 0;
    height: 100vh;
    width: 14px;
    z-index: 5;
    pointer-events: none;
    display: none;
}

.spine__line {
    position: absolute;
    left: 6px;
    top: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--tags-color) 12%,
        var(--tags-color) 100%);
    height: calc(var(--progress, 0) * 100%);
}

.spine__dot {
    position: absolute;
    left: 2px;
    top: calc(var(--progress, 0) * 100%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tags-color);
    box-shadow: 0 0 14px 2px rgba(155, 203, 107, 0.55);
    transform: translateY(-50%);
}

.wa-float {
    position: fixed;
    right: 4rem;
    bottom: 2rem;
    z-index: 200;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background-color: var(--whatsapp);
    display: grid;
    place-items: center;
    box-shadow: 0 1rem 3rem -0.8rem rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease;
}

.wa-float:hover {
    transform: scale(1.08);
}

.wa-float svg {
    width: 2.8rem;
    height: 2.8rem;
    fill: #06301a;
}







/*JS classes*/

.close {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.shown-svg {
    opacity: 1;
}

.collapse {
    opacity: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.float__content > * {
    opacity: 0;
    transform: translateX(-10px);
    animation: brotar 0.5s cubic-bezier(.2,.7,.3,1) forwards;
}

.float__content > *:nth-child(1)  { animation-delay: 0.15s; }
.float__content > *:nth-child(2)  { animation-delay: 0.25s; }
.float__content > *:nth-child(3)  { animation-delay: 0.35s; }
.float__content > *:nth-child(4)  { animation-delay: 0.45s; }
.float__content > *:nth-child(5)  { animation-delay: 0.55s; }
.float__content > *:nth-child(6)  { animation-delay: 0.65s; }
.float__content > *:nth-child(7)  { animation-delay: 0.75s; }
.float__content > *:nth-child(8)  { animation-delay: 0.85s; }
.float__content > *:nth-child(9)  { animation-delay: 0.95s; }
.float__content > *:nth-child(10) { animation-delay: 1.05s; }

@keyframes brotar {
    to { opacity: 1; transform: translateX(0); }
}


/*RESPONSIVE*/

@media (min-width: 1180px) {
    .spine { display: block; }
}

/*MOBILE*/
@media (min-width:480px ) { 

    .cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .logo_container__img {
        width: 15rem;
        
    }

    .logo_container__header {
        font-size: 2rem;
        right: -11rem;
    }

   
    .toggle-btn__close,
    .toggle-btn__open {
        width: 5rem;
    }

    .entry_info__buttons {
        flex-direction: row;
    }

    .maintainence_packages {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .steps_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .float {
        height: fit-content;
        place-self: center;
        width: 100%;
    }

    .footer {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .footer__img {
        width: 6rem;
    }

    .footer__text {
        font-size: 1.3rem;
    }

    .carousel {
        max-width: 800px;
    }

    .carousel__arrow {
        font-size: 2rem;
        width: 64px;
        height: 64px;
    }

    .carousel__name {
        font-size: 2.3rem;
    }

    .carousel__description {
        font-size: 1.3rem;
    }

    .carousel__overlay span {
        font-size: 1.8rem;
    }

    .carrusel__punto {
        width: 7px;
        height: 7px;
    }

    .control-text {
        font-size: 1.2rem;
    }
}

/*TABLET*/

@media (min-width: 769px) { 

    .entry_info__title {
        font-size: 10rem;
    }

    .navigation {
        gap: 2rem;
        display: flex;
    }

    .toggle-btn__close, .toggle-btn__open, .toggle-button, .nav {
        display: none;
    }

    .toggle-menu {
        visibility: hidden;
    }

    .navigation__link {
        transition: all ease 0.3s;
    }

    .button {
        display: block;
    }

     .header {
        justify-content: space-evenly;
    }

    .logo_container{
        margin-left: 6rem;
    }

    .nav_container {
        margin-left: 11rem;
    }
    .navigation__link:hover {
        color: var(--white);
        transform: translateY(-5px) rotateZ(5deg)
        
    }

    .main_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8rem;
        
    }
    
    .float {
        grid-column: 2 / 3;
    }

    .entry_info {
        grid-row: 1 / 2;
        
    }

    .quote--card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4rem;
    }

    .button--package-quote {
        justify-self: end;
    }

    .maintainence_packages {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps_container {
        grid-template-columns: repeat(4, 1fr);
    }

    .faq__question, .faq__answer {
        font-size: 2rem;
    }

    .answer__text {
        font-size: 1.8rem;
    }

    .faq__answer {
        margin-top: -2rem;
    }

    .contact {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 5rem;
    }

    .tag-contact, .info_text {
        font-size: 1.8rem;
    }

    .faq__icon {
        font-size: 4rem;
    }

    .carousel {
        max-width: 1000px;
    }

    .carousel__arrow {
        font-size: 3rem;
        width: 84px;
        height: 84px;
    }

    .carousel__name {
        font-size: 3rem;
    }

    .carousel__description {
        font-size: 1.8rem;
    }

    .carousel__overlay span {
        font-size: 2.5rem;
    }

     .carrusel__punto {
        width: 7px;
        height: 7px;
    }

    .control-text {
        font-size: 1.5rem;
    }

  


   

   


}


