/* ================================================================
   OFERTAPP - Sobre Nosotros
   static/css/landing/sobrenosotros.css
   ================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fafafa;
}

/* ================================================================
   BOTÓN VOLVER FLOTANTE
   ================================================================ */

.back-btn-floating {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn-floating:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.25);
    background: white;
}

.back-btn-floating i {
    transition: transform 0.3s ease;
}

.back-btn-floating:hover i {
    transform: translateX(-3px);
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ff6b6b 100%);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -50px;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 60%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.2;
    }
}

.about-hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero-logo-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
}

.hero-logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ring-pulse 2s ease-out infinite;
}

@keyframes ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.hero-logo img {
    width: 60px;
    height: 60px;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.about-hero h1 span {
    background: linear-gradient(135deg, #fff 0%, #ffe4e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 3rem;
}

.hero-scroll-indicator {
    animation: bounce-down 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ================================================================
   MISSION SECTION
   ================================================================ */

.mission-section {
    padding: 5rem 5%;
    background: white;
}

.mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #fafafa;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.mission-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */

.section-header-about {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    border-radius: 50px;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header-about h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.section-header-about p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================================================
   TEAM SECTION
   ================================================================ */

.team-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #fafafa 0%, #f0f4f8 100%);
}

.team-member-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    align-items: start;
}

.team-member-full.reverse {
    direction: rtl;
}

.team-member-full.reverse > * {
    direction: ltr;
}

.member-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.member-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.photo-frame {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: scale(1.02) rotate(-2deg);
}

.photo-frame.developer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.photo-placeholder i {
    font-size: 5rem;
    opacity: 0.9;
}

.member-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.member-badge.ideador {
    color: #ff6b6b;
}

.member-badge.ideador i {
    color: #ffc107;
}

.member-badge.developer {
    color: #667eea;
}

.member-badge.developer i {
    color: #764ba2;
}

/* Member Gallery Swiper */
.member-gallery {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.member-gallery .swiper {
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item {
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffe4e1 0%, #ffd4d1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
}

.gallery-placeholder.dev {
    background: linear-gradient(135deg, #e8e4ff 0%, #d8d4ff 100%);
    color: #667eea;
}

.gallery-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.gallery-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
}

/* Member Info */
.member-info {
    padding: 1rem 0;
}

.member-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.member-role {
    display: inline-block;
    font-size: 1.1rem;
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-member-full.reverse .member-role {
    color: #667eea;
}

.member-bio {
    margin-bottom: 1.5rem;
}

.member-bio p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.member-quote {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 142, 83, 0.05) 100%);
    border-left: 4px solid #ff6b6b;
    padding: 1.25rem 1.5rem;
    border-radius: 0 15px 15px 0;
    margin-bottom: 1.5rem;
    position: relative;
}

.member-quote.developer-quote {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left-color: #667eea;
}

.member-quote i {
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 1.5rem;
    color: #ff6b6b;
    opacity: 0.3;
}

.member-quote.developer-quote i {
    color: #667eea;
}

.member-quote blockquote {
    font-style: italic;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 1.5rem;
}

.tech-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s ease;
}

.tech-badge:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.tech-badge i {
    font-size: 1rem;
}

/* Social Links */
.member-social {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.social-btn.dev:hover {
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Team Divider */
.team-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 4rem 0;
}

.divider-line {
    flex: 1;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.divider-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ================================================================
   TIMELINE SECTION
   ================================================================ */

.timeline-section {
    padding: 5rem 5%;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ff6b6b 0%, #667eea 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.timeline-item.future .timeline-marker {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.timeline-content {
    background: #fafafa;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-item:nth-child(even) .timeline-date {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.timeline-item.future .timeline-date {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   PROJECT GALLERY SECTION
   ================================================================ */

.project-gallery-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.projectSwiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.project-gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.gallery-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.gallery-placeholder-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.gallery-placeholder-large i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-placeholder-large span {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

.gallery-card-caption {
    padding: 1.5rem;
    text-align: center;
}

.gallery-card-caption h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
}

.gallery-card-caption p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Swiper Navigation */
.projectSwiper .swiper-button-next,
.projectSwiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.projectSwiper .swiper-button-next::after,
.projectSwiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: 700;
    color: #ff6b6b;
}

.projectSwiper .swiper-button-next:hover,
.projectSwiper .swiper-button-prev:hover {
    background: #ff6b6b;
}

.projectSwiper .swiper-button-next:hover::after,
.projectSwiper .swiper-button-prev:hover::after {
    color: white;
}

.projectSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
}

.projectSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    width: 30px;
    border-radius: 5px;
}

/* ================================================================
   STATS SECTION
   ================================================================ */

.stats-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 100%);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ================================================================
   CTA SECTION
   ================================================================ */

.about-cta-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.about-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.about-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.about-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #ff6b6b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-3px);
}

/* ================================================================
   FOOTER
   ================================================================ */

.about-footer {
    padding: 3rem 5%;
    background: #1a1a2e;
    text-align: center;
}

.footer-content-about {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.about-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.9rem;
}

.footer-copy i {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ================================================================
   SWIPER CUSTOMIZATION (Member Galleries)
   ================================================================ */

.memberSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
}

.memberSwiper .swiper-pagination-bullet-active {
    background: #ff6b6b;
}

#marianoSwiper .swiper-pagination-bullet-active {
    background: #667eea;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
    .team-member-full {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member-full.reverse {
        direction: ltr;
    }
    
    .member-visual {
        order: 1;
    }
    
    .member-info {
        order: 2;
    }
}

@media (max-width: 768px) {
    .back-btn-floating {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .back-btn-floating span {
        display: none;
    }
    
    .back-btn-floating {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-logo-container {
        width: 120px;
        height: 120px;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero-logo img {
        width: 50px;
        height: 50px;
    }
    
    .section-header-about h2 {
        font-size: 2rem;
    }
    
    .photo-frame {
        width: 220px;
        height: 220px;
    }
    
    .photo-placeholder i {
        font-size: 4rem;
    }
    
    .member-info h3 {
        font-size: 1.6rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 1.25rem 1.5rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .about-cta-content h2 {
        font-size: 2rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .projectSwiper .swiper-button-next,
    .projectSwiper .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .mission-container {
        grid-template-columns: 1fr;
    }
    
    .photo-frame {
        width: 180px;
        height: 180px;
        border-radius: 25px;
    }
    
    .photo-placeholder i {
        font-size: 3rem;
    }
    
    .member-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .tech-badges {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
}

/* Safe area para iOS */
@supports (padding: env(safe-area-inset-bottom)) {
    .about-footer {
        padding-bottom: calc(3rem + env(safe-area-inset-bottom));
    }
    
    .back-btn-floating {
        top: calc(20px + env(safe-area-inset-top));
    }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-card,
.timeline-item,
.stat-card,
.project-gallery-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.mission-card:nth-child(1) { animation-delay: 0.1s; }
.mission-card:nth-child(2) { animation-delay: 0.2s; }
.mission-card:nth-child(3) { animation-delay: 0.3s; }

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* ================================================================
   FIXES - PEGAR AL FINAL DE sobrenosotros.css
   ================================================================ */

/* FIX: Prevenir scroll infinito - resetear animaciones problemáticas */
.mission-card,
.timeline-item,
.stat-card,
.project-gallery-card {
    opacity: 1;
    animation: none;
}

/* FIX: Contenedor principal con altura controlada */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
}

/* FIX: Hero section con altura fija */
.about-hero {
    min-height: 100vh;
    max-height: 100vh;
    height: 100vh;
}

/* FIX: Partículas contenidas */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    will-change: transform, opacity;
}

/* FIX: Photo frame sin imagen rota */
.photo-frame {
    position: relative;
}

.photo-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.photo-frame .photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* FIX: Ocultar galerías por defecto (JS las muestra si están habilitadas) */
.member-gallery[data-gallery] {
    display: none;
}

.member-gallery.gallery-visible {
    display: block;
}

/* FIX: Project gallery section oculta por defecto */
.project-gallery-section[data-gallery] {
    display: none;
}

.project-gallery-section.gallery-visible {
    display: block;
}

/* FIX: Animaciones de entrada controladas por clase */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* FIX: Team section sin galerías - ajustar espaciado */
.member-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.member-visual:not(:has(.gallery-visible)) {
    gap: 0;
}

/* FIX: Secciones con altura automática */
.mission-section,
.team-section,
.timeline-section,
.stats-section,
.about-cta-section {
    overflow: hidden;
}

/* FIX: Timeline con altura controlada */
.timeline {
    position: relative;
    padding-bottom: 1rem;
}

/* FIX: Stats container */
.stats-container {
    position: relative;
}

/* FIX: Footer en el fondo */
.about-footer {
    position: relative;
    width: 100%;
}

/* FIX: Swiper contenido */
.swiper {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

/* FIX: Prevenir overflow en cards */
.project-gallery-card,
.mission-card,
.stat-card,
.timeline-content {
    overflow: hidden;
}

/* FIX: Back button siempre visible */
.back-btn-floating {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ================================================================
   RESPONSIVE FIXES
   ================================================================ */

@media (max-width: 768px) {
    .about-hero {
        min-height: 100svh;
        max-height: none;
        height: auto;
        padding: 4rem 1rem;
    }
    
    /* Mejor espaciado en mobile sin galerías */
    .team-member-full {
        gap: 1.5rem;
    }
    
    .member-photo-container {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3rem 1rem;
    }
    
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
}

/* ================================================================
   UTILIDADES PARA DEBUG
   ================================================================ */

/* Descomentar para ver bordes de secciones
.about-hero,
.mission-section,
.team-section,
.timeline-section,
.project-gallery-section,
.stats-section,
.about-cta-section,
.about-footer {
    outline: 2px solid red;
}
*/

.member-badge {
    z-index: 999;
}