@font-face {
    font-family: 'SourceSans3';
    src: url(fonts/SourceSans3-Regular.woff) format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSans3';
    src: url(fonts/SourceSans3-Bold.woff) format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'KeplerStd';
    src: url(fonts/KeplerStdBold.woff) format('woff');
    font-weight: 700;
    font-style: normal;
}



:root {
    --primary-pink: #e94d67;
    --bg-crema: #FFFAEB;
    --text-dark: #1a1a1a;
}

body, html {
    font-family: 'SourceSans3' , sans-serif;
    background-color: var(--bg-crema);
    margin: 0;
    padding: 0;
    color: var(--text-dark);

    overflow-x: hidden;
    margin: auto;
}


h1 {
    font-family: 'KeplerStd' , serif;
    text-shadow: 0 2px 1px lightgrey ;
}
.container {
    max-width: 100vw;
    margin: auto;
    justify-content: center;
    
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-text {
    font-weight: bold;
    font-size: 1.6rem;
    color: #000;

}

.nav-links {
    display: flex;
    gap:30px;
}

.nav-links a{
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.50;
}

.nav-links a:visited {
    color: #000;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    margin-right: 15px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
}

.mobile-cta {
    display: none;
    text-decoration: none;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 100px 0 20px 0;
}

.hero-main-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 60px;
    margin-bottom: 30px;
}

.hero-content {
    flex:1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    max-width: 500px;
    margin: 0;
    color: #1a1a1a;
}

.hero-image {
    flex:1;
    display: flex;
    justify-content: center;

}

.mockup-main {
    max-width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    transition: transform 0.3s ease; filter: 0.3s ease;
    position: relative;
}


.mockup-main:hover {
    filter: drop-shadow(0 15px 45px rgba(244,208,63,0.4));
    transform: translateY(-5px);
}


.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Buttons */

.btn-cta-top {
    background-color: #f5c143;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.btn-cta-top:hover {
    background-color: #e0b03d;
    transform: scale(1.05);
}

button {
    padding: 12px 25px;
    border-radius: 25px;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-primary {
    background-color: var(--primary-pink);
    color: white;
    border: none;
}

.btn-secondary { background: white; }

.app-store-buttons-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
    margin-top: 50px;
}

.app-store-buttons {
    display:flex;
    gap: 20px;
    margin-top: 40px;
}

.store-btn {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 18px;
    padding: 12px 25px;
    text-decoration: none;
    color: #404040;
    transition: all 0.2s ease;
    min-width: 240px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    background-color: #ffffff;
}

.store-icon-black {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    filter: invert(1);
}

.store-icon-color {
    width: 45px;
    height: auto;
    margin-right: 18px;
    display: block;
    object-fit: contain;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span {
    font-size: 0.75rem;
    font-weight: 400;
}

.store-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.pwa-btn {
    background-color: #000;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.pwa-btn:hover {
    transform: translateY(-5px);
    color: black;
}

.store-icon-pwa {
    height: 25px;
    width: auto;
}

.app-store-buttons-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 150px;
    margin-bottom: 150px;
    min-height: 80vh;
    align-items: start;
}

.grid-left h2 {
    font-size: 2.8rem;
    position: sticky;
    top: 20px;
    margin-top: 0;
}

.grid-right-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background: transparent;
    padding: 0;
}



.about-section {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto 60px auto;
    padding: 35px 30px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.container-section {
    max-width: 850px;
}

.container-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;

}

.about-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    max-width: 750px;
    margin: 0 auto;
}

/* 3 recuadros */

.features-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 100px auto;
    padding: 0 20px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    background-color: #ffffff;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.2s;}
.feature-card:nth-child(2) { transition-delay: 0.4s;}
.feature-card:nth-child(3) { transition-delay: 0.6s;}


/* valoracions */

.testimonials-section {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 25s linear infinite;
    width: max-content;

    
}

.testimonial-card {
    background: #f5c143;
    padding:  1px 5px;
    border-radius: 20px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f9f9f9;

    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-size: 0.9rem;
    font-style: italic;
    color: #444;
    margin-bottom: 15px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card h4 {
    font-size: 0.9rem;
    color: white;
    margin: 0;
}
    
@keyframes scroll {
    0% { transform: translateX(20%);}
    100% {transform: translateX(-80%);}
}



/* video pannot */

.video-section {
    width: 100%;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.video-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: transparent;
}

.video-left {
    flex: 1;
    max-width: 500px;
}

.pannot-video {
    width: 90%;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}

.promocional-video {
    width: 90%;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
}


.video-right {
    flex: 1;
    text-align: left;
}

h2 {
    width: 90%;
}

p {
    width: 90%;
}

.video-right h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.video-right p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* pie de pagina */

.main-footer {
    background-color: #ffffff;
    width: 90%;
    margin:0;
    padding: 40px 20px;
    border-top: 1px solid #f0f0f0;
    display: block;    
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
    
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin: auto;
    
    
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f5c143;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
    width: 90%;
    text-align: center;
    color: #999;
    font-size: 0.8rem; 
    
}

/* materials */

.yellow-section {
    background-color: #f5c143;
    padding: 40px 20px;
    width: 90%;
}

.resource-container {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    justify-items: center;
    width: 90%;
}

.resource-item {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 20px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: scale(1.03);
    cursor: pointer;
    background: rgba(255,255,255,0.6);
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.07);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    transition: opacity 0.3s ease;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.footer-bottom p {
    margin-left: 6%;
}




/* Responsive */
@media (min-width: 769px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    max-width: 500px;
    margin: 0;
    margin-left: 24vw;
    float: left;
    grid: 5px;
    position: relative;
    z-index: 9999;
    color: #1a1a1a;

}


    .main-footer {
    background-color: #ffffff;
    width: 100%;
    margin:0;
    padding: 40px 20px;
    border-top: 1px solid #f0f0f0;
    display: block;    
}

.yellow-section {
    background-color: #f5c143;
    padding: 40px 20px;
    width: 100%;
}

    .hamburger {
        display: none;
    }

    .desktop-cta {
        display: block;
    }
}

@media (max-width: 768px) {

    .hamburger {
        display: flex;
        margin-right: 15px;
    }

    .hero-content h1{
        width: 90%;
        margin: auto;
    }
    

    .footer-bottom p {
    margin-left: 5%;
}


    .navbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }

    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .brand-text {
        display: none !important;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta {
        display: block;
        background-color: #f5c143;
        color: black;
        text-align: center;
        padding: 8px 15px;
        border-radius: 8px;
        margin-bottom: 5px;
        font-weight: bold;
    }
    
    .logo-brand {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero, {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-main-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .hero-image {
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        min-width: auto;
    }

    .grid-left h2 {
        position: static;
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .grid-right-image-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

    .mockup-image-bento {
        width: 90%;
        max-width: 400px;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .features-row {
        flex-wrap: wrap;
    }

    .feature-card {
        width: 100%;
    }

    .video-container {
        flex-direction: column;
        text-align: center;
    }

    .video-right {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .resource-container {
        flex-direction: column;
    }

    .main-footer {
       
    }

}

