/* VARIABLES: Colores globales reutilizables */
:root {
  --primary-color: #FE5000;
  /* Color principal (botones, elementos destacados) */
  --secondary-color: #FFB164;
  /* Color secundario (fondos, cajas) */
  --dark-color: #333;
  /* Texto o fondos oscuros */
  --light-color: #f9f9f9;
  /* Fondos claros */
}

/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================================
     BODY - Tipografía y color global
  ================================= */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'League Spartan', sans-serif;
}

/* ================================
    HOME
================================= */

/* Header con imagen de fondo */
  .hero {
    background-image: url('../img/Inicio.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
  }


/*  SECCIÓN CON FONDO DE IMAGEN */
  .image-background-section {
    background: url('img/EnviaRecibe.png') no-repeat center center/cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
  }


/* Contenedor principal */
.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2rem 0 4rem;
  position: relative;
  gap: 4rem;

}
.hero-fullwidth {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.hero-background {
  background: none;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end; 
}
.hero-text-wrapper {
  padding-right: 15rem;
  color: white;
}
.hero-text-wrapper h1 {
  font-size: 2.7rem;
  line-height: .9;
  font-weight: 900;
  font-style: initial;
}
/* Logo fijo arriba izquierda */
.logo {
  align-self: flex-start;
}
.logo img {
  height: 50px;
  margin-left: 2rem;
  margin-bottom: 6rem;
}
/* Texto centrado vertical a la derecha */
.hero-text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  flex: 5;
  padding-bottom: 11rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin: 5;
  max-width: 500px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
}

/* Botones centrados abajo */
.hero-buttons {
  margin-top: 8rem; /* Puedes ajustar este valor */
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.btn {
  text-decoration: none;
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  min-width: 180px;
  transition: 0.3s;

  /* Centrado total */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

  .hero-buttons .btn:hover {
    background-color: #f7ae67;
  }

@media (max-width: 1024px) {
  .hero-text-wrapper {
    padding-right: 4rem;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    max-width: 90%;
    margin: auto;
  }

  .logo img {
    margin-left: 1rem;
    margin-bottom: 6rem;
    height: 40px;
  }
  .hero-buttons {
    flex-direction: row; /* Se mantienen en fila */
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;     /* Permite que bajen si no caben */
    margin-top: 6rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 1rem 0 2rem;
    gap: 2rem;
  }

  .hero-text-wrapper {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .hero-text {
    padding-bottom: 6rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

.hero-buttons {
    flex-direction: row; /* Se mantienen en fila */
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;     /* Permite que bajen si no caben */
    margin-top: 10rem;
  }

  .btn {
    min-width: 140px;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}


/* ================================
     SECCIONES GENERALES
  ================================= */
.section {
  padding: 50px 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* TARJETAS DE LA SECCIÓN 1 */
    .section-container {
      padding: 2rem;
    }

    .section-wrapper {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .left-column {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      /* border: 1px solid greenyellow; */
    }

    .left-column h2 {
      text-align: left;
      font-size: 1.8rem;
      font-family: 'Montserrat', sans-serif;
      color: #606160;
    }

    .right-column {
      flex: 1.5;
      display: flex;
      gap: 3.5rem;
      flex-wrap: wrap;
      padding-right: 3rem;
      /* border: 1px solid red; */
    }

    .card {
      flex: 1 1 20%;
      display: flex;
      flex-direction: column;
      border-radius: 30px;
      overflow: hidden;
      background-color: #f7f7f7;
    }

    .card-image img {
      width: 106%;
      height: auto;
      display: block;
      margin: -5px;
    }

    .card-content {
      padding: 1rem 1.5rem 0;
      text-align: left;
      flex-grow: 1;
    }

    .card-content span {
      display: block;
      font-family: 'Roboto', sans-serif;
      font-style: italic;
      margin-bottom: 0.2rem;
      color: #646464;
      font-weight: 500;
    }

    .card-content p {
      font-family: 'Roboto', sans-serif;
      line-height: 1.1;
      font-size: 0.9rem;
      color: #646464;
    }

    .card-footer {
      padding: 1rem;
      display: flex;
      justify-content: flex-end;
    }

    .button-readmore {
      background-color: var(--primary-color);
      color: white;
      border: none;
      padding: 0.4rem 1rem;
      border-radius: 4px;
      cursor: pointer;
      margin: 0rem .5rem .2rem;
      border-radius: 15px;
    }

    .button-readmore:hover {
      background: #f7ae67;
      transition: background 0.3s, color 0.3s;
    }


    
    @media screen and (max-width: 1212px) {
      .right-column {
            gap: 1.5rem;
            padding-right: 2rem;
      }
    }

    @media screen and (max-width: 1000px) {
      .right-column {
            gap: 1.5rem;
      }
      .right-column {
        padding-right: 1.5rem;
        padding-right: .5rem;
      }
    }
    
    @media screen and (max-width: 930px) {
      .section-wrapper {
        flex-direction: column; /* apilarlos en columna */
        /* gap: 2rem; */
      }

      .left-column {
        margin-bottom: .4rem;
        
      }
      .left-column  h2 {
        text-align: center;
      }
      .right-column {
        padding-right: 0;

      }

    }

    @media screen and (max-width: 538px) {
      .section-wrapper {
        flex-direction: column;
        align-items: center;
      }

      .right-column {
        flex: 1 1 50%;
      }

      .left-column h2 {
        text-align: center;
        font-size: 1.5rem;
      }

      .right-column {
        gap: 1.5rem;
        justify-content: center;
      }

      .card {
        flex: 1 1 80%;
        max-width: 90%;
      }

      .card-image img {
        width: 100%;
        margin: 0;
      }

      .card-content {
        padding: 1rem;
      }

      .card-footer {
        justify-content: center;
      }
    }


/* ================================
    SECCIÓN CON UN CARD 2
  ================================= */
/* Fondo naranja */
.orange-section {
  background-color: #FE5000;
  padding: 2.7rem 0 0 0;
}

.container-create-acount {
  max-width: 1345px;
  margin: 0 auto;
  overflow: hidden;
  /* border: 1px solid transparent; */
}

/* Contenedor personalizado con Flexbox */
.custom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  gap: 2rem;
  /* border: 1px solid red; */
}


/* Imagen alineada al centro */
.image-box {
  flex: 1 53%;
  align-items: center;
  align-content: center;
  padding-left:13rem;
  overflow: hidden;
  /* border: 1px solid goldenrod; */
}

.image-box img {
  margin: 0 auto;
  max-width: 65%;
  height: auto;
  border-radius: 40px 40px 0 0;
  margin-bottom: -.6rem;
  background: #ffffff;
  padding-bottom: 1.4rem;
}


/* Texto alineado a la izquierda */
.text-box {
  flex: 1 1 46%;
  text-align: left;
  color: white;
  
}

.text-box p {
  font-size: 1.8rem;
  font-style: italic;
  font-family: Roboto;
  margin-bottom: 1rem;
}

.text-box h2 {
  font-size: 1.8rem;
  font-family: 'Montserrat', sans-serif;
}

.boton-enviar {
  background-color: #FE5000; /* Naranja similar */
  border: 3px solid #ffffff;
  color: white;
  font-weight: bold;
  border-radius: 13px;
  padding: .9rem 1.6rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.boton-enviar:hover {
  background-color: #ffffff;
  color: #FE5000;
}


@media (max-width: 960px) {
  .image-box {
    padding-left: 7rem;
  }
  .text-box {
    padding-right: 10px;
  }
}

@media (max-width: 830px) {
  .custom-container {
    align-items: flex-end;
  }
  .image-box {
    padding-left: 7rem;
  }
  .text-box {
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .custom-container {
    flex-direction: column; /* Cambia de fila a columna */
    align-items: center;
    padding: 1rem;
  }

  .image-box {
    padding-left: 0; /* Elimina el padding lateral en móvil */
    max-width: 100%;
    text-align: center;
  }

  .image-box img {
    max-width: 90%; /* Hace que la imagen se ajuste mejor */
    border-radius: 20px 20px 0 0;
  }

  .text-box {
    text-align: center;
    padding: 0 1rem;
  }

  .text-box p,
  .text-box h2 {
    font-size: 1.4rem;
  }

  .boton-enviar {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
    margin-top: 1rem;
  }
}


/* ================================
    SECCIÓN-PASOS PARA DESCARGAR APP 
  ================================= */
  .two-section {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 2.5rem;
        gap: 2rem;
    }

    .section-left {
        flex: 1 1 45%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: justify;
        padding: 6rem 4rem 8rem 11rem; 
    }

    .section-left h2 {
        font-size: 2.1rem;
        margin-bottom: 2rem;
        font-family: 'Montserrat', sans-serif;
        color: #606160;
    }

    .section-left p {
        font-size: 1.2rem;
        line-height: 1.2;
        font-family: 'Roboto', sans-serif;
        color: #686868;
    }

    .section-right {
        flex: 1 1 45%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1rem;
    }

    .step-text {
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        color: #606160;
    }

    .circle-number {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #f7ae67;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2rem;
    }

    .start-button {
        margin-top: 1.2rem;
        padding: .7rem 1.6rem;
        border: 3px solid #FE5000;
        background: transparent;
        color: #FE5000;
        font-weight: 900;
        border-radius: 13px;
        cursor: pointer;
        width: fit-content;
        transition: background 0.3s, color 0.3s;
        font-size: 1rem;
    }

    .start-button:hover {
        background-color: #FE5000;
        color: white;
    }

  @media (max-width: 1230px) {
    .section-left {
      padding: 6rem 4rem 8rem 4rem;
    }
  }

  @media (max-width: 1010px) {
    .two-section {
      flex-direction: column;
    }
    .section-left {
      text-align: center;
      padding: 6rem 4rem 1rem 4rem;
    }
    .section-right a {
        align-items: center;
        justify-content: center;
        display: flex;
        text-decoration: none;
    }
  }

  @media screen and (max-width: 770px) {
    .step {
      flex-direction: column;
      margin-bottom: 1.5rem;
      gap: .5rem;
      text-align: center;
    }
    .section-left {
      padding: 3rem 1rem 1rem 1rem;
    }
  }


/* ================================
     SECCIÓN 4 DE CARACTERÍSTICAS
  ================================= */
.features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.2rem;
  margin: 2rem 0;
  padding: 0 5.2rem;
}

.feature-content h5 {
        margin: 0;
        padding: 0;
        font-size: 1.2rem;

    }
.feature-card {
  flex: 1 1 22%;
  padding: 4rem 2.7rem;
  color: white;
  border-radius: 1.8rem;
  box-sizing: border-box;
  text-align: right;
  min-width: 200px;
}

.bg-orange {
  background-color: #f7ae67;
}

.bg-red {
  background-color: #e8521c;
}

.bg-dark {
  background-color: #606160;
}

.feature-title {
  font-size: 1rem;
  text-align: left;
  font-style: italic;
  font-family: Roboto;
  margin-bottom: 3rem;
}

.feature-content {
  font-size: 0.9rem;
  font-family: Roboto;
  line-height: 1.4;
}

.container-features {
  background: #f7f7f7;
  padding: 4rem 0;
}

.feature-content h5 {
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .feature-card {
    flex: 1 1 45%;
  }
  .features-section {
    padding: 0 3rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    flex: 1 1 100%;
  }
}


/* SECCION DE PREGUNTAS */

    section {
      padding-top: 60px;
      padding-bottom: 60px;
    }
    /* SECCION DE PREGUNTAS */
    .container-question {
      padding: 8rem 0;
    }

    .faq-section {
      background-color: #F5F5F5	;
      max-width: 33rem;
      margin: 0 auto;
    }

    .faq-item {
      border-bottom: 3px solid #ccc;
      padding: 15px 0;
      margin-left: 20px;
    }

    .faq-question {
      cursor: pointer;
      font-size: 1.1rem;
      font-family: 'Roboto', sans-serif;
      font-weight: bold;
      color: #606160;
      display: flex;
      align-items: center;
      gap: 15px;
      position: relative;
    }

    .icon-chevron {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-right: 2px solid #FFB164;
      border-bottom: 2px solid #FFB164;
      transform: rotate(45deg);
      transition: transform 0.3s ease;
      margin-left: -20px;

    }

    .faq-question.active .icon-chevron {
      transform: rotate(-135deg);
    }

    .faq-answer {
      display: none;
      padding: 0.8125rem 11.25rem 0.3125rem 0rem;
      color: #6b6b6b;
      font-size: 1rem;
      font-style: italic;
      text-align: justify;
      font-family: 'Roboto', sans-serif;
    }

    .faq-question.active+.faq-answer {
      display: block;
    }

    .faq-card {
      background-color: #f5f5f5;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(192, 13, 13, 0.05);
      max-width: 800px;
      margin: 40px auto;
    }

    .exchange-card {
      background-color: #FFB164;
      padding: 20px 0;
    }

    .faq-extra-box {
      max-width: 40rem;
      margin: 0 auto;
      background-color: #F5F5F5;
      padding: 2rem 3rem;
      text-align: center;
      font-size: 15px;
      border-radius: 4px;
    }

    .faq-extra-box a {
      color: #FF6F3C;
      font-weight: 600;
      text-decoration: none;
    }

    .faq-extra-box a:hover {
      text-decoration: underline;
    }
    @media screen and (max-width: 600px) {
      /* Reduce padding superior e inferior para evitar scroll excesivo */
      section {
        padding-top: 30px;
        padding-bottom: 30px;
      }

      .faq-card {
        padding: 20px 15px;
        margin: 20px 10px;
      }

      .faq-section {
        max-width: 100%;
        padding: 0 10px;
      }

      .faq-answer {
        font-size: 13px;
        padding: 6px 15px;
      }

      .faq-question {
        font-size: 15px;
      }

      .faq-extra-box {
        font-size: 14px;
        padding: 15px;
        margin: 10px;
        text-align: left;
      }
    }
    @media screen and (max-width: 600px) {
      /* Reduce padding superior e inferior para evitar scroll excesivo */
      section {
        padding-top: 30px;
        padding-bottom: 30px;
      }

      .faq-card {
        padding: 20px 15px;
        margin: 20px 10px;
      }

      .faq-section {
        max-width: 100%;
        padding: 0 10px;
      }

      .faq-answer {
        font-size: 13px;
        padding: 6px 15px;
      }

      .faq-question {
        font-size: 15px;
      }

      .faq-extra-box {
        font-size: 14px;
        padding: 15px;
        margin: 10px;
        text-align: left;
      }
    }

