html {
    scroll-behavior: smooth;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI';
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2px 20px;
    z-index: 1000;
}

.header-container {
    background: #000000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* ===== MENÚ ===== */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline-grid;
    padding: 10px 15px;
    margin: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.4s;
}

nav ul li a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 100%;
    height: 100%;
}

nav ul li::after {
    content: '';
    background: #ffffff;
    width: 100%;
    height: 70%;
    border-radius: 30px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
}

nav ul li:hover {
    color: #E67E22;
}

nav ul li:hover::after {
    top: 50%;
    opacity: 1;
}

/* ===== SHOWCASE ===== */
.showcase {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px;
    padding-top: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    z-index: 2;
}

.showcase video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.overlay {
    position: absolute;
    inset: 0;
    background: #849ea5;
    mix-blend-mode: overlay;
}

/* ===== TEXTO HERO ===== */
.text {
    position: relative;
    z-index: 10;
}

.text h3 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    -webkit-text-stroke: 1px #000;
}

.text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    -webkit-text-stroke: 1px #000;
}

.text p {
    font-size: 1.1em;
    color: #fff;
    margin: 20px 0;
    font-weight: 700;
    max-width: 700px;
}

/* BOTÓN EXPLORAR (INTOCABLE) */
.text a {
    display: inline-block;
    font-size: 1em;
    background: #ffffff;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    color: #111;
    letter-spacing: 2px;
    transition: 0.2s;
}

.text a:hover {
    letter-spacing: 6px;
}

/* ===== SOCIAL ===== */
.social {
    position: absolute;
    bottom: 20px;
    display: flex;
    z-index: 10;
}

.social li {
    list-style: none;
}

.social li a {
    display: inline-block;
    margin-right: 20px;
    transform: scale(0.5);
    transition: 0.5s;
}

.social li a:hover {
    transform: scale(0.7) translateY(-35px);
}

/* ===== HAMBURGUESA ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.4s;
}

/* Animación */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== PALETA (SOLO SECCIONES) ===== */
:root {
    --bg-dark: #1C1C1C;
    --bg-dark-alt: #2E2E2E;
    --bg-blue: #2C3E50;
    --text-main: #FFFFFF;
    --text-muted: #D9D9D9;
    --accent-main: #F2B705;
    --accent-hover: #E67E22;
}

/* ===== SECCIONES ===== */
.section {
    padding: 100px 80px;
    scroll-margin-top: 80px;
}

#nosotros { background: var(--bg-white); color: var(--text-main); }
#productos { background: var(--bg-dark); color: var(--text-muted); }
#ficha { background: var(--bg-blue); color: var(--text-main); }
#proyectos { background: var(--bg-dark-alt); color: var(--text-main); }
#legal { background: var(--bg-dark); color: var(--text-muted); }
#contacto { background: #ffffff; color: #1C1C1C; }

.section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section p {
    font-size: 1.1em;
    max-width: 800px;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .showcase {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {

    nav ul {
        position: absolute;
        top: 50px;
        right: 0;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 15px 0;
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .showcase {
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
    }

    .text h3 {
        font-size: 2.5rem;
    }

    .text h2 {
        font-size: 1.5rem;
    }

    .text p {
        font-size: 0.95rem;
    }

    .section {
        padding: 50px 20px;
    }

    .section h2 {
        font-size: 2em;
    }
}


/* ===== NOSOTROS SLIDER ===== ******************************************/
/* SECCIÓN NOSOTROS */
.nosotros {
    background: #ffffff;
    padding: 80px 10%;
    text-align: center;
}

.nosotros-titulo {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: -70px;
    letter-spacing: 3px;
}

/* LOGO */
.nosotros-logo img {
    max-width: 300px;
    margin-bottom: 50px;
}

/* BLOQUES SUPERIORES */
.nosotros-bloques {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.nosotros-card {
    background: #111;
    color: #fff;
    padding: 40px 25px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.nosotros-card i {
    font-size: 40px;
    margin-bottom: 20px;
}

.nosotros-card h3 {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.nosotros-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.nosotros-card:hover {
    transform: translateY(-8px);
    background: #000;
}

/* ====== BARRA DE ENVÍOS (ESTILO IMAGEN) ====== */
.envios-barra {
    background: #0d0d0d;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.envio-item {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.envio-item:last-child {
    border-right: none;
}

.envio-item i {
    font-size: 40px;
    margin-bottom: 15px;
}

.envio-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.envio-item p {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nosotros-bloques {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        width: 50%;
        min-width: 50%;
        height: 420px;
    }
}

@media (max-width: 600px) {
    .nosotros-bloques {
        grid-template-columns: 1fr;
    }

    .envios-barra {
        flex-direction: column;
    }

    .envio-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .envio-item:last-child {
        border-bottom: none;
    }
}



/* Flechas */
.nosotros-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.nosotros-controls button {
    background: var(--accent-main);
    color: #111;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.nosotros-controls button:hover {
    background: var(--accent-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .nosotros-container {
        flex-direction: column;
        text-align: center;
    }

    .nosotros-img,
    .nosotros-content {
        width: 100%;
    }

    .nosotros-controls {
        justify-content: center;
    }
}

/* ===== PRODUCTOS SLIDER ===== **********************************************/
#productos {
    padding: 100px 0;
    position: relative;
}

/* TÍTULO */
#productos h2 {
    color: var(--accent-main);
    margin-bottom: 10px;
    text-align: center;
    font-size: 2.4em;
    letter-spacing: 1px;
}

/* SUBTÍTULO */
#productos .section-subtitle {
    text-align: center;
    font-size: 0.95em;
    color: #777;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   SLIDER
================================ */

.slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    will-change: transform;
}

/* ================================
   CARD PRODUCTO
================================ */

.card {
    width: 33.333%;
    min-width: 33.333%;
    height: 520px;
    perspective: 1200px;
    padding: 15px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(.25,.8,.25,1);
    transform-style: preserve-3d; 
}


.card:hover .card-inner {
    transform: rotateY(180deg);
}

/* ================================
   FRENTE
================================ */

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.card-front {
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 35px rgba(0,0,0,0.18);
    overflow: hidden;
}

.card-front {
    z-index: 2;
}

.card-back {
    z-index: 1;
}


/* OVERLAY */
.card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.1)
    );
    z-index: 1;
}

/* BADGE */
.prod-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(255,255,255,0.9);
    color: #222;
    font-size: 0.7em;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* ================================
   REVERSO
================================ */

.card-back {
    background: #ffffff;
    transform: rotateY(180deg);
    padding: 35px;
    display: flex;
    align-items: center;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}


/* TEXTO */
.card-back .prod-info h4 {
    color: #111;
    font-size: 1.35em;
    margin-bottom: 12px;
}

.card-back .prod-info p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 18px;
}

.card-back .prod-tag {
    background: rgba(0,0,0,0.08);
    color: #222;
}


/* TAG */
.prod-tag {
    display: inline-block;
    font-size: 0.7em;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(242, 183, 5, 0.18);
    color: var(--accent-main);
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* ================================
   FLECHAS
================================ */

.arrow {
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--accent-main);
    opacity: 0.7;
    transition: 0.3s;
    z-index: 10;
}

.arrow:hover {
    opacity: 1;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
    .card {
        width: 50%;
        min-width: 50%;
        height: 380px;
    }
}

@media (max-width: 600px) {
    #productos {
        padding: 50px 0;
    }

    .card {
        width: 100%;
        min-width: 100%;
        height: 300px;
    }

    #productos h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card:hover .card-inner {
        transform: none;
    }
}


/* ================================
   IMÁGENES DE PRODUCTOS
================================ */

.card-canastilla {
    background-image: url("img/CanastillaP.png");
}

.card-andamios {
    background-image: url("img/AndamioP.png");
}

.card-rejillas {
    background-image: url("img/RejillasP.png");
}

.card-pvc {
    background-image: url("img/PvcP.png");
}

.card-simex {
    background-image: url("img/SimexP.png");
}

.card-monos {
    background-image: url("img/MonosP.png");
}

.card-cuna {
    background-image: url("img/CunaP.png");
}

.card-backer {
    background-image: url("img/BackerP.png");
}

.card-dowel {
    background-image: url("img/DiamondP.png");
}

.card-anclas {
    background-image: url("img/AnclaP.png");
}
/*
.card-pisos {
    background-image: url("img/PisoP.jpg");
}
*/
.card-barra {
    background-image: url("img/BarraP.png");
}

.card-tubo {
    background-image: url("img/TuboP.png");
}

.card-tuerca {
    background-image: url("img/TuercaP.png");
}

.card-conector {
    background-image: url("img/ConectorP.png");
}

.card-sonotubo {
    background-image: url("img/SonotuboP.png");
}

.card-parrilla {
    background-image: url("img/ParrillaP.png");
}

/* ===== LEGAL ACCORDION ===== *******************************************/
.legal {
    padding: 30px 80px
}

.legal-container {
    max-width: 1000px;  
    margin: 0 auto;  
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 30px;
}


.legal-item {
    border-top: 1px solid rgba(255, 255, 255, 0.144);
}

.legal h2 {
    color: var(--accent-main);
    margin-bottom: 50px;
}


.legal-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1px 0;
    font-size: 1.0em;
    font-weight: 600;
    color: #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* SVG ICON */
.legal-icon {
    width: 18px;
    height: 18px;
    stroke: var(--accent-main);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

/* CONTENIDO */
.legal-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.legal-content p {
    font-size: 0.92em;
    line-height: 1.6;
    color: #cfcfcf;
    padding-bottom: 18px;
}

/* ACTIVO */
.legal-item.active .legal-content {
    max-height: 400px;
}

.legal-item.active .legal-icon {
    transform: rotate(45deg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .legal-container {
        grid-template-columns: 1fr;
    }
}

/* ===== FICHA TÉCNICA ===== ***********************************************/

.ficha-tecnica {
    background: var(--bg-dark);
}

.ficha-tecnica h2 {
    color: var(--accent-main);
    margin-bottom: 60px;
}

/* CARD */
.ft-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* GRID */
.ft-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* IMAGEN */
.ft-image img {
    width: 100%;
    border-radius: 14px;
}

/* TEXTO */
.ft-content h3 {
    font-size: 1.9em;
    margin-bottom: 5px;
    color: #111;
}

.ft-sub {
    color: #555;
    font-weight: 600;
    margin-bottom: 30px;
}

.ft-block {
    margin-bottom: 30px;
}

.ft-block h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #111;
}

.ft-block p,
.ft-block li {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
}

.ft-block ul {
    padding-left: 20px;
}

/* TABLAS */
.ft-table {
    margin-bottom: 50px;
}

.ft-table h4 {
    margin-bottom: 15px;
    color: #111;
}

.ft-table table {
    width: 100%;
    border-collapse: collapse;
}

.ft-table th {
    background: #1a3c6b;
    color: #fff;
    padding: 12px;
    font-size: 0.9em;
}

.ft-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9em;
    color: #444;
}

.ft-table.small table {
    max-width: 600px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .ft-card {
        padding: 35px 25px;
    }

    .ft-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}



/* ===== PROYECTOS ===== *****************************************/

.proyectos {
    background: var(--bg-dark-alt);
    color: var(--text-main);
}

.proyectos h2 {
    color: var(--accent-main);
    margin-bottom: 60px;
}

.proyectos-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* PROYECTO */
.proyecto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proyecto.reverse {
    direction: rtl;
}

.proyecto.reverse > * {
    direction: ltr;
}

/* IMAGEN */
.proyecto-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

/* TEXTO */
.proyecto-content h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.proyecto-sub {
    font-size: 0.95em;
    color: var(--accent-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.proyecto-content p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ===== ANIMACIÓN SCROLL ===== */

.proyecto.reveal,
.ft-card.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.proyecto.reveal.visible,
.ft-card.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .proyecto {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .proyecto.reverse {
        direction: ltr;
    }

    .proyecto-img img {
        height: 300px;
    }
}



/* ===== ENTREGAS ===== *******************************************/

.entregas {
    background: var(--bg-dark-alt);
    color: var(--text-main);
    padding: 80px 40px;
}

.entregas h2 {
    color: var(--accent-main);
    margin-bottom: 20px;
    text-align: center;
}

.entregas .section-subtitle {
    text-align: center;
    font-size: 0.95em;
    color: #999;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* GALERÍA */
.entregas-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay p {
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .entregas-galeria {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .entregas {
        padding: 60px 20px;
    }

    .entregas h2 {
        font-size: 2em;
    }

    .entregas-galeria {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* CONTACTO *********************************************************/
.contacto {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacto h2 {
    width: 100%;
    margin-bottom: 40px;
    font-size: 2.8rem;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: start;
  width: 100%;
}

/* IZQUIERDA */
.contacto-info {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    gap: 22px;
    min-width: 280px;
}


.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.3rem;
    color: #1C1C1C;
}


.info-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}



.info-item i {
  font-size: 1.5rem;
  color: #25D366;
}

/* DERECHA CHAT */
.contacto-chat {
  max-width: 360px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  background: #fff;
}

.chat-header {
  background: #075E54;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
}

.chat-header img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.chat-body {
  background: #ECE5DD;
  padding: 20px;
}

.chat-msg {
  background: #DCF8C6;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.95rem;
  max-width: 90%;
}

/* BOTÓN */
.chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 15px;
  font-weight: bold;
}

.chat-btn i {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
    .card {
        width: 90vw;
        min-width: 90vw;
    }
}

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

  .contacto-info {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
    .contacto {
        flex-direction: column;
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }
}






/* ===============================
   📱 MOBILE (hasta 600px)
================================ */
@media (max-width: 600px) {

  /* ===== HEADER ===== */
  header {
    padding: 5px 10px;
  }

  .header-container {
    height: 45px;
    padding: 5px 10px;
  }

  .logo {
    width: 45px;
    height: 45px;
  }

  nav ul {
    gap: 15px;
  }

  nav ul li {
    padding: 8px 10px;
    margin: 5px;
    font-size: 13px;
  }

  .menu-toggle {
    display: flex !important;
  }

  /* ===== HERO ===== */
  .showcase {
    padding: 30px 15px;
    padding-top: 70px;
    min-height: auto;
  }

  .text {
    padding: 0;
    text-align: center;
    z-index: 15;
  }

  .text h3 {
    font-size: 1.8rem;
    -webkit-text-stroke: 0.5px #000;
  }

  .text h2 {
    font-size: 1.3rem;
    -webkit-text-stroke: 0.5px #000;
  }

  .text p {
    font-size: 0.85rem;
    margin: 15px 0;
  }

  .text a {
    font-size: 0.85rem;
    padding: 8px 20px;
  }

  /* ===== NOSOTROS ===== */
  .nosotros-bloques {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .envios-barra {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .envio-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px !important;
  }

  .envio-item h4 {
    font-size: 0.85rem;
  }

  .envio-item p {
    font-size: 10px;
  }

  /* ===== PRODUCTOS ===== */
  #productos {
    padding: 50px 0;
  }

  #productos h2 {
    font-size: 1.5rem;
  }

  .card {
    width: 100%;
    min-width: 100%;
    height: 350px;
  }

  .arrow {
    display: none !important;
  }

  .slider-container {
    width: 100%;
  }

  /* ===== FICHA TÉCNICA ===== */
  .ft-card {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .ft-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .ft-content h3 {
    font-size: 1.3rem;
  }

  .ft-image img {
    width: 100%;
  }

  .ft-table {
    margin-top: 20px;
  }

  .ft-table h4 {
    font-size: 0.9rem;
  }

  .ft-table table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.75rem;
  }

  .ft-table table th,
  .ft-table table td {
    padding: 6px 8px;
  }

  /* ===== PROYECTOS ===== */
  .proyectos-container {
    gap: 40px;
  }

  .proyecto {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .proyecto.reverse {
    direction: ltr;
    grid-template-columns: 1fr;
  }

  .proyecto h3 {
    font-size: 1.3rem;
  }

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

  /* ===== ENTREGAS ===== */
  .entregas {
    padding: 50px 15px;
  }

  .entregas h2 {
    font-size: 1.5rem;
  }

  .entregas-galeria {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* ===== CONTACTO ===== */
  .contacto {
    padding: 40px 15px;
  }

  .contacto h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacto-info {
    gap: 15px;
    min-width: auto;
  }

  .info-item {
    gap: 12px;
    font-size: 0.9rem;
  }

  .info-item img {
    width: 20px;
    height: 20px;
  }

  .contacto-chat {
    width: 100%;
    max-width: 100%;
  }

  .chat-header {
    padding: 12px;
  }

  .chat-header img {
    width: 35px;
    height: 35px;
  }

  .chat-header small {
    font-size: 0.7rem;
  }

  .chat-body {
    padding: 15px;
  }

  .chat-msg {
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .chat-btn {
    padding: 12px;
    font-size: 0.9rem;
  }

  /* ===== LEGAL ===== */
  .legal-container {
    grid-template-columns: 1fr;
  }

  .legal-header {
    font-size: 0.95rem;
    padding: 12px;
  }

  .legal-content {
    padding: 15px;
    font-size: 0.85rem;
  }

  /* ===== SOCIAL ===== */
  .social {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .social li a {
    margin-right: 10px;
    transform: scale(0.4);
  }

}



/* ===============================
   📱 TABLET (601px a 900px)
================================ */
@media (max-width: 900px) {

  .showcase {
    padding: 50px 30px;
  }

  .text h3 {
    font-size: 3rem;
  }

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

  .text p {
    font-size: 0.95rem;
  }

  .nosotros-bloques {
    grid-template-columns: repeat(2, 1fr);
  }

  .envios-barra {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .proyecto.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .contacto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .card {
    width: 50%;
    min-width: 50%;
    height: 400px;
  }

}



/* ===============================
   💻 LAPTOP (901px a 1200px)
================================ */
@media (max-width: 1200px) {

  .contacto {
    padding: 60px 30px;
  }

  .contacto h2 {
    font-size: 2.2rem;
  }

  .contacto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    width: 33.33%;
    min-width: 33.33%;
    height: 450px;
  }

  .ft-container {
    gap: 30px;
  }

}



