/* ==========================================
   VARIABLES Y RESET
   ========================================== */

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

:root {
    --red: #E30613;
    --black: #0A0A0A;
    --white: #FFFFFF;
    --gray: #1A1A1A;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* ==========================================
   NAVBAR
   ========================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0,0,0,0.60);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: rotate(360deg);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

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

.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--red);
}

/* ==========================================
   HERO SECTION (index.html)
   ========================================== */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 41px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: url('../static/rx8.jpg') center/cover no-repeat;
    filter: blur(6px) brightness(0.55);
    transform: scale(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: 70px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero .red-text {
    color: var(--red);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #DDD;
}

.cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--red);
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: 0.3s ease;
}

.cta-button::before {
    content: '';
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--red);
    color: var(--red);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '▼';
    color: var(--red);
    font-size: 30px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==========================================
   PAGE HEADER (about, gallery, contact)
   ========================================== */

.page-header {
    height: 40vh;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    border-bottom: 3px solid var(--red);
}

.page-header-content h1 {
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-header-content p {
    font-size: 20px;
    font-weight: 300;
    color: #ccc;
    letter-spacing: 1px;
}

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

section {
    min-height: 100vh;
    padding: 80px 50px;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 60px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--red);
}

/* ==========================================
   SERVICIOS SECTION (index.html)
   ========================================== */

#servicios {
    background: var(--gray);
    min-height: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.text-content h3 {
    text-align: left;
    font-size: 38px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.text-content p {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--black);
    padding: 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--red);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.3);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--red);
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

.image-content {
    position: relative;
    height: 500px;
    border: 3px solid var(--red);
}

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

.image-content:hover img {
    transform: scale(1.1);
}

/* ==========================================
   ABOUT SECTION (about.html)
   ========================================== */

.about-section {
    background: var(--black);
    min-height: auto;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    margin-bottom: 60px;
}

.about-intro h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--red);
}

.about-intro p {
    font-size: 20px;
    line-height: 1.9;
    color: #ccc;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background: var(--gray);
    border-left: 4px solid var(--red);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.2);
}

.stat-number {
    font-size: 60px;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-section {
    margin-top: 80px;
}

.team-section h3 {
    font-size: 35px;
    margin-bottom: 40px;
    color: var(--red);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--gray);
    padding: 40px;
    text-align: left;
    border-left: 4px solid var(--red);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateX(10px);
}

.team-card h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.team-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #aaa;
}

.values-section {
    margin-top: 80px;
}

.values-section h3 {
    font-size: 35px;
    margin-bottom: 40px;
    color: var(--red);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    background: var(--gray);
    padding: 30px;
    text-align: center;
    border-top: 3px solid var(--red);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.2);
}

.value-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white);
}

.value-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
}

/* ==========================================
   GALLERY (gallery.html)
   ========================================== */

.gallery-filters {
    background: var(--gray);
    padding: 40px 50px;
    min-height: auto;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--black);
    color: var(--white);
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
}

.gallery-section {
    background: var(--black);
    min-height: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--gray);
    transition: all 0.3s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    border-color: var(--red);
    transform: scale(1.02);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--red);
}

.gallery-overlay p {
    font-size: 14px;
    color: #ccc;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--red);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px;
    font-size: 18px;
}

/* ==========================================
   CONTACT PAGE (contact.html)
   ========================================== */

.contact-page {
    background: var(--gray);
    min-height: auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--red);
}

.contact-intro {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
}

.contact-form {
    background: var(--black);
    padding: 40px;
    border: 2px solid var(--red);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--gray);
    border: 2px solid transparent;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 20px rgba(227, 6, 19, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--red);
    color: var(--white);
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--white);
    color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    display: none;
    padding: 20px;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #00ff00;
    color: #00ff00;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
}

.error-message {
    display: none;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--red);
    color: var(--red);
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
}

/* CONTACT INFO */
.contact-info-container {
    background: var(--black);
    padding: 40px;
    border-left: 4px solid var(--red);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item:hover .info-icon {
    color: var(--red);
    transform: scale(1.1);
}

.info-icon {
    font-size: 30px;
    min-width: 40px;
    transition: all 0.3s ease;
    color: var(--red);
}

.info-content {
    flex: 1;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.info-content p {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
}

.map-container {
    margin-top: 30px;
    border: 3px solid var(--red);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* ==========================================
   CTA SECTION (Pre-Footer)
   ========================================== */

.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, #A00510 100%);
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -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);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 45px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--white);
    color: var(--red);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--red);
}

.btn-secondary:hover::before {
    left: 0;
}

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

footer {
    background: var(--black);
    padding: 60px 50px 20px;
    color: var(--white);
    border-top: 3px solid var(--red);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-slogan {
    font-size: 16px;
    color: #999;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-column p {
    font-size: 15px;
    color: #ccc;
    line-height: 2;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column a {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    padding-left: 0;
    position: relative;
}

.footer-column a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--red);
}

.footer-column a:hover {
    color: var(--red);
    padding-left: 20px;
}

.footer-column a:hover::before {
    left: 0;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
    color: #777;
    font-size: 14px;
    font-weight: 300;
}

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

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

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 35px;
    }

    .cta-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 30px;
        height: 80px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column:first-child {
        grid-column: 1;
    }

    .footer-column a::before {
        display: none;
    }

    .footer-column a:hover {
        padding-left: 0;
    }

    footer {
        padding: 40px 30px 20px;
    }

    .cta-section {
        padding: 60px 30px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 16px 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 35px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 15px;
    }

    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 14px;
    }

    .section-title {
        font-size: 35px;
    }

    .page-header-content h1 {
        font-size: 40px;
    }
}

/* ==========================================
   ANIMACIONES ADICIONALES
   ========================================== */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.zoom-hover img:hover {
    transform: scale(1.07);
}

/* ==========================================
   UTILIDADES
   ========================================== */

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ==========================================
   SERVICIOS SECTION - DISEÑO MINIMALISTA
   ========================================== */

#servicios {
    background: var(--black);
    min-height: auto;
    border-top: 1px solid var(--gray);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 100px;
}

.text-content h3 {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: -1px;
}

.text-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #aaa;
    margin-bottom: 25px;
    font-weight: 300;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--gray);
}

.feature-card {
    background: var(--black);
    padding: 50px 35px;
    text-align: left;
    border: none;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--red);
    transition: height 0.4s ease;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    background: var(--gray);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: var(--red);
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 2px solid var(--red);
    padding-bottom: 5px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: #888;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 300;
}

.image-content {
    position: relative;
    height: 550px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.image-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1), transparent);
    pointer-events: none;
}

.image-content img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.image-content:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ==========================================
   ABOUT SECTION - DISEÑO MINIMALISTA
   ========================================== */

.about-section {
    background: var(--black);
    min-height: auto;
}

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

.about-intro {
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-intro h2 {
    font-size: 48px;
    margin-bottom: 40px;
    color: var(--white);
    font-weight: 300;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.about-intro h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--red);
}

.about-intro p {
    font-size: 18px;
    line-height: 1.9;
    color: #999;
    margin-bottom: 25px;
    font-weight: 300;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 80px 0;
    background: var(--gray);
}

.stat-item {
    text-align: center;
    padding: 60px 40px;
    background: var(--black);
    border: none;
    transition: all 0.4s ease;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.4s ease;
}

.stat-item:hover::after {
    width: 80%;
}

.stat-item:hover {
    background: var(--gray);
}

.stat-number {
    font-size: 56px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.team-section {
    margin-top: 100px;
}

.team-section h3 {
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--white);
    font-weight: 300;
    text-align: center;
    letter-spacing: -1px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--gray);
}

.team-card {
    background: var(--black);
    padding: 50px 45px;
    text-align: left;
    border: none;
    transition: all 0.4s ease;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width 0.4s ease;
}

.team-card:hover::before {
    width: 100%;
}

.team-card:hover {
    background: var(--gray);
}

.team-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.team-card h4::before {
    content: '—';
    color: var(--red);
    margin-right: 12px;
    font-weight: 300;
}

.team-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #888;
    font-weight: 300;
}

.values-section {
    margin-top: 100px;
}

.values-section h3 {
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--white);
    font-weight: 300;
    text-align: center;
    letter-spacing: -1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 1300px;
    margin: 0 auto;
    background: var(--gray);
}

.value-item {
    background: var(--black);
    padding: 50px 35px;
    text-align: center;
    border: none;
    transition: all 0.4s ease;
    position: relative;
}

.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--red);
    transition: height 0.4s ease;
}

.value-item:hover::after {
    height: 3px;
}

.value-item:hover {
    background: var(--gray);
}

.value-icon {
    font-size: 12px;
    margin-bottom: 25px;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.value-item h4 {
    font-size: 20px;
    margin-bottom: 18px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.value-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
    font-weight: 300;
}

/* ==========================================
   RESPONSIVE - MINIMALISTA
   ========================================== */

@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

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

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .content-grid {
        gap: 50px;
    }

    .image-content {
        height: 400px;
    }

    .about-intro h2 {
        font-size: 36px;
    }

    .team-section h3,
    .values-section h3 {
        font-size: 32px;
    }
}

/* Aviso de reCAPTCHA */
.recaptcha-notice {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-gray);
    border-radius: 5px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.recaptcha-notice a {
    color: var(--accent-color);
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}


/* ==========================================
   GALLERY - DISEÑO MINIMALISTA
   ========================================== */

/* Eliminamos la sección de filtros completamente */
.gallery-filters {
    display: none;
}

.gallery-section {
    background: var(--black);
    min-height: auto;
    padding: 100px 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1600px;
    margin: 0 auto;
    background: var(--gray);
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    background: var(--black);
    transition: all 0.4s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: background 0.4s ease;
}

.gallery-item:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.4s ease;
    filter: grayscale(30%);
    position: relative;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 3;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.gallery-overlay h3::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--red);
    margin-right: 12px;
    vertical-align: middle;
}

.gallery-overlay p {
    font-size: 14px;
    color: #999;
    font-weight: 300;
    margin-left: 42px;
}

/* LIGHTBOX - MINIMALISTA */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    animation: lightboxZoom 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes lightboxZoom {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--red);
    transform: rotate(90deg);
    background: rgba(227, 6, 19, 0.2);
}

.lightbox-caption {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--white);
    padding: 20px 30px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.8);
    border-left: 3px solid var(--red);
    z-index: 2001;
}

/* ==========================================
   RESPONSIVE - GALERÍA
   ========================================== */

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .gallery-item {
        height: 300px;
    }

    .gallery-overlay {
        padding: 25px 20px;
    }

    .gallery-overlay h3 {
        font-size: 18px;
    }

    .gallery-overlay h3::before {
        width: 20px;
        margin-right: 10px;
    }

    .gallery-overlay p {
        font-size: 13px;
        margin-left: 30px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }

    .lightbox-caption {
        bottom: 20px;
        width: 90%;
        font-size: 14px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 250px;
    }

    .gallery-overlay h3 {
        font-size: 16px;
    }

    .gallery-overlay p {
        font-size: 12px;
    }
}