/* About Page Styles - extracted from template-about.php */

/* ============================================================
   ABOUT US PAGE - PREMIUM DESIGN SYSTEM
   Using website standard classes and CSS variables
   Mobile-first responsive
   ============================================================ */

.about-page {
    /* Using global CSS variables from style.css */
    background: var(--apa-light);
}

/* ============================================================
   HERO - Uses existing .apa-hero-v3 from style.css
   ============================================================ */

/* Hero inherits all styles from .apa-hero-v3 in style.css */

/* ============================================================
   TRUST BAR - Uses existing .apa-trust-bar from style.css
   ============================================================ */

/* Trust bar inherits all styles from .apa-trust-bar in style.css */

/* ============================================================
   MISSION SECTION
   ============================================================ */
.about-mission-section {
    padding: 6rem 1.5rem;
    background: var(--apa-ivory);
}

.about-mission-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-mission-section {
        padding: 8rem 2.5rem;
    }

    .about-mission-columns {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.about-mission-quote {
    font-family: var(--apa-font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-style: italic;
    line-height: 1.2;
    color: var(--apa-text-dark);
    border-left: 3px solid var(--apa-gold);
    padding-left: 1.5rem;
    margin: 0 0 2rem 0;
}

.about-mission-quote strong {
    color: var(--apa-gold);
    font-style: normal;
}

.about-mission-text {
    font-size: 1.125rem;
    font-weight: var(--apa-font-weight-light);
    color: var(--apa-text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Mission Image Frame */
.about-mission-image-frame {
    position: relative;
}

.about-mission-image-frame::before {
    content: '';
    position: absolute;
    inset: -1rem;
    border: 1px solid rgba(184, 148, 29, 0.2);
    transform: scale(0.95);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.about-mission-image-frame:hover::before {
    transform: scale(1);
}

.about-mission-image-frame img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 1s ease;
}

.about-mission-image-frame:hover img {
    filter: grayscale(0%);
}

/* Internal links in mission section */
.about-mission-links {
    margin-top: 1.5rem;
}

.about-mission-links a {
    color: var(--apa-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.about-mission-links a:hover {
    border-bottom-color: var(--apa-gold);
}

/* ============================================================
   WHY ALPHA / THE ALPHA ADVANTAGE SECTION
   Uses shared styles from style.css:
   - .apa-method-gold (gold gradient background)
   - .apa-method-cards (card grid)
   - .apa-method-card (white cards with gray icon boxes)
   - .apa-card-number, .apa-card-icon, .apa-card-connector
   - .apa-eyebrow-gold, .apa-title-gold, .apa-subtitle-gold
   ============================================================ */

/* Override grid to always show 3 columns on desktop */
@media (min-width: 1024px) {
    .about-advantage-section .apa-method-cards {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================================
   STATS SECTION - PREMIUM COMPACT STRIP
   (Estilos en style.css - selectores duplicados removidos)
   ============================================================ */

/* ============================================================
   STORY SECTION
   ============================================================ */
.about-story-section {
    padding: 6rem 1.5rem;
    background: var(--apa-ivory);
}

@media (min-width: 768px) {
    .about-story-section {
        padding: 8rem 2.5rem;
    }
}

.about-story-content {
    max-width: 50rem;
    margin: 0 auto;
}

.about-story-lead {
    font-size: 1.125rem;
    font-weight: var(--apa-font-weight-light);
    line-height: 1.8;
    color: var(--apa-text-dark);
}

/* Drop cap effect */
.about-story-lead::first-letter {
    font-family: var(--apa-font-display);
    font-size: 4.5rem;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    padding-top: 0.1rem;
    color: var(--apa-gold);
}

.about-story-content p {
    font-size: 1.125rem;
    font-weight: var(--apa-font-weight-light);
    line-height: 1.8;
    color: var(--apa-text-dark);
    margin-bottom: 1.5rem;
}

.about-story-tagline {
    font-family: var(--apa-font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--apa-text-dark);
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 148, 29, 0.2);
}

.about-story-tagline strong {
    color: var(--apa-gold);
}

/* ============================================================
   CREDENTIALS SECTION - PREMIUM DARK V2
   ============================================================ */
.about-credentials-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--apa-dark) 0%, var(--apa-dark-elevated) 100%);
    border-top: 1px solid rgba(184, 148, 29, 0.1);
    border-bottom: 1px solid rgba(184, 148, 29, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .about-credentials-section {
        padding: 6rem 2.5rem;
    }
}

/* Header override for dark background */
.about-credentials-section .about-section-header .apa-eyebrow {
    color: var(--apa-gold);
}

.about-credentials-section .about-section-title {
    color: var(--apa-text-light);
}

/* Featured Credential - BBB A+ */
.about-credential-featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(184, 148, 29, 0.1) 0%, rgba(184, 148, 29, 0.05) 100%);
    border: 1px solid rgba(184, 148, 29, 0.2);
    border-radius: 2px;
}

@media (min-width: 640px) {
    .about-credential-featured {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        padding: 3rem;
    }
}

.credential-featured-badge {
    width: 80px;
    height: 80px;
    background: var(--apa-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credential-featured-badge .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--apa-dark);
}

.credential-featured-content {
    text-align: center;
}

@media (min-width: 640px) {
    .credential-featured-content {
        text-align: left;
    }
}

.credential-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .credential-rating {
        justify-content: flex-start;
    }
}

.credential-score {
    font-family: var(--apa-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--apa-gold);
    line-height: 1;
}

.credential-stars {
    display: flex;
    gap: 0.125rem;
}

.credential-stars .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--apa-gold);
}

.credential-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--apa-text-light);
    margin-bottom: 0.25rem;
}

.credential-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Separator */
.credential-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.separator-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 148, 29, 0.3), transparent);
}

.separator-text {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* State Licenses Grid */
.about-licenses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .about-licenses-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.about-license-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(184, 148, 29, 0.15);
    transition: all 0.3s ease;
}

.about-license-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(184, 148, 29, 0.3);
    transform: translateY(-3px);
}

.license-icon {
    width: 48px;
    height: 48px;
    background: rgba(184, 148, 29, 0.1);
    border: 1px solid rgba(184, 148, 29, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.license-icon .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--apa-gold);
}

.license-state {
    font-family: var(--apa-font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--apa-text-light);
    margin-bottom: 0.25rem;
}

.license-status {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--apa-gold);
    margin-bottom: 0.25rem;
}

.license-dept {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Note */
.credentials-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 148, 29, 0.1);
}

.credentials-footer .material-symbols-outlined {
    font-size: 1rem;
    color: var(--apa-gold);
    opacity: 0.7;
}

.credentials-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ============================================================
   TEAM SECTION - CONSISTENT GRID
   ============================================================ */
.about-team-section {
    padding: 6rem 1.5rem;
    background: var(--apa-ivory);
}

@media (min-width: 768px) {
    .about-team-section {
        padding: 8rem 2.5rem;
    }
}

/* Section Header - Centered */
.about-team-section .about-section-header {
    text-align: center;
}

.about-team-section .about-section-title {
    margin-bottom: 1rem;
}

.about-team-intro {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    font-weight: var(--apa-font-weight-light);
    color: var(--apa-text-muted-dark);
    text-align: center;
}

/* Filter Bar */
.team-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .team-filters {
        gap: 0.75rem;
        margin: 3rem 0;
    }
}

.team-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid rgba(10, 10, 10, 0.15);
    font-family: var(--apa-font-body);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--apa-charcoal);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .team-filter-btn {
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.6875rem;
    }
}

.team-filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--apa-gold);
    transition: height 0.3s ease;
    z-index: -1;
}

.team-filter-btn:hover {
    border-color: var(--apa-gold);
    color: var(--apa-dark);
}

.team-filter-btn:hover::before {
    height: 100%;
}

.team-filter-btn.active {
    background: var(--apa-dark);
    border-color: var(--apa-dark);
    color: var(--apa-light);
}

.team-filter-btn.active::before {
    display: none;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    background: rgba(184, 148, 29, 0.1);
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--apa-gold);
    transition: all 0.3s ease;
}

.team-filter-btn.active .filter-count {
    background: var(--apa-gold);
    color: var(--apa-dark);
}

/* Team Grid - RESPONSIVE */
.about-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem auto 0;
    max-width: 1000px;
}

@media (min-width: 1024px) {
    .about-team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }
}

/* Card Base - RESPONSIVE */
.about-team-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-team-card.hidden {
    display: none;
}

.about-team-card.animating {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card-inner {
    background: var(--apa-light);
    border: 1px solid rgba(10, 10, 10, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.about-team-card:hover .team-card-inner {
    border-color: rgba(184, 148, 29, 0.4);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.18);
}

/* Featured card (Adriana) — gold top accent */
.about-team-card-featured .team-card-inner {
    border-top: 2px solid var(--apa-gold);
}

/* Photo Container - 1:1 Aspect Ratio */
.team-photo {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%) contrast(1.05);
    transition: filter 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-team-card:hover .team-photo img {
    filter: grayscale(0%) contrast(1.02) brightness(1.02);
}

/* Namestrip — always-visible bottom identity bar */
.team-namestrip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.75rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.55) 55%, transparent 100%);
    pointer-events: none;
}

.team-namestrip-name {
    display: block;
    font-family: var(--apa-font-display);
    font-size: clamp(0.875rem, 1.4vw, 1rem);
    font-style: italic;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.team-namestrip-role {
    display: block;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--apa-gold);
}

/* Social Links in Overlay */
.team-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(184, 148, 29, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apa-gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--apa-gold);
    color: var(--apa-dark);
    transform: translateY(-2px);
}

.social-link .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Badge */
.team-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--apa-dark);
    color: var(--apa-gold);
    padding: 0.375rem 0.875rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 2;
}

@media (min-width: 640px) {
    .team-badge {
        top: 1rem;
        left: 1rem;
    }
}

/* Info Section — starts directly with bio, no header */
.team-info {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-info-header {
    margin-bottom: 0.5rem;
}

.team-info h3 {
    font-family: var(--apa-font-display);
    font-size: 1.125rem;
    color: var(--apa-text-dark);
    margin: 0 0 0.25rem 0;
}

@media (min-width: 640px) {
    .team-info h3 {
        font-size: 1.25rem;
    }
}

.team-role {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--apa-gold);
    font-weight: 700;
}

/* Divider Line */
.team-divider {
    width: 2rem;
    height: 1px;
    background: var(--apa-gold);
    margin: 0.5rem 0;
    opacity: 0.4;
    flex-shrink: 0;
}

/* Bio */
.team-bio {
    font-size: 0.8125rem;
    font-weight: var(--apa-font-weight-light);
    color: var(--apa-text-muted-dark);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

@media (min-width: 640px) {
    .team-bio {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* Credentials Tags */
.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.credential-tag {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--apa-charcoal);
    padding: 0.375rem 0.75rem;
    background: rgba(184, 148, 29, 0.08);
    border: 1px solid rgba(184, 148, 29, 0.15);
    transition: all 0.3s ease;
}

.credential-tag:hover {
    background: rgba(184, 148, 29, 0.15);
    border-color: rgba(184, 148, 29, 0.3);
}

/* 11-member grid: 4 columnas, 3 filas (4-4-3), última fila centrada automáticamente */
@media (min-width: 1024px) {
    .about-team-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        max-width: 1440px;
    }

    .about-team-grid .about-team-card {
        flex: 0 0 calc(25% - 1.5rem);
        max-width: calc(25% - 1.5rem);
    }
}

/* Initials placeholder for team members without a photo */
.team-photo-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    font-family: var(--apa-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    color: rgba(200, 151, 58, 0.45);
    letter-spacing: 0.05em;
    min-height: 180px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
/* Uses global .apa-faq-section styles from style.css */