:root {
    --l-coral: #182816;
    --l-coral-dark: #0f180f;
    --l-navy: #111111;
    --l-heading: #111111;
    --l-text: #111111;
    --l-text-sm: #333333;
    --l-bg: #ffffff;
    --l-bg-alt: #f1ebe6;
    --l-white: #fff;
    --l-border: #d4c4b6;
    --l-font: "DM Sans", system-ui, sans-serif;
    --l-serif: "Libre Baskerville", Georgia, serif;
    --l-hand: "Caveat", cursive;
    --l-contact-bg: #e3d6cc;
    --l-footer-bg: #e3d6cc;
    --l-note-text: #111111;
    --l-container: min(1200px, calc(100% - 3rem));
    --l-r: 16px;
    --l-r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--l-font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--l-text);
    background: var(--l-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Layout */
.l-container { width: var(--l-container); margin-inline: auto; }

.l-section { padding: 2.5rem 0; background: var(--l-white); }
.l-section--alt { background: var(--l-bg-alt); }

.l-en {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--l-text-sm);
    opacity: 0.72;
}

.l-section__title {
    margin: 0 0 1.35rem;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--l-heading);
    text-align: left;
}

/* Button */
.l-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.45rem; padding: 0.85rem 1.6rem;
    border: 0; border-radius: 999px; font: inherit;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em;
    text-decoration: none; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.l-btn--primary { background: var(--l-coral); color: var(--l-white); }
.l-btn--primary:hover { background: var(--l-coral-dark); transform: translateY(-1px); }
.l-btn--arrow::after { content: "→"; font-size: 0.95rem; }

/* ============================
   HERO
   ============================ */
.l-hero {
    position: relative;
    z-index: 1;
    display: block;
    min-height: min(88vh, 780px);
    background-color: var(--l-bg);
    background-image: none;
    overflow: visible;
}

.l-hero:has(.l-hero__inner--hidden) .l-hero__container {
    display: none;
}

.l-toplang {
    position: relative;
    z-index: 6;
    background: var(--l-bg-alt);
}

.l-toplang__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.45rem;
    padding-block: 0.28rem;
}

.l-langs {
    display: flex;
    align-items: center;
    gap: 0.28rem;
}

.l-langs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: 0.2rem 0.62rem;
    border: 1px solid color-mix(in srgb, var(--l-coral) 22%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--l-coral) 8%, transparent);
    color: color-mix(in srgb, var(--l-coral) 78%, #111111);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    line-height: 1;
}

.l-langs__code { display: block; }

.l-langs__btn:hover,
.l-langs__btn:focus-visible {
    color: var(--l-coral);
    background: color-mix(in srgb, var(--l-coral) 14%, transparent);
    outline: none;
}

.l-langs__btn.is-active {
    background: var(--l-coral);
    border-color: var(--l-coral);
    color: #f3ece6;
}

.l-kicker {
    position: relative;
    z-index: 5;
    background: var(--l-bg-alt);
    color: var(--l-coral);
}

.l-kicker__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding-block: 0.55rem;
}

.l-kicker__title {
    margin: 0;
    width: 100%;
    text-align: center;
    font-family: var(--l-serif);
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--l-coral);
}

.l-hero::before {
    display: none;
}

.l-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--l-bg);
}

.l-hero__media picture,
.l-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.l-hero__photo {
    object-fit: cover;
    object-position: center;
}

.l-hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    min-height: min(88vh, 780px);
    padding: 4rem max(1.25rem, calc((100vw - 1200px) / 2 + 1.25rem)) 5.5rem;
    box-sizing: border-box;
}

.l-hero__inner--hidden {
    display: none;
}

.l-hero__inner {
    max-width: 480px;
    width: 100%;
    padding: 2rem 2.15rem 1.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 18px 48px rgba(31, 45, 61, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.l-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    padding: 0.38rem 0.85rem 0.38rem 0.45rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--l-border);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--l-heading);
    text-transform: uppercase;
}

.l-hero__badge img {
    width: 28px; height: 28px; object-fit: contain;
}

.l-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--l-heading);
}

.l-hero__lead {
    margin: 0 0 1.75rem;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--l-text);
    max-width: 38rem;
}

.l-hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--l-heading);
    opacity: 0.6;
}

.l-hero__scroll::before {
    content: "↓";
    font-size: 0.95rem;
    animation: l-bounce 1.6s ease-in-out infinite;
}

@keyframes l-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ============================
   PRODUCT / SOCK
   ============================ */
.l-product {
    padding: 1.35rem 0 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
    background: var(--l-white);
    position: relative;
    z-index: 3;
    overflow: visible;
}
.l-product::before { display: none; }

.l-product__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.05fr) minmax(180px, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 0;
    row-gap: 0.35rem;
    align-items: center;
    min-height: 640px;
    max-width: 1100px;
    margin: 0 auto;
}

.l-product__sock {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    z-index: 1;
    will-change: transform;
    transform: translate3d(0, 0, 0) rotate(22deg);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.l-product__image {
    width: 100%;
    filter: none !important;
    box-shadow: none !important;
    pointer-events: none;
    user-select: none;
}
.l-product__sock,
.l-product__sock img,
.l-product__sock picture {
    filter: none !important;
    box-shadow: none !important;
}

/*
  Arrows from sock → text; asymmetric lengths.
*/
.l-product__feature {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    max-width: 260px;
    z-index: 2;
}

.l-product__feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}

.l-product__feature-body {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.l-product__feature-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 0.05rem;
    object-fit: contain;
    opacity: 0.72;
}

.l-product__feature-lead {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--l-text);
    max-width: 12.5rem;
}

.l-product__feature--tl {
    grid-column: 1; grid-row: 1;
    justify-self: end; align-self: end;
    margin: 0 0.05rem 2rem 0;
    flex-direction: row; /* copy | arrow */
    align-items: center;
}
.l-product__feature--tr {
    grid-column: 3; grid-row: 1;
    justify-self: start; align-self: end;
    margin: 0 0 1.1rem 0;
    flex-direction: row-reverse; /* copy | arrow (arrow near sock) */
    align-items: flex-start;
}
.l-product__feature--ml {
    grid-column: 1; grid-row: 2;
    justify-self: end; align-self: center;
    margin: 0 0.05rem 0 0;
    flex-direction: row;
    align-items: center;
}
.l-product__feature--mr {
    grid-column: 3; grid-row: 2;
    justify-self: start; align-self: center;
    margin: 0 0 0 0.05rem;
    flex-direction: row-reverse;
    align-items: flex-start;
}
.l-product__feature--bl {
    grid-column: 1; grid-row: 3;
    justify-self: end; align-self: start;
    margin: 0.15rem 0.05rem 0 0;
    flex-direction: row;
    align-items: center;
}
.l-product__feature--br {
    grid-column: 3; grid-row: 3;
    justify-self: start; align-self: start;
    margin: 1.55rem 0 0 0.05rem;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.l-product__arrow {
    flex-shrink: 0;
    display: block;
    height: auto;
    filter: none;
    opacity: 0.95;
    transform-origin: center;
    pointer-events: none;
}

/* TL medium, TR short, BL longest, BR medium */
.l-product__feature--tl .l-product__arrow {
    width: 72px;
    margin: -0.55rem 0 0.15rem 0.1rem;
}
.l-product__feature--tr .l-product__arrow {
    width: 48px;
    margin: 0.55rem 0.05rem 0 -0.15rem;
}
.l-product__feature--ml .l-product__arrow {
    width: 72px;
    margin: 0.05rem 0 0 0.05rem;
}
.l-product__feature--mr .l-product__arrow {
    width: 78px;
    margin: 0.05rem 0.15rem 0 -0.05rem;
    transform: none;
}
.l-product__feature--bl .l-product__arrow {
    width: 108px;
    margin: 0.1rem 0 0 0.05rem;
}
.l-product__feature--br .l-product__arrow {
    width: 68px;
    margin: 0.35rem 0.05rem 0 -0.1rem;
}
.l-product__feature.is-no-arrow .l-product__arrow { display: none; }

.l-product__feature-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: inherit;
}

.l-product__feature-trigger strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--l-coral);
    line-height: 1.25;
}
.l-product__feature-trigger:hover strong,
.l-product__feature-trigger:focus-visible strong { color: var(--l-coral-dark); }

/* Feature detail popup */
.l-feature-modal {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(420px, calc(100vw - 2rem));
}
.l-feature-modal::backdrop {
    background: rgba(31, 45, 61, 0.42);
}
.l-feature-modal__panel {
    position: relative;
    padding: 1.5rem 1.4rem 1.35rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(31, 45, 61, 0.18);
}
.l-feature-modal__close {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: #f1f3f6;
    color: var(--l-heading);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}
.l-feature-modal__close:hover { background: #e5e9ef; }
.l-feature-modal__title {
    margin: 0 1.5rem 0.75rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--l-heading);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.l-feature-modal__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--l-text);
}

@media (prefers-reduced-motion: reduce) {
    .l-product__sock { transition: none; }
}

/* ============================
   SPLIT LAYOUT (title left / content right)
   ============================ */
.l-split__inner {
    display: grid;
    grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: start;
}

@media (min-width: 1061px) {
    .l-band {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 17.25rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        box-sizing: border-box;
    }
    .l-band .l-split__inner {
        align-items: center;
    }
    #dlaczego-warto.l-icon-row {
        padding-top: 2.5rem;
    }
    .l-faq.l-band {
        padding-bottom: 2.5rem;
    }
}
.l-split__title {
    margin: 0;
    max-width: none;
    min-height: 3.75rem;
    line-height: 1.25;
    color: #888888;
    color: color-mix(in srgb, var(--l-heading) 50%, #ffffff);
}
.l-split__content { min-width: 0; }

/* Why worth sits right under product — keep full, even alt background */
#dlaczego-warto.l-icon-row {
    position: relative;
    z-index: 1;
}
.l-icon-row__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
}

.l-icon-row__item {
    position: relative;
    text-align: center;
    padding: 0.35rem 0.65rem 0.25rem;
}

.l-icon-row__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 8%; right: 0;
    width: 1px; height: 78%;
    background: repeating-linear-gradient(to bottom, #c5ccd6 0 2px, transparent 2px 6px);
}

.l-icon-row__number {
    display: grid; place-items: center;
    width: 1.85rem; height: 1.85rem;
    margin: 0 auto 0.55rem;
    border-radius: 50%;
    background: var(--l-coral);
    color: var(--l-white);
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
    position: relative;
    z-index: 2;
}

.l-icon-row__icon {
    width: 36px; height: 36px;
    margin: 0 auto 0.65rem;
    object-fit: contain;
    opacity: 0.72;
}
/* gift.svg is stroke-based; slightly reduce optical weight vs filled icons */
.l-icon-row__icon[src*="gift"] {
    width: 34px; height: 34px;
    opacity: 0.68;
    transform: scale(0.96);
}

.l-icon-row__label {
    margin: 0;
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.04em; line-height: 1.3;
    text-transform: uppercase; color: var(--l-heading);
}

/* Process: numbered badge + icon + 3 dots between steps (at icon mid-height) */
.l-icon-row--process .l-icon-row__grid {
    position: relative;
    gap: 0.85rem;
}
.l-icon-row--process .l-icon-row__grid::before { display: none; }

.l-icon-row--process .l-icon-row__item {
    z-index: 1;
    padding: 0.25rem 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.l-icon-row--process .l-icon-row__item:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    /* Vertically center on the icon (below number badge) */
    top: calc(1.25rem + 18px);
    right: 0;
    transform: translate(50%, -50%);
    width: 1.35rem;
    height: 0.35rem;
    border: 0;
    background-image: radial-gradient(circle closest-side, #c5ccd6 1.35px, transparent 1.45px);
    background-size: 0.45rem 0.35rem;
    background-repeat: repeat-x;
    background-position: center;
    pointer-events: none;
}

.l-icon-row--process .l-icon-row__icon {
    width: 36px; height: 36px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: content-box;
}
.l-icon-row--process .l-icon-row__number {
    margin-top: -0.4rem;
    margin-bottom: -0.15rem;
}
.l-icon-row--process .l-icon-row__label {
    margin-top: 0.7rem;
}

/* ============================
   WHY LA RUBA
   ============================ */
.l-why-laruba__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.55fr);
    gap: 1.5rem 2rem;
    align-items: center;
}
.l-why-laruba__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}
.l-why-laruba__item { text-align: center; }
.l-why-laruba__icon {
    width: 38px; height: 38px;
    margin: 0 auto 0.65rem;
    object-fit: contain;
    opacity: 0.75;
}
.l-why-laruba__label {
    margin: 0;
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.04em; line-height: 1.3;
    text-transform: uppercase; color: var(--l-heading);
}
.l-why-laruba__media {
    border-radius: var(--l-r);
    overflow: hidden;
}
.l-why-laruba__image,
.l-why-laruba__media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.l-why-laruba__media--logo {
    overflow: visible;
    background: transparent;
}
.l-why-laruba__media--logo img,
.l-why-laruba__media--logo .l-why-laruba__image {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}
.l-why-laruba__media picture { display: block; }

/* ============================
   TILES (offer_tiles + personalization)
   ============================ */
.l-tiles__carousel {
    position: relative;
    --l-tiles-gap: 0.75rem;
    --l-tiles-visible: 6;
}

.l-tiles__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--l-tiles-visible) - 1) * var(--l-tiles-gap)) / var(--l-tiles-visible));
    gap: var(--l-tiles-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.l-tiles__track::-webkit-scrollbar { display: none; }

.l-tiles__card {
    scroll-snap-align: start;
    border-radius: var(--l-r);
    overflow: hidden;
    background: var(--l-white);
    border: 1px solid var(--l-border);
    box-shadow: 0 4px 16px rgba(31,45,61,0.06);
    min-width: 0;
}

.l-tiles__nav {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--l-border);
    border-radius: 50%;
    background: rgba(255,255,255,0.96);
    color: var(--l-heading);
    box-shadow: 0 6px 18px rgba(31,45,61,0.12);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    font-size: 1.55rem;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.l-tiles__nav span { display: block; margin-top: -0.1rem; }
.l-tiles__nav:hover,
.l-tiles__nav:focus-visible {
    background: var(--l-coral);
    border-color: var(--l-coral);
    color: #fff;
    outline: none;
}
.l-tiles__nav:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.l-tiles__nav--prev { left: -0.35rem; }
.l-tiles__nav--next { right: -0.35rem; }
.l-tiles__nav[hidden] { display: none !important; }

.l-tiles__media {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: #eef1f5;
}

.l-tiles__media picture,
.l-tiles__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
}

.l-tiles__img,
.l-tiles__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.l-tiles__label {
    margin: 0;
    padding: 0.5rem 0.35rem;
    min-height: 2.5rem;
    display: grid; place-items: center;
    font-size: 0.57rem; font-weight: 800;
    letter-spacing: 0.04em; line-height: 1.25;
    text-align: center; text-transform: uppercase;
    color: var(--l-heading);
    border-top: 1px solid var(--l-border);
}

.l-tiles__more { margin: 1.6rem 0 0; text-align: center; display: none; }
.l-tiles__more.is-visible { display: block; }
.l-tiles__more a {
    color: var(--l-text);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase;
}
.l-tiles__more a:hover { color: var(--l-coral); }

/* ============================
   FAQ
   ============================ */
.l-faq { padding-bottom: 2.75rem; }

.l-faq__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.l-faq__item {
    border: 1px solid var(--l-border);
    border-radius: var(--l-r-sm);
    background: var(--l-white);
    overflow: hidden;
}

.l-faq__question {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 0.6rem;
    padding: 1.1rem 1rem; min-height: 6.25rem;
    font-size: 0.76rem; font-weight: 600; line-height: 1.35;
    color: var(--l-heading); cursor: pointer; list-style: none;
}
.l-faq__question::-webkit-details-marker { display: none; }

.l-faq__question-text { flex: 1; }

.l-faq__toggle {
    flex-shrink: 0;
    width: 1.4rem; height: 1.4rem;
    display: grid; place-items: center;
    color: var(--l-coral);
    font-size: 1.1rem; font-weight: 400; line-height: 1;
    transition: transform 0.2s;
}
.l-faq__item[open] .l-faq__toggle { transform: rotate(45deg); }

.l-faq__answer {
    padding: 0 0.85rem 0.9rem;
    font-size: 0.78rem; line-height: 1.55; color: var(--l-text);
    border-top: 1px solid var(--l-border);
}
.l-faq__answer p { margin: 0.6rem 0 0; }

/* ============================
   CONTACT
   ============================ */
.l-contact { background: var(--l-contact-bg); }

.l-contact__grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(160px, 0.85fr) minmax(200px, 1.05fr) minmax(140px, 0.55fr);
    gap: 1.35rem 1.6rem;
    align-items: center;
}

.l-contact__media {
    border-radius: 18px;
    overflow: hidden;
    background: #e4ebf2;
    aspect-ratio: 4 / 3;
    position: relative;
}

.l-contact__media picture,
.l-contact__media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
}

.l-contact__image,
.l-contact__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.l-contact__copy {
    min-width: 0;
    padding-right: 0.25rem;
}

.l-contact__title {
    margin: 0 0 0.85rem;
    font-size: clamp(0.92rem, 1.45vw, 1.12rem);
    line-height: 1.35;
    max-width: 16rem;
}

.l-contact__note {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    position: relative;
}

.l-contact__note-text {
    font-family: var(--l-hand);
    font-style: normal;
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1.15;
    color: var(--l-note-text);
}

.l-contact__note-arrow {
    width: 58px;
    height: auto;
    flex-shrink: 0;
    display: block;
    margin: -0.35rem 0 0 0.1rem;
    transform: rotate(-48deg);
    filter: none;
    opacity: 0.92;
}

.l-contact__form-wrap { min-width: 0; }

/* Form */
.l-form { display: grid; gap: 0.55rem; position: relative; }

.l-form__hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.l-form__field input {
    width: 100%;
    padding: 0.78rem 1rem;
    border: 1px solid #d7dee7;
    border-radius: 10px;
    font: inherit; font-size: 0.82rem;
    color: var(--l-heading);
    background: var(--l-white);
}
.l-form__field input::placeholder {
    color: #aab1bb;
    text-transform: none;
    font-size: 0.82rem;
    letter-spacing: 0;
}
.l-form__field.is-error input { border-color: var(--l-coral); }

.l-form .l-btn {
    width: 100%; margin-top: 0.2rem;
    justify-content: center;
    border-radius: 10px;
}

.l-form__check {
    display: flex; gap: 0.5rem; align-items: flex-start;
    margin-top: 0.15rem;
    font-size: 0.65rem; line-height: 1.4; color: var(--l-text);
}
.l-form__check input { margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--l-coral); }
.l-form__check.is-error { color: var(--l-coral); }

.l-form__success {
    padding: 0.75rem 1rem; border-radius: 8px;
    background: #e8f6ee; color: #1f6b42; font-weight: 600;
}

.l-form__error {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    background: #fdecec;
    color: #a33b3b;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Contact aside */
.l-contact__aside {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    padding-left: 1.35rem;
    border-left: 1px solid #d5dbe3;
    align-self: center;
}

.l-contact__aside-item {
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.04em;
    line-height: 1.3; text-transform: uppercase; color: var(--l-heading);
}
.l-contact__aside-item img { width: 32px; height: 32px; object-fit: contain; opacity: 0.72; flex-shrink: 0; }

/* ============================
   FOOTER
   ============================ */
.l-footer {
    padding: 1.6rem 0;
    background: var(--l-footer-bg);
}

.l-footer__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem; align-items: center;
}

.l-footer__logo {
    font-size: 1.25rem; font-weight: 700;
    letter-spacing: 0.14em; color: var(--l-heading);
}

.l-footer__contact {
    display: flex; flex-direction: column;
    gap: 0.2rem; text-align: center;
}
.l-footer__contact a {
    text-decoration: none; font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase; color: var(--l-heading);
}

.l-footer__social { display: flex; gap: 0.6rem; justify-content: flex-end; }
.l-footer__social a {
    display: grid; place-items: center;
    width: 2rem; height: 2rem;
    color: var(--l-heading); text-decoration: none;
}
.l-footer__social svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1060px) {
    .l-split__inner { grid-template-columns: 1fr; gap: 1.25rem; }
    .l-split__title { max-width: none; }
    .l-why-laruba__content { grid-template-columns: 1fr; }
    .l-tiles__carousel { --l-tiles-visible: 3; }
    .l-tiles__nav--prev { left: 0.15rem; }
    .l-tiles__nav--next { right: 0.15rem; }
    .l-faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l-contact__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .l-contact__media { grid-column: 1; }
    .l-contact__copy { grid-column: 2; }
    .l-contact__form-wrap { grid-column: 1; }
    .l-contact__aside {
        grid-column: 2;
        border-left: none;
        padding-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem 1.25rem;
    }
}

@media (max-width: 980px) {
    .l-hero__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 860px) {
    .l-icon-row__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.75rem; }
    .l-icon-row__item:not(:last-child)::after { display: none; }
    .l-icon-row--process .l-icon-row__grid::before { display: none; }
    .l-why-laruba__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l-tiles__carousel { --l-tiles-visible: 2.2; }

    /* Hero mobile: full-bleed photo on top, compact copy below */
    .l-hero {
        min-height: auto;
        background-image: none;
        background-color: var(--l-bg);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .l-hero::before { display: none; }
    .l-kicker__inner { min-height: 3rem; }
    .l-kicker__title { font-size: 1.15rem; letter-spacing: 0.12em; }
    .l-hero__media {
        display: block;
        position: relative;
        inset: auto;
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        height: clamp(220px, 62vw, 340px);
        min-height: 0;
        margin: 0;
        background-image: none;
        overflow: hidden;
        z-index: 0;
    }
    .l-hero__media::after { display: none; content: none; }
    .l-hero__container {
        order: 1;
        position: relative;
        z-index: 1;
        min-height: auto;
        align-items: flex-start;
        padding: 1.15rem 0 1.35rem;
        flex: 0 0 auto;
        width: min(1200px, calc(100% - 1.5rem));
        margin: 0 auto;
    }
    .l-hero__inner {
        max-width: none;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .l-hero__badge {
        margin-bottom: 0.7rem;
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem 0.3rem 0.38rem;
    }
    .l-hero__badge img { width: 22px; height: 22px; }
    .l-hero__title {
        font-size: clamp(1.35rem, 5.8vw, 1.85rem);
        max-width: none;
        margin-bottom: 0.55rem;
        line-height: 1.15;
    }
    .l-hero__lead {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 0.95rem;
        max-width: 34rem;
    }
    .l-hero__scroll { display: none; }

    /* Product mobile: surround layout + arrows from sock → text */
    .l-product {
        margin-top: 0;
        margin-bottom: 0;
        padding: 1.15rem 0 0.9rem;
        background: var(--l-white);
    }
    .l-product::before { display: none; }
    .l-product__stage {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(120px, 40%) minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        column-gap: 0.1rem;
        row-gap: 0.55rem;
        align-items: center;
        min-height: 0;
        max-width: none;
    }
    .l-product__sock {
        grid-column: 2 !important;
        grid-row: 1 / span 3 !important;
        max-width: 250px;
        margin: 0 auto;
        transition: none;
        transform: none !important;
    }
    .l-product__feature {
        max-width: 148px;
        gap: 0.1rem;
    }
    .l-product__feature--tl {
        grid-column: 1 !important; grid-row: 1 !important;
        justify-self: end; align-self: end;
        margin: 0 0 0.35rem 0 !important;
        flex-direction: row !important;
    }
    .l-product__feature--tr {
        grid-column: 3 !important; grid-row: 1 !important;
        justify-self: start; align-self: end;
        margin: 0 0 0.9rem 0 !important;
        flex-direction: row-reverse !important;
    }
    .l-product__feature--ml {
        grid-column: 1 !important; grid-row: 2 !important;
        justify-self: end; align-self: center;
        margin: 0 !important;
        flex-direction: row !important;
    }
    .l-product__feature--mr {
        grid-column: 3 !important; grid-row: 2 !important;
        justify-self: start; align-self: center;
        margin: 0 !important;
        flex-direction: row-reverse !important;
    }
    .l-product__feature--bl {
        grid-column: 1 !important; grid-row: 3 !important;
        justify-self: end; align-self: start;
        margin: 0.2rem 0 0 0 !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    .l-product__feature--br {
        grid-column: 3 !important; grid-row: 3 !important;
        justify-self: start; align-self: start;
        margin: 0.6rem 0 0 0 !important;
        flex-direction: row-reverse !important;
        align-items: flex-start !important;
    }
    .l-product__feature-icon { width: 18px; height: 18px; }
    .l-product__feature-body { gap: 0.3rem; }
    .l-product__feature-lead {
        font-size: 0.58rem;
        line-height: 1.3;
        max-width: 7.2rem;
    }
    .l-product__feature-trigger strong {
        font-size: 0.5rem;
        letter-spacing: 0.04em;
    }
    .l-product__feature--tl .l-product__arrow {
        width: 44px;
        display: block;
        margin: -0.2rem 0 0 0;
    }
    .l-product__feature--tr .l-product__arrow {
        width: 30px;
        display: block;
        margin: 0.35rem 0 0 0;
    }
    .l-product__feature--ml .l-product__arrow { width: 40px; display: block; margin: 0; }
    .l-product__feature--mr .l-product__arrow { width: 36px; display: block; margin: 0; }
    .l-product__feature--bl .l-product__arrow {
        width: 58px;
        display: block;
        margin: 0;
    }
    .l-product__feature--br .l-product__arrow {
        width: 40px;
        display: block;
        margin: 0.2rem 0 0 0;
    }
}

@media (max-width: 768px) {
    .l-section { padding: 2rem 0; }
    #dlaczego-warto.l-icon-row { padding-top: 2.25rem; }
    .l-hero__media { height: clamp(200px, 58vw, 300px); }
    .l-hero__container { padding: 1rem 0 1.2rem; }
    .l-hero__title { font-size: 1.4rem; }
    .l-hero__lead { font-size: 0.8rem; }
    .l-product__sock { max-width: 220px; }
    .l-product__feature { max-width: 132px; }
    .l-product__feature--tl .l-product__arrow { width: 40px; }
    .l-product__feature--tr .l-product__arrow { width: 26px; }
    .l-product__feature--bl .l-product__arrow { width: 52px; }
    .l-product__feature--br .l-product__arrow { width: 36px; }
    .l-product__feature-trigger strong { font-size: 0.48rem; }
    .l-product__feature-lead { font-size: 0.55rem; max-width: 6.4rem; }
    .l-tiles__carousel { --l-tiles-visible: 2; --l-tiles-gap: 0.55rem; }
    .l-tiles__nav { width: 2.35rem; height: 2.35rem; font-size: 1.35rem; top: 34%; }
    .l-faq__list { grid-template-columns: 1fr; }
    .l-faq__question { min-height: 0; padding: 0.95rem 0.9rem; }
    .l-contact__grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .l-contact__media,
    .l-contact__copy,
    .l-contact__form-wrap,
    .l-contact__aside { grid-column: 1; }
    .l-contact__title { max-width: none; }
    .l-contact__note { flex-wrap: wrap; }
    .l-contact__note-arrow { width: 48px; }
    .l-contact__aside {
        border-left: none;
        padding-left: 0;
        flex-direction: column;
        gap: 0.85rem;
    }
    .l-footer__grid { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
    .l-footer__social { justify-content: center; }
    .l-icon-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l-why-laruba__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0.75rem; }
    .l-container { width: min(1200px, calc(100% - 1.5rem)); }
}

@media (max-width: 480px) {
    .l-hero__container { padding: 0.9rem 0 1.1rem; }
    .l-hero__title { font-size: 1.28rem; }
    .l-hero__lead { font-size: 0.78rem; margin-bottom: 0.85rem; }
    .l-hero__badge { font-size: 0.55rem; }
    .l-hero__media { height: clamp(180px, 55vw, 240px); }
    .l-btn { width: 100%; justify-content: center; }
    .l-product__stage {
        grid-template-columns: minmax(0, 1fr) minmax(100px, 38%) minmax(0, 1fr);
    }
    .l-product__sock { max-width: 190px; }
    .l-product__feature { max-width: 112px; }
    .l-product__feature-icon { width: 18px; height: 18px; }
    .l-product__feature--tl .l-product__arrow { width: 34px; }
    .l-product__feature--tr .l-product__arrow { width: 22px; }
    .l-product__feature--bl .l-product__arrow { width: 44px; }
    .l-product__feature--br .l-product__arrow { width: 30px; }
    .l-product__feature-trigger strong { font-size: 0.44rem; }
    .l-product__feature-lead { font-size: 0.5rem; max-width: 5.6rem; }
    .l-tiles__carousel { --l-tiles-visible: 1.35; }
    .l-contact__aside-item { font-size: 0.55rem; }
}
