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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
    padding-bottom: 80px;
}

.site-header {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--tech);
}

.hero {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 2rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primario {
    background: var(--tech);
    color: var(--white);
}

.btn-secundario {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

section h2 {
    color: var(--tech);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pilares {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pilar {
    padding: 2rem;
    border-left: 4px solid var(--tech);
    background: var(--surface-alt);
    display: flex;
    flex-direction: column;
}

.pilar-eco {
    border-left-color: var(--eco);
}

.pilar h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.pilar p {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pilar-link {
    color: var(--tech);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.servicios-destacados {
    padding: 4rem 2rem;
    background: var(--surface-alt);
}

.servicios-destacados h2 {
    color: var(--navy);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.servicio-grupo {
    background: var(--white);
    padding: 2rem;
    border-top: 4px solid var(--tech);
    display: flex;
    flex-direction: column;
}

.servicio-eco {
    border-top-color: var(--eco);
}

.servicio-grupo h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.servicio-grupo ul {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.servicio-grupo li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}

.servicio-grupo li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--tech);
    font-weight: 700;
}

.servicio-eco li::before {
    color: var(--eco);
}

.servicio-link {
    color: var(--tech);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.servicio-eco .servicio-link {
    color: var(--eco);
}

.metodo {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.metodo h2 {
    color: var(--navy);
}

.metodo-pasos {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metodo-pasos li {
    padding: 1.5rem;
    border-top: 3px solid var(--tech);
}

.paso-numero {
    display: block;
    color: var(--tech);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.metodo-pasos h4 {
    color: var(--navy);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.metodo-pasos p {
    font-size: 0.9rem;
    color: var(--text);
}

.cta-final {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-final h2 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-final-botones {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contenido {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-col .lema {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-flotante {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--tech);
    color: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 200;
}

@media (max-width: 968px) {
    .servicios-grid,
    .metodo-pasos {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    .hero {
        padding: 3rem 1.25rem;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    .pilares-grid,
    .servicios-grid,
    .metodo-pasos {
        grid-template-columns: 1fr;
    }
    section h2 {
        font-size: 1.5rem;
    }
}
