* {
    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/contacto-hero.webp);
    background-size: cover;
    background-position: center;
    height: max-content;
    overflow: hidden;
}

.hero-main{
    padding: 180px 10px 120px 10px;
    display: flex;
    justify-content: center;
}

.hero-tit{
    color: white;
    font-size: 28px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: lighter;
}

.hero-subtit{
    color: white;
    font-size: 42px;
    letter-spacing: 2px;
}

.hero-subtit span{
    color: #FFEECE;
}

.hero-lin{
    border: none;
  border-top: 1px solid #FFEECE;
}

.hero-cont{
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* SECCION 2 */

.cta-secc{
    overflow: hidden;
}

.cta-divpr{
    margin: 80px 10px 60px 10px;
    display: grid;
    justify-content: center;
}

.cta-div{
   background-color: #FFFAF0;
   display: flex;
   flex-direction: column;
   justify-content: center; 
   gap: 40px;
   box-shadow: 0 4px 12px rgba(0,0,0,.15);
   border-radius: 8px;
   padding: 60px 16px;
}

.cta-a{
    color: #364151;
    font-size: 18px;
    letter-spacing: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cta-a:hover{
    text-decoration: underline #EDC58D;
}

.cta-a i{
    color: #EDC58D;
    font-size: 42px;
}

.cta-email{
  font-size: 14px !important;
}

.lin-cta{
    border-top: 1px solid #C4C4C4;
    box-shadow: 0 8px 24px 2px rgba(0,0,0,.18);
    margin: 60px 0px;
}


/* FORM */

 .form-container{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 48px;
      padding: 24px;
    }

    .form-txt{
      font-variant: small-caps;
      font-size: 32px;
      letter-spacing: 2px;
      line-height: 38px;
      color: #364151;
      text-align:center;
      font-weight: lighter;
      display: flex;
      flex-direction: row;
      gap: 20px;
    }

    .form-txt i{
        color: #EDC58D;
    }

    form{
      display: flex;
      flex-direction: column;
      gap: 20px;
      width: min(720px, 100%);
    }

    .form-box{
      display: flex;
      flex-direction: column;
      border: none;
      border-block: 1px solid #868d97b8;
      height: 108px;
      padding: 20px 20px;
      gap: 16px;
    }

    .form-box-msj{
      display: flex;
      flex-direction: column;
      border: none;
      border-block: 1px solid #868d97b8;
      padding: 20px 20px;
      gap: 16px;
    }

    form label{
      letter-spacing: 2px;
      color: #737373;
      font-weight: 400;
      font-variant: small-caps;
      font-size: 18px;
    }

    form input{
      border: none;
      color: #364151;
      width: 100%;
      font-size: 18px;
      outline: none;
    }

    form textarea{
      border: none;
      color: #364151;
      height: 120px;
      font-size: 18px;
      letter-spacing: 2px;
      outline: none;
      resize: vertical;
      min-height: 180px;
    }

    .ctaform-div{
      margin-top: 48px;
      text-align: center;
      display: grid;
      gap: 12px;
      justify-items: center;
    }

    .cta-form {
      display: inline-block;
      padding: .75rem 1.25rem;
      border-radius: 60px;
      width: 237px;
      height: 66px;
      color: #fff;
      font-variant: small-caps;
      font-size: 22px;
      letter-spacing: 2px;
      transition: all .3s ease;
      position: relative;
      overflow: hidden;
      z-index: 0;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 200, 0.7); /* borde sutil */
      background: transparent;
    }

    /* fondo base (gradiente dorado-oscuro) */
    .cta-form::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        120deg,
        var(--fill-from, #1a1a2a) 0%,
        var(--fill-from, #1a1a2a) 78%,
        var(--fill-to, #d6d28a) 100%
      );
      border-radius: 10rem;
      z-index: -2;
    }

    /* overlay que aparece al hover */
    .cta-form::before {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0%;
      height: 100%;
      background: linear-gradient(120deg, #F8EE9C 0%, #0A0917 100%);
      transition: width .3s ease;
      border: #F8EE9C solid 1px;
      border-radius: 10rem;
      z-index: -1;
    }

    .cta-form:hover::before { width: 100%; }
    .cta-form:disabled { opacity:.6; cursor:not-allowed; }

    /* Mensajes */
    #successMsg,
#errorMsg {
  display: none;
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 2px;
}

#successMsg { color: #385b3c; }
#errorMsg   { color: #895c5c; }

/* Mostrar solo cuando JS la agregue */
#successMsg.is-visible,
#errorMsg.is-visible {
  display: block;
}

.btn-form{
    padding: 12px 52px !important;
}

/* FLOR */

.flor{
    margin: 120px 0px 0px 0px;
    display: flex;
    justify-content: center;
}

.flor img{
    width: 320px;
    height: auto;
}

/* 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-main{
    padding: 180px 20px 120px 20px;
}

/* SECCION 2 */
    .cta-divpr {
    margin: 80px 20px 60px 20px;
    }

    .cta-div{
        padding: 60px 40px;
    }

    .cta-a{
        font-size: 22px;
    }

}


@media (min-width: 700px){

    /* HERO */

    .hero-main{
    padding: 180px 40px 120px 40px;
}

/* SECCION 2 */

.cta-divpr{
    margin: 160px 10px 60px 10px;
}

    .cta-div {
        width: 672px;
        padding: 60px 100px;
    }

    .cta-a{
        flex-direction: row;
        align-items: end;
        gap: 28px;
        font-size: 28px;
    }

    /* FLOR */

.flor img{
    width: unset;
}

}


@media (min-width: 900px){

  /* HERO */


      .hero-main {
    display: flex;
    max-width: 1400px;
    padding: 180px 120px 120px 120px;
    justify-content: flex-start;
    margin: 0px auto;
    }

  /* FORM */

  .form-box {
    flex-direction: row;
    height: 60px;
    align-items: end;
}

form label{
    width: 30%;
}

form textarea{
    height: 72px;
    min-height: unset;
}

}

@media (min-width: 1200px){

  /* HERO */

    .hero-cont{
        width: 50%;
    }

}


@media (min-width: 1400px){

  /* HERO */

  .hero{
    background-position: bottom;
  }

}