@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Space+Grotesk:wght@300;400;500&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family:'Space Grotesk', sans-serif;

    background-image:
    linear-gradient(rgba(245,230,211,.75), rgba(247,241,235,.75)),
    url("fondo.jpeg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

p{

    font-family:'Nunito Sans', sans-serif;

    font-size:18px;

    font-weight:400;

    line-height:1.8;

}

h1,
h2,
h3{
    font-family:'Cinzel', serif;
    font-weight:600;
}

p,
li,
a,
button,
input,
textarea{
    font-family:'Space Grotesk', sans-serif;
}

main {
    max-width: 1400px;
    margin: auto;
    padding: 0 40px;
}

header {
    background: #324d20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
}

.logo h1 {
    color: white;
    font-size: 32px;
    letter-spacing: 2px;
     font-family: 'Cinzel', serif;
}

.logo span {
    color: #C4A66C;
    font-size: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a{

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:#C4A66C;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}
nav a:hover {
    color: #C4A66C;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px;
    gap: 50px;
    padding-top:120px;
}

.hero-texto {
    width: 50%;
}

.hero-texto h2 {
    font-size: 52px;
    color: #4D3920;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.hero-texto p {
    font-size: 17px;
    line-height: 1.8;
    color: #4D3920;
    margin-bottom: 35px;
}

.boton {
    display: inline-block;
    background: #58482a;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: .4s;
}

.boton:hover {
    background: #8E8B61;
}

.hero-imagen {
    width: 50%;
}

.hero-imagen img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.funciones-piel{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

    margin-top:40px;

}

.funcion-piel img{

    width:180px;

    height:180px;

    object-fit:contain;

    margin-bottom:20px;

}

.funcion-piel p{

    text-align:center;

    font-size:20px;

    line-height:1.7;

}

.hero-banner{

    width:100%;

    height:160px;

    object-fit:cover;

    border-radius:20px;

    margin:25px 0;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.piel {
    padding: 80px 70px;
    text-align: center;
    background: #F8F4EF;
}

.piel h2 {
    font-size: 45px;
    color: #4D3920;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
}

.piel p {
    text-align: left;
    line-height: 1.9;
    color: #4D3920;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight:400;
}

.titulo-funcion {
    color: #324D20;
    font-weight: 700;
    font-size: 20px;
}

#carouselPiel {
    max-width: 500px;
    margin: 50px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

#carouselPiel img {
    height: 500px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, .4);
    border-radius: 50%;
    padding: 20px;
}

.capas {
    padding: 80px 70px;
    background: #F8F4EF;
}

.capas h2 {
    text-align: center;
    font-size: 45px;
    color: #4D3920;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.intro-capas {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
    line-height: 1.8;
    color: #4D3920;
}

.detalle-capa {
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.detalle-capa summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    background: #324D20;
    color: white;
    font-size: 22px;
    font-weight: 600;
    transition: .3s;
}

.detalle-capa summary:hover {
    background: #4D3920;
}

.detalle-capa summary::-webkit-details-marker {
    display: none;
}

.contenido-capa {
    padding: 25px;
}

.contenido-capa img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.contenido-capa p {
    line-height: 1.9;
    color: #4D3920;
    text-align: justify;
}

.tipos-piel {
    padding: 80px 70px;
    background: #FFF8F1;
}

.tipos-piel h2 {
    text-align: center;
    font-size: 45px;
    color: #4D3920;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.intro-tipos {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
    line-height: 1.8;
    color: #4D3920;
}

.tipos-piel .accordion {
    max-width: 900px;
    margin: auto;
}

.tipos-piel .accordion-button {
    background: #324D20;
    color: white;
    font-weight: 600;
}

.tipos-piel .accordion-button:not(.collapsed) {
    background: #4D3920;
    color: white;
}

.tipos-piel .accordion-body {
    color: #4D3920;
    line-height: 1.8;
    background: white;
}
.tratamientos {
    padding: 70px;
}

.tratamientos h2 {
    text-align: center;
    font-size: 45px;
    color: #4D3920;
    margin-bottom: 50px;
    font-family: 'Cinzel', serif;
}

.contenedor-tratamientos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.tarjeta {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
    transition: .3s;
}

.tarjeta:hover {
    transform: translateY(-8px);
}

.tarjeta img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tarjeta h3 {
    text-align: center;
    margin: 20px 0 10px;
    color: #4D3920;
}

.tarjeta p {
    text-align: center;
    padding: 0 20px 25px;
}

.info {
    margin: 20px 0;
}

.info summary {
    list-style: none;
    display: inline-block;
    background: #4D3920;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
    user-select: none;
}

.info summary:hover {
    background: #8E8B61;
}

.info summary::-webkit-details-marker {
    display: none;
}

.info p {
    margin-top: 15px;
    padding: 15px;
    background: #f8f5f1;
    border-left: 4px solid #C4A66C;
    border-radius: 10px;
    color: #4D3920;
    line-height: 1.6;
}

.consejos {
    padding: 70px;
    background: #f5efe7;
}

.consejos h2 {
    text-align: center;
    color: #4D3920;
    margin-bottom: 40px;
    font-size: 42px;
    font-family: 'Cinzel', serif;
}

.contenido-consejos {
    display: flex;
    gap: 40px;
    align-items: center;
}

.video {
    width: 50%;
}

.video video {
    width: 100%;
    border-radius: 20px;
}

.texto-consejos {
    width: 50%;
}

.texto-consejos h3 {
    color: #4D3920;
    margin-bottom: 20px;
}

.texto-consejos p {
    margin-bottom: 20px;
}

.texto-consejos li {
    margin-bottom: 12px;
}

.contacto {
    padding: 80px 70px;
}

.contacto h2 {
    text-align: center;
    font-size: 45px;
    color: #4D3920;
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
}

.intro-contacto {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.8;
    color: #4D3920;
}

.contenedor-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-contacto {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}

.info-contacto h3 {
    color: #324D20;
    font-size: 30px;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
}

.info-contacto p {
    margin-bottom: 22px;
    color: #4D3920;
    line-height: 1.8;
}

.formulario-contacto {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    font-size: 16px;
    font-family:'Space Grotesk', sans-serif;
}

.formulario-contacto textarea {
    resize: none;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    outline: none;
    border: 2px solid #324D20;
}

.formulario-contacto button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: #324D20;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: .3s;
}

.formulario-contacto button:hover {
    background: #4D3920;
}

.turno {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px;
    background: #F8F4EF;
}

.contenedor-turno {
    width: 600px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.contenedor-turno h1 {
    text-align: center;
    color: #324D20;
    font-family: 'Cinzel', serif;
    font-size: 46px;
    margin-bottom: 15px;
}

.contenedor-turno p {
    text-align: center;
    color: #4D3920;
    margin-bottom: 30px;
}

.contenedor-turno label {
    display: block;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #324D20;
    font-weight: 600;
}

.contenedor-turno input,
.contenedor-turno select {
    width: 100%;
    padding: 14px;
    border: 1px solid #D8D8D8;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    font-family:'Space Grotesk', sans-serif;
}

.contenedor-turno input:focus,
.contenedor-turno select:focus {
    outline: none;
    border: 2px solid #324D20;
}

.contenedor-turno button {
    width: 100%;
    margin-top: 25px;
    background: #324D20;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 17px;
    transition: .3s;
}

.contenedor-turno button:hover {
    background: #4D3920;
}
@media (max-width: 992px){

    header{
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav ul{
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .hero-texto,
    .hero-imagen{
        width: 100%;
    }

    .contenido-consejos{
        flex-direction: column;
    }

    .video,
    .texto-consejos{
        width: 100%;
    }

    .contenedor-tratamientos{
        grid-template-columns: repeat(2,1fr);
    }

    .contenedor-contacto{
        grid-template-columns:1fr;
    }

}

@media (max-width:768px){

    main{
        padding:0 15px;
    }

    header{
        padding:20px;
    }

    .logo h1{
        font-size:26px;
    }

    nav ul{
        flex-direction:column;
        align-items:center;
        gap:12px;
    }

    .hero,
    .piel,
    .capas,
    .tratamientos,
    .consejos,
    .contacto,
    .tipos-piel{
        padding:50px 20px;
    }

    .hero-texto h2,
    .piel h2,
    .capas h2,
    .tratamientos h2,
    .consejos h2,
    .contacto h2,
    .tipos-piel h2{
        font-size:34px;
    }

    .hero-texto p,
    .piel p{
        font-size:18px;
    }

    .contenedor-tratamientos{
        grid-template-columns:1fr;
    }

    #carouselPiel img{
        height:300px;
    }

    .boton{
        width:100%;
        text-align:center;
    }

}

.header{

    background:#324D20;

    position:sticky;

    top:0;

    z-index:9999;

}
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.header .nav-link {
    color: white;
    font-size: 18px;
}

.header .nav-link:hover {
    color: #C4A66C;
}

@media (max-width: 991px) {
    .header {
        padding: 15px 20px;
    }

    .navbar-collapse {
        background: #324D20;
        padding: 20px;
        margin-top: 15px;
        border-radius: 15px;
        text-align: center;
    }

    .navbar-nav {
        gap: 10px;
    }
}

