@import url('[https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400&family=Roboto:wght@300;400;500&display=swap](https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400&family=Roboto:wght@300;400;500&display=swap)');

/* --- VARIABLES --- */
:root {
    --stockers-blue: #016392; 
    --stockers-darkblue: #004b71;
    --stockers-nav: #b3b3b3;
    --stockers-footer: #555555;
    --stockers-bg: #E1E1E1; 
    --stockers-button: #0084c9;
    --text-color: #666666;
    --font-sans: Arial, Helvetica, sans-serif;
    --font-serif: "Times New Roman", Times, serif;
}

/* --- RESET Y BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #333333;
    font-family: var(--font-sans);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    min-height: 100vh;
}

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

/* --- LAYOUT PRINCIPAL --- */
.container {
    width: 100%;
    max-width: 1000px; 
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    min-height: 800px;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.section-bg-gray {
    background-color: var(--stockers-bg);
    flex-grow: 1;
}

/* --- HEADER --- */
.site-header {
    background-color: var(--stockers-blue);
    text-align: center;
    padding: 1.5rem 0;
    color: #ffffff;
}

.site-logo {
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- NAVEGACIÓN --- */
.main-nav {
    background-color: var(--stockers-nav);
    padding: 1rem 0;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400; 
    font-size: 23px;
    color: #666666;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

/* --- BANNERS Y HERO --- */
.hero {
    position: relative;
    width: 100%;
    height: 500px; 
    background-color: #ddd;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; 
}

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

.hero-text {
    position: absolute;
    top: 50%;
    right: 2.5rem;
    transform: translateY(-50%);
    text-align: right;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-text p.light {
    font-family: 'Roboto', sans-serif; 
    font-size: 35px; 
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.hero-text p.bold {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-sans);
}

.blue-banner {
    background-color: var(--stockers-blue);
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blue-banner p {
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.btn {
    background-color: var(--stockers-darkblue);
    color: #ffffff;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
}

.btn:hover { background-color: #003652; }

/* --- CONTENIDOS (EMPRESA, SERVICIOS, RRHH, CONTACTO) --- */
.content-padding { padding: 2.5rem; }

.section-title {
    font-family: 'Roboto', sans-serif; 
    font-size: 35px; 
    font-weight: 500; 
    color: #666;
    margin-bottom: 1rem;
    display: inline-block;
    border-top: 4px solid var(--stockers-blue);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.section-text {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.flex-row {
    display: flex;
    gap: 2rem;
}

.col-half { flex: 1; }

.image-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Acordeón de Empresa (Mejorado) */
.accordion-wrapper { 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    overflow: hidden; 
    background-color: #fff;
}

.accordion-item { 
    border-bottom: 1px solid #ddd; 
}
.accordion-item:last-child { 
    border-bottom: none; 
}

.accordion-btn {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    font-family: var(--font-sans);
    font-weight: bold;
    color: #666;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.accordion-btn:hover { 
    color: var(--stockers-blue); 
    background-color: #fafafa;
}

.accordion-btn.active { 
    color: var(--stockers-blue); 
    background-color: #f4f9fc;
}

.accordion-btn i { 
    color: #aaa; 
    font-size: 14px; 
    transition: transform 0.3s ease; 
}

.accordion-btn.active i {
    transform: rotate(180deg); 
    color: var(--stockers-blue);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
}

.accordion-content.active { 
    max-height: 800px; 
    opacity: 1;
}

.accordion-body {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.accordion-body ul { padding-left: 1.5rem; margin-top: 0.5rem; }
.accordion-body li { margin-bottom: 0.25rem; }

/* Servicios Overlay */
.services-hero {
    position: relative;
    padding: 3rem 2.5rem;
    flex-grow: 1;
}

.services-hero img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.services-content {
    position: relative;
    z-index: 10;
    color: #fff;
}

.services-content h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.services-content ul { list-style: none; font-size: 14px; }
.services-content li { margin-bottom: 0.75rem; display: flex; align-items: center; }
.services-content li span { font-size: 10px; margin-right: 0.5rem; }

/* Formularios y Contacto */
.contact-info { font-size: 14px; line-height: 1.5; color: #777; }
.contact-info a { text-decoration: underline; }
.contact-info a:hover { color: var(--stockers-blue); }

.map-container {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    margin-top: 1rem;
}

/* Forzar que el iframe del mapa ocupe todo su contenedor */
.map-container iframe {
    width: 100% !important;
    height: 100% !important;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--stockers-footer);
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #ccc;
    font-size: 13px;
}

.footer-info p { margin-bottom: 0.25rem; }
.footer-info .bold { font-weight: bold; color: #fff; }

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

.social-links a {
    background-color: #dcdcdc;
    color: #555;
    width: 32px; 
    height: 32px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.social-links a:hover { background-color: #fff; }

.social-icon {
    width: 16px; 
    height: 16px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .flex-row { flex-direction: column; }
    .site-footer { flex-direction: column; text-align: center; align-items: center; gap: 1rem; }
    .nav-list { flex-wrap: wrap; gap: 1rem; }
}
