@font-face {
    font-family: 'Plantae';
    src: url('../fonts/tendencia26mar/Plantae-Regular.woff2') format('woff2'),
        url('../fonts/tendencia26mar/Plantae-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/tendencia26mar/Avenir-Light.woff2') format('woff2'),
        url('../fonts/tendencia26mar/Avenir-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* Inicio */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}
body{
    line-height: 1.2em;
    font-weight: normal;
    font-family: 'Avenir';
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
p{
    margin: initial;
    padding: initial;
}
img{
    display: block;
}

/* General */
.tendencia{
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    color: #1c1b19;
}
.tendencia h1, .tendencia h2, .tendencia h3, .tendencia h4, .tendencia h5, .tendencia h6{
    font-family: 'Plantae';
    font-weight: normal;
}
.tendencia p{
    font-family: 'Avenir';
    font-weight: 500;
    color: #4e4b47;
}

/* Navegación de secciones (mismo patrón que octubre) */
.navegacion-secciones {
    width: 100%;
    position: relative;
    padding: 20px 80px;
    background: #fff;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.navegacion-track {
    width: 100%;
    max-width: 1126px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nav-item {
    flex: 1 1 362px;
    max-width: 362px;
    min-width: 0;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    background: #000;
    border: 1px solid #b78945;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    text-align: center;
    box-sizing: border-box;
    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.nav-item,
.nav-item span {
    font-family: 'Avenir', sans-serif;
}

.nav-item:hover {
    background: #a87527;
    color: #fff;
}

.nav-item:focus-visible {
    outline: 2px solid #a87527;
    outline-offset: 4px;
}

.nav-arrow {
    display: none;
}

/* Barra gris bajo la navegación (Figma: 1440x20, a 20px de la sección) */
.nov-topbar {
    height: 20px;
    margin: 10px 0 20px;
    background: #8a817a;
}

/* Imágenes con esquinas redondeadas */
.nov-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.nov-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
}

/* ---------- Header ----------- */
.bloque.bloque-entry-header {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
}
.bloque.bloque-entry-header .intro {
    text-align: center;
    font-family: 'Plantae';
    color: #000;
    font-size: 26px;
}
.bloque.bloque-entry-header .logo img {
    width: 180px;
    margin: auto;
    margin-bottom: 18px;
}

/* Párrafo base de las secciones */
.tendencia .nov-lead {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    color: #4e4b47;
}

/* Líneas divisoras (solo móvil) */
.nov-divider-m {
    display: none;
}

/* ---------- Sección 1: Kölores en la naturaleza ---------- */
.nov-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 20px;
}
.nov-kolores {
    gap: 75px;
    padding: 60px 80px 40px;
}
.nov-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.tendencia .nov-eyebrow {
    align-self: flex-start;
    font-family: 'Avenir';
    font-weight: 800;
    font-size: 11px;
    line-height: normal;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: #c86b45;
}
.tendencia .nov-title-xl {
    width: 100%;
    font-size: min(80px, 5.6vw);
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #1c1b19;
}

.nov-kolores-body {
    display: grid;
    grid-template-columns: minmax(0, 741fr) minmax(0, 418fr);
    column-gap: 39px;
    align-items: start;
    width: 100%;
    max-width: 1198px;
}
.nov-main {
    display: flex;
    flex-direction: column;
    gap: 75px;
    min-width: 0;
}
.tendencia .nov-intro {
    max-width: 700px;
}
.nov-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.nov-hero {
    height: 446px;
    --pos: 50% 69%;
}
.nov-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.nov-gallery-side .nov-img {
    height: 426px;
}
.nov-gallery-side .nov-img:first-child {
    --pos: 59% 50%;
}
.nov-gallery-side .nov-img:last-child {
    --pos: 0% 0%;
}

/* Swatches */
.nov-swatches {
    display: flex;
    flex-direction: column;
    gap: 45px;
    min-width: 0;
}
.nov-swatch,
.nov-strip {
    border: 1px solid #eae5dc;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}
.nov-swatch-color {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 105px;
    padding: 16px;
    box-sizing: border-box;
    background: var(--swatch);
    color: #fff;
    text-transform: uppercase;
}
.tendencia .nov-swatch-code {
    font-size: 13.5px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.12px;
    color: #fff;
}
.tendencia .nov-swatch-name {
    margin-top: 4px;
    font-size: 34px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}
.nov-swatch-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #fff;
}
.nov-divider {
    height: 1px;
    background: #eae5dc;
}
.tendencia .nov-swatch-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #4e4b47;
}

/* Tiras de fotos */
.nov-strip {
    display: grid;
    grid-template-columns: var(--cols);
    gap: var(--gap);
    height: 105px;
}
.nov-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
}
.nov-strip img.nov-flip {
    transform: scaleX(-1);
}

/* Guardar paleta */
.nov-save {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 7px 80px 25px;
}
.tendencia .nov-save p {
    font-weight: 500;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0.56px;
    text-align: center;
    color: #000;
}
.nov-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 362px;
    max-width: 100%;
    height: 46px;
    padding: 8px 24px;
    border: 1px solid #cd1b3e;
    border-radius: 30px;
    background: #cd1b3e;
    color: #fff;
    font-family: 'Avenir';
    font-weight: 800;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    cursor: pointer;
}
.nov-save-btn img {
    width: 18px;
    height: 18px;
}

/* ---------- Sección 2: Disfruta los Kölores ---------- */
.nov-disfruta {
    gap: 65px;
    padding: 80px 80px 34px;
}
.nov-disfruta-header {
    display: flex;
    align-items: flex-end;
    gap: clamp(32px, 5.5vw, 80px);
}
.nov-disfruta-header .nov-title-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-height: 135px;
}
.tendencia .nov-title-lg {
    font-size: min(64px, 4.45vw);
    line-height: 1;
    text-transform: uppercase;
    color: #1c1b19;
}
.tendencia .nov-disfruta-header .nov-lead {
    flex: 0 1 472px;
    min-width: 0;
}
.nov-landscapes {
    display: grid;
    grid-template-columns: minmax(0, 422fr) minmax(0, 410.667fr) minmax(0, 410.667fr);
    gap: 24px;
    align-items: start;
}
.nov-landscape {
    border: 1px solid #eae5dc;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}
.nov-landscape-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.nov-landscape-image > img:first-child {
    position: absolute;
    left: var(--img-l);
    top: var(--img-t);
    width: var(--img-w);
    height: auto;
    max-width: none;
}
.nov-badge-dot,
.nov-badge-text {
    position: absolute;
}
.nov-badge-dot {
    left: var(--dot-l);
    top: var(--dot-t);
    width: 33px;
    height: 33px;
}
.nov-badge-text {
    left: var(--txt-l);
    top: var(--txt-t);
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #fff;
    filter: drop-shadow(0 1.5px 1px #4e3611);
    white-space: nowrap;
}
.tendencia .nov-badge-code {
    font-family: 'Plantae';
    font-size: 18px;
    line-height: 12px;
    color: #fff;
}
.tendencia .nov-badge-name {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
}
.nov-landscape-content {
    padding: 24px;
}
.tendencia .nov-landscape-title {
    font-size: 26px;
    font-weight: 400;
    line-height: normal;
    color: #1c1b19;
}
.tendencia .nov-landscape-title strong {
    font-weight: 900;
}

/* ---------- Sección 3: Líneas que cambian tu espacio ---------- */
.nov-lineas {
    gap: 48px;
    padding: 80px;
    background: #fff;
    --bar: #8a817a;
}
.nov-lineas-bar {
    height: 12px;
    background: var(--bar);
}
.nov-lineas-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
}
.tendencia .nov-title-md {
    font-size: min(52px, 3.6vw);
    line-height: 1.05;
    text-transform: uppercase;
    color: #1c1b19;
}
.nov-lineas-gallery {
    display: grid;
    grid-template-columns: minmax(0, 664fr) minmax(0, 600fr);
    gap: 16px;
    align-items: stretch;
}
.nov-lineas-left,
.nov-lineas-right {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.nov-lineas-left {
    gap: 48px;
}
.nov-lineas-right {
    gap: 50px;
    justify-content: space-between;
}
.nov-lineas-main {
    flex: 1 1 auto;
    min-height: 801px;
    border-radius: 10px;
}
.nov-lineas-right .nov-img {
    border-radius: 10px;
}
.nov-lineas-right .nov-img:first-child {
    height: 282px;
}
.nov-lineas-right .nov-img:last-child {
    height: 338px;
}
.nov-lineas-main { --pos: 60% 68%; }
.nov-lineas-right .nov-img:first-child { --pos: 37% 52%; }
.nov-lineas-right .nov-img:last-child { --pos: 69% 94%; }
.nov-note,
.nov-tip {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
}
.nov-tip {
    background: #5f7aaa;
}
.nov-note-line {
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: #c86b45;
}
.tendencia .nov-note p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #7a7570;
}
.tendencia .nov-note p.nov-note-title {
    font-weight: 900;
    text-transform: uppercase;
}
.tendencia .nov-tip p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #fff;
}
.tendencia .nov-tip strong {
    font-weight: 900;
    text-transform: uppercase;
}

/* ---------- Cierre: botón Sodimac ---------- */
.nov-end {
    display: flex;
    justify-content: center;
    padding: 0 80px 38px;
}
.nov-end a {
    display: block;
    max-width: 383px;
}
.nov-end img {
    width: 100%;
}

/* ====================================================
   MOBILE (Figma 390px)
   ==================================================== */
@media (max-width: 1199px) {

    /* Navegación: pills de 185x42 con flechas (Figma iPhone 16) */
    .navegacion-secciones {
        padding: 16px 3px;
        overflow: hidden;
    }
    .navegacion-track {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        margin: 0;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding: 0 10px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .navegacion-track::-webkit-scrollbar {
        display: none;
    }
    .nav-item {
        flex: 0 0 185px;
        min-width: 185px;
        height: 42px;
        padding: 0 38px;
        border-color: #b78945;
        font-weight: 800;
        scroll-snap-align: start;
    }
    .nav-arrow {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 42px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }
    .nav-arrow span {
        display: block;
        width: 16px;
        height: 16px;
        border-top: 2px solid #333;
        border-left: 2px solid #333;
    }
    .nav-arrow-prev span {
        transform: translateX(3px) rotate(-45deg);
    }
    .nav-arrow-next span {
        transform: translateX(-3px) rotate(135deg);
    }
    .nav-arrow:hover span {
        border-color: #a87527;
    }

    .nov-topbar {
        margin: 20px 0;
    }
    .nov-divider-m {
        display: block;
        height: 1px;
        background: #eae5dc;
    }
    .nov-section {
        scroll-margin-top: 10px;
    }
    .tendencia .nov-lead {
        max-width: none;
    }

    /* Sección 1 */
    .nov-kolores {
        gap: 32px;
        padding: 20px;
    }
    .nov-header {
        align-items: flex-start;
        gap: 12px;
    }
    .tendencia .nov-title-xl {
        font-size: 36px;
        line-height: 1.1;
        text-align: left;
    }
    .nov-kolores-body {
        display: flex;
        flex-direction: column;
        gap: 32px;
        max-width: none;
    }
    .nov-main {
        gap: 32px;
    }
    .nov-gallery {
        gap: 16px;
    }
    .nov-img,
    .nov-gallery-side .nov-img {
        border-radius: 10px;
    }
    .nov-hero {
        height: 220px;
        --pos: 50% 50%;
    }
    .nov-gallery-side {
        grid-template-columns: 1fr;
    }
    .nov-gallery-side .nov-img {
        height: 150px;
    }
    .nov-gallery-side .nov-img:first-child,
    .nov-gallery-side .nov-img:last-child {
        --pos: 50% 50%;
    }
    .nov-swatches {
        gap: 24px;
    }
    .nov-swatch--chubut { order: 1; }
    .nov-swatch--chefchaoven { order: 2; }
    .nov-swatch--cosenza { order: 3; }
    .nov-strip--nature { order: 4; }
    .nov-strip--coast { order: 5; }

    /* Guardar paleta */
    .nov-save {
        gap: 12px;
        padding: 8px 20px 24px;
        border-bottom: 1px solid #eae5dc;
    }
    .tendencia .nov-save p {
        font-size: 13px;
        line-height: normal;
        letter-spacing: 0;
    }
    .nov-save-btn {
        width: 100%;
        height: 52px;
        padding: 12px 24px;
    }

    /* Sección 2 */
    .nov-disfruta {
        gap: 41px;
        padding: 40px 20px;
        border-bottom: 1px solid #eae5dc;
    }
    .nov-disfruta-header {
        flex-direction: column;
        align-items: stretch;
        gap: 37px;
    }
    .nov-disfruta-header .nov-title-wrap {
        min-height: 0;
    }
    .tendencia .nov-title-lg {
        font-size: 36px;
        line-height: 1.1;
    }
    .tendencia .nov-disfruta-header .nov-lead {
        flex: none;
    }
    .nov-landscapes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .nov-landscape {
        border-radius: 16px;
    }
    .nov-landscape-image {
        height: 200px;
    }
    .nov-landscape-image > img:first-child {
        left: var(--img-l-m);
        top: var(--img-t-m);
        width: var(--img-w-m);
    }
    .nov-badge-dot {
        left: var(--dot-l-m);
        top: var(--dot-t-m);
    }
    .nov-badge-text {
        left: var(--txt-l-m);
        top: var(--txt-t-m);
    }
    .nov-landscape-content {
        padding: 16px;
    }
    .tendencia .nov-landscape-title {
        font-size: 18px;
    }

    /* Sección 3 */
    .nov-lineas {
        gap: 28px;
        padding: 40px 20px;
        --bar: #8db2aa;
    }
    .nov-lineas-header {
        gap: 16px;
        max-width: none;
    }
    .tendencia .nov-title-md {
        font-size: 32px;
        line-height: 1.1;
    }
    .nov-lineas-gallery {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .nov-lineas-left,
    .nov-lineas-right {
        display: contents;
    }
    .nov-lineas-main {
        order: 1;
        flex: none;
        min-height: 0;
        height: 305px;
    }
    .nov-note {
        order: 2;
        gap: 12px;
    }
    .nov-lineas-right .nov-img:first-child {
        order: 3;
    }
    .nov-lineas-right .nov-img:last-child {
        order: 4;
    }
    .nov-tip {
        order: 5;
        gap: 12px;
    }
    .nov-lineas-main,
    .nov-lineas-right .nov-img {
        border-radius: 12px;
    }
    .nov-lineas-right .nov-img:first-child,
    .nov-lineas-right .nov-img:last-child {
        height: 200px;
    }
    .nov-lineas-main,
    .nov-lineas-right .nov-img:first-child,
    .nov-lineas-right .nov-img:last-child {
        --pos: 50% 50%;
    }
    .nov-note-line {
        width: 32px;
    }

    /* Cierre */
    .nov-end {
        padding: 0 20px 40px;
    }
    .nov-end a {
        max-width: 297px;
    }
}

/* ====================================================
   TABLET (0px - 1199px): mismo layout móvil, más aire
   ==================================================== */
@media (min-width: 0px) and (max-width: 1199px) {

    .navegacion-secciones {
        padding: 20px 40px;
    }
    .nav-arrow {
        display: none;
    }
    .navegacion-track {
        justify-content: center;
        padding: 0;
        overflow: visible;
    }
    .nav-item {
        flex: 0 1 240px;
        min-width: 0;
    }

    .nov-section {
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
    }
    .nov-kolores,
    .nov-disfruta,
    .nov-lineas {
        padding-left: 40px;
        padding-right: 40px;
    }
    .nov-save {
        padding-left: 40px;
        padding-right: 40px;
    }
    .tendencia .nov-title-xl {
        font-size: 56px;
    }
    .nov-hero {
        height: 320px;
    }
    .nov-gallery-side {
        grid-template-columns: 1fr 1fr;
    }
    .nov-gallery-side .nov-img {
        height: 220px;
    }
    .nov-save-btn {
        max-width: 362px;
    }
    .nov-landscapes {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    .nov-end {
        padding: 0 40px 40px;
    }
}
