/* =========================================================
   KF MUEBLES — estilos.css (ordenado y limpio)
   ========================================================= */

/* =========================
   1) VARIABLES
========================= */
:root {
    --bg-main: #0f0f0f;
    --bg-card: #1c1c1c;
    --gold: #b5a26a;

    --text-main: #eaeaea;
    --text-muted: #bdbdbd;

    --header-bg: #111;
    --black: #000;
}

/* =========================
   2) RESET + BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    line-height: 1.6;
    background: var(--bg-main);
    color: var(--text-main);
}

a {
    color: inherit;
}

/* =========================
   3) LAYOUT HELPERS
========================= */
section {
    padding: 60px 20px;
}

.contenedor {
    max-width: 1200px;
    margin: auto;
}

section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

section .copete {
    text-align: center;
    font-style: italic;
    color: #bbbbbb;
    margin-bottom: 30px;
    font-size: 18px;
}

/* =========================
   4) HEADER / NAV
========================= */
header {
    background-color: var(--header-bg);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

header h1 a {
    text-decoration: none;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}

nav.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav.menu ul li a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
}

nav.menu ul li a:hover {
    color: #d6b36a;
    transform: translateY(-1px);
}

/* =========================
   5) BANNER
========================= */
#banner {
    position: relative;
    background: url("imagenn1.jpeg") no-repeat center center;
    background-size: cover;
    height: 440px;
    display: flex;
    align-items: center;
}

#banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9));
}

#banner .contenedor {
    position: relative;
    text-align: center;
    padding: 70px 48px;
    z-index: 1;
}

#banner h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

#banner .copete {
    color: #f5f5f5;
    font-size: 20px;
}

/* =========================
   6) QUIÉNES SOMOS
========================= */
#quienes .contenido {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

#quienes p {
    color: #fff;
    margin-bottom: 10px;
}

/* Bloque editorial (about) */
.about {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about h2 {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
}

.about-highlight {
    font-size: 20px;
    font-style: italic;
    color: #cfcfcf;
}

.about p {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
}

/* =========================
   7) SERVICIOS / ICONOS
========================= */
#servicios ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

#servicios ul li {
    background: #111;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#servicios ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

#servicios ul li img {
    max-width: 80px;
    margin-bottom: 15px;
}

section ul li h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
}

#servicios ul li p {
    color: #cccccc;
    font-size: 15px;
}

/* =========================
   8) CARRUSEL (estructura base)
   (por si lo usás en algún lado)
========================= */
.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-top: 10px;
}

.carousel-track {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    transition: transform 0.6s ease-in-out;
}

.carousel-track li {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

/* FULL WIDTH carruseles (cocinas / vestidores / baños) */
/* =================================
   CARRUSELES – ANCHO UNIFICADO
================================= */

.carousel,
.carousel-pro {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track li img,
.carousel-pro-slide img {
    width: 100%;
    object-fit: cover;
    display: block;
}


#cocinas .carousel-track li img,
#vestidores .carousel-track li img,
#baños .carousel-track li img {
    width: 100%;
    max-width: none;
    height: clamp(280px, 48vw, 560px);
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

/* =========================
   9) FORMULARIO
========================= */
.formulario {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: #bdbdbd;
}

.formulario input,
.formulario textarea {
    background: #0e0e0e;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    color: #fff;
}

.formulario textarea {
    resize: none;
    min-height: 140px;
}

.formulario button {
    align-self: center;
    margin-top: 32px;
    margin-bottom: 24px;
    /* aire grande */
    padding: 14px 36px;
    border-radius: 999px;
    border: none;
    background: #d6b36a;
    font-weight: 600;
    cursor: pointer;
}

/* =========================
   10) FOOTER
========================= */
.footer {
    width: 100%;
    background: #000;
    padding: 28px 0;
    /* más compacto y premium */
    border-top: 1px solid #1f1f1f;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer p {
    font-size: 14px;
    color: #9a9a9a;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.04);
    /* cajita sutil */
    border: 1px solid rgba(181, 162, 106, 0.12);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(181, 162, 106, 0.35);
}

.footer-social img {
    max-width: 18px;
    max-height: 18px;
    object-fit: contain;
    opacity: .9;
}


/* =========================
   11) CARRUSEL PRO (flechas + puntitos)
========================= */
.carousel-pro {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-pro-inner {
    width: 100%;
}

.carousel-pro-slide {
    opacity: 0;
    display: none;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-pro-slide.active {
    opacity: 1;
    display: block;
    transform: scale(1);
}

.carousel-pro-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Flechas */
.carousel-pro-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-pro-btn.prev {
    left: 12px;
}

.carousel-pro-btn.next {
    right: 12px;
}

.carousel-pro-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

/* Puntitos */
.carousel-pro-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 6;
}

.carousel-pro-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(214, 179, 106, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-pro-dots button.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* =========================
   12) PROVEEDORES
========================= */

/* Tarjeta (link) */
.proveedor-card {
    display: block;
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    text-align: center;
    border: 1px solid rgba(181, 162, 106, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none !important;
}

.proveedor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
    border-color: var(--gold);
}

.proveedor-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none !important;
}

/* Agradecimiento */
.agradecimiento {
    text-align: center;
    margin-top: 50px;
    font-size: 18px;
    color: #dededecf;
    font-style: italic;
}

/* Logos proveedores (mantenemos tus tamaños) */
.proveedor-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    display: flex;
    margin: 0 auto 15px auto;
    filter: brightness(1);
}

.faplac {
    width: 250px;
    height: 150px;
    object-fit: contain;
    display: flex;
    margin: 0 auto 15px auto;
    filter: brightness(1);
}

.mipileta,
.enchapadorasanjuan,
.unihopperargentina,
.deestefano {
    width: 200px;
    height: 150px;
    object-fit: contain;
    display: flex;
    margin: 0 auto 15px auto;
    filter: brightness(1);
}

/* =========================
   13) CONTACTOS GRID (base)
   (si la usás para otra cosa)
========================= */
.contactos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* (Opcional) card genérica si un día la usás */
.contacto-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid rgba(181, 162, 106, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    text-decoration: none;
    display: block;
}

.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.58);
    border-color: var(--gold);
}

.contacto-card p {
    color: #ffffffb3;
}

/* ===============================
   14) PROVEEDORES: 3 ARRIBA / 3 ABAJO (DESKTOP)
=============================== */
#contactos .contactos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* 3 columnas */
    gap: 32px;
    margin-top: 32px;
}


/* =========================
   15) RESPONSIVE (al final)
========================= */
@media (max-width: 900px) {
    #contactos .contactos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    #contactos .contactos-grid>a.proveedor-card {
        grid-column: auto !important;
    }
}

@media (max-width: 768px) {
    .carousel-pro-slide img {
        height: 260px;
    }

    .carousel-pro-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    #contactos .contactos-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================
   PROVEEDORES – ALTURA UNIFORME (PRO)
===================================== */

/* Hacemos que todas las cards se estiren igual */
#contactos .contactos-grid>a.proveedor-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* El logo arriba */
#contactos .proveedor-card img {
    margin-bottom: 20px;
}

/* El texto se empuja hacia abajo */
#contactos .proveedor-card p {
    margin-top: auto;
}

/* =========================
   BOTÓN PRINCIPAL – ESTILO DORADO
========================= */

.boton-enviar,
button[type="submit"] {
    background: transparent;
    color: #d4b97a;
    /* dorado */
    border: 1px solid #d4b97a;
    padding: 14px 36px;
    border-radius: 999px;
    /* bien redondo */
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover */
.boton-enviar:hover,
button[type="submit"]:hover {
    background: #d4b97a;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 185, 122, 0.35);
    transform: translateY(-2px);
}


/* =========================================
   RESPONSIVE GLOBAL (KF MUEBLES)
   Pegar al final del CSS
========================================= */

/* 1) Ajuste general tablet/móvil */
@media (max-width: 900px) {
    .contenedor {
        width: 100%;
        padding: 0 18px;
    }

    section {
        padding: 50px 16px;
    }

    /* Titulares */
    section h2 {
        font-size: 26px;
    }

    section .copete {
        font-size: 16px;
    }

    /* Header: que no explote el menú */
    header .contenedor {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    nav.menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    nav.menu ul li a {
        font-size: 15px;
    }

    /* Carrusel pro: más compacto */
    .carousel-pro {
        max-width: 100%;
        border-radius: 14px;
    }

    .carousel-pro-slide img {
        height: 300px;
    }

    /* Servicios: 2 columnas */
    #servicios ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 2) Móvil */
@media (max-width: 520px) {

    /* Tipografías + aire */
    section {
        padding: 44px 14px;
    }

    #banner {
        height: 360px;
    }

    #banner h2 {
        font-size: 28px;
    }

    #banner .copete {
        font-size: 16px;
    }

    section h2 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    /* Menú: apilado y cómodo */
    nav.menu ul {
        gap: 10px 14px;
    }

    /* Servicios: 1 columna */
    #servicios ul {
        grid-template-columns: 1fr;
    }

    /* Proveedores: que no quede 3/2 en móvil */
    #contactos .contactos-grid {
        grid-template-columns: 1fr !important;
    }

    /* Cards: más compactas */
    .proveedor-card,
    .contacto-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    /* Formulario: ancho completo */
    .formulario {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .formulario button {
        width: 100%;
        max-width: 320px;
    }

    /* Footer: en columna */
    .footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Carrusel pro: aún más bajito */
    .carousel-pro-slide img {
        height: 240px;
    }
}

@media (max-width: 600px) {

    /* QUE HACEMOS */
    .que-hacemos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* PROVEEDORES */
    .proveedores-grid,
    #contactos .contactos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Ajuste de texto dentro de cards */
    .proveedor-card p,
    .card p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* MOBILE: en "Qué hacemos" queremos 2 columnas */
@media (max-width: 520px) {
    #servicios ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}

/* En celulares MUY chicos, recién ahí 1 columna */
@media (max-width: 360px) {
    #servicios ul {
        grid-template-columns: 1fr !important;
    }
}