/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a5e;
    --secondary-color: #4fc3dc;
    --accent-color: #8b1538;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f5f5f5;
    --gradient-dark: linear-gradient(135deg, #8b1538 0%, #1a1a5e 100%);
    --gradient-light: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links a:hover {
    color: var(--secondary-color);
}

.company-full-name {
    font-size: 0.7rem;
    color: #666;
    max-width: 200px;
    text-align: right;
    line-height: 1.3;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    text-align: center;
    color: var(--text-light);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #3ba8c0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 195, 220, 0.3);
}

/* Quienes Somos Section */
.quienes-somos {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.quienes-somos::before {
    content: 'Somos';
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 8rem;
    font-weight: 800;
    opacity: 0.1;
    color: var(--text-light);
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container {
    width: 200px;
    height: 200px;
}

.search-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(79, 195, 220, 0.5));
}

/* Transparencia Section */
.transparencia {
    padding: 100px 0;
    background: var(--gradient-light);
    text-align: center;
}

.section-title-dark {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 50px;
    line-height: 1.2;
}

.transparencia-content {
    max-width: 800px;
    margin: 0 auto;
}

.people-icons {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.person {
    width: 80px;
    height: 100px;
    border-radius: 50% 50% 20% 20%;
    position: relative;
}

.person::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.blue-left {
    background: linear-gradient(180deg, #4fc3dc 0%, #1a6b8a 100%);
    opacity: 0.8;
}

.blue-left::before {
    background: linear-gradient(180deg, #4fc3dc 0%, #1a6b8a 100%);
}

.red-center {
    background: linear-gradient(180deg, #c75a5a 0%, #8b1538 100%);
    transform: scale(1.2);
    z-index: 1;
}

.red-center::before {
    background: linear-gradient(180deg, #c75a5a 0%, #8b1538 100%);
}

.blue-right {
    background: linear-gradient(180deg, #4fc3dc 0%, #1a6b8a 100%);
    opacity: 0.8;
}

.blue-right::before {
    background: linear-gradient(180deg, #4fc3dc 0%, #1a6b8a 100%);
}

.transparencia-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.tagline-sub {
    font-size: 1.2rem;
    color: #777;
    font-style: italic;
}

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

/* Pilares del Exito Section */
.pilares {
    position: relative;
    overflow: hidden;
}

.pilares-bg {
    background: var(--gradient-dark);
    padding: 80px 0;
    position: relative;
}

.pilares-bg::before {
    content: 'EXITO';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    font-weight: 800;
    opacity: 0.08;
    color: #fff;
}

.pilares-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 50px;
    font-style: italic;
}

.pilares-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pilares-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pilar-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pilar-number {
    width: 50px;
    height: 50px;
    border: 2px solid #c75a5a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c75a5a;
    flex-shrink: 0;
}

.pilar-item p {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.pilares-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbulb-icon {
    width: 200px;
    height: 240px;
    filter: drop-shadow(0 10px 30px rgba(79, 195, 220, 0.5));
}

/* Experiencia del Cliente Section */
.experiencia {
    position: relative;
    overflow: hidden;
}

.experiencia-bg {
    background: var(--gradient-dark);
    padding: 80px 0;
    position: relative;
}

.experiencia-bg::before {
    content: 'CONTACTO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 800;
    opacity: 0.05;
    color: #fff;
    white-space: nowrap;
}

.experiencia-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.experiencia-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.experiencia-number {
    width: 60px;
    height: 60px;
    border: 3px solid #c75a5a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #c75a5a;
    flex-shrink: 0;
}

.experiencia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.experiencia-card {
    padding: 20px 0;
}

.experiencia-card h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.experiencia-card ul {
    list-style: disc;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.experiencia-card li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Servicios Section */
.servicios {
    padding: 100px 0;
    background: #fff;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.servicio-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
}

.servicio-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--secondary-color);
}

.servicio-icon svg {
    width: 100%;
    height: 100%;
}

.servicio-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.servicio-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contacto Section */
.contacto {
    padding: 100px 0;
    background: var(--bg-light);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacto-info h3,
.contacto-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.info-item a,
.info-item address {
    color: var(--text-dark);
    text-decoration: none;
    font-style: normal;
    line-height: 1.6;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.contacto-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4,
.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .company-full-name {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

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

    .quienes-somos::before {
        font-size: 4rem;
    }

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

    .pilares-content {
        grid-template-columns: 1fr;
    }

    .pilares-icon {
        order: -1;
    }

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

    .pilares-bg::before {
        font-size: 4rem;
    }

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

    .experiencia-title {
        font-size: 1.8rem;
    }

    .experiencia-header {
        flex-direction: column;
        gap: 20px;
    }

    .experiencia-bg::before {
        font-size: 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 15px;
    }

    .logo a {
        font-size: 1.2rem;
    }

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

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

    .section-title-dark {
        font-size: 1.5rem;
    }

    .contacto-form {
        padding: 25px;
    }
}
