:root{
    --colorprim:#FFFFFF;
    --colorsec: #FBB400;
    --colorback:#000000;
    --colorback2:#2D2D2D;

    --font-title: 'Staatliches', sans-serif;
    --font-principal: 'Abel', sans-serif;
    --font-principal2: 'Raleway', sans-serif;
 }
 
 body{
    margin: 0;
    padding: 0;
    background-color: #000000;
}

.nav-menu{
    position: fixed;
    top: 0;
    background-color: var(--colorback);
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-nav img{
    width: 200px;
}

.menu{
    display: flex;
    flex-direction: column;
    background-color: #FBB400;
    top: 100%;
    right: 0;
    text-align: center;
    font-size: .5em;
    position: fixed;
}

.menu-container {
    position: relative;
    display: inline-block;
}

.menu-checkbox {
    display: none;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4); 
    display: none;
    z-index: 90; 
}

.menu-checkbox:checked ~ .menu-overlay {
    display: block;
}

.menu-btn {
    color: var(--colorsec);
    background-color: var(--colorback);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-right: 20px;
    font-size: 2.5em;
    cursor: pointer;
    user-select: none; 
}

.menu-floating {
    display: none; 
    position: absolute;
    top: 100%; 
    right: 20px; 
    background: linear-gradient(135deg, var(--colorsec), #D88A00);
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    padding: 12px 0;
    z-index: 100;
    overflow: hidden;
}

.menu-floating a {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;

    color: var(--colorback);
    text-decoration: none;

    padding: 14px 20px;

    font-family: var(--font-title);
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;

    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

.menu-floating a label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    cursor: pointer;
    width: 100%;
}

.menu-floating a i {
    font-size: 1em;
    width: 18px;
    text-align: center;
}

.menu-floating a::before {
    content: "";
    position: absolute;

    top: 0;
    left: 10%;

    width: 80%;
    height: 1px;

    background: rgba(0, 0, 0, 0.18);
}   

.menu-floating a:first-child::before {
    display: none;
}

.menu-floating a:hover,
.menu-floating a:focus-within {
    background-color: rgba(0, 0, 0, 0.08);
    border-left-color: var(--colorback);
}

.menu-floating a:first-child {
    border-left-color: var(--colorback);
    background-color: rgba(0, 0, 0, 0.06);
}

.menu-checkbox:checked ~ .menu-floating {
    display: block;
}

main{
    margin-top: 4.6em;
}

.hero{
    background-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    ), 
    url('./img/IMG_2905.jpeg');
    background-size: cover;
}

.hero-in{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 25px 25px;
    box-sizing: border-box;
    color: white;
}    

h1{
    font-family: var(--font-title);
}

.hero-in p{
    font-size: small;
    font-family: var(--font-principal);
}

.hero a{
    text-decoration: none;
    color: white;
    background-color: #FBB400;
    padding: 8px;
    border-radius: 10px;
    font-family: var(--font-principal);
    font-weight: bold;
} 

.main-sections{
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
}

.choose{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.choose h2{
    color: var(--colorsec);
    font-family: var(--font-title);
    font-size: xx-large;
}

.choose p, h2{
    font-family: var(--font-title);
}

.choose h2, span{
    color: var(--colorsec);
}

.servicess{
    background-color: var(--colorback2);
    margin: 40px 15px;
    padding: 10px;
    border-radius: 20px;
}

.servicess h3, .servicess h4 {
    font-family: var(--font-title);
}

.servicess ul, li {
    text-decoration: none;
    font-family: var(--font-principal2);
}

.servicess p{
    font-weight: bold;
}

ul{
    list-style: none;
    padding: 0;
}

li::before{
    content: "✦";
    color: #d4a017;
    margin-right: 10px;
}

.section-transformation h3 {
    font-size: larger;
    padding: 0;
    font-family: var(--font-title);
}


img{
    width: 300px;
    border-radius: 20px;
} 

.more{
    margin-top: 60px;
}

.more-info{
    background-color: var(--colorback2);
    margin: 40px 15px;
    padding: 10px;
    border-radius: 20px;
}

.more-info h3,
.more-info h4 {
    font-family: var(--font-title);
}

footer {
  color: white;
}

.footer-top {
  background-color: var(--colorback2);
  padding: 32px 20px 24px;
  margin: 40px 10px 0;
  border-radius: 20px 20px 0 0;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 2em;
  color: var(--colorsec);
  margin: 0 0 4px;
}

.footer-tagline {
  font-size: .85em;
  color: #aaa;
  margin: 0 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  margin-bottom: 28px;
}

.footer-col h3 {
  font-family: var(--font-title);
  color: var(--colorsec);
  font-size: 1em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  text-decoration: none;
  color: #ccc;
  font-size: .85em;
  margin: 0 0 7px;
}

.footer-col a:hover { color: var(--colorsec); }

.footer-cta {
  background-color: var(--colorsec);
  color: #000 !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 1em;
  display: inline-block;
}

.footer-copy {
  background-color: var(--colorsec);
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  margin: 0 ;
}

.footer-copy p {
  margin: 0; 
  font-size: .78em; 
  color: #000; 
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: #000;
  font-size: .78em;
  text-decoration: none;
}

.social-section {
  background-color: var(--colorback2);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  margin: 10px 10px 40px;
}

.social-follow {
  font-family: var(--font-title);
  color: #fff;
  font-size: 1em;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.social-title {
  font-family: var(--font-title);
  color: var(--colorsec);
  font-size: 1.4em;
  margin: 0 0 18px;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 72px;
}

.social-card i {
  font-size: 1.8em;
  color: #fff;
}

.social-card span {
  font-family: var(--font-principal);
  color: #aaa;
  font-size: .7em;
  letter-spacing: .04em;
}

.fa-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.section-transformation {
    margin-bottom: 40px;
}

.section-transformation2 {
    text-align: center;
}

.section-transformation2 h2, h3{
    color: white;
    margin: 20px 0px;
}

.img-trans2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.ViewMore{
    text-decoration: none;
    color: white;
    background-color: #dba314;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: var(--font-title);
}



/* Desktop */
@media (min-width: 1280px) { 

     body{
        background-color: #000;
    }

   .nav-menu{
        padding: 10px 30px;
        flex-wrap: nowrap;
         box-sizing: border-box;
    }

    .menu-floating{
        gap: 20px;
        flex-shrink: 0;
    }

    .menu-floating a{
        font-size: 0.9em;
        white-space: nowrap;
    }

    .menu-container{
        flex-shrink: 0;
    }


 .menu-btn{
        display: none;
    }
    .menu-floating{
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        width: auto;
        padding: 0;
        gap: 30px;
        overflow: visible;
    }

    .menu-floating a{
        padding: 8px 4px;
        border-left: none;
        border-bottom: 3px solid transparent;
        color: var(--colorsec);
        font-size: 1em;
    }

    .menu-floating a::before{
        display: none;
    }

    .menu-floating a:hover,
    .menu-floating a:focus-within{
        background: none;
        border-bottom-color: var(--colorsec);
    }

    .menu-floating a:first-child{
        background: none;
        border-left: none;
        border-bottom-color: var(--colorsec);
    }

    .menu-checkbox:checked ~ .menu-floating{
        display: flex;
    }

    /* ----- HERO ----- */
    main{
        margin-top: 5.5em;
        font-size: 1.5em;
    }

    .hero{
        height: 80vh;
    }

    .hero-in{
        max-width: 1000px;
        padding: 0 80px;
        height: 100%;
        justify-content: center;

    }

    h1{
        font-size: 3em;
    }

    .hero-in p{
        font-size: 1em;
        max-width: 550px;
    }

    .hero a{
        font-size: 1.1em;
        padding: 12px 24px;
    }

    /* ----- WHY CHOOSE US ----- */
    .choose{
        padding: 40px 120px;
    }

    .choose p{
        font-size: 1.1em;
        max-width: 900px;
    }

    .main-sections{
        text-align: center;
    }

    /* ----- SERVICES GRID ----- */
    .servicess{
        width: calc(33.333% - 30px);
    }

    section > .servicess:nth-of-type(1),
    section > .servicess:nth-of-type(2),
    section > .servicess:nth-of-type(3){
        display: inline-flex;
        flex-direction: column;
        text-align: center;
    }

    /* contenedor que envuelve las 3 .servicess */
    h2 + .servicess,
    .servicess + .servicess{
        text-align: left;
    }


    /* ----- TRANSFORMATION (index) ----- */
    .img-trans{
        display: flex;
        justify-content: center;
        gap: 40px;
    }

    .img-trans img{
        width: 380px;
    }

    /* ----- TRANSFORMATION GALLERY (details page) ----- */
    .section-transformation2{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 0 60px;
        
    }

    .section-transformation2 h2:first-child{
        grid-column: 1 / -1;
    }

    .img-trans2{
        display: flex;
    }

    .img-trans2 img{
        width: 100%;
        max-width: 350px;
    }

    /* el primer .img-trans2 (before/after) ocupa todo el ancho */
    .img-trans2:first-of-type{
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        align-items: center;
    }

    .more{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.more h2{
    width: 100%;
    flex-basis: 100%;
}

.more-info{
    display: block;
    width: calc(50% - 30px);
    margin: 15px;
    box-sizing: border-box;
    text-align: center;
}
    /* ----- FOOTER ----- */
    .footer-top{
        margin: 60px 40px 0;
        padding: 40px 60px;
    }

    .footer-grid{
        font-size: 1.5em;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .social-section{
        margin: 10px 40px 60px;
    }

}


/* Tablet */
@media (min-width: 768px) and (max-width: 1279px) { 

    body{
        background-color: #000;
    }

    .nav-menu{
        padding: 10px 20px;
        flex-wrap: nowrap;
        box-sizing: border-box;
    }

    .hero-nav img{
        width: 160px;
    }

    .menu-btn{
        display: none;
    }

    .menu-container{
        flex-shrink: 0;
    }

    .menu-floating{
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        width: auto;
        padding: 0;
        gap: 14px;
        overflow: visible;
        flex-shrink: 0;
    }

    .menu-floating a{
        padding: 8px 4px;
        border-left: none;
        border-bottom: 3px solid transparent;
        color: var(--colorsec);
        font-size: 0.8em;
        white-space: nowrap;
    }

    .menu-floating a::before{
        display: none;
    }

    .menu-floating a:hover,
    .menu-floating a:focus-within{
        background: none;
        border-bottom-color: var(--colorsec);
    }

    .menu-floating a:first-child{
        background: none;
        border-left: none;
        border-bottom-color: var(--colorsec);
    }

    .menu-checkbox:checked ~ .menu-floating{
        display: flex;
    }

    /* ----- HERO ----- */
    main{
        margin-top: 4.8em;
        font-size: 1.15em;
    }

    .hero{
        height: 65vh;
    }

    .hero-in{
        max-width: 700px;
        padding: 0 50px;
        height: 100%;
        justify-content: center;
    }

    h1{
        font-size: 2.2em;
    }

    .hero-in p{
        font-size: 1em;
        max-width: 450px;
    }

    .hero a{
        font-size: 1em;
        padding: 10px 20px;
    }

    /* ----- WHY CHOOSE US ----- */
    .choose{
        padding: 30px 60px;
    }

    .choose p{
        font-size: 1em;
        max-width: 650px;
    }

    .main-sections{
        text-align: center;
    }

    /* ----- SERVICES GRID ----- */
    .servicess{
        width: calc(50% - 30px);
    }

    section > .servicess:nth-of-type(1),
    section > .servicess:nth-of-type(2),
    section > .servicess:nth-of-type(3){
        display: inline-flex;
        flex-direction: column;
        text-align: center;
    }

    h2 + .servicess,
    .servicess + .servicess{
        text-align: left;
    }

    /* ----- TRANSFORMATION (index) ----- */
    .img-trans{
        display: flex;
        justify-content: center;
        gap: 24px;
    }

    .img-trans img{
        width: 280px;
    }

    /* ----- TRANSFORMATION GALLERY (details page) ----- */
    .section-transformation2{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 30px;
    }

    .section-transformation2 h2:first-child{
        grid-column: 1 / -1;
    }

    .img-trans2{
        display: flex;
    }

    .img-trans2 img{
        width: 100%;
        max-width: 280px;
    }

    .img-trans2:first-of-type{
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 24px;
        align-items: center;
    }

    .img-trans2:first-of-type img{
        max-width: 240px;
    }

    /* ----- MORE / MEMBERSHIP ----- */
    .more{
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .more h2{
        width: 100%;
        flex-basis: 100%;
    }

    .more-info{
        display: block;
        width: calc(50% - 20px);
        margin: 10px;
        box-sizing: border-box;
        text-align: center;
    }

    /* ----- FOOTER ----- */
    .footer-top{
        margin: 40px 20px 0;
        padding: 30px 40px;
    }

    .footer-grid{
        font-size: 1.1em;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .social-section{
        margin: 10px 20px 40px;
    }

}