/* ============================================ */
/* BRANCH - SOLUCIONES INDUSTRIALES */
/* HOJA DE ESTILOS PRINCIPAL - VERSÃO CORRIGIDA */
/* ============================================ */

/* ============================================ */
/* VARIABLES DE COLOR */
/* ============================================ */
:root {
    --primary-color: #003366;
    --dark-bg: #0a0e1a;
    --card-bg: #151b2d;
    --text-light: #f4f4f4;
    --text-gray: #b8b8b8;
    --border-color: #2a3447;
    --logo-magenta: #d6006e;
    --logo-cyan: #00d9ff;
    --brand-gradient: linear-gradient(135deg, #d6006e 0%, #00d9ff 100%);
    --secondary-color: #00d9ff;
}

/* ============================================ */
/* RESET ÚNICO E CORRETO */
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    font-family: 'Nunito', sans-serif;
}

/* ============================================ */
/* FONTES */
/* ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
}

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
}

p, li, a, span {
    font-family: 'Nunito', sans-serif;
}

/* ============================================ */
/* IMAGENS - PREVENIR OVERFLOW */
/* ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================ */
/* HEADER */
/* ============================================ */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    padding: 0 5% 0 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--logo-cyan);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.logo img {
    height: calc(100% - 10px);
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin: 5px 0;
}

.logo img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: var(--logo-cyan);
    background-color: rgba(0, 217, 255, 0.1);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--logo-cyan);
    transition: 0.3s;
}

/* ============================================ */
/* LANGUAGE SWITCHER - VERSIÓN DISCRETA (SOLO BANDERAS) */
/* ============================================ */
.language-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 9998;  /* ← Debajo del header pero visible */
    display: flex;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.7);  /* ← Fondo oscuro discreto */
    padding: 0.4rem 0.6rem;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    padding: 0.3rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;  /* ← Tamaño de la bandera */
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.15);
}

.lang-btn.active {
    background: rgba(214, 0, 110, 0.4);
    border: 1px solid var(--logo-magenta);
    box-shadow: 0 0 8px rgba(214, 0, 110, 0.5);
}

/* Responsive para mobile */
@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 60px;  /* ← A la IZQUIERDA del menú hamburguesa */
        gap: 0.2rem;
        padding: 0.3rem 0.5rem;
        background: rgba(0, 0, 0, 0.85);
    }
    
    .lang-btn {
        min-width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    /* Asegurar que el menú mobile esté POR ENCIMA */
    .mobile-menu {
        z-index: 10000 !important;
        position: relative;
    }
}




/* Indicador visual de idioma detectado */
.lang-btn.detected-lang {
    border-color: var(--logo-cyan);
    position: relative;
}

.lang-btn.detected-lang::after {
    content: '★';
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--logo-cyan);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

/* ============================================ */
/* BARRA DE REDES SOCIAIS */
/* ============================================ */
.social-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    border-bottom: 2px solid var(--border-color);
    padding: 0.8rem 5%;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--logo-cyan);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.social-link:hover {
    background: var(--brand-gradient);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(214, 0, 110, 0.4);
    border-color: transparent;
}

.social-link[title="WhatsApp"]:hover { background: #25D366; }
.social-link[title="Facebook"]:hover { background: #1877F2; }
.social-link[title="Instagram"]:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link[title="LinkedIn"]:hover { background: #0A66C2; }
.social-link[title="Email"]:hover { background: var(--logo-magenta); }

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
    margin-top: 120px;
    background: linear-gradient(rgba(10,14,26,0.3), rgba(10,14,26,0.5)), 
                url('../imagens/inicio.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 5%;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: rgba(244, 244, 244, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--logo-cyan);
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

/* ============================================ */
/* BOTONES */
/* ============================================ */
.btn {
    display: inline-block;
    background: var(--brand-gradient);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 4px 15px rgba(214, 0, 110, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.6);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--logo-cyan);
    color: var(--logo-cyan);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
}

/* ============================================ */
/* SECCIONES GENERALES */
/* ============================================ */
section {
    padding: 5rem 5%;
    max-width: 100vw;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--logo-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--brand-gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ============================================ */
/* SERVICES GRID */
/* ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 100%;
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    max-width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: var(--logo-cyan);
}

.service-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: var(--dark-bg);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.15);
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 14, 26, 0.1) 0%, rgba(10, 14, 26, 0.4) 100%);
    pointer-events: none;
    opacity: 0.6;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--logo-cyan);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content ul {
    list-style: none;
    margin: 1rem 0;
}

.service-content ul li {
    padding: 0.25rem 0;
    padding-left: 0.5rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.service-content ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.15rem 0;
    line-height: 1.4;
}

.service-content ul li a:hover {
    color: var(--logo-cyan);
    padding-left: 5px;
}

.btn-detail {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--logo-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.btn-detail:hover {
    border-bottom-color: var(--logo-magenta);
    padding-left: 3px;
}

/* ============================================ */
/* MOSAICO DE IMAGENS - DETAIL SECTIONS (6 imagens) */
/* ============================================ */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 180px);  /* ← Altura controlada (não muito grande) */
    gap: 0.8rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.mosaic-item {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

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

.mosaic-item:hover {
    border-color: var(--logo-cyan);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

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

/* Item destacado ocupa 2x2 (opcional - se quiser variar) */
.mosaic-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Responsive para tablet */
@media (max-width: 1024px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .mosaic-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Responsive para mobile */
@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
        gap: 0.6rem;
    }
    
    .mosaic-item {
        height: 200px;
    }
}

/* ============================================ */
/* MOSAICO DE IMAGENS - DETAIL SECTIONS (3 imagens) */
/* ============================================ */
.mosaic-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 180px);  /* ← Altura controlada (não muito grande) */
    gap: 0.8rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    }
    /* Responsive para mobile */

@media (max-width: 768px) {
    .mosaic-grid-3 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
        gap: 0.6rem;
    }
    
    .mosaic-item {
        height: 200px;
    }
}


/* ============================================ */
/* DETAIL SECTIONS */
/* ============================================ */
.detail-section {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 3rem 5%;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: none;
}

.detail-section h3 {
    color: var(--logo-cyan);
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
    padding-left: 2rem;
    position: relative;
}

.detail-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--logo-magenta);
    filter: drop-shadow(0 2px 3px rgba(214, 0, 110, 0.3));
    transition: all 0.3s ease;
}

.detail-section:hover h3::before {
    border-left: 12px solid var(--logo-cyan);
    transform: translateY(-50%) translateX(3px);
}

.detail-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    margin-top: 0;
    font-size: 1.05rem;
    max-width: 900px;
}

.detail-section .images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.detail-section .images-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.detail-section .images-grid img:hover {
    border-color: var(--logo-cyan);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
}

/* ============================================ */
/* DESTAQUES EM TEXTO */
/* ============================================ */
.destaqueMag {
    color: var(--logo-magenta);
    font-weight: 700;
}

.destaqueCyan {
    color: var(--logo-cyan);
    font-weight: 700;
}

/* ============================================ */
/* LOGISTICS SECTION */
/* ============================================ */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 100%;
}

.logistics-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    max-width: 100%;
    overflow-x: hidden;
}

.logistics-card h3 {
    color: var(--logo-cyan);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.logistics-card ul {
    list-style: none;
    color: var(--text-gray);
}

.logistics-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.logistics-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--logo-magenta);
    font-weight: bold;
}

.truck-specs {
    background: var(--dark-bg);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--logo-cyan);
    word-wrap: break-word;
}

/* ============================================ */
/* COMMITMENT SECTION */
/* ============================================ */
.commitment {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.commitment-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.commitment p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
}

/* ============================================ */
/* CLIENTS SECTION */
/* ============================================ */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.client-logo {
    width: 150px;
    height: 80px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s;
    padding: 0;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 8px rgba(0, 217, 255, 0.3));
}

/* ============================================ */
/* CONTACT SECTION */
/* ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info, .contact-form, .map-container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    max-width: 100%;
    overflow-x: hidden;
}

.contact-info h3, .contact-form h3 {
    color: var(--logo-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.contact-detail strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-detail p, .contact-detail a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    word-wrap: break-word;
}

.contact-detail a:hover {
    color: var(--logo-cyan);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 5px;
    filter: invert(90%) hue-rotate(180deg);
    max-width: 100%;
}

.map-item {
    margin-bottom: 2rem;
}

.map-item h4 {
    color: var(--logo-cyan);
    margin-bottom: 1rem;
}

form input, form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.2rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 1rem;
    max-width: 100%;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--logo-magenta);
}

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

/* ============================================ */
/* FOOTER */
/* ============================================ */
footer {
    background: #05070a;
    padding: 3rem 5% 1.5rem;
    border-top: 3px solid var(--logo-magenta);
    max-width: 100vw;
    overflow-x: hidden;
}

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

.footer-section h4 {
    color: var(--logo-cyan);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--logo-magenta);
}

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

/* ============================================ */
/* BOTÓN FLOTANTE - CORRIGIDO */
/* ============================================ */
.btn-volver-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.btn-volver-container.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.btn-volver-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s ease;
    transform-origin: 50% 50%;
    stroke: var(--logo-magenta);
    fill: none;
}

.progress-ring__background {
    stroke: var(--border-color);
    fill: none;
}

.btn-volver {
    position: relative;
    z-index: 10;
    width: 50px;
    height: 50px;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(214, 0, 110, 0.4);
    transition: all 0.3s ease;
}

.btn-volver:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.6);
}

.btn-volver svg {
    stroke: #fff;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}

.btn-volver:hover svg {
    transform: translateY(-2px);
}

.btn-volver-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    z-index: 11;
}

.btn-volver-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--border-color);
}

.btn-volver-wrapper:hover .btn-volver-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

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

/* ============================================ */
/* RESPONSIVE - MOBILE */
/* ============================================ */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    header {
        height: 60px;
        padding: 0 3%;
    }

    .logo img {
        max-width: 140px;
    }

    .social-bar {
        padding: 0.6rem 3%;
        top: 60px;
    }

    .social-container {
        gap: 1rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .hero {
        margin-top: 110px;
        padding: 4rem 3%;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }

    section {
        padding: 3rem 3%;
    }

    .services-grid,
    .logistics-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-info, .contact-form, .map-container {
        padding: 1.5rem;
    }

    .btn-volver-container {
        bottom: 20px;
        right: 20px;
    }

    .btn-volver-wrapper {
        width: 50px;
        height: 50px;
    }

    .btn-volver {
        width: 42px;
        height: 42px;
    }

    .btn-volver-tooltip {
        display: none;
    }

    .service-content ul li {
        padding: 0.2rem 0;
        font-size: 0.85rem;
    }

    .btn-detail {
        font-size: 0.85rem;
        margin-top: 0.3rem;
    }

    .service-content {
        padding: 1rem;
    }

    .detail-section {
        padding: 2rem 3%;
    }

    .detail-section h3 {
        font-size: 1.4rem;
        padding-left: 1.5rem;
    }

    .detail-section .images-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ============================================ */
/* TEXTOS MAIS CLAROS */
/* ============================================ */
p {
    color: #e0e0e0;
    line-height: 1.7;
}

.service-content p,
.detail-section p {
    color: #e0e0e0;
}

.service-content ul li,
.logistics-card ul li {
    color: #d0d0d0;
}

.contact-detail p,
.contact-detail a {
    color: #e0e0e0;
}

.footer-section p,
.footer-section a {
    color: #d0d0d0;
}

form input::placeholder,
form textarea::placeholder {
    color: #909090;
}