@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 septiembre) */
.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 terracota bajo la navegación */
.oct-topbar {
    height: 20px;
    margin: 10px 0 20px;
    background: #c55b3f;
    margin-bottom:50px;
}

/* Variantes de texto por dispositivo: heredan la tipografía del párrafo */
.tendencia .oct-desktop-only,
.tendencia .oct-mobile-only {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
}

/* Imágenes con esquinas redondeadas */
.oct-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.oct-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- 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::after {
    
    right: 0;
    bottom: max(-7.5vw, -120px);
}

.bloque.bloque-entry-header .logo img {
    width: 180px;
    margin: auto;
    margin-bottom: 18px;
}
@media screen and (max-width:700px){
    .bloque.bloque-entry-header .logo img {
        width:180px;
    }
}


/* ---------- Sección 1: Kölores que regresan ---------- */
.oct-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    scroll-margin-top: 20px;
}
.oct-kolores {
    gap: 75px;
    padding: 60px 80px 0;
    box-sizing: border-box;
}
.oct-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.tendencia .oct-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 !important;
}
.tendencia .oct-title-xl {
    width: 100%;
    font-size: 80px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #1c1b19;
}
.oct-intro-grid {
    display: grid;
    grid-template-columns: 1fr 502px;
    column-gap: 20px;
    align-items: stretch;
}
.oct-intro-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.tendencia .oct-lead {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.7;
    color: #4e4b47;
}
.oct-hero {
    width: 100%;
    max-width: 760px;
    height: 518px;
}
.oct-intro-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.oct-intro-side .oct-img {
    height: 384px;
}
.oct-intro-side .oct-img + .oct-img {
    border-radius: 16px;
}

/* Swatches */
.oct-swatches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.oct-swatch {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eae5dc;
    border-radius: 20px;
    overflow: hidden;
}
.oct-swatch-color {
    height: 120px;
    background: var(--swatch);
}
.oct-swatch-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #fff;
}
.oct-swatch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.oct-swatch-id {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    text-transform: uppercase;
}
.tendencia .oct-swatch-code {
    font-weight: 500;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 1.12px;
    color: var(--swatch-code);
}
.tendencia .oct-swatch-name {
    font-weight: 400;
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: normal;
    color: #1c1b19;
}
.oct-swatch-dot {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--swatch);
}
.oct-divider {
    width: 100%;
    height: 1px;
    background: #eae5dc;
}
.tendencia .oct-swatch-text {
    font-size: 13px;
    line-height: 1.6;
    color: #4e4b47;
}

/* Botón guardar paleta */
.oct-save {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 47px 80px 25px;
    border-bottom: 2px solid #eae5dc;
}
.tendencia .oct-save p {
    font-weight: 500;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0.56px;
    text-align: center;
    color: #000;
}
.oct-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 #c93b87;
    border-radius: 30px;
    background: #c93b87;
    color: #fff;
    font-family: 'Avenir';
    font-weight: 800;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    cursor: pointer;
}
.oct-save-btn img {
    width: 18px;
    height: 18px;
}

/* ---------- Sección 2: Disfruta los Kölores ---------- */
.oct-disfruta {
    gap: 65px;
    padding: 80px 80px 73px;
    box-sizing: border-box;
}
.oct-disfruta-header {
    display: flex;
    align-items: flex-end;
    gap: clamp(32px, 5.5vw, 80px);
}
.oct-disfruta-header .oct-title-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-height: 135px;
}
.tendencia .oct-title-lg {
    font-size: min(64px, 4.45vw);
    line-height: 1;
    text-transform: uppercase;
    color: #1c1b19;
}
.tendencia .oct-disfruta-header .oct-lead {
    flex: 0 1 472px;
    min-width: 0;
}
.oct-landscapes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.oct-landscape {
    background: #fff;
    border: 1px solid #eae5dc;
    border-radius: 20px;
    overflow: hidden;
}
.oct-landscape-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.oct-landscape-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.oct-badge {
    position: absolute;
    left: min(var(--badge-left), calc(100% - var(--badge-w, 210px)));
    top: var(--badge-top);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.oct-badge > img {
    flex-shrink: 0;
    width: 34.4px;
    height: 34.4px;
}
.oct-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 1.8px;
    color: #fff;
    white-space: nowrap;
    filter: drop-shadow(0 1.5px 1px #4e3611);
}
.tendencia .oct-badge-code {
    font-family: 'Plantae';
    font-weight: normal;
    font-size: 18px;
    line-height: 12px;
    color: #fff;
}
.tendencia .oct-badge-name {
    font-weight: 500;
    font-size: 20px;
    line-height: normal;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
}
.oct-landscape-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
}
.tendencia .oct-landscape-title {
    font-weight: 400;
    font-size: 26px;
    line-height: normal;
    color: #1c1b19;
}
.tendencia .oct-landscape-place {
    font-weight: 800;
    font-size: 11px;
    line-height: normal;
    letter-spacing: 0.44px;
    text-transform: uppercase;
    color: #7a7570;
}

/* ---------- Sección 3: Color Zoning ---------- */
.oct-zoning {
    gap: 48px;
    padding: 80px 80px 61px;
    box-sizing: border-box;
    background: #fff;
}
.oct-zoning-bar {
    width: 100%;
    height: 12px;
    background: #607e8c;
}
.oct-zoning-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tendencia .oct-title-md {
    font-size: 52px;
    line-height: 1.05;
    color: #1c1b19;
}
.tendencia .oct-title-md .oct-upper {
    font: inherit;
    text-transform: uppercase;
}
.tendencia .oct-lead.oct-lead-full {
    max-width: none;
}
.oct-zoning-gallery {
    display: flex;
    gap: 16px;
    height: 801px;
}
.oct-zoning-main {
    flex: 0 0 51.9%;
    height: 100%;
}
.oct-zoning-side {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: 100%;
}
.oct-zoning-side .oct-img {
    flex: 1 1 0;
    min-height: 0;
}
.oct-zoning-note {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #faf6ee;
}
.oct-zoning-note-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: #c86b45;
}
.tendencia .oct-zoning-note p {
    font-size: 15px;
    line-height: 1.7;
    color: #7a7570;
}

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

/* ---------- Textos por dispositivo ---------- */
.oct-mobile-only {
    display: none;
}

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

    .oct-desktop-only {
        display: none;
    }
    .oct-mobile-only {
        display: inline;
    }

    /* 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;
    }

    .oct-section,
    .oct-save-btn {
        box-sizing: border-box;
    }
    .oct-section {
        scroll-margin-top: 10px;
    }
    .oct-img,
    .oct-intro-side .oct-img + .oct-img {
        border-radius: 10px;
    }

    /* Sección 1 */
    .oct-kolores {
        gap: 32px;
        padding: 20px;
        margin-bottom: 24px;
    }
    .oct-header {
        align-items: flex-start;
        gap: 12px;
    }
    .tendencia .oct-title-xl {
        font-size: 36px;
        line-height: 1.1;
        text-align: left;
        margin-top:0px;
        margin-bottom:0px;
    }
    .tendencia .oct-lead {
        max-width: none;
        font-size: 14px;
        line-height: 1.6;
    }
    .oct-intro-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .oct-intro-main,
    .oct-intro-side {
        display: contents;
    }
    .oct-intro-main .oct-lead {
        margin-bottom: 16px;
    }
    .oct-hero {
        max-width: none;
        height: 220px;
        order: 1;
    }
    .oct-intro-side .oct-img {
        order: 2;
        flex: none;
        height: 150px;
    }
    .oct-intro-side .oct-img + .oct-img {
        margin-top: -4px;
    }
    .oct-swatches {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-top: 32px;
        border-top: 1px solid #eae5dc;
    }
    .oct-swatch {
        border-radius: 16px;
    }
    .oct-swatch-color {
        height: 100px;
    }
    .oct-swatch-info {
        padding: 20px;
    }
    .oct-swatch-id {
        min-width: 0;
    }
    .tendencia .oct-swatch-code {
        font-weight: 800;
        font-size: 12px;
        letter-spacing: 0.96px;
    }
    .tendencia .oct-swatch-name {
        font-size: 24px;
        overflow-wrap: anywhere;
    }
    .oct-swatch-dot {
        width: 36px;
        height: 36px;
        border-radius: 18px;
    }
    .tendencia .oct-swatch-text {
        line-height: 1.5;
    }


    .oct-save {
        gap: 12px;
        padding: 8px 10px;
        border-bottom: 0;
    }
    .tendencia .oct-save p {
        font-size: 13px;
        line-height: normal;
        letter-spacing: 0;
        color: #1c1b19;
    }
    .oct-save-btn {
        width: 100%;
        height: 52px;
        padding: 12px 24px;
    }

    /* Sección 2 */
    .oct-disfruta {
        position: relative;
        gap: 28px;
        padding: 40px 20px;
        margin-top: 49px;
    }
    .oct-disfruta::before,
    .oct-zoning::before {
        content: '';
        position: absolute;
        top: -25px;
        left: 0;
        right: 0;
        height: 1px;
        background: #eae5dc;
    }
    .oct-disfruta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .oct-disfruta-header .oct-title-wrap {
        min-height: 0;
    }
    .tendencia .oct-title-lg {
        font-size: 36px;
        line-height: 1.1;
    }
    .tendencia .oct-disfruta-header .oct-lead {
        flex: none;
        width: 100%;
    }
    .oct-landscapes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .oct-landscape {
        border-radius: 16px;
    }
    .oct-landscape-image {
        height: 200px;
    }
    .oct-landscape:nth-child(3) .oct-landscape-image {
        height: 239px;
    }
    .oct-badge {
        left: min(var(--badge-left-m), calc(100% - var(--badge-w, 210px)));
        top: var(--badge-top-m);
        gap: 5px;
    }
    .oct-badge > img {
        width: 29px;
        height: 29px;
    }
    .oct-landscape-content {
        gap: 4px;
        padding: 16px;
    }
    .oct-landscape-content .oct-divider {
        display: none;
    }
    .tendencia .oct-landscape-title {
        font-weight: 500;
        font-size: 18px;
    }
    .tendencia .oct-landscape-place {
        font-size: 12px;
        letter-spacing: 0.48px;
    }

    /* Sección 3 */
    .oct-zoning {
        position: relative;
        gap: 28px;
        padding: 40px 20px;
        margin-top: 49px;
    }
    .oct-zoning-header {
        gap: 16px;
    }
    .oct-zoning-bar {
        background: #8db2aa;
    }
    .tendencia .oct-title-md {
        font-size: 32px;
        line-height: 1.1;

    }
    .tendencia .oct-title-md br {
        display: none;
    }
    .oct-zoning-gallery {
        flex-direction: column;
        gap: 16px;
        height: auto;
    }
    .oct-zoning-side {
        display: contents;
    }
    .oct-zoning-main {
        flex: none;
        order: 1;
        height: 240px;
    }
    .oct-zoning-note {
        order: 2;
        gap: 12px;
    }
    .oct-zoning-side .oct-img {
        order: 3;
        flex: none;
        height: 200px;
    }
    .oct-zoning-main,
    .oct-zoning-side .oct-img {
        border-radius: 12px;
    }
    .oct-zoning-note-line {
        width: 32px;
    }
    .tendencia .oct-zoning-note p {
        font-size: 13px;
        line-height: 1.5;
    }

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

/* ====================================================
   TABLET (768px - 1199px): mismo layout móvil, más aire
   ==================================================== */
@media (min-width: 768px) 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;
    }

    .oct-section {
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
    }
    .oct-kolores,
    .oct-disfruta,
    .oct-zoning {
        padding-left: 40px;
        padding-right: 40px;
    }

    .tendencia .oct-title-xl {
        font-size: 56px;
        margin-top:0px;
    }
    .tendencia .oct-title-lg {
        font-size: 48px;
    }
    .tendencia .oct-title-md {
        font-size: 40px;
    }
    .tendencia .oct-lead {
        font-size: 16px;
    }
    .tendencia .oct-swatch-text {
        font-size: 14px;
    }
    .tendencia .oct-landscape-title {
        font-size: 22px;
    }

    .oct-hero {
        height: 400px;
    }
    .oct-intro-side .oct-img {
        height: 280px;
    }
    .oct-swatch-color {
        height: 120px;
    }
    .oct-landscape-image {
        height: 320px;
    }
    .oct-landscape:nth-child(3) .oct-landscape-image {
        height: 380px;
    }
    .oct-badge {
        top: calc(var(--badge-top-m) * 1.6);
    }
    .oct-zoning-main {
        height: 440px;
    }
    .oct-zoning-side .oct-img {
        height: 300px;
    }

    .oct-save {
        padding: 8px 40px;
    }
    .oct-save-btn {
        max-width: 362px;
    }
    .oct-end {
        padding: 0 40px 40px;
    }
}
