/* Variables de Color basadas en el Logo */
:root {
    --primary-orange: #F26522;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #999999;
    --lighter-gray: #E5E5E5;
    --white: #FFFFFF;
    --black: #000000;
    --orange-hover: #E55A1A;
    --gray-bg: #F8F9FA;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-gray);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--dark-gray);
    text-align: center;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-orange);
}

.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../img/img12.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 20s ease-in-out infinite alternate;
    transform: translate(0, 0) scale(1.05);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    z-index: 0;
}

@keyframes heroZoom {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(0, 0) scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(51, 51, 51, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--primary-orange);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 1.5rem;
}

/* Hero Section Nosotros - Diseño Mejorado */
.hero-nosotros {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-nosotros-background {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../img/img12.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroNosotrosZoom 25s ease-in-out infinite alternate;
    transform: scale(1.1);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    z-index: 0;
}

@keyframes heroNosotrosZoom {
    0% {
        transform: scale(1.1) rotate(0deg);
    }
    100% {
        transform: scale(1.25) rotate(1deg);
    }
}

.hero-nosotros-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(242, 101, 34, 0.3) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-nosotros-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(242, 101, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(242, 101, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: particlesFloat 15s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

.hero-nosotros-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-nosotros-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(242, 101, 34, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(242, 101, 34, 0.5);
    border-radius: 50px;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeInDown 1s ease 0.2s both;
    transition: all 0.3s ease;
}

.hero-nosotros-badge:hover {
    background: rgba(242, 101, 34, 0.3);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(242, 101, 34, 0.4);
}

.hero-nosotros-badge i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.hero-nosotros-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s both;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-nosotros-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-nosotros-description {
    font-size: 1.2rem;
    margin-bottom: 50px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.8s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-nosotros-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    min-width: 150px;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(242, 101, 34, 0.2);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-nosotros-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.2s both;
}

.btn-hero {
    padding: 18px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-hero i {
    position: relative;
    z-index: 1;
}

.hero-nosotros-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    z-index: 2;
    animation: fadeIn 1s ease 1.4s both;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nosotros-scroll:hover {
    transform: translateX(-50%) translateY(-5px);
}

.hero-nosotros-scroll:hover .scroll-mouse {
    border-color: var(--primary-orange);
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    animation: mouseFloat 2s ease-in-out infinite;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-orange);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes mouseFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes wheelScroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.hero-nosotros-scroll span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Botones */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-gray);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Quick Access */
.quick-access {
    padding: 60px 0;
    background: var(--gray-bg);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quick-access-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quick-access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.quick-access-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.quick-access-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.quick-access-card p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.btn-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 10px;
    color: var(--orange-hover);
}

/* About Section */
.about-content {
    margin-bottom: 60px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--medium-gray);
}

/* History Section - Diseño Mejorado */
.history-section {
    margin-bottom: 80px;
}

.history-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.history-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
    position: relative;
}

.history-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: iconRipple 2s ease-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes iconRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.history-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.history-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
    position: relative;
    display: inline-block;
}

.history-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.history-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    margin: 30px auto 0;
}

/* Timeline */
.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 40px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-orange) 0%, var(--lighter-gray) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 120px;
    animation: fadeInLeft 0.8s ease both;
}

.timeline-item:nth-child(even) {
    animation: fadeInRight 0.8s ease both;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-orange);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(242, 101, 34, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 12px rgba(242, 101, 34, 0.2);
    background: var(--primary-orange);
}

.timeline-line {
    width: 3px;
    height: calc(100% + 40px);
    background: var(--lighter-gray);
    margin-top: 10px;
    position: relative;
}

.timeline-content {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-orange);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-orange);
    transition: height 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-item:hover .timeline-content::before {
    height: 100%;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(242, 101, 34, 0.3);
}

.timeline-date i {
    font-size: 1rem;
}

.timeline-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
    position: relative;
}

.timeline-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--medium-gray);
    margin: 0;
}

.timeline-text strong {
    color: var(--dark-gray);
    font-weight: 600;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* History Highlights */
.history-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.highlight-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-orange);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 101, 34, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(242, 101, 34, 0.2);
    border-top-width: 6px;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.highlight-card:hover .highlight-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(242, 101, 34, 0.4);
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--white);
}

.highlight-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
}

.highlight-card p {
    font-size: 1rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.mission-vision-card {
    background: var(--gray-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid var(--primary-orange);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

.mission-vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.mission-vision-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

.values-section {
    margin-bottom: 80px;
    padding: 40px 0;
}

.values-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.values-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.values-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.value-item {
    min-width: 100%;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.9);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 101, 34, 0.1), transparent);
    transition: left 0.6s ease;
}

.value-item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 50px rgba(242, 101, 34, 0.2);
}

.value-item.active::before {
    left: 100%;
}

.value-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.value-item.active .value-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(242, 101, 34, 0.4);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.1) rotate(5deg) translateY(0);
    }
    50% {
        transform: scale(1.1) rotate(5deg) translateY(-10px);
    }
}

.value-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: iconRipple 2s ease-out infinite;
}

@keyframes iconRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.value-icon-wrapper i {
    font-size: 3rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.value-item h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.value-item.active h4 {
    color: var(--primary-orange);
}

.value-item p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Controles del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    color: var(--primary-orange);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(242, 101, 34, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Indicadores del carrusel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lighter-gray);
    border: 2px solid var(--primary-orange);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-orange);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(242, 101, 34, 0.5);
}

.objectives-section {
    position: relative;
    margin-bottom: 60px;
    padding: 80px 40px;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.objectives-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/img4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: objectivesZoom 20s ease-in-out infinite alternate;
}

@keyframes objectivesZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.objectives-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(242, 101, 34, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.objectives-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.objectives-section .subsection-title {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.objectives-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.objectives-list li {
    padding: 25px 30px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--primary-orange);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.objectives-list li:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.3);
    background: var(--white);
    border-left-width: 6px;
}

.objectives-list i {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.cv-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-bg);
    border-radius: 10px;
}

.cv-upload-container {
    text-align: center;
}

.cv-preview {
    display: inline-block;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.cv-preview i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    animation: pdfIconFloat 3s ease-in-out infinite;
}

@keyframes pdfIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cv-preview p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-weight: 600;
}

.cv-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cv-buttons .btn {
    min-width: 150px;
}

/* Modal para ver el PDF */
.cv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.cv-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cv-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    z-index: 10001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid var(--lighter-gray);
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    border-radius: 15px 15px 0 0;
}

.cv-modal-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.cv-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.cv-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cv-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    display: flex;
    min-height: 500px;
}

.cv-modal-body iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

.cv-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 30px;
    border-top: 2px solid var(--lighter-gray);
    background: var(--gray-bg);
    border-radius: 0 0 15px 15px;
}

/* Hero Section Servicios */
.hero-servicios {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-servicios-background {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../img/img1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroServiciosZoom 25s ease-in-out infinite alternate;
    transform: scale(1.1);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    z-index: 0;
}

@keyframes heroServiciosZoom {
    0% {
        transform: scale(1.1) rotate(0deg);
    }
    100% {
        transform: scale(1.25) rotate(1deg);
    }
}

.hero-servicios-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(242, 101, 34, 0.4) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-servicios-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(242, 101, 34, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(242, 101, 34, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -20px);
        opacity: 1;
    }
}

.hero-servicios-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-servicios-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(242, 101, 34, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(242, 101, 34, 0.5);
    border-radius: 50px;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeInDown 1s ease 0.2s both;
    transition: all 0.3s ease;
}

.hero-servicios-badge:hover {
    background: rgba(242, 101, 34, 0.3);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(242, 101, 34, 0.4);
}

.hero-servicios-badge i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.hero-servicios-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s both;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-servicios-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
    line-height: 1.6;
}

.hero-servicios-divider {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    margin: 0 auto;
    border-radius: 2px;
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: 0 0 20px rgba(242, 101, 34, 0.5);
}

/* Services Section */
.services-section {
    background: var(--gray-bg);
    padding-top: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    perspective: 1000px;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 5px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 101, 34, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 101, 34, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(242, 101, 34, 0.3);
    border-top-width: 6px;
}

.service-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: iconPulse 2s ease-out infinite;
}

@keyframes iconPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(242, 101, 34, 0.5);
    animation: iconBounce 1s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.15) rotate(360deg) translateY(0);
    }
    50% {
        transform: scale(1.15) rotate(360deg) translateY(-10px);
    }
}

.service-icon i {
    font-size: 3rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover h3 {
    color: var(--primary-orange);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.9;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.service-link {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
}

.service-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.service-link:hover::before {
    width: 300px;
    height: 300px;
}

.service-link:hover {
    gap: 15px;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 101, 34, 0.4);
}

.service-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.why-choose-us {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantages-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.advantages-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.advantages-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.advantage-item {
    min-width: 100%;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--gray-bg) 0%, var(--white) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.9);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 101, 34, 0.1), transparent);
    transition: left 0.6s ease;
}

.advantage-item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 50px rgba(242, 101, 34, 0.2);
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
}

.advantage-item.active::before {
    left: 100%;
}

.advantage-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.advantage-item.active .advantage-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(242, 101, 34, 0.4);
    animation: advantageIconBounce 2s ease-in-out infinite;
}

@keyframes advantageIconBounce {
    0%, 100% {
        transform: scale(1.1) rotate(5deg) translateY(0);
    }
    50% {
        transform: scale(1.1) rotate(5deg) translateY(-10px);
    }
}

.advantage-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: advantageIconRipple 2s ease-out infinite;
}

@keyframes advantageIconRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.advantage-icon-wrapper i {
    font-size: 3rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.advantage-item h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.advantage-item.active h4 {
    color: var(--primary-orange);
}

.advantage-item p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--white);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--lighter-gray);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 250px;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.8;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.portfolio-location {
    color: var(--primary-orange);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.portfolio-content p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.portfolio-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.clients-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-bg);
    border-radius: 10px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.client-item {
    padding: 20px;
    background: var(--white);
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    color: var(--dark-gray);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--primary-orange);
}

/* FAQ Section */
.faq-section {
    background: var(--gray-bg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-bg);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--gray-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.contact-card p {
    color: var(--medium-gray);
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--orange-hover);
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: var(--white);
    border-left: 4px solid var(--white);
}

.whatsapp-card h3,
.whatsapp-card p {
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--gray-bg);
    padding: 40px;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--lighter-gray);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.1);
}

.map-container {
    margin-top: 60px;
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    color: var(--light-gray);
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--orange-hover);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-links span {
    color: var(--medium-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Timeline responsive */
    .history-timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-marker {
        width: 40px;
    }

    .timeline-content {
        padding: 25px;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-text {
        font-size: 1rem;
    }

    .history-highlights {
        grid-template-columns: 1fr;
    }

    .objectives-section {
        padding: 50px 20px;
        min-height: auto;
    }

    .objectives-list li {
        padding: 20px;
        font-size: 0.95rem;
    }

    .values-carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .value-item {
        padding: 40px 30px;
    }

    .value-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .value-icon-wrapper i {
        font-size: 2.5rem;
    }

    .value-item h4 {
        font-size: 1.6rem;
    }

    .value-item p {
        font-size: 1.1rem;
    }

    .hero-nosotros-title {
        font-size: 2.5rem;
    }

    .hero-servicios {
        min-height: 60vh;
        padding: 100px 0 60px;
    }

    .hero-servicios-title {
        font-size: 2.5rem;
    }

    .hero-servicios-subtitle {
        font-size: 1.4rem;
    }

    .hero-servicios-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 40px 25px;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .service-icon i {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 1rem;
    }

    .service-link {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .advantages-carousel-container {
        padding: 0 50px;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .advantage-item {
        padding: 40px 30px;
    }

    .advantage-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .advantage-icon-wrapper i {
        font-size: 2.5rem;
    }

    .advantage-item h4 {
        font-size: 1.6rem;
    }

    .advantage-item p {
        font-size: 1.1rem;
    }

    .hero-nosotros-subtitle {
        font-size: 1.4rem;
    }

    .hero-nosotros-stats {
        gap: 20px;
    }

    .stat-item {
        min-width: 120px;
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cv-preview {
        padding: 30px 20px;
    }

    .cv-buttons {
        flex-direction: column;
    }

    .cv-buttons .btn {
        width: 100%;
    }

    .cv-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .cv-modal-header {
        padding: 15px 20px;
    }

    .cv-modal-header h3 {
        font-size: 1.2rem;
    }

    .cv-modal-body {
        min-height: 400px;
    }

    .cv-modal-body iframe {
        min-height: 400px;
    }

    .cv-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }

    .cv-modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .quick-access-grid {
        grid-template-columns: 1fr;
    }
}

