/* Estilos personalizados para la página About */
.hero-about {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 25% 25%, rgba(44, 125, 250, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(30, 147, 208, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(1deg); }
}

.hero-about-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.image-placeholder::before {
    content: "Imagen 400x400px";
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
}

.hero-about-square-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: none; /* Se mostrará cuando agregues la imagen */
}

.image-placeholder:has(.hero-about-square-image) {
    background: none;
    border: none;
    backdrop-filter: none;
}

.image-placeholder:has(.hero-about-square-image)::before {
    display: none;
}

.image-placeholder:has(.hero-about-square-image) .hero-about-square-image {
    display: block;
}

.hero-about-square-image:hover {
    transform: scale(1.05);
    box-shadow: 0 35px 80px rgba(44, 125, 250, 0.2);
}


.hero-badge-about {
    background: rgba(44, 125, 250, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 125, 250, 0.3);
    border-radius: 50px;
    padding: 12px 25px;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 0.9em;
    font-weight: 500;
    color: #00d4ff;
}

.hero-title-about {
    font-size: 4em;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #2C7DFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-about {
    font-size: 1.4em;
    opacity: 0.85;
    line-height: 1.4;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Section moderna para historia */
.story-section {
    background: white;
    padding: 100px 0;
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5em;
    color: #1a1a2e;
    margin-bottom: 30px;
    font-weight: 300;
}

.story-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 25px;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Sección de valores modernos */
.values-vision-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #2C7DFA;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(44, 125, 250, 0.15);
}

.value-card h3 {
    font-size: 1.8em;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: 600;
}

.value-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05em;
}

/* Sección de valores con iconos */
.our-values-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    color: white;
    padding: 100px 0;
    position: relative;
}

.values-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.values-content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: white;
    font-weight: 300;
}

.values-list {
    display: grid;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2C7DFA, #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.3em;
}

.value-text {
    font-size: 1.2em;
    font-weight: 500;
}

.strategy-highlight {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-highlight h3 {
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #00d4ff;
    font-weight: 600;
}

.strategy-highlight p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1.05em;
}

/* CTA mejorado */
.cta-enhanced {
    background: linear-gradient(135deg, #2C7DFA 0%, #1a1a2e 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-enhanced h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-enhanced p {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-enhanced {
    background: white;
    color: #2C7DFA;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-cta-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: #1a1a2e;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title-about { font-size: 2.5em; }
    .hero-subtitle-about { font-size: 1.2em; }
    .story-grid { grid-template-columns: 1fr; gap: 50px; }
    .values-showcase { grid-template-columns: 1fr; gap: 50px; }
    .values-grid { grid-template-columns: 1fr; }
    .value-item { padding: 15px 20px; }
    .value-text { font-size: 1.1em; }
    .hero-about {
        padding-top: 10px;
    }
    .hero-about-content .row {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .hero-about-text {
        margin-bottom: 20px;
    }

    .hero-about-image {
        margin-top: 10px;
    }
}
