@import url("./style.css");

/* ============================================
   COBRÁ CON PANDAPAY - HERO
   ============================================ */

.header-cobrar {
  background: url("../assets/images/cobrar/pandapayweb-seccióncobrá-29.png") no-repeat center/cover;
  width: 100%;
  height: 100vh;
  justify-content: space-between;
  padding: 0;
}


.cobrar-hero {
    width: 100%;
    max-width: 87.5rem;
    margin: auto;
    padding-top: clamp(3.75rem, 8vw, 7.5rem);
    padding-bottom: clamp(3.75rem, 8vw, 7.5rem);
    padding-left: clamp(1rem, 4vw, 3.75rem);
    padding-right: clamp(1rem, 4vw, 3.75rem);
    text-align: center;
    align-self: center;
    /* gap: clamp(10px, 2vw, 20px); */
}

.cobrar-hero h1 {
    font-size: var(--dongle-bold-xxl);
    line-height: 0.7;
    /* margin-bottom: 1rem; */
}

.cobrar-hero p {
    max-width: 1000px;
    margin-bottom: 1rem;
}

.cobrar-hero .btn-hero {
    padding: 0.9375rem 1.875rem;
    font-size: var(--dongle-regular-base);
    border-radius: 0.9375rem;
}

.cobrar-beneficios-grid {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 40px);
    margin-top: clamp(40px, 6vw, 80px);
    flex-wrap: wrap;
}

.cobrar-beneficio {
    flex: 1 1 180px; 
    max-width: 240px;
    gap: 10px;
}

.cobrar-beneficio img {
    width: clamp(60px, 5vw, 80px);
    height: auto;
}

.cobrar-beneficio p {
    font-size: var(--lato-bold-sm);
    text-align: center;
    margin: 0;
}

/* ============================================
   SECTION: CÓMO FUNCIONA (Card Layout)
   ============================================ */

.como-funciona-card-layout {
    width: 100%;
    /* max-width: 1400px; */
    padding: clamp(3.75rem, 8vw, 7.5rem) clamp(1.25rem, 4vw, 3.75rem);
    display: flex;
    align-items: flex-start;
    gap: clamp(1.875rem, 5vw, 5rem);
    margin: auto;
    justify-content: center;
}

/* --- Título (Izquierda) --- */
.como-funciona-title {
    flex-shrink: 0;
}

.como-funciona-title h2 {
    line-height: 0.6; 
    font-size: var(--dongle-bold-xxl);
}

.como-funciona-content-card {
    flex-grow: 1;
    max-width: 900px; 
    padding: clamp(30px, 4vw, 40px);
    border-radius: 40px;
    background-color: white;

    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
}

.panda-image-wrapper {
    flex-shrink: 0;
    width: clamp(100px, 15vw, 200px);
}

.panda-pregunta-img {
    width: 100%;
    height: auto;
    display: block;
}

.pasos-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.pasos-list {
    list-style: decimal;
    margin: 0;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--color-black);
    margin-top: 1rem;
}

.pasos-list li {
    font-size: 1.5rem;
    line-height: var(--lato-regular-md-lh);
    font-weight: 500;
}

.btn-whatsapp {
    align-self: flex-start;
    font-size: var(--lato-regular-md); 
    padding: 0.6rem 2rem;
    color: white;
    border-radius: 0.7rem;
    margin-top: 2rem;
}

.btn-whatsapp:hover {
    background-color: var(--color-black);
    cursor: pointer;
}        

@media (max-width: 1024px) {
    .como-funciona-card-layout {
        gap: 40px;
        padding: 80px 40px;
    }
    
    .como-funciona-content-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .como-funciona-card-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        padding: 60px 30px;
    }
    
    .como-funciona-title {
        align-self: center;
    }
    
    .como-funciona-title h2, .soluciones h2 {
        line-height: 0.9;
        font-size: var(--dongle-bold-xl);
    }

    .como-funciona-content-card {
        flex-direction: column;
        padding: 30px;
        max-width: 100%;
        gap: 20px;
        border-radius: 30px;
    }
    
    .panda-image-wrapper {
        width: 120px;
    }
    
    .pasos-wrapper {
        text-align: left;
        align-items: flex-start;
    }
    
    .btn-whatsapp {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .cobrar-hero {
        margin: auto;
            width: 95%;
    }

    .cobrar-hero h1 {
                font-size: 2rem; /* Probando con 2.9rem (en lugar de 3rem) */
        line-height: 1.1;
    }
    .como-funciona-card-layout {
        padding: 40px 15px;
    }

    .como-funciona-content-card {
        padding: 25px;
        border-radius: 20px;
    }
    
    .panda-image-wrapper {
        width: 100px;
    }

    .pasos-list {
        padding-left: 1.2rem;
        gap: 10px;
    }
    
    .pasos-list li {
        font-size: var(--lato-regular-md);
    }

    .btn-whatsapp {
        font-size: 16px;
        padding: 12px 30px;
    }
}

/* ============================================
   SECCIÓN PRODUCTOS Y TARIFAS
   ============================================ */
.productos-tarifas-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
}

.productos-tarifas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
    align-items: stretch;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 35px;
    min-height: 600px;
}

.card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.card-icon img {
    width: 100%;
    height: auto;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1;
    font-size: 3.7rem;
}

.card-subtitle {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: var(--lato-regular-md);
}
.card-subtitle-dark {
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
    font-size: var(--lato-regular-md);
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    margin-bottom: auto; 
}

.lista-beneficios li {
    font-family: var(--font-lato);
    font-size: 1.3rem;
    line-height: 1.3;
    padding-left: 1em;
    position: relative;
    font-weight: 500;
}

.lista-beneficios li::before {
    content: "•";
    font-size: 1.4rem;
    font-weight: 400;
    position: absolute;
    left: 0;
    bottom: 0;
}

.aceptacion-tarjetas {
    font-size: var(--lato-italic-xxs);
    margin-top: 15px;
}

@media (max-width: 1024px) {
  .productos-tarifas-section {
        padding: 60px clamp(15px, 3vw, 40px); 
    }
    
    .productos-tarifas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px; 
    }
    
    .card {
        padding: 20px 15px; 
        min-height: 480px; 
        border-radius: 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .card h3 {
        font-size: 2.5rem; 
        margin-bottom: 10px;
    }
    
    .lista-beneficios li,
    .lista-tarifas li {
        font-size: 0.9rem; 
        line-height: 1.3;
        padding-left: 1.2em;
    }
    
    .lista-beneficios li::before {
        font-size: 1rem;
    }

    .productos-tarifas-grid .tarifas-card:nth-child(3) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .productos-tarifas-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .card {
        min-height: auto;
        padding: 25px;
        border-radius: 20px;
    }
    
    .card h3 {
        font-size: 2rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .lista-beneficios li {
        font-size: 1rem;
    }

    .productos-tarifas-grid .tarifas-card:nth-child(3) {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .productos-tarifas-section {
        padding: 40px 15px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h3 {
        font-size: 1.8rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .lista-beneficios li {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* ============================================
   SECCIÓN CASOS DE USO
   ============================================ */
.section-casos-de-uso {
    width: 100%;
}

.casos-de-uso {
    width: 100%;
    max-width: 87.5rem;
    margin: auto;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(30px, 5vw, 60px);
}

.casos-de-uso-header h2 {
    font-size: var(--dongle-bold-xxl);
    line-height: 1;
    margin: 0;
    text-align: left;
}
.casos-de-uso-header .text-green {
    color: var(--color-green);
}

.casos-de-uso-visual {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    text-align: center;
}

.casos-de-uso-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%; 
    object-fit: contain;
}

@media (max-width: 768px) {
    .casos-de-uso {
        padding: 40px 30px;
        gap: 20px;
        align-items: center;
    }
    
    .casos-de-uso-header {
        width: 100%;
    }
    
    .casos-de-uso-header h2 {
        font-size: var(--dongle-bold-xl); 
        text-align: center;
    }
}

@media (max-width: 480px) {
    .casos-de-uso {
        padding: 30px 15px;
    }
    
    .casos-de-uso-header h2 {
        font-size: 3rem;
    }
}

/* ============================================
   SECCIÓN TESTIMONIOS (GRID SIMPLE)
   ============================================ */

.testimonios-grid-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px; 
}

.testimonios-header-fixed h2 {
    font-size: var(--dongle-bold-xxl);
    line-height: 1;
    margin: 0;
    color: var(--color-green);
}
.testimonios-header-fixed {
    width: 100%;
    text-align: left;
}

.testimonios-cards-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    align-items: stretch;
    justify-items: center;
}

.testimonial-card-simple {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    
    padding: 30px;
    border-radius: 20px;
    
    min-height: 225px; 
    width: 100%;
}

.quote-icon-wrapper {
    margin-bottom: 20px;
    width: 20px;
    height: 20px;
}

.quote-icon-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.testimonial-text-simple {
    font-family: var(--font-lato);
    font-weight: 500;
    font-size: var(--lato-regular-sm);
    line-height: 1.2;
    margin-bottom: auto;
    text-align: left;
    color: var(--color-gray);
}

@media (max-width: 1024px) {
    .testimonios-grid-section {
        padding: 80px 20px; 
        gap: 20px;
    }

    .testimonios-header-fixed h2 {
        font-size: 3.5rem; 
    }
    
    .testimonios-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px; 
    }
    
    .testimonial-card-simple {
        padding: 15px 10px; 
        min-height: 180px;
        border-radius: 12px;
    }

    .quote-icon-wrapper {
        margin-bottom: 10px;
        width: 16px;
        height: 16px;
    }
    
    .testimonial-text-simple {
        font-size: 0.75rem;
        line-height: 1.3;
        font-weight: 400;
    }
}

@media (max-width: 768px) {
    .testimonios-grid-section {
        padding: 60px 30px;
    }

    .testimonios-cards-grid {
        grid-template-columns: 2fr 2fr;
        gap: 25px;
    }
    
    .testimonial-card-simple {
        min-height: auto; 
        padding: 20px;
    }
    
    .testimonios-header-fixed h2 {
        font-size: var(--dongle-bold-xl); 
    }
}

@media (max-width: 480px) {

    .testimonios-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonios-grid-section {
        padding: 40px 15px;
        gap: 20px;
    }
    
    .testimonial-card-simple {
        padding: 15px;
    }
    
    .quote-icon-wrapper {
        margin-bottom: 10px;
        width: 16px;
        height: 16px;
    }
    
    .testimonial-text-simple {
        font-size: var(--lato-regular-xs);
        line-height: 1.3;
    }
}

/* ============================================
   SECCIÓN FAQ
   ============================================ */
.section-faq {
    width: 100%;
    background-color: var(--color-light-gray); 
}

.faq-section {
    width: 100%;
    max-width: 87.5rem;
    margin: auto;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; 
}

.faq-header-wrapper {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}
.faq-header-wrapper h2 {
    font-size: var(--dongle-bold-xxl);
    line-height: 1;
    margin: 0;
    color: var(--color-green);
}

.faq-grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    align-items: stretch;
}

.faq-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 25px;
    border-radius: 20px;
}

.faq-question {
    font-family: var(--font-lato);
    font-weight: 700;
    font-size: var(--lato-bold-sm); 
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--color-gray);
}


.faq-answer {
    font-size: var(--lato-regular-sm);
    color: var(--color-gray);
    margin: 0;
}

@media (max-width: 900px) {
    .faq-section {
        padding: 60px 40px;
    }

    .faq-grid-container {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .faq-section {
        padding: 40px 20px;
    }
    
    .faq-header-wrapper {
        text-align: center;
    }

    .faq-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-card {
        padding: 20px;
    }
    
    .faq-question {
        font-size: var(--lato-bold-sm);
    }
    
    .faq-answer {
        font-size: var(--lato-regular-sm);
    }
}