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

:root {
    --primary-color: #2C5F7C;
    --secondary-color: #E67E22;
    --accent-color: #27AE60;
    --dark-bg: #1A1A1A;
    --light-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    color: var(--white);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accept:hover {
    background: #229954;
}

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

.btn-reject:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.main-nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hero-split {
    display: flex;
    min-height: 600px;
}

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

.hero-left {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E4A5F 100%);
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.hero-text-content {
    max-width: 550px;
    color: var(--white);
}

.hero-text-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-right {
    overflow: hidden;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.cta-primary:hover {
    background: #D35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.cta-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
}

.split-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-content,
.split-image {
    flex: 1;
}

.split-content {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.split-content p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.split-image {
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

.trust-section {
    background: var(--light-bg);
}

.servicios-destacados {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.services-grid-split {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 1rem);
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.service-card.split-style {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.service-icon {
    flex: 0 0 180px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-info p {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.btn-service {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-service:hover {
    background: #1E4A5F;
    transform: translateX(5px);
}

.proceso-split {
    background: var(--light-bg);
    padding: 5rem 0;
}

.proceso-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex: 0 0 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-text p {
    color: var(--text-light);
    font-size: 1rem;
}

.testimonios-section {
    padding: 5rem 2rem;
    background: var(--white);
    text-align: center;
}

.testimonios-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.testimonios-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
}

.testimonio-card {
    flex: 1;
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.testimonio-card p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.cliente-name {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-split-final {
    background: var(--light-bg);
}

.centered-content {
    text-align: center;
    align-items: center;
}

.form-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-container h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.main-form {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #D35400;
    transform: translateY(-2px);
}

.main-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    flex: 1;
}

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

.footer-col p {
    color: #B0B0B0;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
    color: #B0B0B0;
}

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
}

.sticky-cta.visible {
    display: block;
    animation: slideIn 0.4s ease;
}

.sticky-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.4);
    transition: all 0.3s ease;
}

.sticky-btn:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.5);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-split {
        flex-direction: column;
        min-height: auto;
    }

    .hero-text-content h1 {
        font-size: 2.2rem;
    }

    .split-container,
    .split-container.reverse {
        flex-direction: column;
    }

    .service-card.split-style {
        flex-direction: column;
        max-width: 100%;
    }

    .service-icon {
        flex: 0 0 200px;
    }

    .testimonios-grid {
        flex-direction: column;
    }

    .footer-content {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 45%;
    }
}

@media (max-width: 600px) {
    .hero-text-content h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .split-content h2 {
        font-size: 1.8rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card {
        max-width: 100%;
    }
}