* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Inria Serif", serif;
}


html{
    scroll-behavior: smooth;
}

/* HERO */

.hero{
    background-image: url(../images/sobre-mi-hero.webp);
    background-size: cover;
    background-position: center;
    height: max-content;
    overflow: hidden;
    border-radius: 0px 0px 120px 0px;
}

.hero-main{
    display: flex;
    flex-direction: column-reverse;
    max-width: 1400px;
}

.hero-dr{
        background-color: rgb(247, 239, 225, 80%);
    padding: 60px 16px;
    margin: 120px 6px 80px 6px;
    border-radius: 8px;
}

.heroDr-main{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-img{
    display: flex;
    justify-content: center;
}

.hero-img img{
    width: 400px;
    height: auto;
}

.tit-h1{
    color: #4F5967;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: lighter;
    font-size: 28px;
}

.tit-sub{
    color: #364151;
    font-size: 52px;
    font-weight: bold;
    letter-spacing: 2px;
}

.tit-txt{
    color: #364151;
    font-style: italic;
    letter-spacing: 2px;
    font-size: 22px;
}

.btn-sobre-mi{
    margin-top: 28px;
    margin: 28px auto 0px auto;
}

/* QUOTE */

.quote-wrap{
  padding: 180px 20px;
}

.quote-card{
  position: relative;
  max-width: 1100px;           
  margin: 0 auto;
  text-align: center;
  color: #364151;
}

/* Comillas decorativas */
.quote-card::before,
.quote-card::after{
  position:absolute;
  font-size: clamp(28px, 10vw, 80px);
  line-height: 1;
  color: #EABC7B;
  opacity: .65;
  font-size: 62px;
}
.quote-card::before{
  content: "“";
  top: clamp(-6px, -1vw, -10px);
  left: clamp(-2px, 2vw, 24px);
}
.quote-card::after{
  content: "”";
  bottom: clamp(30px, 6vw, 60px);
  right: clamp(-2px, 2vw, 24px);
}

/* Texto de la cita */
.quote-card blockquote{
  margin: 0;
}
.quote-card blockquote p{
  margin: 0;
  font-weight: lighter;
  letter-spacing: 2px;
  line-height: 45px;
  /* Tamaño fluido: móvil → desktop grande */
  font-size: clamp(32px, 5vw, 52px);
  padding: 0 clamp(8px, 4vw, 40px);
}

/* Línea + autor (mobile-first: en columna y centrado) */
.quote-card figcaption{
  display: grid;
  place-items: center;
  gap: 10px;
  margin-top: clamp(36px, 4vw, 46px);
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.quote-card figcaption::before{
  content:"";
  display:block;
  width: min(60%, 360px);
  height: 2px;
  background: rgba(234,188,123,.45);
}

/* HISTORIA */

.his-secc{
    overflow: hidden;
    max-width: 1400px;
    margin: auto;
}

.his-div-txt{
    margin: 60px 10px;
}

.his-div{
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.main-2{
    display: flex;
    flex-direction: column-reverse;
}

.his-h2{
    color: #364151;
    font-size: 32px;
    letter-spacing: 2px;
    font-weight: lighter;
    margin-bottom: 20px;
}

.his-h3{
    color: #EABC7B;
    font-size: 32px;
    font-weight: lighter;
    text-transform: uppercase;
    line-height: 52px;
    letter-spacing: 2px;
}

.his-txt{
    font-size: 16px;
    font-weight: lighter;
    letter-spacing: 2px;
    color: #364151;
    line-height: 45px;
}

.his-txt span{
    font-weight: 500;
}

.his-img img{
    width: 320px;
    height: auto;
}

.his-img-2{
    display: flex;
    justify-content: flex-end;
}

/* BANNER */

.flor-secc{
    margin: 60px 0px 0px 0px;
}



.flor-2{
    display: flex;
    justify-content: center;
}

.flor-2 img{
    width: 200px;
    height: auto;
    transform: rotate(180deg);
}

/* WHATSAPP */
  
 #whatsapp-logo {
   position: fixed;
   bottom: 20px;
   right: 20px;
   z-index: 1000;
   cursor: pointer;
   transition: transform 0.3s ease-in-out;
   transform: translateX(200%); /* Start hidden off the screen */
   float: right;
 }
 
 .logo-whatsapp{
   color: #4FCE5D;
   font-size: 64px;
 }

 .logo-whatsapp:hover{
   box-shadow: 0px 4px 4px rgba(252, 251, 251, 0.25);
   transform: translateY(-2px) translateX(2px) scale(1);
   transition: transform 0.3s ease-in-out;
}


@media (min-width: 425px){

  /* HERO */

  .hero {
    border-radius: 0px 0px 190px 0px;
}

  .hero-dr {
    padding: 60px 20px;
    }

    /* HISTORIA */

    .his-img img {
    width: 420px;
}

}


@media (min-width: 700px){

  /* HERO */

      .hero-dr {
        padding: 80px 60px;
    }

    /* HISTORIA */

    .his-h3{
    font-size: 45px;
    letter-spacing: 8px;
    }

    .his-div-txt {
    margin: 60px 40px;
    }

    /* BANNER */

    .flor-secc{
        margin: 0px 0px;
    }
}


@media (min-width: 900px){

    /* QUOTE */

    .quote-card figcaption{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
  }
  .quote-card figcaption::before{
    width: clamp(180px, 30vw, 520px);
    height: 2px;
  }

  /* HISOTRIA*/

  .his-main-div{
    display: flex;
    flex-direction: row;
    gap: 40px;
  }

  .his-div-txt {
    margin: 0px 10px 60px;
    }

    .his-img-2 {
    display: block;
}

    /* BANNER */

    .flor img {
    width: 360px;
    }

    .flor-2 img {
    width: 260px;
}


}


@media (min-width: 1000px){

    /* HERO */

    .hero-main{
        flex-direction: row;
        padding: 80px 20px 0px 20px;
        gap: 20px;
        margin: auto;
    }

    .hero-img{
        width: 40%;
        justify-content: center;
        align-items: center;
    }

    .hero-img img {
        width: 400px;
        height: 400px;
    }

    .hero-dr{
        padding: 60px 36px;
        border-radius: 0px 0px 190px 0px;
        width: 60%;
    }

    .quote-card blockquote p {
    line-height: 62px;
}

    /* HISTORIA */

    .his-secc {
    margin: 120px auto;
}

    .his-main-div{
        gap: 80px;
    }

    .his-img{
        width: 50%;
    }

    .his-img img {
        width: 100%;
    }

    .his-div-txt{
        width: 50%;
        margin: 0px 60px 60px 0px;
    }

    .his-div-txt-2{
        margin: 0px 0px 60px 60px !important;
    }

}


@media (min-width: 1200px){

    /* HERO */

    .hero {
        border-radius: 0px 0px 260px 0px;
    }

    .hero-dr {
        padding: 60px 80px;
        border-radius: 0px 0px 260px 0px;
    }

    .btn-sobre-mi {
    margin: 28px 0px 0px 0px;
    }

    .quote-wrap {
    max-width: 1000px;
    margin: auto;
}

/* HISTORIA */

.his-main{
    display: flex;
    flex-direction: column;
    gap: 80px;
}

}