/* =========================
   ABOUT PRO UI
========================= */

.about-view {
    padding: 10px 3px; 
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* NAV */
.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* HEADER */
.about-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.underline {
    height: 3px;
    width: 50px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin-top: 8px;
}

/* HIGHLIGHT */
.highlight {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* 🔥 CARD INTERNA */
.about-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px;
    margin-top: 10px;
    border: 1px solid #eef2f7;
}

/* TEXTO */
.main-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 12px;
}

/* STACK */
.tech-stack-grid {
    margin-top: 10px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff, #eef6ff);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* GROUP */
.tech-group {
    text-align: center;
}

.group-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}

.group-icons {
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* HOVER ICONOS */
.group-icons i {
    transition: 0.25s;
}

.group-icons i:hover {
    transform: scale(1.25);
}

/* QUOTE */
.about-quote {
    margin-top: 0px;
    padding: 14px;
    background: #f1f5f9;
    border-radius: 12px;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* BOTON */
.btn-primary-about {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #0047AB, #002244);
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 20px;
    display: block;
    text-decoration: none;
}

/* LANG */
.lang-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    border: none;
    background: none;
}

.lang-btn.active {
    color: var(--accent);
}

/* MOBILE EXTRA FINO */
@media (max-width: 380px) {
    .main-text {
        font-size: 0.85rem;
    }

    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   METRICS
========================= */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 5px 0;
}

.metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    font-size: 0.65rem;
    color: var(--text-light);
}

/* =========================
   TIMELINE
========================= */

.timeline {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.timeline-item .dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.timeline-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.timeline-item p {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* =========================
   VALUE BOX
========================= */

.value-box {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef6ff, #f8fbff);
    border: 1px solid #dbeafe;
}

.value-box h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.value-box p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 400px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ELITE ABOUT EXPERIENCE
========================= */

.about-hero {
    text-align: left;
    margin-bottom: 10px;
}

.about-hero h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.underline {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 8px;
    border-radius: 3px;
}

/* STORY */
.story-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0px;
}

.story-item {
    background: #f8fafc;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.story-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
}

/* METRICS ELITE */
.metrics-grid.elite {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.metric-card {
    background: white;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.metric-number {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}

.metric-label {
    font-size: 0.65rem;
    color: var(--text-light);
}

/* VALUE */
.value-elite {
    margin-top: 10px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef6ff, #f8fbff);
    border: 1px solid #dbeafe;
}

.value-elite h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.value-elite p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Módulo CV */
.cv-module {
    margin-top: 20px;
    text-align: center;
    padding: 15px 15px 10px;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid #edf2f7;
}


.section-title {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 700;
}

.cv-options { 
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    margin-bottom: 12px;
}

.cv-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.85rem;
    transition: 0.2s;
    padding: 5px 10px;
    border-radius: 8px;
}

.cv-link:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.security-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
    opacity: 0.8;
}

.security-note i {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 3px;
}

.security-note p {
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.3;
    text-align: left;
}

.security-note:hover {
    opacity: 1;
    transition: 0.3s;
}
