/* style_nosotros.css */

/* --- Hero Section Specifics --- */
.hero-nosotros {
    background: linear-gradient(135deg, rgba(16, 24, 47, 0.85), rgba(16, 24, 47, 0.6)), url('imagenes/fondo inicial nosostros.png');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    text-align: center;
    /* Ensures text is centered */
}

/* Reset the global grid layout for hero-inner within this specific hero */
.hero-nosotros .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-nosotros .hero-text {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    /* Let the container control width */
}

.hero-nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.15), transparent 40%);
    pointer-events: none;
}

/* --- About & Logo Grid --- */
.about-section {
    padding: 5rem 0;
    background-color: var(--bg-body, #0a0f1d);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #a0d8ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.about-logo-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.2));
    /* Ensure this class works if user puts a logo image, 
     otherwise we style the text fallback */
}

/* --- Mission & Vision Cards --- */
.mv-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0a0f1d 0%, #0f1629 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
}

.mv-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
}

.mv-card p {
    color: #b0b8c4;
    line-height: 1.7;
}

.mv-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.mv-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.mv-card ul li::before {
    content: '•';
    color: #00f0ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- Value Proposition --- */
.value-prop-section {
    padding: 6rem 0;
    background-color: #0a0f1d;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-item h4 {
    font-size: 1.4rem;
    color: #fff;
    margin: 1rem 0;
}

.value-item p {
    font-size: 0.95rem;
    color: #a0aab8;
}

/* --- Personality / Differentiators --- */
.personality-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #10182f, #16203c);
}

.personality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tag-pill {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: #00f0ff;
    cursor: default;
}

/* --- Responsive Adaptations --- */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-logo-container {
        order: -1;
        /* Logo moves to top on mobile if desired, or keep default */
        padding: 2rem;
    }
}


/* --- Team Section --- */
.team-section {
    padding: 6rem 0;
    /* Optional: distinct background if needed, leveraging default dark */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background-color: var(--bg-card);
    /* Placeholder bg */
}

.team-member:hover .team-img {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
}

.team-role {
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 0.5rem;
    letter-spacing: 0.05em;
}

.team-name {
    font-family: "Pridi", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    margin: 0 0 0.2rem;
}

.team-org {
    font-size: 0.9rem;
    color: #64748b;
    /* Darker grey */
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.btn-linkedin {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-linkedin:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.05);
}

/* --- Card Image Section --- */
.card-bottom-image {
    margin-top: 2.5rem;
    /* Increased spacing */
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    /* Ensure centering if we ever change width */
    justify-content: center;
}

.card-img-rounded {
    width: 100%;
    height: 150px;
    /* Slightly taller */
    object-fit: cover;
    border-radius: 15px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Founder Section --- */
.founder-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.03), transparent 40%);
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* Photo Column */
.founder-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.founder-img-wrapper {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 20px 20px 0 rgba(0, 240, 255, 0.1);
    margin-bottom: 2rem;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.founder-img-wrapper:hover .founder-img {
    filter: brightness(1) contrast(1);
    transform: scale(1.02);
}

.founder-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--accent-cyan);
    color: #000;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
    transform: rotate(-5deg);
}

.founder-title {
    font-family: "Pridi", serif;
    font-size: 2.5rem;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    color: #fff;
    margin-top: 1rem;
}

.text-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* Card Column */
.founder-card-col {
    position: relative;
}

.founder-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    border-radius: 4px 0 0 4px;
}

.card-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.founder-card h3 {
    font-family: "Pridi", serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.founder-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.founder-signature {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.founder-signature strong {
    color: #fff;
    font-size: 1.2rem;
    font-family: "Pridi", serif;
}

.founder-signature span {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 960px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .founder-photo-col {
        order: -1;
        align-items: center;
        /* Center on mobile */
        text-align: center;
    }

    .founder-img-wrapper {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 3/4;
    }

    .founder-title {
        text-align: center;
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-nosotros {
        min-height: 44vh;
        padding: 3rem 0;
    }

    .about-section,
    .mv-section,
    .value-prop-section,
    .founder-section {
        padding: 4rem 0;
    }

    .about-grid {
        gap: 1.75rem;
    }

    .about-content h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-text {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }

    .about-logo-container {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mv-card {
        padding: 2rem 1.25rem;
        border-radius: 14px;
    }

    .mv-card h3 {
        font-size: 1.55rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .value-item h4 {
        font-size: 1.2rem;
    }

    .founder-img-wrapper {
        max-width: 300px;
        box-shadow: 12px 12px 0 rgba(0, 240, 255, 0.1);
    }

    .founder-badge {
        right: 0;
        bottom: 1rem;
    }

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

    .founder-card {
        padding: 2rem 1.25rem;
    }

    .founder-card h3 {
        font-size: 1.55rem;
    }

    .founder-card p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }

    .founder-signature span {
        letter-spacing: 0;
    }
}
