/* Fuentes Corporativas Shell */
@font-face {
    font-family: 'Shell';
    src: url('font/WEB/ShellMedium.woff2') format('woff2'),
         url('font/WEB/ShellMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shell';
    src: url('font/WEB/ShellBold.woff2') format('woff2'),
         url('font/WEB/ShellBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette - Premium Industrial */
    --clr-bg-dark: #0f0f0f;
    --clr-bg-card: #1a1a1a;
    --clr-text-main: #f4f4f4;
    --clr-text-muted: #b0b0b0;
    --clr-accent: #ff8c00; /* Industrial Orange */
    --clr-accent-hover: #e07b00;
    --clr-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-shell: 'Shell', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    transition: var(--transition-smooth);
    color: var(--clr-accent);
    text-decoration: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.text-accent {
    color: var(--clr-accent) !important;
}

.text-white {
    color: var(--clr-white) !important;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* --- HEADER & NAV --- */

#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0;
    font-family: var(--font-shell);
    text-transform: none;
    line-height: 1;
}

.logo-text-bold {
    color: var(--clr-white); /* SRL in white per request */
    font-weight: 700;
}

.logo-tagline {
    font-family: var(--font-shell);
    font-weight: 300;
    font-size: 0.85rem;
    display: block;
    color: var(--clr-accent);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

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

/* --- HERO SECTION --- */

.hero-v2 {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.hero-v2 .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

/* --- HERO CAROUSEL --- */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-carousel-controls {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.hero-control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
}

.hero-control-btn:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: black;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    color: var(--clr-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--clr-accent);
    padding-left: 1rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--clr-white);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* --- BUTTONS --- */

.btn-primary {
    background-color: var(--clr-accent);
    color: #000;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

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

.btn-outline {
    border: 1px solid var(--clr-white);
    color: var(--clr-white);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 1.5rem;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--clr-white);
    color: #000;
}

/* --- TRUST BAR --- */

.trust-bar {
    background-color: #0c0c0c;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--clr-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.trust-subtitle {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.logos-grid {
    display: flex;
    gap: 4rem;
    opacity: 0.5;
    filter: grayscale(1);
    align-items: center;
}

.logo-item {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    font-family: var(--font-heading);
}

/* --- PROJECTS --- */

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: #252525;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
}

.project-tag {
    display: inline-block;
    background: var(--clr-accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* --- CTA SECTION --- */

.cta-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1516937241183-596919d363b7?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
}

/* --- SERVICES --- */

.section-padding {
    padding: 10rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--clr-accent);
}

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

.service-card {
    background: var(--clr-bg-card);
    padding: 4rem 3rem;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--clr-accent);
}

.card-icon {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--clr-text-main);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-list li i {
    color: var(--clr-accent);
    font-size: 0.7rem;
}

/* --- STATS & ABOUT --- */

.about-split .flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

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

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

.stat .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-accent);
    font-family: var(--font-heading);
}

.stat .label {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--clr-text-muted);
}

.img-placeholder {
    width: 100%;
    height: 500px;
    background: #222;
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- FOOTER --- */

footer {
    background-color: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 6rem;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--clr-text-muted);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 2rem;
    font-size: 1rem;
}

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

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

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

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

.footer-contact p {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-contact i, .footer-contact svg {
    color: var(--clr-accent);
    min-width: 25px;
}

/* --- REVIEW CARDS (Dynamic) --- */

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.review-card {
    background: var(--clr-bg-card);
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.review-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.review-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--clr-accent);
}

.review-author {
    font-size: 1.1rem;
    font-weight: 700;
}

.review-stars {
    color: var(--clr-accent);
    margin-top: 0.3rem;
}

.review-text {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* --- CONTACT FORM --- */

.contact-form {
    max-width: 800px;
    margin: 4rem auto 0;
    background: var(--clr-bg-card);
    padding: 4rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--clr-white);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    background: #000;
}

.btn-submit {
    width: 100%;
    background: var(--clr-accent);
    color: #000;
    border: none;
    padding: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--clr-white);
}

/* --- REACT CAROUSEL (Gallery) --- */

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.carousel-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,140,0,0.8);
    color: #000;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-button-prev { left: 0; }
.carousel-button-next { right: 0; }

/* --- PRODUCT CARDS --- */

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

.product-card {
    background: var(--clr-bg-card);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    color: var(--clr-text-main);
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--clr-accent);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.product-badge {
    background: var(--clr-accent);
    color: #000;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-description {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* --- FLOATING ELEMENTS --- */

.floating-buttons-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: row; /* Alineación horizontal requested */
    gap: 40px; /* Separados a pedido del usuario */
    z-index: 2000;
    align-items: center;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(18, 140, 126, 0.4);
}

/* Chatbot adjustment */
#chatbot-container, 
#chatbot-launcher {
    position: relative !important; /* Managed by floating-buttons-group */
    bottom: auto !important;
    right: auto !important;
}

/* Footer link styling */
.footer-contact a {
    color: var(--clr-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-family: var(--shell-font);
}

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

.instagram-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--clr-accent);
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
    font-size: 1.1rem;
}

.instagram-footer i {
    font-size: 1.4rem;
}

.btn-complaints {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--clr-text-muted);
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: var(--transition-smooth);
    font-family: var(--shell-font);
    font-weight: 500;
}

.btn-complaints:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

/* --- FOOTER OPTIMIZATIONS --- */
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-info-linear {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 2;
}

.footer-info-linear .logo {
    margin-bottom: 0 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center; /* Centered per request */
    font-size: 0.85rem;
    width: 100%;
}

/* Promotions & Station Cards */
.promociones-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-accent) transparent;
}

.promo-card-v2 {
    min-width: 350px;
    background: var(--clr-bg-card);
    border-radius: 15px;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.station-card {
    background: #111;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.station-card h3 {
    color: var(--clr-accent);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.station-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.station-info i {
    width: 25px;
    color: var(--clr-accent);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-info-linear {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-text-wrapper {
        display: block;
    }
    
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 968px) {
    .container { padding: 0 2rem; }
    .hero-content h1 { font-size: 3rem; }
    .section-padding { padding: 6rem 0; }
    .services-grid, .projects-grid, .about-split .flex, .footer-grid, .product-category {
        grid-template-columns: 1fr;
    }
    .nav-links { display: none; }
}

/* PROMOCIONES CAROUSEL & ESTACIONES INTERACTIVAS */
.promociones-carousel-container {
    background: var(--clr-bg-card);
    border: 1px solid rgba(255,140,0,0.2);
    box-shadow: var(--shadow-premium);
    margin-top: 2rem;
}

.promo-slide {
    flex: 0 0 100%;
}

.promo-slide video, 
.promo-slide img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-indicator.active {
    background: var(--clr-accent) !important;
    width: 25px !important;
    border-radius: 6px !important;
}

/* RESPONSIVE STATIONS (REACT) */
.mobile-stack {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 2fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .mobile-stack {
        grid-template-columns: 1fr !important;
    }
}

.active-station {
    border-left: 5px solid var(--clr-accent) !important;
    background: rgba(255,140,0,0.05) !important;
}

/* FOOTER GRID CORRECTION */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
}
