/* Reset y Variables */
:root {
    --primary-color: #0055A4;
    /* Azul Francia profundo */
    --primary-dark: #003d7a;
    --primary-light: #0073cc;
    --secondary-color: #003d7a;
    /* Azul Francia oscuro */
    --accent-color: #0073cc;
    /* Azul Francia claro */
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 85, 164, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: 70px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-dark);
    font-weight: 500;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s ease;
}

/* Reading Time */
.reading-time {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
    transform: translateY(0);
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

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

.btn-accept,
.btn-reject {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-accept:hover {
    background: var(--primary-dark);
}

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

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    left: 0;
    right: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

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

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 0.5rem;
    pointer-events: none;
}

.nav-item-dropdown.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

@media (min-width: 768px) {
    .nav-item-dropdown:hover .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .nav-item-dropdown.active .nav-dropdown {
        opacity: 0;
        visibility: hidden;
    }
}

.nav-item-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown li {
    margin: 0;
    padding: 0;
}

.nav-dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-dropdown a::after {
    display: none;
}

.nav-dropdown a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
    background: #0a0f1e;
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-filter: blur(3px) brightness(0.6);
    filter: blur(3px) brightness(0.6);
    transform: scale(1.05);
    z-index: 1;
    transition: transform 0.3s ease;
    min-height: 1px;
}

/* Fallback si la imagen no existe */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003d7a 0%, #0055A4 50%, #0073cc 100%);
    z-index: -1;
    opacity: 0;
}

.hero-background[style*="background-image"]::before {
    opacity: 0;
}

.hero:hover .hero-background {
    transform: scale(1.12);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 58, 138, 0.5) 50%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 1.5rem 2rem;
    animation: fadeInUp 1.2s ease-out;
    max-width: 900px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.4;
}

.hero-title br {
    display: block;
    margin-top: 0.1em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 1.2rem 3rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #0a0f1e 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 5rem 0;
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    animation: backgroundShift 30s ease infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Services Section */
.services {
    background: #ffffff;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 16px;
    padding: 16px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link:hover .service-card {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 1);
}

.service-card-link:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
}

/* Projects Section */
.projects {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    flex-shrink: 0;
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
}

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

.project-info {
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    background: white;
    flex-shrink: 0;
    margin-top: 0;
    border-top: 1px solid rgba(59, 130, 246, 0.05);
}

.project-location {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.project-info p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    background: #ffffff;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.locations {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.locations h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.locations ul {
    list-style: none;
}

.locations li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.locations li small {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-top: 0.25rem;
}

.about-image {
    position: relative;
    height: 400px;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    padding: 5rem 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-header {
    margin-bottom: 0.5rem;
}

.contact-info-header h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-intro {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.contact-offices {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.office-card {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 85, 164, 0.08);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 85, 164, 0.12);
    border-color: rgba(0, 85, 164, 0.2);
}

.office-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.1) 0%, rgba(0, 61, 122, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.office-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0;
}

.office-content h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.office-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 85, 164, 0.06);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: 0 4px 16px rgba(0, 85, 164, 0.1);
    border-color: rgba(0, 85, 164, 0.15);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.1) 0%, rgba(0, 61, 122, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.contact-item-content strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.contact-item-content a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 1rem;
}

.contact-item-content a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.map-container-full {
    width: 100%;
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.map-container-full>.container {
    max-width: 100%;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    background: #ffffff;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 85, 164, 0.1);
}

.map-container-full h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-align: center;
}

.map-container-full .map-wrapper {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.map-container-full .map-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 85, 164, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid rgba(0, 85, 164, 0.12);
    border-radius: 10px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    background: #ffffff;
    color: var(--text-dark);
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 85, 164, 0.08);
    background: #ffffff;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230055A4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    font-family: var(--font-secondary);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: var(--transition);
    background: linear-gradient(135deg, #0055A4 0%, #003D7A 100%) !important;
    background-color: #0055A4 !important;
    color: #ffffff !important;
    border: 2px solid #0055A4 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.4) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0066C4 0%, #0055A4 100%) !important;
    background-color: #0066C4 !important;
    border-color: #0066C4 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 164, 0.5) !important;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

.map-container {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 85, 164, 0.1);
}

.map-container h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.map-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 85, 164, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.map-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    padding-top: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0f1e 0%, #1e293b 50%, #0f172a 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

/* Newsletter Form */
.newsletter-form {
    max-width: 100%;
    margin-top: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 115, 204, 0.2);
}

.newsletter-input-group button {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.4);
}

.newsletter-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group button {
        width: 100%;
    }
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    min-height: 280px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-cta {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.08) 0%, rgba(0, 61, 122, 0.08) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 85, 164, 0.15);
    margin-top: 3rem;
}

.testimonials-cta p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.testimonials-cta strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-block;
}

.testimonials-cta .btn-primary {
    background: linear-gradient(135deg, #0055A4 0%, #003D7A 100%) !important;
    background-color: #0055A4 !important;
    color: #ffffff !important;
    border: 2px solid #0055A4 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.4) !important;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.testimonials-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.testimonials-cta .btn-primary:hover::before {
    left: 100%;
}

.testimonials-cta .btn-primary:hover {
    background: linear-gradient(135deg, #0066C4 0%, #0055A4 100%) !important;
    background-color: #0066C4 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 85, 164, 0.5) !important;
    border-color: #0066C4 !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item-dropdown {
        position: relative;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-top: 0;
        border-left: none;
        transition: all 0.3s ease;
    }

    .nav-item-dropdown.active .nav-dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin-top: 0.5rem;
        border-left: 2px solid rgba(59, 130, 246, 0.2);
    }

    .nav-dropdown a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-arrow {
        display: inline-block !important;
        font-size: 0.7rem;
        margin-left: 0.3rem;
        transition: transform 0.3s ease;
    }

    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        margin-top: 2rem;
    }

    .map-container-full {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }

    .map-container-full h4 {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        aspect-ratio: 16 / 9;
        min-height: 400px;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }
}

/* ============================================
   NUEVAS MEJORAS DE CONVERSIÓN
   ============================================ */


/* Hero Mejorado */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    color: #ffffff;
}

.hero-benefits {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.875rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    white-space: nowrap;
}

.hero-cta-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.875rem 1.75rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-trust {
    margin-top: 1rem;
}

.trust-text {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Garantías Section */
.guarantees {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem 0;
}

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

.guarantee-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: var(--transition);
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    border-color: var(--primary-color);
}

.guarantee-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.guarantee-card h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.guarantee-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
}

/* Proceso de Trabajo Section */
.process {
    background: #ffffff;
    padding: 2rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.step {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    border-color: var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 85, 164, 0.3);
}

.step h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.85rem;
}

@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 85, 164, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    padding-top: 1rem;
}

/* Formulario Mejorado */
.form-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-trust {
    background: rgba(59, 130, 246, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-trust p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

}