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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

/* HEADER */
header {
    background-color: #1a202c;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

a {
    color: white;
    text-decoration: none;
}

.header-left, .header-right {
    flex: 1;
}

.header-left ul, .header-right ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.header-left ul {
    justify-content: flex-start;
}

.header-right ul {
    justify-content: flex-end;
}

.logo-container {
    text-align: center;
}

.logo-img {
    max-height: 70px;
    width: auto;
    display: inline-block;
}

/* Para móviles: apilar todo */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    .header-left ul, .header-right ul {
        justify-content: center;
		gap: 0.7rem;
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav-right a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #4299e1;
}

/* HERO */
#inicio {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 4rem 5%;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h2 span {
    color: #4299e1;
}

.hero-text p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: #4299e1;
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #3182ce;
    transform: translateY(-2px);
}

/* SECCIONES GENERALES */
section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a202c;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #4299e1;
    margin: 0.8rem auto 0;
}

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 3rem;
    color: #4299e1;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* PORTAFOLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.btn-small {
    display: inline-block;
    margin-top: 1rem;
    background-color: #edf2f7;
    color: #4299e1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.portfolio-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.portfolio-note a {
    color: #4299e1;
    font-weight: 600;
}

/* PRECIOS */
.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f7fafc;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.price-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price-details {
    margin: 1.5rem 0;
    font-size: 2rem;
}

.price-details .price {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
}

.setup, .month {
    font-size: 1rem;
    color: #718096;
}

.plus {
    font-size: 2rem;
    margin: 0 0.5rem;
}

.price-features {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
}

.price-features li {
    margin-bottom: 0.8rem;
}

.price-features i {
    color: #48bb78;
    margin-right: 0.5rem;
}

.price-offer {
    background-color: #e6fffa;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

/* TESTIMONIOS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    font-style: italic;
}

.testimonial p {
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-weight: 600;
    color: #4299e1;
}

/* CONTACTO */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info i {
    width: 30px;
    color: #4299e1;
}

.contact-info p a {
    color: black;
    text-decoration: none;}

.contact-form {
    flex: 1;
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
}

/* FOOTER */
footer {
    background-color: #1a202c;
    color: #cbd5e0;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: #4299e1;
    text-decoration: none;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    section h2 {
        font-size: 2rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}