/* =========================================================
   MUEBLES MV — CATÁLOGO DIGITAL
   estilos.css
   Versión editorial / elegante
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --negro: #171717;
    --negro-suave: #222222;

    --gris-oscuro: #3f3f3f;
    --gris: #707070;
    --gris-medio: #a5a5a5;
    --gris-claro: #e7e5e1;

    --fondo: #f5f4f1;
    --blanco: #ffffff;

    --acento: #a46f45;

    --max-width: 1280px;

    --radio: 3px;

    --fuente-principal: "Inter", Arial, sans-serif;
    --fuente-titulo: "Inter Tight", Arial, sans-serif;
	font-family: 'Raleway', 'Inter', Arial, sans-serif;

    --transicion: 0.25s ease;
	
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-principal);
    color: var(--negro);
    background: var(--fondo);

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   CONTENEDORES
   ========================================================= */

.container,
.header-container,
.footer-container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header,
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--gris-claro);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container,
.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ---------- LOGO ---------- */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 190px;
    height: auto;
}


/* ---------- NAVEGACIÓN ---------- */

.nav,
.main-nav {
    display: flex;
    align-items: center;

    gap: 30px;
}

.nav a,
.main-nav a {
    position: relative;

    font-size: 0.82rem;
    font-weight: 500;

    color: var(--gris-oscuro);

    transition:
        color var(--transicion),
        opacity var(--transicion);
}

.nav a::after,
.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 100%;
    height: 1px;

    background: var(--negro);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform var(--transicion);
}

.nav a:hover,
.main-nav a:hover {
    color: var(--negro);
}

.nav a:hover::after,
.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* ---------- MI SELECCIÓN ---------- */

.selection-link {
    font-weight: 600 !important;
}

#selection-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    margin-left: 4px;

    padding: 0 5px;

    border-radius: 50%;

    background: var(--negro);
    color: var(--blanco);

    font-size: 0.65rem;
    line-height: 1;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.66),
            rgba(0, 0, 0, 0.30)
        ),
        url("../IMG/index_img.png") center / cover no-repeat;

    color: var(--blanco);
}

.hero-content {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    padding: 115px 0;

    position: relative;
    z-index: 2;
}

.hero-content > * {
    max-width: 760px;
}


/* ---------- HERO EYEBROW ---------- */

.hero .eyebrow {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.82);
}


/* ---------- HERO TÍTULO ---------- */

.hero h1 {
    max-width: 760px;

    font-family: var(--fuente-titulo);

    font-size: clamp(3.2rem, 6vw, 5.7rem);

    line-height: 0.94;

    font-weight: 650;

    letter-spacing: -0.045em;

    margin-bottom: 30px;
}


/* ---------- HERO TEXTO ---------- */

.hero-text,
.hero p:not(.eyebrow) {
    max-width: 580px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 1.03rem;

    line-height: 1.7;

    margin-bottom: 38px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow {
    font-size: 0.68rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    color: var(--gris);

    margin-bottom: 14px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.hero-buttons,
.button-group {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.button,
.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid transparent;
    border-radius: var(--radio);

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.01em;

    cursor: pointer;

    transition:
        background var(--transicion),
        color var(--transicion),
        border-color var(--transicion),
        transform var(--transicion);
}

.button:hover,
.btn:hover {
    transform: translateY(-2px);
}


/* ---------- BOTÓN PRINCIPAL ---------- */

.button-primary,
.btn-primary {
    background: var(--blanco);
    color: var(--negro);
}

.button-primary:hover,
.btn-primary:hover {
    background: #eeeeeb;
}


/* ---------- BOTÓN SECUNDARIO ---------- */

.button-secondary {
    background: transparent;

    color: var(--blanco);

    border-color: rgba(255, 255, 255, 0.65);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.10);

    border-color: var(--blanco);
}


/* ---------- BOTÓN OSCURO ---------- */

.btn-dark {
    background: var(--negro);
    color: var(--blanco);
}

.btn-dark:hover {
    background: var(--negro-suave);
}


/* ---------- BOTÓN OUTLINE ---------- */

.btn-outline {
    background: transparent;

    color: var(--negro);

    border-color: var(--negro);
}

.btn-outline:hover {
    background: var(--negro);
    color: var(--blanco);
}


/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section {
    padding: 110px 0;
}

.section-light {
    background: var(--blanco);
}


/* =========================================================
   ENCABEZADOS DE SECCIÓN
   ========================================================= */

.section-heading,
.section-header {
    margin-bottom: 48px;
}

.section-heading h2,
.section-title {
    max-width: 800px;

    font-family: var(--fuente-titulo);

    font-size: clamp(2.25rem, 4vw, 3.6rem);

    line-height: 0.98;

    font-weight: 600;

    letter-spacing: -0.035em;

    margin-bottom: 18px;
}

.section-heading > p:last-child,
.section-intro {
    max-width: 600px;

    color: var(--gris);

    font-size: 0.94rem;

    line-height: 1.7;
}


/* =========================================================
   PROYECTOS / APLICACIONES
   ========================================================= */

.projects-section {
    padding: 51px 0;
}

.projects-section > .section-heading,
.projects-section > .section-header,
.catalog-section > .section-heading,
.catalog-section > .section-header,
.projects-realized > .section-heading,
.projects-realized > .section-header {
    width: min(92%, var(--max-width));
    margin-left: auto;
    margin-right: auto;
}


/* ---------- GRID ---------- */

.project-grid {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


/* ---------- TARJETA ---------- */

.project-card {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    background: #d7d5d1;
}

.project-card-image {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;

    min-height: 330px;

    object-fit: cover;

    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.045);
}


/* ---------- VELO DE TEXTO ---------- */

.project-card::after {
    content: "";

    position: absolute;

    inset: 35% 0 0;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 0, 0, 0.78)
        );

    pointer-events: none;
}

.project-card-content {
    position: absolute;

    z-index: 2;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px 28px;

    color: var(--blanco);
}

.project-card h3 {
    font-family: var(--fuente-titulo);

    font-size: 1.55rem;

    line-height: 1;

    font-weight: 550;

    letter-spacing: -0.02em;

    margin-bottom: 8px;
}

.project-card p {
    max-width: 360px;

    font-size: 0.82rem;

    line-height: 1.55;

    color: rgba(255, 255, 255, 0.86);
}


/* =========================================================
   CATÁLOGO
   ========================================================= */

.catalog-section {
    padding: 115px 0;

    background: var(--blanco);
}


/* ---------- CATEGORÍAS ---------- */

.category-grid {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: var(--gris-claro);

    border: 1px solid var(--gris-claro);
}

.category-card {
    position: relative;

    padding: 38px 30px;

    min-height: 150px;

    background: var(--blanco);

    transition:
        background var(--transicion),
        transform var(--transicion);
}

.category-card::after {
    content: "→";

    position: absolute;

    right: 28px;
    bottom: 25px;

    color: var(--gris-medio);

    font-size: 1rem;

    transition:
        transform var(--transicion),
        color var(--transicion);
}

.category-card:hover {
    background: #f4f3ef;
}

.category-card:hover::after {
    color: var(--negro);

    transform: translateX(4px);
}

.category-card h3 {
    font-family: var(--fuente-titulo);

    font-size: 1.35rem;

    font-weight: 550;

    letter-spacing: -0.02em;
}


/* =========================================================
   PROYECTO ESPECIAL
   ========================================================= */

.custom-project {
    padding: 115px 0;

    background: var(--negro);

    color: var(--blanco);
}

.custom-project-content {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.custom-project .eyebrow {
    color: #999999;
}

.custom-project h2 {
    max-width: 720px;

    font-family: var(--fuente-titulo);

    font-size: clamp(2.5rem, 5vw, 4.6rem);

    line-height: 0.97;

    letter-spacing: -0.04em;

    font-weight: 550;

    margin-bottom: 25px;
}

.custom-project p:not(.eyebrow) {
    max-width: 590px;


    color: #c7c7c7;

    font-size: 0.98rem;

    line-height: 1.75;

    margin-bottom: 34px;
}

.custom-project .button-primary,
.custom-project .btn {
    background: var(--blanco);
    color: var(--negro);
}


/* =========================================================
   PROYECTOS REALIZADOS
   ========================================================= */

.projects-realized {
    padding: 115px 0;

    background: var(--fondo);
}

.realized-grid,
.realized-projects {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.realized-placeholder,
.realized-project {
    min-height: 300px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    padding: 25px;

    background: #ddd;

    color: var(--blanco);
}

.realized-placeholder::before,
.realized-project::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            transparent 60%
        );
}

.realized-placeholder {
    font-family: var(--fuente-titulo);

    font-size: 1.25rem;
}

.realized-project img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.realized-project:hover img {
    transform: scale(1.04);
}

.realized-project span {
    position: relative;

    z-index: 2;

    font-family: var(--fuente-titulo);

    font-size: 1.2rem;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer,
.site-footer {
    padding: 85px 0 30px;

    background: #111111;

    color: var(--blanco);
}


/* ---------- CONTENEDOR ---------- */

.footer-container {
    display: grid;

    grid-template-columns: 1.6fr 0.8fr 0.8fr;

    gap: 70px;

    padding-bottom: 55px;

    border-bottom: 1px solid #303030;
}


/* ---------- MARCA ---------- */

.footer-brand {
    max-width: 470px;
}

.footer-brand .logo {
    margin-bottom: 22px;

    color: var(--blanco);

    font-size: 1.45rem;
}

.footer-brand p {
    max-width: 410px;

    color: #a8a8a8;

    font-family: var(--fuente-titulo);

    font-size: 1.35rem;

    line-height: 1.2;

    letter-spacing: -0.02em;
}

.footer-text {
    max-width: 430px;

    color: #999;

    font-size: 0.85rem;

    line-height: 1.7;
}

/* ---------- LOGO DEL FOOTER ---------- */

.footer-brand img {
    display: block;

    width: 250px;
    height: auto;

    max-width: 100%;

    margin-bottom: 22px;
}




/* ---------- COLUMNAS ---------- */

.footer-links,
.footer-contact,
.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-links::before {
    content: "EXPLORAR";

    margin-bottom: 20px;

    color: #777;

    font-size: 0.65rem;

    font-weight: 600;

    letter-spacing: 0.15em;
}

.footer-contact::before {
    content: " ";

    margin-bottom: 20px;

    color: #777;

    font-size: 0.65rem;

    font-weight: 600;

    letter-spacing: 0.15em;
}


/* ---------- ENLACES ---------- */

.footer-links a,
.footer-column a {
    display: block;

    margin-bottom: 11px;

    color: #b5b5b5;

    font-size: 0.82rem;

    transition:
        color var(--transicion),
        transform var(--transicion);
}

.footer-links a:hover,
.footer-column a:hover {
    color: var(--blanco);

    transform: translateX(3px);
}


/* ---------- CONTACTO ---------- */

.footer-contact p {
    margin-bottom: 11px;

    color: #b5b5b5;

    font-size: 0.82rem;
}

.footer-contact a {
    color: #b5b5b5;

    font-size: 0.82rem;

    transition: color var(--transicion);
}

.footer-contact a:hover {
    color: var(--blanco);
}


/* ---------- FOOTER BOTTOM ---------- */

.footer-bottom {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding-top: 25px;

    color: #666;

    font-size: 0.68rem;

    letter-spacing: 0.02em;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.product-card {
    background: var(--blanco);

    border: 1px solid var(--gris-claro);

    overflow: hidden;

    transition:
        transform var(--transicion),
        border-color var(--transicion);
}

.product-card:hover {
    transform: translateY(-3px);

    border-color: #d2d0cc;
}

.product-card-image {
    position: relative;

    aspect-ratio: 4 / 3;

    background: #eeeeee;

    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.035);
}

.product-card-content {
    padding: 22px;
}

.product-card-category {
    display: block;

    margin-bottom: 7px;

    color: var(--gris);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.product-card h3 {
    font-family: var(--fuente-titulo);

    font-size: 1.35rem;

    font-weight: 550;

    letter-spacing: -0.02em;

    margin-bottom: 10px;
}

.product-card p {
    color: var(--gris);

    font-size: 0.86rem;

    margin-bottom: 18px;
}

.product-card-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 15px;

    border-top: 1px solid var(--gris-claro);
}

.product-minimum {
    font-size: 0.72rem;

    color: var(--gris);
}



/* =========================================================
   CATALOG TOOLBAR
   ========================================================= */

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;

    margin: 0 auto 55px;
}


/* =========================================================
   BLOQUES
   ========================================================= */

.catalog-search,
.catalog-category {
    padding: 26px 28px 30px;

    background: var(--blanco);

    border: 1px solid var(--gris-claro);
    border-radius: 4px;

    box-sizing: border-box;
}


.toolbar-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;

    margin-bottom: 18px;
}

.toolbar-heading span {
    font-family: var(--fuente-titulo);
    font-size: 1rem;
    font-weight: 600;

    color: var(--negro);
}

.toolbar-heading small {
    font-size: 0.68rem;
    color: var(--gris);
}


/* =========================================================
   BUSCADOR
   ========================================================= */

.search-box {
    display: flex;
    align-items: center;

    min-height: 64px;

    padding: 0 18px;

    background: var(--fondo);

    border: 1px solid #d8d6d1;
    border-radius: 3px;

    box-sizing: border-box;

    transition:
        border-color var(--transicion),
        background-color var(--transicion),
        box-shadow var(--transicion);
}


.search-box:hover {
    border-color: #b8b6b1;
}


.search-box:focus-within {
    background: var(--blanco);
    border-color: var(--negro);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}


.search-icon {
    width: 23px;
    height: 23px;

    margin-right: 14px;

    flex-shrink: 0;
}


.search-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: var(--gris-oscuro);
    stroke-width: 1.5;
    stroke-linecap: round;
}


.search-box input {
    flex: 1;

    width: 100%;

    padding: 4px 0;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: var(--fuente-principal);
    font-size: 0.95rem;

    color: var(--negro);
}


.search-box input::placeholder {
    color: #969696;
}


.search-key {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    margin-left: 12px;

    border: 1px solid #d2d0cc;
    border-radius: 3px;

    color: var(--gris);
    font-size: 0.75rem;
}


/* =========================================================
   CATEGORÍA
   ========================================================= */

.catalog-category select {
    width: 100%;
    min-height: 64px;

    padding: 0 17px;

    border: 1px solid #d8d6d1;
    border-radius: 3px;

    background-color: var(--fondo);

    color: var(--negro);

    font-family: var(--fuente-principal);
    font-size: 0.9rem;

    outline: none;
    cursor: pointer;

    transition:
        border-color var(--transicion),
        background-color var(--transicion);
}


.catalog-category select:hover,
.catalog-category select:focus {
    background-color: var(--blanco);
    border-color: var(--negro);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .catalog-toolbar {
        grid-template-columns: 1fr;
        gap: 16px;

        margin-bottom: 40px;
    }

    .catalog-search,
    .catalog-category {
        padding: 22px 20px 24px;
    }

    .toolbar-heading {
        flex-direction: column;
        gap: 4px;

        margin-bottom: 15px;
    }

    .search-box,
    .catalog-category select {
        min-height: 58px;
    }

}


/* =========================================================
   PRODUCTO INDIVIDUAL
   ========================================================= */

.product-detail {
    padding: 90px 0;
}

.product-detail-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: start;
}

.product-gallery-main {
    aspect-ratio: 4 / 3;

    background: #eeeeee;

    overflow: hidden;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-info {
    position: sticky;

    top: 110px;
}

.product-info .category {
    color: var(--gris);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    margin-bottom: 12px;
}

.product-info h1 {
    font-family: var(--fuente-titulo);

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: 0.96;

    font-weight: 600;

    letter-spacing: -0.04em;

    margin-bottom: 25px;
}

.product-description {
    color: var(--gris);

    font-size: 0.98rem;

    line-height: 1.7;

    margin-bottom: 35px;
}

.product-specs {
    border-top: 1px solid var(--gris-claro);

    margin-bottom: 30px;
}

.product-spec {
    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 15px;

    padding: 14px 0;

    border-bottom: 1px solid var(--gris-claro);

    font-size: 0.86rem;
}

.product-spec strong {
    font-weight: 600;
}

.product-spec span {
    color: var(--gris);
}


/* =========================================================
   IMAGEN PRINCIPAL DEL PRODUCTO
   ========================================================= */

.product-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    background: #f3f3f0;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   CANTIDAD
   ========================================================= */

.quantity-control {
    display: flex;

    align-items: center;

    width: fit-content;

    border: 1px solid #d5d5d5;

    margin-bottom: 18px;
}

.quantity-control button {
    width: 42px;
    height: 42px;

    border: 0;

    background: var(--blanco);

    font-size: 1.1rem;

    cursor: pointer;
}

.quantity-control input {
    width: 55px;
    height: 42px;

    border: 0;

    text-align: center;

    font-size: 0.9rem;
}


/* =========================================================
   SELECCIÓN / COTIZACIÓN
   ========================================================= */

.selection-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.selection-item {
    display: grid;

    grid-template-columns: 100px 1fr auto;

    gap: 20px;

    align-items: center;

    padding: 18px;

    background: var(--blanco);

    border: 1px solid var(--gris-claro);
}

.selection-item img {
    width: 100px;
    height: 80px;

    object-fit: cover;
}

.selection-item h3 {
    font-family: var(--fuente-titulo);

    font-size: 1.1rem;

    margin-bottom: 4px;
}

.selection-item p {
    color: var(--gris);

    font-size: 0.8rem;
}

.selection-summary {
    margin-top: 40px;

    padding: 30px;

    background: var(--negro);

    color: var(--blanco);
}

.selection-summary h2 {
    font-family: var(--fuente-titulo);

    font-size: 1.8rem;

    margin-bottom: 12px;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.form-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.78rem;

    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d5d5d5;

    background: var(--blanco);

    font-size: 0.88rem;

    outline: none;

    transition: border-color var(--transicion);
}

.form-group textarea {
    min-height: 120px;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--negro);
}


/* =========================================================
   MENSAJES / ESTADOS
   ========================================================= */

.empty-state {
    padding: 70px 20px;

    text-align: center;

    color: var(--gris);
}

.empty-state h2 {
    font-family: var(--fuente-titulo);

    color: var(--negro);

    margin-bottom: 10px;
}

.loading {
    padding: 40px 0;

    color: var(--gris);

    text-align: center;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .realized-grid,
    .realized-projects {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .product-info {
        position: static;
    }

    .footer-container {
        grid-template-columns: 1.2fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   RESPONSIVE — CELULAR
   ========================================================= */

@media (max-width: 700px) {

    .container,
    .header-container,
    .footer-container {
        width: min(90%, var(--max-width));
    }


    /* ---------- HEADER ---------- */

    .header-container,
    .header-inner {
        min-height: 66px;
    }

    .logo {
        font-size: 1.05rem;
    }

    .nav,
    .main-nav {
        gap: 15px;
    }

    .nav a,
    .main-nav a {
        font-size: 0.74rem;
    }

/* ---------- HEADER ---------- */

.header-container,
.header-inner {
    min-height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    padding: 9px 0 7px;
}


/* ---------- LOGO ---------- */

.logo {
    font-size: 1.05rem;
    line-height: 1;
}

.logo img {
    width: 145px;
    height: auto;
}


/* ---------- NAVEGACIÓN ---------- */

.nav,
.main-nav {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 22px;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;

    padding: 7px 2px 8px;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav::-webkit-scrollbar,
.main-nav::-webkit-scrollbar {
    display: none;
}


/* ---------- ENLACES ---------- */

.nav a,
.main-nav a {
    flex: 0 0 auto;

    font-size: 0.68rem;
    font-weight: 500;

    white-space: nowrap;
}


/* ---------- MI SELECCIÓN ---------- */

.nav .selection-link,
.main-nav .selection-link {
    display: inline-flex;

    align-items: center;

    gap: 4px;
}

#selection-count {
    min-width: 17px;
    height: 17px;

    margin-left: 0;

    padding: 0 4px;

    font-size: 0.62rem;
}


    /* ---------- HERO ---------- */

    .hero {
        min-height: 570px;
    }

    .hero-content {
        width: min(90%, var(--max-width));

        padding: 75px 0;
    }

    .hero .eyebrow {
        margin-bottom: 18px;

        font-size: 0.61rem;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.4rem);

        line-height: 0.94;

        margin-bottom: 24px;
    }

    .hero-text,
    .hero p:not(.eyebrow) {
        font-size: 0.92rem;

        line-height: 1.65;

        margin-bottom: 30px;
    }

    .hero-buttons,
    .button-group {
        align-items: stretch;

        flex-direction: column;

        max-width: 320px;
    }

    .button,
    .btn {
        width: 100%;
    }


    /* ---------- SECCIONES ---------- */

    .section,
    .projects-section,
    .catalog-section,
    .custom-project,
    .projects-realized {
        padding: 75px 0;
    }

    .section-heading,
    .section-header {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .section-title {
        font-size: clamp(2.15rem, 10vw, 3rem);

        line-height: 0.98;
    }

    .section-heading > p:last-child,
    .section-intro {
        font-size: 0.88rem;

        line-height: 1.65;
    }


    /* ---------- PROYECTOS ---------- */

    .project-grid {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .project-card,
    .project-card img {
        min-height: 280px;
    }

    .project-card-content {
        padding: 25px 22px;
    }

    .project-card h3 {
        font-size: 1.4rem;
    }

    .project-card p {
        font-size: 0.78rem;
    }


    /* ---------- CATEGORÍAS ---------- */

    .category-grid {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 1px;
    }

    .category-card {
        min-height: 125px;

        padding: 30px 24px;
    }


    /* ---------- PROYECTO ESPECIAL ---------- */

    .custom-project-content {
        width: 90%;
    }

    .custom-project h2 {
        font-size: clamp(2.4rem, 11vw, 3.6rem);
    }

    .custom-project p:not(.eyebrow) {
        font-size: 0.9rem;
    }


    /* ---------- PROYECTOS REALIZADOS ---------- */

    .realized-grid,
    .realized-projects {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .realized-placeholder,
    .realized-project {
        min-height: 260px;
    }


    /* ---------- FILTROS ---------- */

    .catalog-toolbar {
        flex-direction: column;

        align-items: stretch;
    }


    /* ---------- PRODUCTO ---------- */

    .product-detail {
        padding: 55px 0;
    }

    .product-detail-grid {
        gap: 35px;
    }

    .product-info h1 {
        font-size: 2.8rem;
    }

    .product-spec {
        grid-template-columns: 120px 1fr;
    }


    /* ---------- PRODUCTOS ---------- */

    .product-grid {
        grid-template-columns: 1fr;
    }


    /* ---------- SELECCIÓN ---------- */

    .selection-item {
        grid-template-columns: 75px 1fr;
    }

    .selection-item img {
        width: 75px;
        height: 65px;
    }

    .selection-item > :last-child {
        grid-column: 2;
    }


    /* ---------- FORMULARIO ---------- */

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }


    /* ---------- FOOTER ---------- */

    .footer,
    .site-footer {
        padding: 65px 0 25px;
    }

    .footer-container {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        font-size: 1.2rem;

        max-width: 330px;
    }

    .footer-bottom {
        width: 90%;

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;

        padding-top: 20px;
    }
}


/* =========================================================
   REDUCCIÓN DE MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =====================================================
   CATEGORÍA — GRID DE PRODUCTOS
   ===================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
}


/* =====================================================
   TARJETA DE PRODUCTO
   ===================================================== */

.product-card {
    display: flex;
    flex-direction: column;

    background: transparent;
    border: none;

    text-decoration: none;
    color: inherit;

    overflow: hidden;
}


/* =====================================================
   IMAGEN DEL PRODUCTO
   ===================================================== */

.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 400px;

    background: #f5f5f3;

    overflow: hidden;
}


/*
   La imagen ocupa menos espacio dentro
   del área para darle más aire visual.
*/

.product-card-image img {
    display: block;

    width: 82%;
    height: 82%;

    object-fit: contain;

    transition: transform 0.35s ease;
}


/* Movimiento muy sutil */

.product-card:hover .product-card-image img {
    transform: scale(1.025);
}


/* =====================================================
   INFORMACIÓN DEL PRODUCTO
   ===================================================== */

.product-card-content {
    padding: 18px 2px 0;
}


/* Categoría / subcategoría */

.product-card-category {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #777;
}


/* Nombre */

.product-card-title {
    margin: 0;

    font-family: "Inter Tight", sans-serif;

    font-size: 21px;
    font-weight: 500;

    line-height: 1.2;

    color: #171717;
}


/* Descripción */

.product-card-description {
    margin-top: 8px;

    max-width: 90%;

    font-size: 13px;
    line-height: 1.6;

    color: #666;
}


/* =====================================================
   HOVER DE LA TARJETA
   ===================================================== */

.product-card:hover .product-card-title {
    color: #000;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
    }

    .product-card-image {
        height: 360px;
    }

    .product-card-image img {
        width: 82%;
        height: 82%;
    }

}


/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 600px) {

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-card-image {
        height: 380px;
    }

    .product-card-image img {
        width: 82%;
        height: 82%;
    }

    .product-card-content {
        padding-top: 15px;
    }

    .product-card-title {
        font-size: 20px;
    }

}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .product-card-image {
        height: 360px;
    }

}


/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 600px) {

    .product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-card-image {
        height: 380px;
    }

    .product-card-image img {
        width: 90%;
        height: 90%;
    }

}




/* =====================================================
   SELECCIÓN · FORMULARIO DE COTIZACIÓN
   ===================================================== */

.selection-heading {
    max-width: 760px;
}


/* -----------------------------------------------------
   INTRODUCCIÓN
   ----------------------------------------------------- */

.quote-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
    gap: 90px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}


/* -----------------------------------------------------
   TEXTO DEL PROYECTO
   ----------------------------------------------------- */

.quote-intro {
    padding-top: 8px;
}

.quote-intro h2 {
    max-width: 520px;
    margin: 0 0 24px;
    font-family: "Inter Tight", sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.quote-description {
    max-width: 470px;
    margin: 0;
    color: var(--gris);
    font-size: 16px;
    line-height: 1.75;
}


/* -----------------------------------------------------
   NOTA "QUÉ SUCEDE DESPUÉS"
   ----------------------------------------------------- */

.quote-note {
    max-width: 470px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid #d9d6d1;
}

.quote-note-label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--negro);
}

.quote-note p {
    margin: 0;
    color: var(--gris);
    font-size: 13px;
    line-height: 1.65;
}


/* -----------------------------------------------------
   CONTENEDOR DEL FORMULARIO
   ----------------------------------------------------- */

.quote-form-wrapper {
    background: #eeece8;
    padding: 38px 40px 40px;
    border: 1px solid #e1ded9;
}


/* -----------------------------------------------------
   FORMULARIO
   ----------------------------------------------------- */

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* -----------------------------------------------------
   CAMPOS
   ----------------------------------------------------- */

.form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-field label {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--negro);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d5d1cb;
    border-radius: 0;
    background: #ffffff;
    color: var(--negro);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
    min-height: 50px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 135px;
    padding: 14px 15px;
    resize: vertical;
}


/* -----------------------------------------------------
   PLACEHOLDER
   ----------------------------------------------------- */

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999590;
}


/* -----------------------------------------------------
   FOCUS
   ----------------------------------------------------- */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #8d8982;
    box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.04);
}


/* -----------------------------------------------------
   BOTÓN
   ----------------------------------------------------- */

.quote-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
}


/* -----------------------------------------------------
   TEXTO LEGAL / INFORMATIVO
   ----------------------------------------------------- */

.form-disclaimer {
    max-width: 520px;
    margin: -6px 0 0;
    color: var(--gris);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}


/* -----------------------------------------------------
   SECCIÓN DE SELECCIÓN
   ----------------------------------------------------- */

.selection-section {
    padding-bottom: 100px;
}


/* -----------------------------------------------------
   ESTADO VACÍO
   ----------------------------------------------------- */

.empty-state {
    max-width: 700px;
    padding: 70px 40px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid #dedbd6;
    border-bottom: 1px solid #dedbd6;
}

.empty-state h2 {
    margin: 12px 0 18px;
    font-family: "Inter Tight", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.empty-state p:not(.eyebrow) {
    max-width: 520px;
    margin: 0 auto 28px;
    color: var(--gris);
    font-size: 15px;
    line-height: 1.7;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

    .quote-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 720px;
    }

    .quote-intro h2 {
        max-width: 650px;
    }

    .quote-description,
    .quote-note {
        max-width: 650px;
    }

}


@media (max-width: 600px) {

    .selection-section {
        padding-bottom: 70px;
    }

    .quote-layout {
        gap: 38px;
    }

    .quote-form-wrapper {
        padding: 28px 22px 30px;
    }

    .quote-form {
        gap: 21px;
    }

    .quote-intro h2 {
        font-size: 34px;
    }

    .quote-note {
        margin-top: 30px;
    }

    .empty-state {
        padding: 50px 24px;
    }

}


/* =========================================================
   MI SELECCIÓN / PROYECTO
   ========================================================= */

.selection-hero {
  padding: 92px 0 62px;
}

.selection-heading {
  max-width: 760px;
}

.selection-heading h1 {
  max-width: 760px;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.project-request-section {
  padding: 0 0 120px;
}

.project-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  gap: 90px;
  align-items: start;
}


/* =========================================================
   ENCABEZADOS DE COLUMNA
   ========================================================= */

.column-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 4px;
  border-bottom: 1px solid #d9d6d1;
}

.column-number {
  flex: 0 0 auto;
  padding-top: 4px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .12em;
  color: #99958f;
}

.column-label {
  margin: 0 0 7px;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .14em;
  color: #8a867f;
}

.column-heading h2 {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.025em;
}


/* =========================================================
   PRODUCTOS SELECCIONADOS
   ========================================================= */

.selected-products-column {
  min-width: 0;
}

.selection-list {
  display: flex;
  flex-direction: column;
}


/*
   Estos estilos funcionan tanto con los productos
   generados por cotizacion.js como con la estructura
   visual de la selección.
*/

.selection-list > * {
  border-bottom: 1px solid #dedbd6;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.project-information-column {
  min-width: 0;
}

.project-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 25px;
}


/* CAMPOS */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--negro);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;

  border: 0;
  border-bottom: 1px solid #cfcac3;
  border-radius: 0;

  background: transparent;

  color: var(--negro);

  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;

  outline: none;

  transition:
    border-color .2s ease,
    background-color .2s ease;
}

.form-field input,
.form-field select {
  min-height: 46px;
  padding: 0 2px;
}

.form-field textarea {
  min-height: 105px;
  padding: 12px 2px 10px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa6a0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--negro);
  background: rgba(255,255,255,.35);
}


/* =========================================================
   RENDER
   ========================================================= */

.render-field {
  padding: 5px 0 3px;
}

.render-question {
  margin: 0 0 13px;

  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;

  color: var(--negro);
}

.render-options {
  display: flex;
  gap: 10px;
}

.render-option {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  min-width: 94px;
  min-height: 42px;
  padding: 0 15px;

  border: 1px solid #d2cec7;
  background: transparent;

  cursor: pointer;

  font-size: 13px;
  color: var(--negro);

  transition:
    border-color .2s ease,
    background-color .2s ease;
}

.render-option:hover {
  border-color: #99958e;
}

.render-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.render-box {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 16px;
  height: 16px;

  border: 1px solid #aaa59e;

  transition:
    background-color .2s ease,
    border-color .2s ease;
}

.render-check {
  display: none;

  font-size: 11px;
  line-height: 1;
  font-weight: 600;
}

.render-option input:checked + .render-box {
  background: var(--negro);
  border-color: var(--negro);
}

.render-option input:checked + .render-box .render-check {
  display: block;
  color: #fff;
}

.render-option:has(input:checked) {
  border-color: var(--negro);
  background: #f1efeb;
}

.render-text {
  line-height: 1;
}


/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */

.quote-submit {
  width: 100%;
  min-height: 56px;

  margin-top: 7px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  letter-spacing: .01em;
}

.form-disclaimer {
  max-width: 470px;

  margin: -7px auto 0;

  color: var(--gris);

  font-size: 10px;
  line-height: 1.55;

  text-align: center;
}


/* =========================================================
   ESTADO VACÍO
   ========================================================= */

.empty-state {
  max-width: 620px;

  padding: 65px 30px;

  margin-top: 20px;

  text-align: center;

  border-top: 1px solid #dedbd6;
  border-bottom: 1px solid #dedbd6;
}

.empty-state h2 {
  margin: 12px 0 18px;

  font-family: "Inter Tight", sans-serif;

  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;

  font-weight: 500;

  letter-spacing: -.03em;
}

.empty-state p:not(.eyebrow) {
  max-width: 500px;

  margin: 0 auto 28px;

  color: var(--gris);

  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .selection-hero {
    padding: 70px 0 48px;
  }

  .project-request-layout {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .project-information-column {
    max-width: 720px;
  }

}


@media (max-width: 600px) {

  .selection-hero {
    padding: 55px 0 40px;
  }

  .project-request-section {
    padding-bottom: 75px;
  }

  .project-request-layout {
    gap: 50px;
  }

  .column-heading {
    gap: 14px;
    padding-bottom: 20px;
  }

  .column-heading h2 {
    font-size: 25px;
  }

  .project-form {
    gap: 20px;
    padding-top: 22px;
  }

  .render-options {
    gap: 8px;
  }

  .render-option {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 0 12px;
  }

  .empty-state {
    padding: 50px 22px;
  }

}



/* =========================================================
   CATEGORÍAS · 6 EN UNA SOLA FILA
   ========================================================= */


.category-grid-6 {
    width: 96%;
    max-width: none;
    margin: 0 auto;

    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;

    gap: 14px;
    background: transparent;
}


/* =========================================================
   TARJETAS DE CATEGORÍA
   ========================================================= */

.category-grid-6 .category-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 64px;
    padding: 16px 12px;

    background: #f5f4ef;

    border: 1px solid #e4e2d9;
    border-radius: 4px;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   NOMBRE DE CATEGORÍA
   ========================================================= */

.category-grid-6 .category-card h3 {
    margin: 0;

    font-size: 15px;
    font-weight: 500;

    color: #333;

    text-align: center;

    transition: color 0.25s ease;
}


/* =========================================================
   EFECTO AL PASAR EL CURSOR
   ========================================================= */

.category-grid-6 .category-card:hover {
    background: #ebe9df;
    border-color: #c9c6b8;

    transform: translateY(-2px);
}

.category-grid-6 .category-card:hover h3 {
    color: #6f705b;
}


/* =========================================================
   OCULTAR FLECHAS / INDICADORES ANTERIORES
   ========================================================= */

.category-grid-6 .category-card::before,
.category-grid-6 .category-card::after {
    content: none !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .category-grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 600px) {

    .category-grid-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}



/* =========================================================
   CATÁLOGO / CATEGORÍAS
   3 COLUMNAS · COMPACTO · SIN BORDES
   ========================================================= */

.category-grid {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
	background: transparent;
}

.category-grid .category-card {
    background: transparent;
    border: none;
}


/* =========================================================
   CATEGORÍA
   ========================================================= */

.category-grid .category-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 64px;

    padding: 0 20px;

    background: #eeece8;

    border: none;

    color: var(--negro);
    text-decoration: none;

    transition:
        background-color .25s ease,
        transform .25s ease;
}


/* NOMBRE */

.category-grid .category-card h3 {
    margin: 0;

    font-family: "Inter Tight", sans-serif;

    font-size: 19px;
    line-height: 1.1;

    font-weight: 500;

    letter-spacing: -.015em;
}


/* TEXTO SECUNDARIO */

.category-grid .category-card p {
    margin: 4px 0 0;

    color: var(--gris);

    font-size: 11px;
    line-height: 1.35;
}


/* FLECHA */

.category-grid .category-card::after {
    content: "→";

    flex: 0 0 auto;

    margin-left: 18px;

    font-size: 17px;
    line-height: 1;

    color: #77736d;

    transition:
        transform .25s ease,
        color .25s ease;
}


/* HOVER */

.category-grid .category-card:hover {
    background: #e8e5df;
    transform: translateY(-2px);
}

.category-grid .category-card:hover::after {
    color: var(--negro);
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 520px) {

    .category-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .category-grid .category-card {
        min-height: 60px;
        padding: 0 17px;
    }

    .category-grid .category-card h3 {
        font-size: 18px;
    }

}



/* =========================================================
   PROYECTOS REALIZADOS
   ========================================================= */

.projects-realized {
    padding: 115px 0;
}


/* GRID */

.realized-grid {
    width: min(92%, var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* TARJETA */

.realized-card {
    position: relative;

    display: block;

    width: 100%;
    height: 430px;

    overflow: hidden;

    background: #e8e5df;

    text-decoration: none;
    color: var(--blanco);
}


/* IMAGEN */

.realized-card img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transition: transform .5s ease;
}


/* CAPA OSCURA */

.realized-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.68) 0%,
        rgba(0,0,0,.20) 48%,
        rgba(0,0,0,0) 75%
    );

    z-index: 1;
}


/* TEXTO SOBRE LA FOTO */

.realized-overlay {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 27px;

    z-index: 2;
}


.realized-overlay span {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: .14em;
    text-transform: uppercase;

    color: rgba(255,255,255,.75);
}


.realized-overlay h3 {
    margin: 0;

    font-family: "Inter Tight", sans-serif;

    font-size: 27px;
    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -.02em;

    color: #fff;
}


/* HOVER */

.realized-card:hover img {
    transform: scale(1.035);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .realized-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .realized-card {
        height: 380px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 560px) {

    .projects-realized {
        padding: 80px 0;
    }

    .realized-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .realized-card {
        height: 390px;
    }

    .realized-overlay {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .realized-overlay h3 {
        font-size: 24px;
    }

}

 


.footer-data span {
    display: block;
    margin-bottom: 8px;
    color: #a6a182;
    font-size: 13px;
    line-height: 1.3;
}

.footer-data a,
.footer-data p {
    margin: 0;
    color: #e8e8e8;
    font-size: 13px;
    line-height: 1.5;
}


.footer-grid {
    width: min(92%, var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 70px;
}

.footer-spacer {
    grid-column: 1;
}

.footer-contact {
    grid-column: 2;
}

.footer-brand {
    grid-column: 3;
}


.category-grid-6 {
    width: 96vw !important;
    max-width: 60vw !important;
    margin-left: 2vw !important;
    margin-right: 2vw !important;
}


/* =========================================================
   FOOTER — LOGO
   ========================================================= */

.footer-brand {
    width: 100%;
}

.footer-brand img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    margin-bottom: 22px;
}


/* ---------- TABLET ---------- */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 45px;
    }

    .footer-spacer {
        display: none;
    }

    .footer-contact {
        grid-column: 1;
    }

    .footer-brand {
        grid-column: 2;
    }

    .footer-brand img {
        width: 250px;
    }
}


/* ---------- MÓVIL ---------- */

@media (max-width: 560px) {

    .footer-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-spacer {
        display: none;
    }

    .footer-contact {
        grid-column: 1;
    }

    .footer-brand {
        grid-column: 1;
        width: 100%;
    }

    .footer-brand img {
        width: 280px;
        max-width: 90%;
        height: auto;
        margin-bottom: 22px;
    }

}
