    @import url('./variables.css');

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

    body {
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        color: #111111;
        background-image: url('../assets/imagenes/perritos-varios/fondo-web.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }


    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Layout components */
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 16px;
    }

    .hero-section {
        background-image: url('../assets/imagenes/perritos-varios/inicio-hero.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        position: relative;
        box-shadow: 0px 4px 4px #888888ff;
        filter: brightness(1.05) contrast(0.95) saturate(0.85);
    }

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right,
                rgba(40, 30, 20, 0.45) 0%,
                rgba(40, 30, 20, 0.25) 50%,
                rgba(0, 0, 0, 0.05) 100%);
        pointer-events: none;
        z-index: 1;
    }


    .icon-button {
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .hero-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        padding: 40px 20px;
        margin-bottom: 0px;
        padding-bottom: 40px;
        position: relative;
        z-index: 2;
        max-width: 1400px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 32px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 600;
        line-height: 1.2;
        color: #ffffff;
        margin-bottom: 16px;
        text-align: left;
        max-width: 600px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.49),
            4px 4px 12px rgba(0, 0, 0, 0.35),
            1px 1px 3px rgba(0, 0, 0, 0.63);
    }

    .hero-subtitle {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.6;
        text-align: left;
        color: #f5e6d3;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8),
            1px 1px 3px rgba(0, 0, 0, 0.9);
        margin-bottom: 32px;
        max-width: 500px;
    }

    .cta-button {
        background-color: #f2a413;
        color: #fef6e7;
        font-size: 18px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 500;
        padding: 12px 24px;
        border: none;
        border-radius: 16px;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        box-shadow: 0px 2px 4px #664508;
    }

    .cta-button:hover {
        background-color: #e09312;
        transform: translateY(-2px);
    }

    /* Benefits section */
    .benefits-section {
        background-color: #fbd4b2;
        padding: 20px;
    }

    .benefits-container {
        max-width: 1124px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .benefits-title {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .benefits-title h2 {
        font-size: 28px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 500;
        color: #883a0c;
        line-height: 1.2;
    }

    .benefits-logo {
        width: 150px;
        height: auto;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    .benefit-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .benefit-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 20px;
    }

    .benefit-title {
        font-size: 18px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 500;
        color: #883a0c;
        margin-bottom: 20px;
    }

    .benefit-description {
        font-size: 16px;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        color: #883a0c;
        line-height: 1.5;
    }

    /* Full width image section */
    .full-image-section {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 24px 16px;
    }

    .full-image {
        width: 100%;
        max-width: 1124px;
        height: auto;
    }

    /* Content section */
    .content-section {
        background-color: #3f460a;
        padding: 20px;
    }

    .content-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
    }

    .content-image {
        width: 100%;
        max-width: 544px;
        height: auto;
    }

    .content-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: right;
        padding: 40px 20px;
    }

    .content-title {
        font-size: 28px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 500;
        color: #f6c261;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .content-description {
        font-size: 18px;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        color: #ffffff;
        line-height: 1.5;
        margin-bottom: 30px;
        max-width: 500px;
    }

    /* Testimonials section 
    CARD*/
    .testimonials-section {
        margin-bottom: 0 !important;
        padding: 20px;
        background-color: #f8f9fa;
    }

    .testimonials-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .testimonials-title {
        font-size: 24px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 500;
        color: #000000;
        margin-bottom: 30px;
        text-align: center;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 60px;

    }

    .testimonial-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        border: 2px solid #f27405;
        border-radius: 12px;
        padding: 16px;
        background-color: #ffffff;
    }


    .testimonial-header {
        gap: 16px;
        align-items: center;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        border-radius: 30px;
        object-fit: cover;
    }

    .testimonial-info {
        flex: 1;
    }

    .rating-stars {
        display: flex;
        gap: 4px;
        margin-bottom: 8px;
    }

    .star {
        color: #ffa500;
        font-size: 16px;
    }

    .testimonial-name {
        font-size: 16px;
        font-family: 'Roboto', sans-serif;
        font-weight: 600;
        color: #000000;
        margin-bottom: 8px;
    }

    .testimonial-text {
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        color: #000000;
        line-height: 1.5;
    }

    .testimonial-text .more-link {
        color: #6f6f6f;
    }

    /* Footer */
    .footer {
        width: 100%;
        background-color: #f2a413;
        padding: 40px 16px 20px;
    }

    .footer-container {
        max-width: 1000px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        align-items: start;
    }

    .footer-logo {
        color: #ac5204;
        width: 80px;
        height: auto;
        margin-bottom: 20px;
    }

    .footer-section h3 {
        display: flex, ;
        font-size: 20px;
        font-family: 'Fredoka', sans-serif;
        font-weight: 500;
        color: #ac5204;
        margin-bottom: 16px;

    }

    .footer-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0px;
    }

    .footer-links a {
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        font-weight: 500;
        color: #ac5204;
        text-decoration: none;
        transition: color 0.3s ease;
    }

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

    .footer-social {
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-top: 16px;
    }

    .footer-social-icon {
        width: 48px;
        height: 48px;
        background-color: #ffffff;
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #ac5204;
    }

    .footer-bottom p {
        font-size: 14px;
        font-family: 'Roboto', sans-serif;
        color: #ac5204;
        margin-bottom: 10px;
    }

    .footer-bottom .team-credits {
        font-weight: 500;
    }

    /* Responsive media */
    @media (min-width: 640px) {
        .container {
            padding: 0 24px;
        }

        .hero-title {
            font-size: 42px;
        }

        .hero-subtitle {
            font-size: 18px;
        }

        .benefits-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
        }

        .testimonials-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .testimonial-avatar {
            width: 80px;
            height: 80px;
            border-radius: 40px;
        }


    }

    @media (min-width: 768px) {
        .nav-menu {
            display: flex;
        }

        .nav-menu a {
            font-size: 20px;
        }

        .logo {
            width: 180px;
        }

        .hero-title {
            font-size: 56px;
        }

        .hero-subtitle {
            font-size: 20px;
        }

        .benefits-title h2 {
            font-size: 40px;
        }

        .benefits-logo {
            width: 212px;
        }

        .content-container {
            flex-direction: row;
            align-items: center;
        }

        .content-text {
            text-align: left;
            align-items: flex-start;
        }

        .content-title {
            font-size: 40px;
        }

        .content-description {
            font-size: 20px;
        }

        .testimonials-container {
            display: flex;
            gap: 44px;
        }

        .social-icons {
            flex-shrink: 0;
            width: 80px;
        }

        .testimonials-content {
            flex: 1;
        }

        .testimonials-title {
            font-size: 32px;
            text-align: left;
        }

        .testimonials-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 34px;
        }


        .footer-logo {
            width: 100px;
        }

        .hero-icon-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 40px;
            /* Ajusta según lo que necesites */
            transition: transform 0.3s ease;
        }
    }

    @media (min-width: 1024px) {
        .container {
            padding: 0 32px;
        }

        .benefits-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 48px;
        }

        .benefit-title {
            font-size: 20px;
        }

        .benefit-description {
            font-size: 18px;
        }
    }

    @media (min-width: 1280px) {
        .hero-content {
            padding: 80px 32px;
        }

        .benefits-section {
            padding: 52px 32px;
        }
    }

    .hero-icons-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        margin-top: 2rem;
        flex-wrap: nowrap;
        width: 100%;
    }

    .hero-icon-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s ease;
        flex: 1 1 0;
        max-width: 280px;
    }

    .hero-icon-card:hover {
        transform: scale(1.15);
    }

    .hero-icon-card img {
        width: 100px;
        height: 100px;
    }

    .hero-icon-text {
        font-family: 'Roboto', sans-serif;
        font-size: 1.3rem;
        text-align: center;
        max-width: 300px;
        margin-top: 0.5rem;
        margin: 0;
        /* elimina márgenes por defecto */
        line-height: 1.2;
        /* reduce espacio entre líneas */
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
        /* sombra sutil para mejorar legibilidad */
    }

    @media (max-width: 768px) {
        .hero-icons-container {
            flex-direction: column;
            /* coloca todo en columna */
            gap: 6rem;
            /* separación más pequeña */
            margin-top: 6rem;
        }

        /* Botón primero, íconos después */
        .cta-button {
            order: 1;
            /* el botón va arriba */
            width: 100%;
            /* ocupa todo el ancho */
            text-align: center;
        }

        .hero-icon-card {
            order: 2;
            /* los íconos van debajo */
        }
    }