/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0a0a0a;
    --color-secondary: #1a1a1a;
    --color-accent: #c9a55c;
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --color-border: #333333;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-primary);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-text);
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-smooth);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=2000&h=1200&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-text);
    color: var(--color-primary);
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ========================================
   FILOSOFIA SECTION
   ======================================== */

.filosofia {
    background-color: var(--color-secondary);
}

.filosofia-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.filosofia-content {
    padding-right: 2rem;
}

.filosofia-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.filosofia-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filosofia-lead {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-accent);
}

.filosofia-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.filosofia-image {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.filosofia-image:hover {
    transform: scale(1.02);
}

/* ========================================
   COMO TRABAJAMOS SECTION
   ======================================== */

.como-trabajamos {
    background-color: var(--color-primary);
}

.trabajamos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.trabajo-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.trabajo-card:hover {
    transform: translateY(-10px);
    background-color: rgba(26, 26, 26, 0.8);
}

.trabajo-icon {
    margin: 0 auto 2rem;
    width: 48px;
    height: 48px;
    color: var(--color-accent);
}

.trabajo-title {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.trabajo-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team {
    background-color: var(--color-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.team-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.team-member {
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member:hover .team-image {
    box-shadow: 0 15px 40px rgba(201, 165, 92, 0.3);
}

.team-info {
    padding: 0 1rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.team-specialty {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

/* ========================================
   SURPRISE TEAM MEMBER
   ======================================== */

.team-member-surprise {
    pointer-events: none !important;
    cursor: not-allowed;
}

.team-member-surprise:hover {
    transform: none !important;
}

.surprise-box {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(201, 165, 92, 0.98), rgba(201, 165, 92, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.surprise-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-image-locked {
    position: relative;
    filter: blur(15px) brightness(0.2);
}

.team-image-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.surprise-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(201, 165, 92, 0.98), rgba(201, 165, 92, 0.95)) !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    z-index: 100 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.surprise-overlay * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.surprise-box > * {
    position: relative;
    z-index: 1;
}

.surprise-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.surprise-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.surprise-subtitle {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    opacity: 0.9 !important;
}

.countdown,
.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 0.5rem;
    border-radius: 10px;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.team-info-hidden {
    text-align: center;
}

.team-info-hidden .team-name {
    font-size: 2rem;
    letter-spacing: 3px;
}

/* ========================================
   VR LAB SECTION
   ======================================== */

.vr-lab {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.vr-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vr-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.vr-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #0096ff, #8a2be2);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

.vr-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #0096ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vr-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.vr-content-wrapper {
    position: relative;
    z-index: 1;
}

.vr-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.vr-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0096ff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vr-text h3 .section-icon {
    width: 32px;
    height: 32px;
    stroke: #0096ff;
    flex-shrink: 0;
}

.vr-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.vr-text strong {
    color: #0096ff;
}

.vr-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 150, 255, 0.3);
}

.vr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vr-image:hover img {
    transform: scale(1.05);
}

.vr-benefits {
    margin-bottom: 5rem;
}

.vr-benefits-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: white;
}

.vr-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vr-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vr-benefit-card:hover {
    background: rgba(0, 150, 255, 0.1);
    border-color: #0096ff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 150, 255, 0.3);
}

.vr-benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: #0096ff;
    transition: all 0.3s ease;
}

.vr-benefit-card:hover .vr-benefit-icon svg {
    stroke: #00d4ff;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.6));
}

.vr-benefit-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0096ff;
}

.vr-benefit-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.vr-scientific {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.vr-scientific-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #8a2be2;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vr-section-title .section-icon {
    width: 32px;
    height: 32px;
    stroke: #8a2be2;
    flex-shrink: 0;
}

.vr-scientific-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.vr-applications {
    margin-bottom: 2rem;
}

.vr-applications h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0096ff;
}

.vr-applications ul {
    list-style: none;
    padding-left: 0;
}

.vr-applications li {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.vr-applications li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #8a2be2;
    font-size: 1.2rem;
}

.vr-applications strong {
    color: #0096ff;
}

.vr-ideal {
    background: rgba(0, 150, 255, 0.1);
    border-left: 4px solid #0096ff;
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.vr-gallery {
    margin-bottom: 4rem;
}

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

.vr-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
    transition: all 0.3s ease;
}

.vr-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 150, 255, 0.5);
}

.vr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vr-gallery-item:hover img {
    transform: scale(1.1);
}

.vr-tech {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.vr-tech-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.vr-tech-text strong,
.vr-tech-device strong {
    color: #0096ff;
}

.vr-tech-device {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.vr-cta {
    text-align: center;
}

.btn-vr {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #0096ff, #8a2be2);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.4);
}

.btn-vr:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 150, 255, 0.6);
    background: linear-gradient(135deg, #0080dd, #7a1fd2);
}

.btn-vr svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   TEAM MODAL
   ======================================== */

.team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 3rem 2rem;
}

.team-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-secondary);
    max-width: 850px;
    max-height: 85vh;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease-out;
    overflow-y: auto;
    margin: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-primary);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--color-primary);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-text);
}

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

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: rotate(90deg);
}

.modal-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
}

.modal-header-info h2 {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.modal-header-info .modal-role {
    font-size: 1.1rem;
    color: var(--color-accent);
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.modal-header-info .modal-specialty {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.modal-body {
    padding: 2.5rem;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.modal-section p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.modal-cta {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--color-primary);
}

.btn-agendar {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-agendar:hover {
    background-color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 165, 92, 0.5);
}

.btn-agendar svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   MANIFIESTO SECTION
   ======================================== */

.manifiesto {
    background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=2000&h=1200&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 12rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manifiesto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.manifiesto-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.manifiesto-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.manifiesto-statements {
    margin-bottom: 3rem;
}

.manifiesto-statement {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.manifiesto-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-manifiesto {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-manifiesto:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 165, 92, 0.4);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background-color: var(--color-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content {
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-map {
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-item {
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.contact-item p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background-color: #25D366;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-large svg {
    width: 32px;
    height: 32px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--color-secondary);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

@media (max-width: 1024px) {
    .filosofia-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .filosofia-image {
        height: 400px;
    }
    
    .trabajamos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-map {
        height: 400px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .vr-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .vr-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-modal {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .filosofia-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filosofia-content {
        padding-right: 0;
    }
    
    .trabajamos-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .vr-lab {
        padding: 5rem 0;
    }
    
    .vr-section {
        padding: 1.5rem;
    }
    
    .vr-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .vr-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vr-scientific {
        padding: 2rem;
    }
    
    .btn-vr {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-cta {
        padding: 1.5rem;
    }
    
    .modal-close {
        top: 0.8rem;
        right: 0.8rem;
        width: 35px;
        height: 35px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .manifiesto {
        background-attachment: scroll;
        padding: 8rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-manifiesto {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .filosofia-image {
        height: 300px;
    }
    
    .trabajo-card {
        padding: 2rem 1.5rem;
    }
    
    .team-image {
        height: 350px;
    }
    
    .manifiesto-statement {
        font-size: 1.3rem;
    }
    
    .btn-whatsapp-large {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }
    
    .btn-agendar {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .modal-header-info h2 {
        font-size: 1.8rem;
    }
    
    .modal-header-info .modal-role {
        font-size: 1rem;
    }
    
    .modal-header-info .modal-specialty {
        font-size: 0.9rem;
    }
    
    .modal-section h3 {
        font-size: 1rem;
    }
    
    .modal-section p {
        font-size: 0.95rem;
    }
    
    .modal-image {
        height: 280px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
}
