/* =========================================================================
 * La Historia con Wifi · Nosotros (Nuestra historia)
 * ====================================================================== */

body.lhw-shop .lhw-ns {
    padding: 40px 0 110px;
    color: var(--ink);
}

body.lhw-shop .lhw-ns p {
    font-family: Lora, Georgia, serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink2);
    margin: 0 0 1em;
}

/* Hero */
body.lhw-shop .lhw-ns-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}

body.lhw-shop .lhw-ns-hero h1 {
    margin: 14px 0 24px;
    font-family: var(--fd);
    font-size: clamp(52px, 7.4vw, 104px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.04em;
}

body.lhw-shop .lhw-ns-nw {
    white-space: nowrap;
}

body.lhw-shop .lhw-ns-wave {
    display: inline-block;
    transform-origin: 70% 80%;
    animation: lhwwave 2.4s ease-in-out infinite;
}

@keyframes lhwwave {
    0%, 60%, 100% {
        transform: rotate(0);
    }

    10%, 30% {
        transform: rotate(14deg);
    }

    20%, 40% {
        transform: rotate(-8deg);
    }
}

body.lhw-shop .lhw-ns-hero p {
    max-width: 560px;
    font-size: 21px;
}

body.lhw-shop .lhw-ns-polaroid {
    margin: 0;
    padding: 14px 14px 18px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 6px;
    box-shadow: 10px 12px 0 var(--sun);
    transform: rotate(3deg);
}

body.lhw-shop .lhw-ns-polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

body.lhw-shop .lhw-ns-polaroid figcaption {
    margin-top: 12px;
    font-family: Caveat, cursive;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: var(--ink);
}

/* Ecuador */
body.lhw-shop .lhw-ns-big {
    margin: 0 auto 110px;
    max-width: 980px;
    text-align: center;
}

body.lhw-shop .lhw-ns-big p {
    max-width: 640px;
    margin: 0 auto 8px;
    font-size: 22px;
}

body.lhw-shop .lhw-ns-big strong {
    display: block;
    font-family: var(--fd);
    font-size: clamp(80px, 15vw, 220px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.06em;
    color: var(--ink);
}

body.lhw-shop .lhw-ns-tri {
    display: flex;
    width: min(420px, 70%);
    height: 12px;
    margin: 18px auto 0;
    overflow: hidden;
    border-radius: 6px;
}

body.lhw-shop .lhw-ns-tri i {
    flex: 2;
    background: var(--ecy);
}

body.lhw-shop .lhw-ns-tri i + i {
    flex: 1;
    background: var(--ecb);
}

body.lhw-shop .lhw-ns-tri i + i + i {
    background: var(--ecr);
}

/* Filas texto + foto */
body.lhw-shop .lhw-ns-row {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
    margin-bottom: 110px;
}

body.lhw-shop .lhw-ns-row.is-rev > :first-child {
    order: 2;
}

body.lhw-shop .lhw-ns-photo {
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 28px;
    box-shadow: 8px 10px 0 var(--ink);
}

body.lhw-shop .lhw-ns-photo.is-tilt {
    transform: rotate(-2deg);
}

body.lhw-shop .lhw-ns-photo.is-tilt-r {
    transform: rotate(2deg);
}

body.lhw-shop .lhw-ns-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

body.lhw-shop .lhw-ns-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px 6px;
    font-family: var(--fl);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--sun);
    border: 2px solid var(--ink);
    border-radius: 999px;
}

body.lhw-shop .lhw-ns .lhw-ns-lead {
    margin-top: 20px;
    font-family: var(--fd);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--ink);
}

body.lhw-shop .lhw-ns blockquote {
    margin: 18px 0 0;
    padding: 0 0 0 22px;
    font-family: var(--fd);
    font-size: clamp(26px, 2.8vw, 36px);
    font-style: normal;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
    border-left: 6px solid var(--sun);
}

/* Evolución */
body.lhw-shop .lhw-ns-steps {
    margin-bottom: 110px;
}

body.lhw-shop .lhw-ns-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

body.lhw-shop .lhw-ns-steps li {
    position: relative;
    padding: 14px 14px 26px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 26px;
}

body.lhw-shop .lhw-ns-steps li:nth-child(2) {
    background: var(--sun);
    transform: translateY(24px);
}

body.lhw-shop .lhw-ns-steps li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 38%;
    right: -26px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 800;
    color: var(--sun);
    background: var(--ink);
    border-radius: 50%;
}

body.lhw-shop .lhw-ns-steps figure {
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 16px;
}

body.lhw-shop .lhw-ns-steps img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body.lhw-shop .lhw-ns-n {
    display: block;
    padding: 0 8px;
    font-family: var(--fd);
    font-size: 52px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.05em;
}

body.lhw-shop .lhw-ns-steps p {
    margin: 10px 0 0;
    padding: 0 8px;
    font-family: var(--fd);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--ink);
}

body.lhw-shop .lhw-ns-steps b {
    font-weight: 800;
}

/* Bloque oscuro */
body.lhw-shop .lhw-ns-dark {
    margin: 0 0 110px;
    padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 96px);
    background: var(--ink);
    border-radius: 36px;
}

body.lhw-shop .lhw-ns .lhw-ns-dark p {
    max-width: 980px;
    margin: 0 auto;
    font-family: var(--fd);
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-align: center;
    color: rgba(255, 255, 255, .6);
}

body.lhw-shop .lhw-ns-dark em {
    font-style: normal;
    color: #fff;
}

body.lhw-shop .lhw-ns-dark span {
    color: var(--sun);
}

/* Collage */
body.lhw-shop .lhw-ns-collage {
    position: relative;
    min-height: 520px;
}

body.lhw-shop .lhw-ns-collage figure {
    position: absolute;
    margin: 0;
    width: 62%;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 22px;
    box-shadow: 6px 8px 0 var(--ink);
}

body.lhw-shop .lhw-ns-collage img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body.lhw-shop .lhw-ns-collage .c1 {
    top: 0;
    left: 0;
    transform: rotate(-4deg);
}

body.lhw-shop .lhw-ns-collage .c2 {
    top: 150px;
    right: 0;
    z-index: 1;
    transform: rotate(3deg);
}

body.lhw-shop .lhw-ns-collage .c3 {
    bottom: 0;
    left: 8%;
    z-index: 2;
    transform: rotate(-1deg);
}

body.lhw-shop .lhw-ns .lhw-ns-hand {
    margin: 4px 0 22px;
    font-family: Caveat, cursive;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
    color: var(--ecr);
    transform: rotate(-2deg);
}

/* Patria */
body.lhw-shop .lhw-ns-patria {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 72px;
    align-items: center;
    margin: 0 0 110px;
}

body.lhw-shop .lhw-ns-patria > div {
    order: -1;
}

body.lhw-shop .lhw-ns-patria-photo {
    margin: 0;
    padding: 12px 12px 16px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 6px;
    box-shadow: -10px 12px 0 var(--ecb);
    transform: rotate(-3deg);
}

body.lhw-shop .lhw-ns-patria-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

body.lhw-shop .lhw-ns-patria-photo figcaption {
    margin-top: 10px;
    font-family: Caveat, cursive;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--ink);
}

body.lhw-shop .lhw-ns-patria h2 {
    margin: 0 0 24px;
    font-family: var(--fd);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.04em;
}

body.lhw-shop .lhw-ns-patria p {
    font-size: 21px;
}

/* Cierre */
body.lhw-shop .lhw-ns-end {
    position: relative;
    padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 88px);
    text-align: center;
    background: var(--sun);
    border: 2px solid var(--ink);
    border-radius: 36px;
    box-shadow: 10px 12px 0 var(--ink);
}

body.lhw-shop .lhw-ns .lhw-ns-end-1,
body.lhw-shop .lhw-ns .lhw-ns-end-2 {
    margin: 0;
    font-family: var(--fd);
    font-size: clamp(30px, 4.4vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--ink);
}

body.lhw-shop .lhw-ns .lhw-ns-end-1 {
    color: var(--ink2);
    opacity: .7;
}

body.lhw-shop .lhw-ns-end-2 span {
    background: #fff;
    padding: 0 .15em;
    border-radius: 8px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

body.lhw-shop .lhw-ns-sign {
    display: block;
    margin: 24px 0 8px;
    font-family: Caveat, cursive;
    font-size: 56px;
    font-weight: 700;
    color: var(--ink);
    transform: rotate(-4deg);
}

body.lhw-shop .lhw-ns-welcome {
    margin-top: 24px;
    padding-top: 28px;
    border-top: 2px dashed rgba(23, 21, 18, .35);
}

body.lhw-shop .lhw-ns .lhw-ns-welcome p {
    margin: 0 0 22px;
    font-size: 20px;
    color: var(--ink);
}

body.lhw-shop .lhw-ns-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

body.lhw-shop .lhw-ns-btn-line {
    display: inline-flex;
    align-items: center;
    padding: 18px 28px;
    font-family: var(--fd);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--ink) !important;
    border: 2px solid var(--ink);
    border-radius: 999px;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}

body.lhw-shop .lhw-ns-btn-line:hover {
    background: var(--ink);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 921px) {
    body.lhw-shop .lhw-ns-hero,
    body.lhw-shop .lhw-ns-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        margin-bottom: 80px;
    }

    body.lhw-shop .lhw-ns-polaroid,
    body.lhw-shop .lhw-ns-patria-photo {
        width: min(100%, 380px);
        margin: 0 auto;
    }

    body.lhw-shop .lhw-ns-patria {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        text-align: center;
    }

    body.lhw-shop .lhw-ns-row.is-rev > :first-child {
        order: 0;
    }

    body.lhw-shop .lhw-ns-photo {
        width: min(100%, 440px);
        margin: 0 auto;
    }

    body.lhw-shop .lhw-ns-steps ol {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    body.lhw-shop .lhw-ns-steps li:nth-child(2) {
        transform: none;
    }

    body.lhw-shop .lhw-ns-steps li:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: 50%;
        bottom: -32px;
        margin-right: -20px;
    }

    body.lhw-shop .lhw-ns-collage {
        min-height: 0;
        display: grid;
        gap: 14px;
    }

    body.lhw-shop .lhw-ns-collage figure {
        position: static;
        width: 100%;
    }

    body.lhw-shop .lhw-ns-collage .c2 {
        width: 86%;
        margin-left: auto;
    }

    body.lhw-shop .lhw-ns-collage .c3 {
        display: none;
    }
}

@media (max-width: 600px) {
    body.lhw-shop .lhw-ns {
        padding: 24px 0 72px;
    }

    body.lhw-shop .lhw-ns p,
    body.lhw-shop .lhw-ns-hero p,
    body.lhw-shop .lhw-ns-patria p {
        font-size: 17px;
    }

    body.lhw-shop .lhw-ns-hero,
    body.lhw-shop .lhw-ns-row,
    body.lhw-shop .lhw-ns-big,
    body.lhw-shop .lhw-ns-steps,
    body.lhw-shop .lhw-ns-dark,
    body.lhw-shop .lhw-ns-patria {
        margin-bottom: 56px;
    }

    body.lhw-shop .lhw-ns-hero,
    body.lhw-shop .lhw-ns-row,
    body.lhw-shop .lhw-ns-patria {
        gap: 28px;
    }

    body.lhw-shop .lhw-ns-dark,
    body.lhw-shop .lhw-ns-end {
        border-radius: 24px;
    }

    body.lhw-shop .lhw-ns-end {
        box-shadow: 6px 8px 0 var(--ink);
    }
}
