/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav__logo img {
    height: 40px;
}

.nav__menu {
    display: flex;
    gap: 2rem;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: #333;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    transition: color 0.3s;
}

.nav__link:hover {
    color: #007bff; /* Color de la marca */
}

.nav__hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav__hamburger-line {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* Menú responsive */
@media screen and (max-width: 860px) {
    .nav__menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: #fff;
        width: 60%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
    }

    .nav__hamburger {
        display: flex;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__hamburger.active .nav__hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__hamburger.active .nav__hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav__hamburger.active .nav__hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
/* Estilos para la sección Hero */
.hero {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-top: 70px; /* Ajuste para el header fijo */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay oscuro */
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero__cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #007bff;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero__cta:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__cta {
        padding: 0.8rem 2rem;
    }
}
/* Estilos para la sección de Servicios */
.services {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services__title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.services__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
}

.service__card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: justify;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service__title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.service__description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .services__title {
        font-size: 2rem;
    }

    .services__subtitle {
        font-size: 1rem;
    }

    .service__card {
        padding: 1.5rem;
    }
}

/* Estilos para la sección Quiénes Somos */
.about {
    padding: 4rem 0;
    background: #fff;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about__title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.about__description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about__cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #007bff;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.about__cta:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__image {
        order: 2;
    }

    .about__content {
        order: 1;
    }

    .about__title {
        font-size: 2rem;
    }
}

/* Estilos para la sección Testimonios */
.testimonials {
    padding: 4rem 0;
    background: #f8f9fa;
}

.testimonials__title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.testimonials__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
}

.testimonial__card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.testimonial__image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial__text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial__author {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .testimonials__title {
        font-size: 2rem;
    }

    .testimonials__subtitle {
        font-size: 1rem;
    }
}

/* Estilos para la sección Blog */
.blog {
    padding: 4rem 0;
    background: #fff;
}

.blog__title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.blog__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
}

.blog__card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog__content {
    padding: 1.5rem;
}

.blog__post-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    min-height: 60px;
}

.blog__likes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .blog__title {
        font-size: 2rem;
    }

    .blog__subtitle {
        font-size: 1rem;
    }
}

/* Estilos para el Footer */
.footer {
    background: #2d2d2d;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer__list li {
    margin-bottom: 0.8rem;
}

.footer__list a {
    color: #ccc;
    transition: color 0.3s;
}

.footer__list a:hover {
    color: #007bff;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social img {
    transition: transform 0.3s;
}

.footer__social img:hover {
    transform: translateY(-3px);
}

.footer__newsletter input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
}

.footer__newsletter button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.footer__newsletter button:hover {
    background: #0056b3;
}

.footer__bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.footer__legal {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer__legal a {
    color: #ccc;
    transition: color 0.3s;
}

.footer__legal a:hover {
    color: #007bff;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

html {
    scroll-behavior: smooth;
}

