/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Variables de colores basadas en el logo */
:root {
    --primary-color: #4a5568;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    --light-blue: #e6f3ff;
    --dark-gray: #2d3748;
    --light-gray: #f7fafc;
    --white: #ffffff;
    --text-color: #4a5568;
    --border-color: #e2e8f0;
}

/* Componentes reutilizables */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Header y Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(102, 126, 234, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    transform-origin: center;
}

/* Animación del hamburger a X */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--white);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--white);
}

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 85, 104, 0.8), rgba(102, 126, 234, 0.6));
    z-index: -1;
}

.banner-text {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--white);
}

/* Leadership Section */
.leadership-section {
    margin-bottom: 80px;
}

.leadership-title {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.leadership-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.leader-card {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.leader-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    text-align: center;
}

.leader-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.leader-position {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.leader-info p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.leader-credentials {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.credential {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.credential i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Team Collage Section */
.team-section {
    margin-top: 80px;
}

.team-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 600;
}

.team-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.team-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-photo:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-photo:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.photo-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.team-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.team-description p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card > p {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: var(--text-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Value Proposition Section */
.value-proposition {
    padding: 0;
    background: var(--white);
    position: relative;
}

/* Opciones de imágenes de fondo para conjuntos/edificios:
   Opción 1 (actual): Conjunto residencial moderno
   Opción 2: https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80
   Opción 3: https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80
   Opción 4: https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2073&q=80
*/
.value-background {
    background: 
        linear-gradient(135deg, rgba(60, 90, 166, 0.75) 0%, rgba(78, 103, 184, 0.75) 25%, rgba(90, 123, 200, 0.75) 50%, rgba(107, 141, 214, 0.75) 75%, rgba(123, 160, 232, 0.75) 100%),
        url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2096&q=80') center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
    opacity: 0.4;
}

.geometric-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-10px, -10px) rotate(0deg); }
    33% { transform: translate(10px, -20px) rotate(120deg); }
    66% { transform: translate(-20px, 10px) rotate(240deg); }
}

.section-header-white {
    text-align: center;
    margin-bottom: 80px;
}

.section-title-white {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-subtitle-white {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.value-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card-modern {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.value-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.value-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 0 25px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.value-icon-modern i {
    font-size: 2.2rem;
    color: var(--white);
}

.value-card-modern h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.value-card-modern p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.value-features-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-features-modern li {
    color: var(--text-color);
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.value-features-modern li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-gray);
}

/* Contact Main Content - Two Column Layout */
.contact-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column */
.contact-left-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 25px 25px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.contact-image-container:hover .image-overlay {
    transform: translateY(0);
}

.contact-image-container:hover .contact-main-image {
    transform: scale(1.05);
}

.overlay-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-cta {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

/* Contact Info List */
.contact-info-list {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.contact-item {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:nth-child(2n) {
    border-right: none;
}

.contact-item:nth-child(3), .contact-item:nth-child(4) {
    border-bottom: none;
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.02);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    margin-bottom: 5px;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background: #d4edda;
    color: #155724;
}

/* Right Column */
.contact-right-column {
    display: flex;
    flex-direction: column;
}

/* Contact Form Container */
.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    height: fit-content;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-form-modern {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-focus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.form-group input:focus + .form-focus,
.form-group select:focus + .form-focus,
.form-group textarea:focus + .form-focus {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 35px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

/* Content Layout */
.contact-content {
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-section p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay para el menú móvil */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        flex-direction: column;
        background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
        text-align: left;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        padding: 100px 40px 40px;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 0 0 25px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary-color);
        text-decoration: none;
        border-radius: 12px;
        margin-bottom: 5px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        left: 0;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--white);
        transform: translateX(10px);
    }

    .nav-link::after {
        display: none;
    }

    /* Botón de cerrar en el menú */
    .nav-menu::before {
        content: '✕';
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(102, 126, 234, 0.1);
        transition: all 0.3s ease;
    }

    .nav-menu::before:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: rotate(90deg);
    }

    /* Información adicional en el menú móvil */
    .nav-menu::after {
        content: 'AGL SAS - Servicios Integrales';
        position: absolute;
        bottom: 40px;
        left: 40px;
        right: 40px;
        font-size: 0.9rem;
        color: var(--text-color);
        opacity: 0.7;
        text-align: center;
        padding: 20px;
        border-top: 1px solid rgba(102, 126, 234, 0.2);
        font-style: italic;
    }

    /* Animación de entrada para el header en móvil cuando se abre el menú */
    .hamburger.active ~ .nav-container .nav-logo {
        transform: scale(0.9);
        opacity: 0.8;
        transition: all 0.3s ease;
    }

    /* Mejoras visuales para dispositivos pequeños */
    @media (max-width: 320px) {
        .nav-menu {
            width: 280px;
            padding: 80px 30px 30px;
        }
        
        .nav-link {
            font-size: 1rem;
            padding: 12px 15px;
        }
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .contact-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-left-column {
        gap: 30px;
    }

    .contact-form-container {
        padding: 40px 30px;
    }

    .contact-info-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .contact-item {
        padding: 20px;
        gap: 15px;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        flex-direction: row;
        text-align: left;
    }

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-details {
        align-items: flex-start;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
        margin-right: 15px;
    }

    .contact-icon i {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    .value-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .value-card-modern {
        padding: 30px 25px;
    }

    .section-title-white {
        font-size: 2.2rem;
    }

    .value-icon-modern {
        width: 70px;
        height: 70px;
    }

    .value-icon-modern i {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .banner-description {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .leader-card {
        padding: 30px 25px;
    }

    .leader-info h3 {
        font-size: 1.5rem;
    }

    .leader-credentials {
        gap: 15px;
    }

    .team-collage {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-subtitle {
        font-size: 1.5rem;
    }

    .leadership-title {
        font-size: 1.6rem;
    }

    .leader-card {
        padding: 25px 20px;
    }

    .leader-info h3 {
        font-size: 1.4rem;
    }

    .leader-position {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .leader-credentials {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .credential {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .team-subtitle {
        font-size: 1.3rem;
    }

    .team-description {
        padding: 30px 15px;
    }

    .section-title-white {
        font-size: 1.8rem;
    }

    .value-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card-modern {
        padding: 25px 20px;
    }

    .value-card-modern h3 {
        font-size: 1.2rem;
    }

    .value-background {
        padding: 80px 0;
        background-attachment: scroll; /* Mejor rendimiento en móviles */
    }

    .section-header-white {
        margin-bottom: 50px;
    }

    .contact-main-content {
        gap: 30px;
    }

    .contact-left-column {
        gap: 25px;
    }

    .contact-cta {
        padding: 25px;
    }

    .contact-cta h3 {
        font-size: 1.6rem;
    }

    .contact-main-image {
        height: 250px;
    }

    .contact-info-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .contact-item {
        padding: 15px;
        gap: 12px;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        flex-direction: row;
        text-align: left;
    }

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-details {
        align-items: flex-start;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        margin-right: 12px;
    }

    .contact-icon i {
        font-size: 1.1rem;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .form-header h3 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Smooth scrolling y mejoras visuales */
html {
    scroll-behavior: smooth;
}

/* Efecto parallax sutil para el banner */
@media (min-width: 769px) {
    .banner-video {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }
    
    .banner:hover .banner-video {
        transform: scale(1.05);
    }
} 