:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(30,58,138,0.06);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 3000;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    max-width: 250px;
    width: auto;
    display: block;
}

.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    position: relative;
}

.main-nav a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.5rem 0.2rem;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav ul li.active > a {
    color: var(--secondary-color);
}

.header-contact-btn {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 0.7rem 2rem;
    font-size: 1.1rem;
    margin-left: 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30,58,138,0.08);
    transition: background 0.2s, color 0.2s;
    letter-spacing: 1px;
    align-self: center;
}

.header-contact-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Dropdown */
.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3em;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 0.2em;
}

.has-dropdown .dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(30,58,138,0.10);
    border-radius: 0 0 10px 10px;
    padding: 0.5rem 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1100px) {
    .main-nav ul {
        gap: 1.2rem;
    }
    .header-bar {
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .header-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .main-nav {
        display: none;
    }
    .main-nav.open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        z-index: 4000;
        padding-top: 90px;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .main-nav ul li {
        width: 100%;
        text-align: center;
    }
    .has-dropdown .dropdown {
        display: block !important;
        position: static;
        box-shadow: none;
        background: none;
        min-width: 0;
        border-radius: 0;
        padding: 0;
    }
    .dropdown a {
        padding: 0.7rem 1rem;
    }
    .header-contact-btn {
        margin: 1.5rem auto 0 auto;
        display: block;
        width: 80%;
        text-align: center;
    }
}

/* Hero Section */
.home-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-hero .servicio-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 60vh;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 58, 138, 0.45);
    z-index: 1;
}
.home-hero .servicio-hero-box {
    text-align: left;
    padding: 4rem 2rem;
    background: transparent;
    max-width: 600px;
    margin-left: 0;
}
.home-hero .servicio-hero-box h1,
.home-hero .servicio-hero-box .servicio-hero-desc,
.home-hero .servicio-hero-box .hero-badge,
.home-hero .servicio-hero-box .hero-contacto,
.home-hero .servicio-hero-box .hero-cta-group {
    margin-left: 0;
}
.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(30,58,138,0.10);
}
.hero-badge i {
    margin-right: 0.5em;
}
.home-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(30,58,138,0.18);
}
.home-hero .servicio-hero-desc {
    font-size: 1.3rem;
    margin-bottom: 2.2rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(30,58,138,0.18);
}
.hero-contacto {
    margin-bottom: 2rem;
}
.hero-phone {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 24px;
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30,58,138,0.10);
    margin-bottom: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.hero-phone:hover {
    background: var(--secondary-color);
    color: #fff;
}
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.cta-principal {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30,58,138,0.10);
    transition: background 0.2s, color 0.2s;
}
.cta-principal:hover {
    background: var(--primary-color);
    color: #fff;
}
.cta-secundaria {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30,58,138,0.10);
    transition: background 0.2s, color 0.2s;
}
.cta-secundaria:hover {
    background: var(--secondary-color);
    color: #fff;
}
@media (max-width: 900px) {
    .home-hero .servicio-hero-content {
        grid-template-columns: 1fr;
        min-height: 50vh;
    }
    .home-hero .servicio-hero-box {
        text-align: center;
        margin: 0 auto;
    }
    .home-hero h1 {
        font-size: 2rem;
    }
    .home-hero .servicio-hero-desc {
        font-size: 1.05rem;
    }
    .home-hero .servicio-hero-box {
        padding: 2.5rem 1rem;
    }
}

/* Servicios Section */
.servicios {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.servicios h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.servicio-card:hover {
    transform: translateY(-5px);
}

.servicio-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servicio-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servicio-card p {
    margin-bottom: 1.5rem;
}

.servicio-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 408px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}
.servicio-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,58,138,0.60);
    z-index: 1;
}
.servicio-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 408px;
}
.servicio-hero-box {
    color: #fff;
    max-width: 600px;
    margin-left: 0;
}
.servicio-hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: #fff;
}
.servicio-hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #e0e7ff;
}
.servicio-hero .cta-button {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    box-shadow: 0 2px 8px rgba(30,58,138,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.servicio-hero .cta-button:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
.servicio-numeros {
    background: var(--light-bg);
    padding: 2.5rem 0 2rem 0;
}
.servicio-numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.servicio-num-cifra {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}
.servicio-num-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}
@media (max-width: 900px) {
    .servicio-hero, .servicio-hero-content {
        min-height: 264px;
    }
    .servicio-hero h1 {
        font-size: 1.3rem;
    }
    .servicio-numeros-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
}
@media (max-width: 600px) {
    .servicio-hero-box {
        max-width: 100%;
    }
    .servicio-numeros-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* Nosotros Section */
.nosotros {
    padding: 4rem 0;
}

.nosotros h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.nosotros-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.nosotros-card:hover {
    transform: translateY(-5px);
}

.nosotros-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.nosotros-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Equipo Section */
.equipo {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.equipo h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.equipo-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.equipo-imagen {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--light-bg);
    margin: 0 auto 1rem;
    background-size: cover;
    background-position: center;
}

.equipo-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.equipo-card .cargo {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Clientes Section */
.clientes {
    padding: 4rem 0;
}

.clientes h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.cliente-logo {
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.cliente-logo img {
    max-height: 90px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.cliente-logo:hover img {
    filter: grayscale(0%);
}

/* Contacto Section */
.contacto {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.contacto h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contacto-main {
    background: #fff;
    padding: 3rem 0 2rem 0;
    min-height: 60vh;
}
.contacto-main .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.06);
    padding: 2.5rem 2rem;
}
.contacto-main h1 {
    color: var(--primary-color);
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: flex-start;
}
.contacto-info {
    background: var(--light-bg);
    padding: 2rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30,58,138,0.06);
    margin-bottom: 1rem;
}
.contacto-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}
.contacto-info p {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 1.05rem;
}
.contacto-info i {
    color: var(--secondary-color);
}
.contacto-info a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.redes-sociales {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}
.redes-sociales a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}
.redes-sociales a:hover {
    color: var(--secondary-color);
}
.contact-form {
    background: var(--light-bg);
    padding: 2rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30,58,138,0.06);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    width: 100%;
    margin-bottom: 1rem;
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form button {
    width: 100%;
    margin-top: 0.5rem;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 1rem 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(30,58,138,0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    cursor: pointer;
}
.contact-form button:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
@media (max-width: 900px) {
    .contacto-main .container {
        padding: 1.2rem 0.7rem;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-links h3 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-text {
        padding-left: 0;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-text h2 {
        font-size: 2.2rem;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Nav Hamburguesa */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3000;
    margin-left: 1rem;
    position: relative;
}

/* Burbuja flotante del menú mobile */
.floating-menu-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5000;
    box-shadow: 0 4px 16px rgba(30,58,138,0.3);
    transition: all 0.3s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.floating-menu-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.floating-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 3px auto;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.floating-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.floating-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.floating-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 700px) {
    .topbar-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .topbar-left {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        margin-bottom: 0;
    }
    .topbar-right {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.7rem;
        font-size: 0.98rem;
        flex-wrap: nowrap;
    }
    .topbar-address {
        display: none;
    }
    .header-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 56px;
        padding: 0.5rem 0.5rem 0.5rem 0.7rem;
    }
    .logo img {
        height: 60px;
        max-width: 180px;
        margin: 0;
        display: block;
    }
    .header-contact-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
        border-radius: 18px;
        min-width: 60px;
        margin-left: 0.3rem;
        margin-right: 0;
    }
    .nav-toggle {
        display: none;
    }
    .floating-menu-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        z-index: 4000;
        padding-top: 90px;
        box-shadow: 0 2px 8px rgba(30,58,138,0.10);
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    .main-nav ul li {
        width: 100%;
        text-align: center;
    }
    .main-nav ul li a {
        font-size: 1.3rem;
        color: var(--primary-color);
        font-weight: 700;
        padding: 1rem 0;
        display: block;
        border-bottom: 1px solid var(--light-bg);
    }
    .main-nav ul li a:hover {
        color: var(--secondary-color);
        background: var(--light-bg);
    }
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        background: none;
        min-width: 0;
        border-radius: 0;
        padding: 0;
        display: none;
    }
    .has-dropdown.open .dropdown {
        display: block;
    }
    .dropdown li {
        width: 100%;
    }
    .dropdown a {
        padding: 0.7rem 1.5rem;
        font-size: 1.1rem;
    }
}

.topbar {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.98rem;
    padding: 0.3rem 0;
}
.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.topbar-phone i {
    margin-right: 0.4em;
    color: var(--secondary-color);
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.topbar-social {
    color: #fff;
    font-size: 1.1rem;
    margin-right: 0.2em;
    transition: color 0.2s;
}
.topbar-social:hover {
    color: var(--secondary-color);
}
.topbar-address {
    margin-left: 1.2em;
    font-size: 0.97em;
    opacity: 0.85;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .topbar-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .topbar-address {
        display: none;
    }
}

.info-empresa {
    background: var(--light-bg);
    padding: 3rem 0 2rem 0;
    margin-top: 2rem;
}
.info-empresa h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}
.info-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    color: var(--text-color);
    font-size: 1.05rem;
}
.info-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.info-list a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.footer-legal {
    list-style: none;
    margin: 1.5rem 0 0 0;
    padding: 0;
    color: #fff;
    font-size: 0.98rem;
}
.footer-legal li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}
.footer-legal a {
    color: var(--accent-color);
    text-decoration: underline;
}
@media (max-width: 900px) {
    .info-empresa {
        padding: 2rem 0 1rem 0;
        margin-top: 1rem;
    }
    .info-list {
        font-size: 0.98rem;
    }
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}
.footer-legales {
    margin-top: 2rem;
}
.footer-legales h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.footer-legales ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-legales li {
    margin-bottom: 0.3rem;
}
.footer-legales a {
    color: var(--accent-color);
    text-decoration: underline;
    font-size: 0.98rem;
}
.footer-legales a:hover {
    color: var(--secondary-color);
}
@media (max-width: 900px) {
    .footer-logo {
        height: 38px;
        margin-bottom: 0.7rem;
    }
    .footer-legales {
        margin-top: 1.2rem;
    }
}

.legal-main {
    background: #fff;
    padding: 3rem 0 2rem 0;
    min-height: 60vh;
}
.legal-main .container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.06);
    padding: 2.5rem 2rem;
}
.legal-main h1 {
    color: var(--primary-color);
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.legal-main h2 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.7rem;
}
.legal-main ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
    list-style: disc inside;
}
.legal-main ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}
.legal-main p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 1.07rem;
    line-height: 1.7;
}
@media (max-width: 700px) {
    .legal-main .container {
        padding: 1.2rem 0.7rem;
    }
    .legal-main h1 {
        font-size: 1.4rem;
    }
    .legal-main h2 {
        font-size: 1.08rem;
    }
}

.servicio-doscol {
    background: #fff;
    padding: 3rem 0 2rem 0;
}
.servicio-doscol-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.servicio-doscol-img img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.08);
}
.servicio-doscol-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.servicio-doscol-text p {
    color: var(--text-color);
    font-size: 1.08rem;
    line-height: 1.7;
}
.servicio-ventajas {
    background: var(--light-bg);
    padding: 3rem 0 2rem 0;
}
.servicio-ventajas h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}
.servicio-ventajas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.ventaja-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.06);
    padding: 2rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ventaja-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px rgba(30,58,138,0.10);
}
.ventaja-card i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.ventaja-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}
.ventaja-card p {
    color: var(--text-color);
    font-size: 1.02rem;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .servicio-doscol-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .servicio-ventajas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
}
@media (max-width: 600px) {
    .servicio-ventajas-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.servicio-faqs {
    background: #fff;
    padding: 3.5rem 0 2.5rem;
    margin-bottom: 0;
}
.servicio-faqs h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}
.faqs-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--light-bg);
    margin-bottom: 0.5rem;
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.13rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.1rem 0;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--secondary-color);
}
.faq-arrow {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: var(--secondary-color);
}
.faq-answer {
    display: none;
    font-size: 1.05rem;
    color: var(--text-color);
    padding-bottom: 1.1rem;
    line-height: 1.6;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .faq-question {
    color: var(--secondary-color);
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}
@media (max-width: 900px) {
    .seo-home h2, .servicio-faqs h2 {
        font-size: 1.3rem;
    }
    .seo-home p {
        font-size: 0.98rem;
    }
    .faqs-accordion {
        max-width: 100%;
    }
}

/* Servicio Enlazado */
.servicio-enlazado {
    padding: 4rem 0;
    background: var(--light-bg);
}

.servicio-enlazado h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.servicio-enlazado-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.servicio-enlazado-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30,58,138,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.servicio-enlazado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(30,58,138,0.15);
}

.servicio-enlazado-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.servicio-enlazado-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servicio-enlazado-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.servicio-enlazado-card .button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
    display: inline-block;
}

.servicio-enlazado-card .button:hover {
    background: var(--primary-color);
}

.servicio-enlazado-claim {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(30,58,138,0.08);
}

.servicio-enlazado-claim h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servicio-enlazado-claim p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.servicio-enlazado-claim .cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s;
    display: inline-block;
}

.servicio-enlazado-claim .cta-button:hover {
    background: var(--secondary-color);
}

@media (max-width: 900px) {
    .servicio-hero, .servicio-hero-content {
        min-height: 60vh;
    }
    .servicio-hero h1 {
        font-size: 2.2rem;
    }
    .servicio-numeros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .servicio-enlazado-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .servicio-enlazado h2 {
        font-size: 1.8rem;
    }
    .servicio-enlazado-claim h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .servicio-hero-box {
        padding: 2rem 1.5rem;
    }
    .servicio-numeros-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .servicio-enlazado-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .servicio-enlazado-card {
        padding: 1.5rem;
    }
    .servicio-enlazado-claim {
        padding: 2rem 1.5rem;
    }
}

/* SEO Home Block */
.seo-home {
    background: var(--light-bg);
    padding: 3.5rem 0 2.5rem;
    margin-bottom: 0;
}
.seo-home h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.seo-home p {
    font-size: 1.08rem;
    color: var(--text-color);
    margin-bottom: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem auto 0 auto;
    max-width: 700px;
}
.seo-list li {
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
    color: var(--text-color);
    line-height: 1.6;
}
.seo-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1.1rem;
}
.seo-home-alt {
    background: #fff;
    border-top: 1px solid var(--light-bg);
    border-bottom: 1px solid var(--light-bg);
    margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .seo-list li {
        font-size: 0.98rem;
    }
}

.seo-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.seo-home-img {
    text-align: center;
}
.seo-home-img img {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(30,58,138,0.10);
}
.seo-home-text {
    text-align: left;
}
.seo-home-grid-reverse {
    direction: rtl;
}
.seo-home-grid-reverse .seo-home-text,
.seo-home-grid-reverse .seo-home-img {
    direction: ltr;
}
@media (max-width: 900px) {
    .seo-home-grid, .seo-home-grid-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .seo-home-img {
        margin-bottom: 1.5rem;
    }
    .seo-home-text {
        text-align: center;
    }
}

.seo-home-grid-inverse {
    grid-template-columns: 1fr 1fr;
}
.seo-home-grid-inverse .seo-home-img {
    order: 1;
}
.seo-home-grid-inverse .seo-home-text {
    order: 2;
}
@media (max-width: 900px) {
    .seo-home-grid-inverse {
        grid-template-columns: 1fr;
    }
    .seo-home-grid-inverse .seo-home-img,
    .seo-home-grid-inverse .seo-home-text {
        order: unset;
    }
}

.seo-home-text .cta-button {
    display: block;
    margin: 2.2rem auto 0 auto;
    min-width: 220px;
    max-width: 320px;
    text-align: center;
    font-size: 1.08rem;
}
@media (max-width: 900px) {
    .seo-home-text .cta-button {
        margin-top: 1.5rem;
        min-width: 180px;
        font-size: 1rem;
    }
} 