/* =====================================================================
   PAGE MODULE — acerca-index
   Extracted verbatim from inline <style> of: en/about/index.html, acerca/index.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

/* ===========================
   ABOUT PAGE - Page-Specific CSS Only
   (Base styles come from core-styles.css via base.njk)
   =========================== */

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(38, 49, 89, 0.92) 0%, rgba(166, 25, 99, 0.88) 100%);
    z-index: 1;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero h1.seo-title {
    display: block;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-teal);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.4;
}

.about-hero .display-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-align: center;
}

.about-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Búho Eye CTA */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-magenta), var(--secondary-teal));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(166, 25, 99, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(166, 25, 99, 0.4);
    color: var(--white);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.buho-eye {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
}

.buho-eye-large {
    width: 55px;
    height: 55px;
}

/* Story Section */
.story-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    max-width: 75ch;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(166, 25, 99, 0.08) 0%, rgba(23, 167, 175, 0.08) 100%);
    border-left: 4px solid var(--primary-magenta);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.highlight-box p {
    margin: 0;
    font-family: 'Trirong', Georgia, serif;
    font-weight: 600;
    font-style: oblique;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Section Header (shared) */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a1f3d 100%);
    position: relative;
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.emkt.mx/svg-patterns/EMKT-SMA-Design-Background-25.svg');
    background-repeat: repeat;
    opacity: 0.08;
    pointer-events: none;
}

.vm-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vm-card {
    text-align: center;
    padding: 2rem;
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--secondary-teal);
}

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

.vm-label {
    display: block;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-teal);
    margin-bottom: 1rem;
}

.vm-text {
    font-family: 'Mirza', serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.5;
    color: var(--white);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vm-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
}

.vm-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary-teal) 50%, transparent 100%);
    opacity: 0.4;
}

.vm-divider-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(23, 167, 175, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-teal);
    font-size: 1.25rem;
}

/* Values Section */
.values-section {
    padding: 6rem 2rem;
    background: var(--background-light);
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    border-top: 4px solid var(--secondary-teal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--secondary-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Team Section - Card Style */
.team-section {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    background: var(--background-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary-magenta);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.team-social a {
    width: 34px;
    height: 34px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    font-size: 0.85rem;
}

.team-social a:hover {
    background: var(--primary-magenta);
    transform: translateY(-2px);
}

/* Team at Work Section */
.work-section {
    padding: 4rem 2rem;
    background: var(--background-light);
}

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

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.work-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.work-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.work-caption {
    padding: 1rem 1.25rem;
    background: var(--white);
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
    text-align: center;
}

/* Differentiators Section */
.diff-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a2340 100%);
}

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

.diff-section .section-header h2 {
    color: var(--white);
}

.diff-section .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.diff-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: background 0.3s, transform 0.3s;
}

.diff-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.diff-icon {
    width: 56px;
    height: 56px;
    background: var(--secondary-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diff-icon i {
    font-size: 1.4rem;
    color: var(--white);
}

.diff-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.diff-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

.diff-content a {
    color: var(--secondary-teal);
}

.diff-content a:hover {
    color: var(--white);
}

/* Location Section */
.location-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.location-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    max-width: 75ch;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-item i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--secondary-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.location-item span {
    font-size: 1.05rem;
}

.location-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Links Section */
.about-links-section {
    padding: 5rem 2rem;
    background: var(--background-light);
}

.about-links-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-link-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-left: 4px solid transparent;
}

.about-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary-teal);
}

.about-link-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--secondary-teal) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-link-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.about-link-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.about-link-content p {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

/* CTA Section */
.about-cta {
    position: relative;
    padding: 6rem 2rem;
    background-color: var(--secondary-teal);
    text-align: center;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://cdn.emkt.mx/svg-patterns/EMKT-SMA-Design-Background-20.svg');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.15;
    pointer-events: none;
}

.about-cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    background: var(--white);
    color: var(--primary-magenta);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    color: var(--primary-magenta);
}

/* Responsive */
@media (max-width: 1024px) {
    .story-container,
    .location-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-image,
    .location-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid,
    .about-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
        padding: 7rem 1.5rem 5rem;
    }
    
    .team-grid,
    .values-grid,
    .about-links-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        aspect-ratio: 1 / 1;
    }
    
    .work-image img {
        height: 220px;
    }
    
    .diff-card {
        flex-direction: column;
        text-align: center;
    }
    
    .diff-icon {
        margin: 0 auto;
    }
    
    .vision-mission-section {
        padding: 4rem 1.5rem;
    }
    
    .vm-container {
        gap: 2rem;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
    }
    
    .vm-divider {
        padding: 0;
    }
    
    .vm-divider-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
