/* ------------------ SOBRE SALVADIS --------------- */
/* Hero Small Section */ .hero-small {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: left;
    margin-top: 0px;
    padding-bottom: 20px;
    z-index: 1;

}

.img-hero-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

}

.hero-small .overlay-small-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;

}

.hero-small-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    max-width: var(--site-max-width);
    padding: 0 var(--site-gutter);
    margin: 0 auto;
    z-index: 2;
    color: white;
    text-align: left;

}

.hero-small h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;

}

.breadcrumbs {
    max-width: var(--site-max-width);
    margin: 0 auto;
    /* Centra horizontalmente */
    font-size: 0.875rem;
    padding: 20px 20px;
    margin-top: 10px;

}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;

}

.breadcrumbs a {
    text-decoration: none;
    color: #303030;

}

.breadcrumbs a:hover {
    color: #E8A844;

}

.breadcrumbs li::after {
    content: ">";
    margin: 0 8px;
    color: #ccc;

}

.breadcrumbs li:last-child::after {
    content: "";

}

.stats-list-section-about {
    background-color: #fff !important;
    color: #303030 !important;

}

.stats-list-section-about p {
    color: #303030 !important;
    font-size: 1rem;

}

.stats-list-section-about h2 {
    color: #303030 !important;

}

.stats-list-left-about {
    padding-right: 20px;
    margin-left: 0;

}

.stats-list-right-about {
    padding-left: 20px;

}

.stats-list-left-about, .stats-list-right-about {
    flex: 1 1 50%;
    min-width: 300px;
    /* Permite que rompa antes */
    word-wrap: break-word;
    overflow-wrap: break-word;

}

.stats-list-right-about img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-left: auto;
    margin-right: 0;

}

.mvv {
    flex: 1 1 calc(33.333% - 30px);
    position: relative;
    padding: 30px 20px;
    border-radius: 8px;
    overflow: hidden;
    color: white !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    background-color: #fff;

}

.mvv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;

}

.mvv p , .mvv li p {
    color: #242424;

}

.mvv h4 {
    font-size: 2rem;

}


/* ====== Soluciones (cards blancas): unificar tamaño de iconos <img> e <i> ====== */
#cards-section-white .cards-grid-white .mvv {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cards-section-white .cards-grid-white .mvv > span,
#cards-section-white .cards-grid-white .mvv > i {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;

}

#cards-section-white .cards-grid-white .mvv img {
    width: 52px;
    height: 52px;

    object-fit: contain;
    object-position: center;
    display: block;
}

#cards-section-white .cards-grid-white .mvv i.material-symbols-outlined {

    font-size: 52px;

    line-height: 1;
    margin: 0;
}


.confian img {
    width: 15%;

}

#cta-sobre-salvadis {
    position: relative;
    background-image: url('../images/cta-sobre-salvadis.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

/* ------------------ SISTEMA DE TRABAJO --------------- */
#texto-seo > .container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 30px;

}

#texto-seo p {
    color: #242424;
    text-align: center;

}

.timeline {
    position: relative;
    margin: 3rem 0;
    padding-left: 2rem;

}

.timeline::before {
    /* l�nea */
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #E8A844;
    transform: translateX(-50%);

}

.timeline-item {
    position: relative;
    width: 40%;
    padding: 1.5rem 2rem;
    box-sizing: border-box;

}

.timeline-item.left {
    left: 10%;
    text-align: left;

}

.timeline-item.right {
    left: 47.2%;
    text-align: left;

}

.timeline-content {
    background-color: #ffc986;
    padding: 1rem;
    border-radius: 8px;
    position: relative;
    text-align: left;
    z-index: 2;

}

.title-timeline {
    color: #242424;
    text-align: center;
    margin-top: 80px;

}

.timeline h3 {
    color: #242424;
    text-align: left;
    margin-bottom: 8px;

}

.timeline h3 + p {
    margin-top: 0 !important;

}

.timeline p {
    text-align: left;
    margin-top: 0;

}

/* Picos tipo "speech bubble" apuntando al eje/punto */
.timeline-item.left .timeline-content::after, .timeline-item.right .timeline-content::after {
    content: "";
    position: absolute;
    top: 6px;
    /* alineado con el centro del punto del eje */
    width: 8px;
    height: 12px;
    background: #ffc986;
    z-index: 1;

}

.timeline-item.left .timeline-content::after {
    right: -8px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);

}

.timeline-item.right .timeline-content::after {
    left: -8px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);

}

/* Puntos en la l�nea */
.timeline-item::after {
    content: "";
    position: absolute;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #303030;
    border-radius: 50%;
    z-index: 4;

}

.timeline-item.left::after {
    right: 8px;

}

.timeline-item.right::after {
    left: 8px;

}

#cta-system-work {
    position: relative;
    background-image: url('../images/cta-system-work.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

/* ------------------ PROCESO DE COLABORACI�N --------------- */
/* Fases Proceso */ .process-section {
    background-color: #ffff;
    padding: 0px 20px 60px 20px;

}

.process-section .container {
    max-width: 900px;
    margin: 0 auto;

}

.process-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #303030;

}

.process-list {
    counter-reset: process-counter;
    /* Reinicia contador */
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 760px;

}

.process-list li {
    counter-increment: process-counter;
    position: relative;
    background: #fff;
    margin-bottom: 26px;
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    align-items: start;

}

/* N�meros estilizados */
.process-list li::before {
    content: counter(process-counter);
    position: static;
    width: 40px;
    height: 40px;
    background: #E8A844;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    grid-column: 1;
    grid-row: 1;
    margin-top: -2px;

}

.process-list li::after {
    content: "";
    position: absolute;
    left: 40px;
    top: 56px;
    bottom: -14px;
    width: 2px;
    background: #f0d7a7;

}

.process-list li:last-child::after {
    content: none;

}

.process-list h3 {
    margin: 0 0 4px;
    font-size: 1.3rem;
    color: #303030;
    text-transform:none !important;

}

.process-list h3, .process-list p {
    grid-column: 2;

}

.process-list h3 + p {
    margin-top: 0 !important;

}

.process-list p {
    margin: 0;
    font-size: 1rem;
    color: #303030;

}

.process-list h3 + p {
    margin-top: 0 !important;

}

/* Proceso de Colaboraci�n */
#cards-section-orange {
    background-color: #ffedd9;

}

#cards-section-orange h2 {
    color: #303030;

}

#cards-section-orange h4 {
    font-size: 1.2rem;

}

#cards-section-orange img {
    width: 50px;

}

.ventaja-proceso {
    flex: 1 1 calc(22.222% - 10px);
    position: relative;
    padding: 30px 20px 0px;
    border-radius: 12px;
    overflow: hidden;
    color: #ffc986 !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    background-color: #ffedd9;

}

.ventaja-proceso::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;

}

.ventaja-proceso:hover {
    transform: translateY(-5px);

}

.ventaja-proceso p , .mvv li p {
    color: #242424;

}

.ventaja-proceso h4 {
    font-size: 3rem;

}

.ventaja-proceso span {
    display: inline-block;

}

/* --------------------------- SERVICIOS ----------------------------- */
.servicios-portafolio h2 {
    color: #303030;
    text-align: center;
    padding-bottom: 20px;

}

.galeria-port {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: var(--site-max-width);
    margin: 0 auto;
    margin-top: -40px;

}

.imagen-port {
    flex: 0 0 calc(33.333% - 20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;

}

.imagen-port img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .6s ease;

}

/* Overlay base */
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* 🔥 clave */
    padding: 18px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 60%);
    color: #fff;

}

/* T�tulo siempre arriba */
.title-card {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.15;

}

/* Hover overlay completo */
.hover-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: all .4s ease;

}

.card-overlay:hover {
    text-decoration: none;

}

.card-overlay h3, .card-overlay p {
    color: #fff;
    text-decoration: none;

}

/* Hover efecto */
.imagen-port:hover img {
    transform: scale(1.05);

}

.imagen-port:hover .card-overlay {
    background: rgba(232,168,68,0.95);

}

.imagen-port:hover .hover-content {
    opacity: 1;
    transform: translateY(0);

}

.p-card:hover {
    margin-left: 5px;
    transition: all .4s ease;
    color: #303030;

}

.stats-list-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

}

.stats-list-section-black {
    background-color: #303030 !important;
    color: #fff !important;

}

.stats-list-section-black p {
    color: #fff !important;

}

.stats-list-section-black h2 {
    color: #E8A844 !important;

}

.stats-list-section-white {
    background-color: #fff !important;
    color: #303030 !important;

}

.stats-list-section-white p {
    color: #303030 !important;
    font-size: 1rem !important;

}

.stats-list-section-white h2 {
    color: #303030 !important;

}

.stats-list-left-white {
    flex: 1 1 50%;
    padding-left: 20px;
    min-width: 300px;
    word-wrap: break-word;
    overflow-wrap: break-word;

}

.stats-list-right-white {
    flex: 1 1 50%;
    text-align: center;
    padding-right: 20px;
    margin-left: 0;
    min-width: 300px;
    word-wrap: break-word;
    overflow-wrap: break-word;

}

.stats-list-left, .stats-list-right {
    flex: 1 1 50%;
    min-width: 300px;
    /* Permite que rompa antes */
    word-wrap: break-word;
    overflow-wrap: break-word;

}

.stats-list-right > img, .stats-list-right-white > img {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin-left: 0;
    margin-right: auto;

}

.stats-list-section--no-square .stats-list-right > img {
    max-width: none;
    aspect-ratio: auto;
    object-fit: contain;
    height: auto;

}

#cta-servicios {
    position: relative;
    background-image: url('../images/almacenes/industrial-logistics-coordination.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

/* --------------------------- ALMACENES ----------------------------- */
.text-slider-section {
    background-color: #fff;
    padding: 80px 60px;

}

.text-slider-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: var(--site-max-width);
    margin: 0 auto;
    gap: 40px;

}

/* Columna izquierda */
.text-column {
    flex: 1 1 45%;
    color: #303030;

}

.text-column h3 {
    color: #E8A844;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;

}

.text-column h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #303030;

}

.text-column p {
    font-size: 1rem;
    line-height: 1.7;

}

/* Columna derecha - Slider */
.slider-column {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;

}

.text-slider-section-almacenamiento .slider-column {
    width: min(100%, 560px);
    max-width: 560px;
    flex: 0 1 560px;
    margin-left: auto;
    margin-right: 0;
}

.text-slider-section-almacenamiento {
    padding-left: 80px !important;
    padding-right: 80px !important;
}

.text-slider-section-almacenamiento .text-slider-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;

}

.slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;

}

.slides img {
    width: 100%;
    flex-shrink: 0;

}



/* Flechas */
.slider > .button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    width: 5%;
    transition: transform 0.2s ease;

}

.prev {
    left: 15px;

}

.next {
    right: 15px;

}

.prev:hover {
    transform: translateY(-50%) translateX(-6px);

}

.next:hover {
    transform: translateY(-50%) translateX(6px);

}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;

}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.75);
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;

}

.slider-dot:hover {
    background: #ffffff;
    opacity: 1;

}

.slider-dot.is-active {
    background: #ffffff;
    transform: scale(1.35);

}

.stats-list-section-orange {
    background-color: #ffedd9 !important;
    color: #303030 !important;

}

.stats-list-section-orange p {
    color: #303030 !important;
    font-size: 1rem !important;

}

.stats-list-section-orange h2 {
    color: #303030 !important;

}

/* Ventajas */
.cards-grid .ventaja-logistica img {
    width: 50px;

}

.ventaja-logistica {
    flex: 1 1 calc(22.222% - 10px);
    position: relative;
    padding: 30px 20px 0px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    background-color: #fff;

}

.ventaja-logistica::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background 0.3s ease;

}

.ventaja-logistica:hover {
    transform: translateY(-5px);

}

.ventaja-logistica p , .mvv li p {
    color: #242424;

}

.ventaja-logistica h4 {
    font-size: 3rem;

}

.ventaja-logistica span {
    display: inline-block;

}

/* --------------------------- INDUSTRIAS ----------------------------- */
.industrias-section {
    padding: 60px 20px;
    background: #fff;

}

.industrias-section h2 {
    color: #303030;
    text-align: center;
    padding-bottom: 30px;

}

.industrias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    /* 🔥 centra las 5 */
    max-width: var(--site-max-width);
    margin: 0 auto;

}

.industria-card {
    flex: 0 0 calc(33.333% - 30px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;

}

.industria-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

}

/* Imagen arriba */
.industria-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0px !important;

}

/* Parte inferior */
.industria-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.industria-content h3 {
    font-size: 1.3rem;
    margin-bottom: -12px;
    line-height: 1.2;
    color: #303030;

}

.industria-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555;

}

.btn-industria {
    text-decoration: none;
    font-weight: 600;
    color: #E8A844;
    transition: all .3s ease;

}

.btn-industria:hover {
    color: #303030;
    margin-left: 5px;
    transition: all .4s ease;
    text-decoration: none;

}

#ind-black h2 {
    color: white !important;

}

#cta-industrias {
    position: relative;
    background-image: url('../images/industria/industria-cta.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

/* --------------------------- ESG ----------------------------- */
.seo-section {
    padding: 80px 20px;
    background-color: #fff;

}

.seo-grid {
    display: flex;
    gap: 60px;
    max-width: var(--site-max-width);
    margin: 0 auto;
    align-items: flex-start;

}

/* Columna izquierda (m�s protagonista) */
.seo-left {
    flex: 1 1 50%;

}

.seo-left p {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 500;
    color: #303030;
    text-align: left;

}

/* Columna derecha (m�s t�cnica / secundaria) */
.seo-right {
    flex: 1 1 50%;

}

.seo-left p, .seo-right p {
    text-align: left !important;

}

.seo-right p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;

}

.tech-doc-section {
    padding: 80px 20px;
    background-color: #303030;

}

.tech-doc-header {
    text-align: center;
    margin-bottom: 40px;

}

.tech-doc-header h2 {
    margin-top: 8px;

}

.tech-doc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;

}

.tech-doc-card {
    flex: 1 1 calc(33.333% - 24px);
    background-color: #ffffff;
    border-radius: 12px;
    border-top: 4px solid #E8A844;
    padding: 30px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;

}

.tech-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);

}

.tech-doc-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;

}

.tech-doc-card h4 {
    font-family: 'Poppins', sans-serif;
    color: #303030;
    font-size: 1.25rem;
    margin: 0 0 10px;

}

.tech-doc-card p {
    color: #303030;
    line-height: 1.65;
    margin: 0;

}

.cards-section-transparent {
    background-color: #fff;
    padding: 60px 20px;

}

.cards-section-transparent h2 {
    font-size: 2rem;
    color: #303030;
    text-align: center;

}

.cards-section-transparent h3 {
    text-align: center;

}

.cards-grid-esg {
    display: flex;
    justify-content: center;
    /* Centra las cards horizontalmente */
    align-items: flex-start;
    /* Alinea la parte superior de cada card */
    gap: 30px;
    /* Espacio entre cards */
    flex-wrap: wrap;
    /* Permite que bajen en pantallas peque�as */
    text-align: left;
    /* Mantiene el texto alineado a la izquierda dentro */
}

.esg {
    flex: 1 1 calc(33.333% - 30px);
    position: relative;
    padding: 30px 20px;
    border-radius: 12px;
    overflow: hidden;
    color: #303030 !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    background-color: #fff;

}

.esg li {
    color: #242424;

}

.esg h4 {
    font-size: 2rem;
    margin-top: 0;

}

.esg > img {
    display: block;
    width: 30%;
    max-width: 108px;
    height: 108px;
    object-fit: contain;
    margin: 0 -10px 12px;

}

.checklist-cards {
    list-style: none;
    padding: 0;
    margin-top: 30px;

}

.checklist-cards li {
    display: flex;
    align-items: flex-start;
    /* alinea el icono con la primera l�nea del texto */
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
    /* mejora legibilidad */
}

.checklist-cards img {
    width: 22px;
    /* Ajusta el tama�o seg�n tu dise�o */
    height: 22px;
    /* Asegura proporci�n cuadrada */
    margin-top: 0.2em;
    margin-right: 8px;
    /* Reduce el espacio entre el icono y el texto */
    display: block;
    align-self: flex-start;
    flex: 0 0 22px;

}

.esg strong {
    display: inline;
    font-weight: 600;
    padding: 0;
    margin: 0;

}

#cta-esg {
    position: relative;
    background-image: url('../images/cta-esg.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

/* --------------------------- CONTACT ----------------------------- */
.stats-section-contact {
    background-color: #fff;
    padding: 60px 20px;
    display: flex;
    align-items: flex-start !important;
    /* Alinea la primera columna arriba */
    justify-content: center;
    gap: 10px;
    /* Reduce la distancia entre las columnas */
}

.stats-title-contact {
    flex: 1;
    margin-right: 0;
    text-align: left;

}

.stats-title-contact h2 {
    font-size: 2.5rem;
    color: #303030;
    font-weight: 600;
    text-align: left;
    padding-right: 50px;

}

.stats-title-contact h2 em {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #E8A844;
    /* Color del texto en cursiva */
}

.stats-content-contact {
    flex: 2;
    text-align: left;

}

.stats-content-contact h3 {
    color: #303030;

}

.stats-content-contact p {
    margin-top: 10px;
    color: #303030;
    font-size: 1rem;

}

.stats-content-contact li {
    color: #303030;
    font-size: 0.9rem;

}

/* ======== SECCI�N CONTACTO GENERAL ======== */
#contacto {
    background-color: #fff;
    color: #303030;
    padding: 60px 20px;

}

.contacto-header {
    text-align: center;
    margin-bottom: 50px;

}

.contacto-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #303030;

}

.contacto-header h3 {
    font-size: 1rem;
    font-weight: normal;
    color: #E8A844;

}

/* === CONTENEDOR PRINCIPAL === */
.contacto-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: var(--site-max-width);
    margin: 0 auto;
    align-items: flex-start;

}

/* === COLUMNA IZQUIERDA === */
.contacto-info {
    flex: 1 1 50%;

}

.direccion {
    margin-bottom: 30px;

}

.direccion h4 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #E8A844;
    margin-bottom: 10px;

}

.direccion p {
    font-size: 1rem;
    color: #303030;

}

.icono-contacto {
    width: 20px;
    margin-right: 10px;
    vertical-align: middle;

}

.direccion-line {
    display: flex;
    align-items: flex-start;
    /* icono alineado arriba */
    gap: 10px;
    margin-left: 15px;

}

.direccion-line span {
    display: block;

}

/* === GRID DE CONTACTOS === */
.contacto-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;

}

.contacto-item {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #fff;
    padding: 20px;
    text-align: left;

}

.contacto-item h4 {
    font-size: 1.1rem;
    color: #E8A844;
    margin-bottom: 10px;

}

.contacto-item p {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    margin: 5px 0;

}

.contacto-item a {
    color: #303030;
    text-decoration: none;

}

.contacto-item a:hover {
    color: #E8A844;

}

/* === COLUMNA DERECHA === */
.contacto-mapa {
    position: relative;
    flex: 1 1 50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    line-height: 0;
    min-height: 400px;

}

.contacto-mapa iframe {
    display: block;
    /* 🔹 evita el espacio blanco inferior */
    width: 100%;
    height: 400px;
    border: 0;

}

#cta-contact {
    position: relative;
    background-image: url('../images/oficinas-muestras.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;

}

/* ----------------------------- FAQ SECTION ---------------------------- */
.faq-section {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fff;

}

.faq-container {
    max-width: var(--site-max-width);
    margin: 0 auto;

}

.faq-header {
    text-align: center;

}

.faq-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #303030;

}

.faq-header h3 {
    font-size: 1rem;
    font-weight: normal;
    color: #E8A844;

}

.faq-container h4 {
    font-size: 1rem;
    margin-top: 50px;
    margin-bottom: 10px;
    color: #303030;

}

.faq-heading {
    margin: 0;
    /* 🔹 elimina el margen autom�tico del h3 */
}

/* ======== ACORDE�N ======== */
.faq-item {
    border-bottom: 1px solid #ddd;

}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #303030;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;

}

.faq-question:hover {
    color: #E8A844;

}

.faq-icon {
    font-size: 1.5rem;
    color: #E8A844;
    transition: transform 0.3s ease;

}

/* Respuesta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;

}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;

}

.faq-answer a {
    color: #E8A844;

}

/* Activo */
.faq-item.active .faq-answer {
    max-height: 300px;

}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* convierte + en X */
}

/* ---------------------------- LEGAL PAGINAS ----------------------- */
.legal-section {
    background-color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
    color: #303030;

}

.legal-container {
    max-width: var(--site-max-width);
    margin: 0 auto;

}

.legal-section > .legal-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Contenido */
.legal-content {
    max-width: 900px;
    /* mejor legibilidad */
}

.legal-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #303030;

}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;

}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;

}

.legal-content li {
    margin-bottom: 8px;
    font-size: 0.95rem;

}

.legal-content a {
    color: #E8A844;

}

/* ======== TABLA COOKIES ======== */
.tabla-cookies-wrapper {
    overflow-x: auto;
    /* responsive en m�vil */
    margin-top: 20px;

}

.tabla-cookies {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;

}

/* Cabecera */
.tabla-cookies thead {
    background-color: #E8A844;
    color: #fff;

}

.tabla-cookies th {
    text-align: left;
    padding: 15px;
    font-weight: 600;

}

/* Cuerpo */
.tabla-cookies td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #555;

}

/* �ltima fila sin borde */
.tabla-cookies tbody tr:last-child td {
    border-bottom: none;

}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);

    }

100% {
    opacity: 1;
    transform: translateY(0%);

}


}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);

    }

100% {
    opacity: 1;
    -webkit-transform: translateY(0%);

}


}

