/* ==========================================================================
   COMPONENT STYLES
   Buttons, Cards, Forms, Gallery, etc.
   ========================================================================== */

/* ============================================
   BUTTONS
   ============================================ */
   .cards-grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--r-md);
    transition: all var(--t-fast);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn--accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn--lg {
    padding: var(--sp-4) var(--sp-8);
    font-size: 1rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
    overflow: hidden;
    transition: all var(--t-base);
    border: 1px solid var(--gray-100);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-xl);
}

.card__body {
    flex: 1;
    padding: var(--sp-8);
}

.card__icon {
    width: auto;
    height: auto;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    width: 70px;
    height: 70px;
    margin: 0 auto var(--sp-4);
}



.card__content {
    text-align: center;
}


.card__title {
    font-size: 1.25rem;
    margin-bottom: var(--sp-3);
    text-align: center;
}

.card__text {
    margin-bottom: var(--sp-4);
    color: var(--gray-500);
    font-size: 0.875rem;
    text-align: center;
}

/* ============================================
   CARD BUTTONS - centered with margin
   ============================================ */
.card__content .btn {
    margin-bottom: var(--sp-4);
    display: inline-block;
    margin-top: var(--sp-4);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--sp-5);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--sp-2);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--r-md);
    transition: all var(--t-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

.form-control textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero--sm {
    min-height: 40vh;
    padding-top: var(--header-h);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
    width: 100%;
}

.hero__title {
    color: var(--white);
    margin-bottom: var(--sp-4);
}

.hero__subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: var(--sp-8);
    max-width: 600px;
}

.hero__text {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: var(--sp-6);
    line-height: 1.7;
}

.hero__ctas {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--sp-4);
}

.gallery__item {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-base);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

/* ============================================
   MARKET CARDS
   ============================================ */
.market-card {
    background: var(--white);
    padding: var(--sp-6);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--sh-sm);
    border: 2px solid var(--gray-100);
    transition: all var(--t-base);
}

.market-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.market-card__icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--sp-3);
}

.market-card__text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ============================================
   SERVICE LIST
   ============================================ */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
}

.service-item {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-6);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    border-left: 4px solid var(--accent);
}

.service-item__icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.service-item__content h4 {
    font-size: 1rem;
    margin-bottom: var(--sp-2);
}

.service-item__content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
    text-decoration: none;
    transition: all var(--t-fast);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* ============================================
   INFO GRID
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
}

.info-grid--reverse {
    direction: rtl;
}

.info-grid--reverse > * {
    direction: ltr;
}

.info-content h2 {
    color: var(--primary);
    margin-bottom: var(--sp-4);
}

.info-content p {
    color: var(--gray-600);
    margin-bottom: var(--sp-4);
    line-height: 1.8;
}

.info-image {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.info-image img {
    width: 100%;
    height: auto;
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
}

.contact-card {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--gray-50);
    border-radius: var(--r-lg);
}

.contact-card__icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card__label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--sp-1);
}

.contact-card__value {
    color: var(--gray-700);
    font-weight: 500;
}

/* ============================================
   ADVANTAGES GRID
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}

.advantage-item {
    text-align: center;
    padding: var(--sp-6);
    background: var(--gray-50);
    border-radius: var(--r-lg);
    transition: all var(--t-base);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.advantage-item__icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--sp-4);
}

.advantage-item__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--sp-2);
}

.advantage-item__text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
    align-items: stretch;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
    align-items: stretch;
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero__ctas {
        flex-direction: column;
    }
}

/* ==========================================================================
   SECTION COMPONENTS
   ========================================================================== */

.section__header {
    text-align: center;
    margin-bottom: var(--sp-10);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--sp-3);
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.section--gray {
    background: var(--gray-50);
}

.section--accent {
    background: var(--primary);
    color: var(--white);
}

.section--accent .section__title {
    color: var(--white);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
    align-items: center;
}

.two-col--reverse {
    direction: rtl;
}

.two-col--reverse > * {
    direction: ltr;
}

.two-col__media img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
}

.two-col__content {
    padding: var(--sp-6);
}

.two-col__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.section--accent .two-col__content p {
    color: var(--white);
    opacity: 0.9;
}

/* Cards Grid */
.cards-grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

/* Card Component */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
    transition: all var(--t-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-xl);
}

.card__icon img {
    width: 100%;
    height: auto;
    display: block;
}

.card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--sp-3);
}

.card__text {
    margin-bottom: var(--sp-4);
    color: var(--gray-600);
    margin-bottom: var(--sp-5);
    line-height: 1.6;
}

/* Market Grid */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sp-5);
}

.market-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    text-align: center;
    box-shadow: var(--sh-sm);
    transition: all var(--t-normal);
}

.market-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.market-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--sp-4);
    object-fit: contain;
}

.market-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--sp-16) 0;
    text-align: center;
    color: var(--white);
}

.cta-section__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: var(--sp-4);
    color: var(--white);
}

.cta-section__text {
    font-size: 1.2rem;
    margin-bottom: var(--sp-8);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
    }
    
    .two-col--reverse {
        direction: ltr;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .cards-grid {
    align-items: stretch;
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   INFO BLOCK (Infraestructura, Equipo, Proyecto Integral)
   ========================================================================== */
.info-block {
    display: flex;
    align-items: center;
    gap: var(--sp-10);
}

.info-block--reverse {
    flex-direction: row-reverse;
}

.info-block__content {
    flex: 1;
}

.info-block__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--sp-5);
}

.info-block__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.info-block__image {
    flex: 1;
}

.info-block__image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
}

/* ==========================================================================
   MARKETS ROW (Horizontal)
   ========================================================================== */
.markets-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-8);
    flex-wrap: wrap;
}

.market-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
}

.market-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.market-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Responsive */
@media (max-width: 1024px) {
    .info-block,
    .info-block--reverse {
        flex-direction: column;
        gap: var(--sp-6);
    }
    
    .info-block__image img {
        max-width: 100%;
    }
    
    .markets-row {
        gap: var(--sp-4);
    }
    
    .market-item img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .markets-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--sp-4);
    }
}

/* ==========================================================================
   SERVICE LIST
   ========================================================================== */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: center;
}

.service-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.service-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* ==========================================================================
   ADVANTAGES GRID
   ========================================================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-5);
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

.advantage-item i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.advantage-item span {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ==========================================================================
   SERVICE LIST RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CLIENTS GRID
   ========================================================================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--sp-6);
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    aspect-ratio: 3/2;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* ==========================================================================
   CONTACT GRID
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-8);
}

.contact-item {
    text-align: center;
    padding: var(--sp-6);
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--sp-4);
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--sp-3);
}

.contact-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==========================================================================
   SECTION TEXT
   ========================================================================== */
.section__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

/* ==========================================================================
   FAQ LIST
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.faq-item {
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-5) var(--sp-6);
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.05rem;
    gap: var(--sp-4);
}

.faq-item__question i {
    color: var(--accent);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item__answer {
    display: none;
    padding: 0 var(--sp-6) var(--sp-5);
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item.active .faq-item__answer {
    display: block;
}

.faq-item.active .faq-item__question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   GALLERY GRID
   ========================================================================== */
}

.gallery-item {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.gallery-item a {
    display: block;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

/* ==========================================================================
   SECTION HEADER with subtitle
   ========================================================================== */
.section__header {
    text-align: center;
    margin-bottom: var(--sp-8);
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-top: var(--sp-3);
}

/* ==========================================================================
   PROCESS GRID (clean numbered steps)
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.process-grid--four {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}

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

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

.process-item {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    box-shadow: var(--sh-md);
    position: relative;
}

.process-item__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--sp-4);
}

/* Iconos color plano: sin hover, sin transiciones de color */
.process-item__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
    font-size: 1.8rem;
}

/* Hover de la card (no del icono) — solo lift sutil */
.process-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.process-item__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--sp-4);
}

.process-item__text {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   GALLERY GRID (clean grid)
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
    gap: var(--sp-4);
}

.gallery-grid--centered {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin: 0 auto;
}

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

.gallery-item {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 92, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item a:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay i {
    color: var(--white);
    font-size: 1.5rem;
}

/* ==========================================================================
   FANCYBOX OVERRIDES (modal lightbox)
   ========================================================================== */
body.compensate-for-scrollbar {
    overflow: hidden !important;
}

/* ==========================================================================
   HERO -- LEFT ALIGNED TEXT
   ========================================================================== */
.hero .hero__content {
    max-width: 1280px;
    text-align: left !important;
}

.hero .hero__content .hero__title,
.hero .hero__content .hero__subtitle {
    text-align: left !important;
}

/* ==========================================================================
   LIGHTBOX (X visible, contador, flechas, título)
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.show {
    display: flex;
}

.lightbox__img-wrap {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10000;
    line-height: 1;
}
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10000;
}
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

.lightbox__caption {
    color: #fff;
    text-align: center;
    padding: 14px 20px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.lightbox__counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   FOOTER - matching fulltent.cl exact design
   ========================================================================== */
.footer {
    background: rgb(0, 55, 117);
    background: linear-gradient(90deg, rgba(0, 55, 117, 1) 30%, rgba(0, 0, 0, 1) 100%);
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.footer__widgets {
    padding: 40px 0 30px;
}

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

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

.footer__col {
    text-align: left;
}

.footer__heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
}

.footer__text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.footer__text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

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

.footer__logos {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}

.footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.footer__copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer__copyright p {
    margin: 0;
    font-size: 10px;
    line-height: 1.4;
}

.footer__copyright a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

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

/* ==========================================================================
   CTA BUTTONS - #ed8936 accent color (as per original)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn--accent,
.btn--primary {
    background: #ed8936 !important;
    color: #fff !important;
    border: 2px solid #ed8936;
}

.btn--accent:hover,
.btn--primary:hover {
    background: #dd6f20 !important;
    border-color: #dd6f20;
    color: #fff !important;
}

.btn--outline {
    background: transparent;
    color: #ed8936 !important;
    border: 2px solid #ed8936;
}

.btn--outline:hover {
    background: #ed8936 !important;
    color: #fff !important;
}

.btn--white {
    background: #fff !important;
    color: #ed8936 !important;
    border: 2px solid #fff;
}

.btn--white:hover {
    background: #f0f0f0 !important;
    color: #dd6f20 !important;
}

/* MOBILE - process grid and gallery 100% width */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   RESPONSIVE VIDEO
   ============================================ */
.video-responsive {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .video-responsive {
        padding-bottom: 56.25%;
    }
}

/* Section Accent - override card and info styles */
.section--accent .section__title {
    color: var(--white);
}

.section--accent .info-content h2 {
    color: var(--white);
}

.section--accent .info-content p {
    color: rgba(255,255,255,0.9);
}

.section--accent .card__title {
    color: var(--white);
}

.section--accent .card__text {
    color: rgba(255,255,255,0.85);
}

.section--accent .card__icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    background: rgba(255,255,255,0.15);
}

/* ============================================

/* ============================================
   CLIENTS TABS
   ============================================ */
.clients-tabs {
    width: 100%;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-8);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: var(--sp-2);
    justify-content: center;
}

.tab-btn {
    background: none;
    border: none;
    padding: var(--sp-3) var(--sp-5);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: var(--r-md) var(--r-md) 0 0;
    transition: all var(--t-base);
}

.tab-btn:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.tab-btn.active {
    background: var(--accent);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--sp-6);
}

.client-logo {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--t-base);
    min-height: 100px;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        text-align: center;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
