/* ── HOME — strona główna iDEO Design ─────────────────────────────── */

/* ── Wspólne komponenty sekcji ── */
.section-header {
    max-width: 720px;
    margin: 0 auto var(--ideo-sp-7);
    text-align: center;
}
.section-title {
    font-family: var(--ideo-font-display);
    font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
    font-weight: var(--ideo-fw-display);
    color: var(--ideo-color-text);
    line-height: var(--ideo-lh-tight);
    letter-spacing: var(--ideo-letter-tight);
    margin: 0 0 var(--ideo-sp-3);
    text-transform: none;
}
.section-lead {
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-base);
    color: var(--ideo-color-text-muted);
    margin: 0 0 var(--ideo-sp-4);
}

/* ── Reset paragrafów wewnątrz pól WYSIWYG ───────────────────────── */
.section-lead p,
.home-usp__body p,
.home-atelier__body p,
.home-konsultacja__body p,
.home-wypozyczalnia__body p,
.home-ciazowe__body p,
.home-outro__body p,
.home-intro__lead p {
    margin: 0 0 var(--ideo-sp-3);
}
.section-lead p:last-child,
.home-usp__body p:last-child,
.home-atelier__body p:last-child,
.home-konsultacja__body p:last-child,
.home-wypozyczalnia__body p:last-child,
.home-ciazowe__body p:last-child,
.home-outro__body p:last-child,
.home-intro__lead p:last-child {
    margin-bottom: 0;
}
.section-cta {
    margin-top: var(--ideo-sp-7);
    text-align: center;
}

/* Lokalne style przycisków są w main.css — usuwam zduplikowane reguły. */

/* ── Sekcja 1 — HERO (tylko wideo) ───────────────────────────────── */
.home-hero {
    position: relative;
    overflow: hidden;
    height: 560px;
}
.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.home-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 61%, #ffffff 100%);
    pointer-events: none;
}
.home-hero__img,
.home-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* ── Sekcja 1b — INTRO (tytuł + CTA + opis + opinie) ─────────────── */
.home-intro {
    background: #fff;
    padding: var(--ideo-sp-8) 0 var(--ideo-sp-9);
}
.home-intro__inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.home-intro__title {
    font-family: var(--ideo-font-display);
    font-weight: var(--ideo-fw-display);
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text);
    margin: 0 0 var(--ideo-sp-6);
}
.home-intro__cta {
    margin: 0 0 var(--ideo-sp-6);
}
.home-intro__lead {
    position: relative;
    color: var(--ideo-color-text);
    font-size: var(--ideo-fs-base);
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto var(--ideo-sp-4);
}
/* SEO-friendly: treść zawsze w DOM, tylko CSS chowa wizualnie. */
.home-intro__lead.is-clamped {
    max-height: 5.1em;       /* ~3 linie */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.home-intro__lead.is-expanded {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
.home-intro__lead p { margin: 0; }
.home-intro__toggle {
    display: block;
    margin: 0 auto var(--ideo-sp-6);
    background: none;
    border: 0;
    padding: var(--ideo-sp-2) var(--ideo-sp-3);
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text-muted);
    cursor: pointer;
}
.home-intro__toggle:hover { color: var(--ideo-color-text); }

.home-intro__reviews {
    display: inline-flex;
    align-items: center;
    gap: var(--ideo-sp-3);
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    font-weight: var(--ideo-fw-bold, 700);
    color: var(--ideo-color-text);
    margin-top: var(--ideo-sp-3);
}
.home-intro__reviews-stars {
    position: relative;
    color: #fbbc05;
    letter-spacing: 2px;
    font-size: 1.05rem;
}
.home-intro__reviews-half {
    background: linear-gradient(90deg, #fbbc05 50%, #d8d8d8 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.home-intro__reviews-count { font-weight: var(--ideo-fw-regular); color: var(--ideo-color-text); }
.home-intro__reviews-brand { font-family: Arial, sans-serif; font-weight: 700; font-size: 1.1rem; }

/* ── Sekcja 2 — USP ─────────────────────────────────────────────── */
.home-usp {
    background: var(--ideo-color-bg-soft);
    padding: var(--ideo-sp-9) 0 var(--ideo-sp-7);
}
.home-usp__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--ideo-sp-7);
    align-items: center;
}
.home-usp__text { max-width: 640px; }
.home-usp__title {
    font-family: var(--ideo-font-display);
    font-weight: var(--ideo-fw-display);
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
    line-height: var(--ideo-lh-snug);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text);
    margin: 0 0 var(--ideo-sp-4);
}
.home-usp__body {
    font-size: var(--ideo-fs-base);
    color: var(--ideo-color-text);
    line-height: 1.7;
    margin: 0;
}
.home-usp__body p { margin: 0; }
.home-usp__link {
    display: inline-flex;
    align-items: center;
    gap: var(--ideo-sp-3);
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    font-weight: var(--ideo-fw-bold);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--ideo-dur-fast) var(--ideo-ease), transform var(--ideo-dur-fast) var(--ideo-ease);
}
.home-usp__link svg { transition: transform var(--ideo-dur-base) var(--ideo-ease); }
.home-usp__link:hover { color: var(--ideo-color-primary); }
.home-usp__link:hover svg { transform: translateX(6px); }

/* ── Sekcja 3 — MODELE (karuzela full-bleed z watermarkiem) ──────── */
.home-modele {
    --ideo-watermark-w: clamp(180px, 16vw, 320px);
    position: relative;
    background: var(--ideo-color-bg-soft);
    padding: 0 0 var(--ideo-sp-9);
    padding-left: var(--ideo-watermark-w);    /* rezerwacja miejsca na watermark */
    overflow: hidden;
}
.home-modele__watermark {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--ideo-watermark-w);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ideo-font-display);
    font-style: italic;
    font-weight: var(--ideo-fw-display);
    font-size: clamp(11rem, 18vw, 22rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: #ffffff;
    opacity: 0.95;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.home-modele__watermark--img {
    object-fit: contain;
    object-position: center;
    padding: var(--ideo-sp-5) 0;
    height: 100%;
    width: var(--ideo-watermark-w);
    writing-mode: initial;
    transform: none;
    font-size: 0;
}
.home-modele__carousel {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}
.home-modele__carousel .carousel__track {
    padding-bottom: var(--ideo-sp-3);
    padding-right: var(--ideo-sp-5);
}
.home-modele__carousel .carousel__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: #ffffff;
    color: var(--ideo-color-text);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    z-index: 3;
}
.home-modele__carousel .carousel__nav:hover {
    background: var(--ideo-color-primary);
    color: #ffffff;
}
.home-modele__carousel .carousel__nav--prev { left: var(--ideo-sp-4); right: auto; }
.home-modele__carousel .carousel__nav--next { right: var(--ideo-sp-4); left: auto; }
.home-modele__carousel .carousel__dots { margin-top: var(--ideo-sp-6); }
.home-modele__slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}
.home-modele__media {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #000;
    text-decoration: none;
    color: #fff;
}
.home-modele__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ideo-dur-slow) var(--ideo-ease), opacity var(--ideo-dur-base) var(--ideo-ease);
}
.home-modele__media:hover .home-modele__img { transform: scale(1.04); opacity: 0.92; }
.home-modele__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--ideo-sp-6);
    text-align: center;
    font-family: var(--ideo-font-display);
    font-weight: var(--ideo-fw-display);
    font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem);
    letter-spacing: var(--ideo-letter-wide);
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}
.home-modele__cta {
    display: inline-block;
    margin: var(--ideo-sp-4) auto 0;
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    font-weight: var(--ideo-fw-bold);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    color: var(--ideo-color-text);
    transition: color var(--ideo-dur-fast) var(--ideo-ease);
}
.home-modele__cta:hover { color: var(--ideo-color-primary); }

/* ── Sekcja 3b — IKONY (4 kafelki z ikoną + tytuł + opis) ────────── */
.home-ikony {
    background: var(--ideo-color-bg);
    padding: var(--ideo-sp-9) 0;
}
.home-ikony__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--ikony-count, 4), 1fr);
    gap: var(--ideo-sp-7) var(--ideo-sp-6);
}
.home-ikony__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Ikona renderowana przez CSS mask — niezależnie od koloru wgranego SVG/PNG
   ostatecznie zawsze przyjmuje barwę --ideo-color-primary (#CAAB69). */
.home-ikony__ikona {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0 auto var(--ideo-sp-5);
    background-color: var(--ideo-color-primary);
    -webkit-mask-image: var(--icon-url);
            mask-image: var(--icon-url);
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}
.home-ikony__tytul {
    font-family: var(--ideo-font-body);
    font-weight: var(--ideo-fw-bold);
    font-size: var(--ideo-fs-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ideo-color-text);
    margin: 0 0 var(--ideo-sp-3);
    line-height: 1.3;
}
.home-ikony__opis {
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    color: var(--ideo-color-text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* ── Carousel (modele + wieczorowe) ── */
.carousel {
    position: relative;
    margin: 0 calc(-1 * var(--ideo-container-pad));
    padding: 0 var(--ideo-container-pad);
}
.carousel__viewport {
    overflow: hidden;
    position: relative;
}
.carousel__track {
    display: flex;
    gap: var(--ideo-sp-5);
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--ideo-sp-3);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
    flex: 0 0 calc((100% - 3 * var(--ideo-sp-5)) / 4);
    scroll-snap-align: start;
    color: var(--ideo-color-text);
    text-decoration: none;
    transition: transform var(--ideo-dur-base) var(--ideo-ease);
}
.carousel__slide:hover { transform: translateY(-4px); }
.carousel__media {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--ideo-color-bg);
    margin-bottom: var(--ideo-sp-3);
}
.carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ideo-dur-slow) var(--ideo-ease);
}
.carousel__slide:hover .carousel__img { transform: scale(1.04); }
.carousel__name {
    font-family: var(--ideo-font-display);
    font-size: var(--ideo-fs-lg);
    font-weight: var(--ideo-fw-display);
    text-align: center;
    margin: 0;
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
}

.carousel__nav {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ideo-color-bg);
    color: var(--ideo-color-primary-dark);
    border: 1px solid var(--ideo-color-border);
    box-shadow: var(--ideo-shadow-md);
    z-index: 2;
    transition: background var(--ideo-dur-fast) var(--ideo-ease), color var(--ideo-dur-fast) var(--ideo-ease);
}
.carousel__nav:hover {
    background: var(--ideo-color-primary);
    color: var(--ideo-color-text-inverse);
    border-color: var(--ideo-color-primary);
}
.carousel__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel__nav--prev { left: calc(var(--ideo-container-pad) - 24px); }
.carousel__nav--next { right: calc(var(--ideo-container-pad) - 24px); }

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: var(--ideo-sp-2);
    margin-top: var(--ideo-sp-5);
}
.carousel__dot {
    width: 32px;
    height: 3px;
    background: var(--ideo-color-border);
    cursor: pointer;
    transition: background var(--ideo-dur-fast) var(--ideo-ease);
}
.carousel__dot.is-active { background: var(--ideo-color-primary); }

@media (max-width: 900px) {
    .carousel__slide { flex: 0 0 calc((100% - var(--ideo-sp-5)) / 2); }
    .carousel__nav { width: 40px; height: 40px; }
}
@media (max-width: 768px) {
    .home-modele__carousel .carousel__track { gap: 12px !important; padding: 0 16px !important; }
    .home-modele__carousel .carousel__slide { flex: 0 0 calc((100% - 12px) / 2) !important; }
    .home-modele__carousel .carousel__nav { display: none !important; }
}

/* ── Sekcja 4 — MEDIA (TV: logotypy + galeria + CTA) ─────────────── */
.home-media {
    background: var(--ideo-color-bg-soft);
    padding: var(--ideo-sp-9) 0;
}
.home-media__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: var(--ideo-sp-8);
    align-items: center;
    margin-bottom: var(--ideo-sp-7);
}
.home-media__text { max-width: 520px; }
.home-media__title {
    font-family: var(--ideo-font-display);
    font-weight: var(--ideo-fw-display);
    font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.1rem);
    line-height: var(--ideo-lh-snug);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text);
    margin: 0 0 var(--ideo-sp-4);
}
.home-media__lead {
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-base);
    color: var(--ideo-color-text);
    line-height: 1.7;
}
.home-media__lead p { margin: 0; }
.home-media__lead strong { font-weight: var(--ideo-fw-bold); }

.home-media__logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--logos-count, 4), minmax(0, 1fr));
    gap: var(--ideo-sp-5);
    align-items: center;
}
.home-media__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    min-width: 0;
}
.home-media__logo img {
    max-height: 90px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.home-media__galeria {
    list-style: none;
    margin: 0 0 var(--ideo-sp-7);
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--galeria-count, 6), minmax(0, 1fr));
    gap: var(--ideo-sp-4);
}
.home-media__foto {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f3e9da;
    min-width: 0;
}
.home-media__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--ideo-dur-slow) var(--ideo-ease);
}
.home-media__foto:hover img { transform: scale(1.05); }

.home-media__cta { text-align: center; }

/* ── Sekcja 5 — ATELIER (białe tło + grafika w tle po lewej) ─────── */
.home-atelier {
    position: relative;
    background: #ffffff;
    padding: var(--ideo-sp-9) 0;
    overflow: hidden;
}
.home-atelier__tlo {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: clamp(280px, 28vw, 480px);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.home-atelier__tlo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.22;                                  /* delikatne, jak watermark */
    mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
}
.home-atelier__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--ideo-sp-8);
    align-items: center;
}
.home-atelier__content { max-width: 520px; }
.home-atelier__title {
    font-family: var(--ideo-font-display);
    font-weight: var(--ideo-fw-display);
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
    line-height: var(--ideo-lh-snug);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text);
    margin: 0 0 var(--ideo-sp-5);
    text-align: left;
}
.home-atelier__body {
    position: relative;
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-base);
    color: var(--ideo-color-text);
    line-height: 1.7;
    margin: 0 0 var(--ideo-sp-3);
}
.home-atelier__body.is-clamped {
    max-height: 8.5em;                              /* ~5 linii */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.home-atelier__body.is-expanded {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
.home-atelier__body p { margin: 0 0 var(--ideo-sp-3); }
.home-atelier__body p:last-child { margin-bottom: 0; }
.home-atelier__toggle {
    display: block;
    margin: 0 0 var(--ideo-sp-5);
    background: none;
    border: 0;
    padding: var(--ideo-sp-2) 0;
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    letter-spacing: var(--ideo-letter-wide);
    text-transform: uppercase;
    color: var(--ideo-color-text-muted);
    cursor: pointer;
}
.home-atelier__toggle:hover { color: var(--ideo-color-primary); }
.home-atelier__media {
    position: relative;
    z-index: 1;
}
.home-atelier__img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

/* ── Sekcja 6 — KONSULTACJA (a50e64b z post-382.css)
   Tło: białe. Padding: 75px 0. Layout: 2 kolumny 50/50 (e80a095 = lewa, width 50%,
   border-right 1px #F5EEE8 jako delikatny separator). Gap: 20px.
─────────────────────────────────────────────────────────────────── */
.home-konsultacja {
    padding: 75px 0;
    background: #ffffff;
}
.home-konsultacja__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}
.home-konsultacja__lead {
    max-width: 560px;
    padding-right: 40px;
    border-right: 1px solid #F5EEE8;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tytuł: Cormorant Garamond 30px / 600 / uppercase / line-height 34px / ls 0.5px */
.home-konsultacja__title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 34px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 var(--ideo-sp-5);
    text-align: left;
}
/* "BEZPŁATNĄ" — Playfair Display 600 / kolor #45A02D */
.home-konsultacja__title span,
.home-konsultacja__title .accent-green {
    font-family: "Playfair Display", serif;
    color: #45A02D;
    font-weight: 600;
}

.home-konsultacja__body {
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin: 0 0 var(--ideo-sp-6);
}
.home-konsultacja__body p { margin: 0 0 1em; }
.home-konsultacja__body p:last-child { margin-bottom: 0; }
.home-konsultacja__body strong,
.home-konsultacja__body b { font-weight: 700; }
/* Telefon w treści (klasa z produkcji + nasz fallback) */
.home-konsultacja__body .customtext1 a,
.home-konsultacja__phone a {
    font-size: 20px;
    color: #B58A2D;
    font-weight: 700;
    text-decoration: none;
}
.home-konsultacja__body .customtext1 a:hover,
.home-konsultacja__phone a:hover { color: #8a6920; }

.home-konsultacja__phone {
    display: block;
    margin: 0 0 var(--ideo-sp-6);
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    color: #000000;
}
.home-konsultacja__phone-lbl { color: #000000; }
.home-konsultacja__phone-row { display: block; margin-top: 4px; }
.home-konsultacja__phone-cta { font-weight: 700; color: #000000; }
.home-konsultacja__phone-num { margin-left: 4px; }
.home-konsultacja__cta-arrow-down { width: 16px; height: 16px; display: none; }

/* Wiersz akcji: zielony CTA (lewy) + "Wypełnij formularz →" (prawy, icon-box) */
.home-konsultacja__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ideo-sp-5);
    margin: 0;
}
/* Zielony CTA "Tak, chcę umówić prywatną przymiarkę" */
.home-konsultacja__cta-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    min-height: 52px;
    background: #45A02D;
    color: #ffffff;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background var(--ideo-dur-fast) var(--ideo-ease);
}
.home-konsultacja__cta-main:hover,
.home-konsultacja__cta-main:focus-visible {
    background: #357c22;
    color: #ffffff;
}
/* "Wypełnij formularz →" — icon-box style (strzałka po LEWEJ, tekst po prawej) */
.home-konsultacja__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #B58A2D;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0;
    transition: color var(--ideo-dur-fast) var(--ideo-ease);
}
.home-konsultacja__cta-link:hover { color: #8a6920; }
.home-konsultacja__cta-link svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
    flex: 0 0 auto;
    transition: transform var(--ideo-dur-base) var(--ideo-ease);
}
.home-konsultacja__cta-link:hover svg { transform: translateX(4px); }

/* ── Formularz iDEO (1:1 z produkcji) ────────────────────────────── */
.ideo-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    background: transparent;
    padding: 0;
}
/* Tytuł formularza: Cormorant Garamond 25px / 500 / ls 0.5px / lh 50px */
.home-konsultacja__form-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    color: #000000;
    margin: 0 0 var(--ideo-sp-3);
}
.ideo-form__field { position: relative; display: block; }
.ideo-form__label {
    display: block;
    font-family: var(--ideo-font-body);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ideo-color-text-muted);
    margin-bottom: var(--ideo-sp-2);
}
.ideo-form__input,
.ideo-form__select,
.ideo-form__textarea {
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #cfc4ad;
    border-radius: 0;
    background: #ffffff;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 15px;
    color: #000000;
    transition: border-color var(--ideo-dur-fast) var(--ideo-ease);
}
/* Placeholder: jak label w produkcji — szary, identyczny font */
.ideo-form__input::placeholder,
.ideo-form__textarea::placeholder {
    color: #6b6258;
    opacity: 1;
    font-family: inherit;
    font-size: inherit;
}
/* Select: dopóki nie wybrano opcji wygląda jak placeholder (szary tekst) */
.ideo-form__select.is-empty { color: #6b6258; }
.ideo-form__select.is-empty option { color: #000000; }
.ideo-form__select option[disabled] { display: none; }
.ideo-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%231a1a1a' stroke-width='1.5' d='M1 1.5L6 6.5L11 1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    padding-right: 1.5rem;
}
.ideo-form__input:focus,
.ideo-form__select:focus,
.ideo-form__textarea:focus {
    outline: none;
    border-bottom-color: var(--ideo-color-primary);
}
.ideo-form__textarea { resize: vertical; min-height: 100px; }

/* Pole "Dodatkowa wiadomość" — pokaż gdy wybrano temat (animacja fade) */
.ideo-form__field--message[hidden] { display: none !important; }
.ideo-form__field--message {
    grid-column: 1 / -1;                 /* zajmuje całą szerokość w grid 2-col formularza */
    animation: ideoFadeIn 0.25s ease;
}
@keyframes ideoFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ideo-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--ideo-sp-3);
    font-family: var(--ideo-font-body);
    font-size: var(--ideo-fs-sm);
    color: var(--ideo-color-text);
    line-height: 1.5;
    cursor: pointer;
}
.ideo-form__checkbox input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ideo-color-primary);
    cursor: pointer;
}
.ideo-form__checkbox a {
    color: var(--ideo-color-primary);
    font-weight: var(--ideo-fw-bold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ideo-form__hp { display: none; }
.ideo-form__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ideo-sp-4);
    margin-top: var(--ideo-sp-3);
}
/* Submit "Zarezerwuj termin" — Georgia 13px / 500 / uppercase / gold #CAAB69 */
.ideo-form__actions .btn,
.ideo-form__submit {
    background: #CAAB69;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    padding: 14px 28px;
    min-height: 50px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;     /* strzałka po prawej zgodnie z produkcją */
    gap: 10px;
    cursor: pointer;
    transition: background var(--ideo-dur-fast) var(--ideo-ease);
}
.ideo-form__actions .btn:hover,
.ideo-form__submit:hover {
    background: #B58A2D;
    color: #ffffff;
}
.ideo-form__actions .btn svg { fill: #ffffff; width: 18px; height: 14px; }
.ideo-form__status { font-size: var(--ideo-fs-sm); color: var(--ideo-color-text-muted); }
.ideo-form__rodo {
    font-family: var(--ideo-font-body);
    font-size: 0.78rem;
    color: var(--ideo-color-text-muted);
    line-height: 1.55;
    margin-top: var(--ideo-sp-3);
}
.ideo-form__rodo p { margin: 0; }

/* ── Sekcja 7 — BLOG (1:1 z post-382.css + inline loop 6247)
   Divider 407d1dc5: linia 1px solid #000 + "BLOG" Cormorant Garamond 30/500 #B58A2D.
   Karta: container z bg-image min-height 230px, naklejka kategorii czarna 84%,
   biały content box margin-top -40px, tytuł H3 Cormorant 19/600/lh 27px max 2 linie.
─────────────────────────────────────────────────────────────────── */
.home-blog {
    padding: var(--ideo-sp-9) 0;
    background: #ffffff;
}
.home-blog__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    margin: 0 0 var(--ideo-sp-7);
}
.home-blog__line {
    flex: 1 1 auto;
    height: 1px;
    background: #000000;
    display: block;
}
.home-blog__title-section {
    flex: 0 0 auto;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B58A2D;
    margin: 0;
}
.home-blog__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ideo-sp-6);
}
.home-blog__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
/* Obraz/placeholder jako tło kontenera (jak Elementor c3863aa). */
.home-blog__media {
    display: block;
    min-height: 320px;
    background-color: #f3e9da;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    transition: filter var(--ideo-dur-base) var(--ideo-ease);
}
.home-blog__media:hover { filter: brightness(0.96); }

/* Naklejka kategorii — czarna półprzezroczysta, top-left, w obrębie .home-blog__media. */
.home-blog__cat {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 5px 18px;
    background: rgba(0, 0, 0, 0.84);
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: background var(--ideo-dur-fast) var(--ideo-ease);
}
.home-blog__cat:hover { background: rgba(0, 0, 0, 0.95); color: #ffffff; }

/* Biały content box nachodzi na obraz (margin-top: -40px). */
.home-blog__body {
    position: relative;
    z-index: 1;
    width: 90%;
    margin: -40px auto 0;
    padding: 25px 16px;
    background: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
}
.home-blog__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    color: #B58A2D;
    font-weight: 600;
}
.home-blog__date-ico { color: #B58A2D; }

.home-blog__title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #000000;
    margin: 0;
    min-height: 2.8em;                                 /* zarezerwowane 2 linie */
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-blog__title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-blog__title a:hover { color: #B58A2D; }

.home-blog__more {
    margin-top: auto;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    color: #000000;
    transition: color var(--ideo-dur-fast) var(--ideo-ease);
}
.home-blog__more:hover { color: #B58A2D; }

/* ── Sekcja INSPIRACJE (3+ karty: zdjęcie + H3 + opis + ROZWIŃ OPIS)
   Divider header 1:1 z post-382.css (22cdcd8d): linia 1px #000, tytuł
   Cormorant Garamond 30px / 500 / kolor #B58A2D, padding 15px góra/dół.
─────────────────────────────────────────────────────────────────── */
.home-inspiracje {
    padding: var(--ideo-sp-9) 0;
    background: #ffffff;
}
.home-inspiracje__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    margin: 0 0 var(--ideo-sp-7);
}
.home-inspiracje__line {
    flex: 1 1 auto;
    height: 1px;
    background: #000000;
    display: block;
}
.home-inspiracje__title {
    flex: 0 0 auto;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B58A2D;
    margin: 0;
    text-align: center;
}
.home-inspiracje__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--cards-count, 3), minmax(0, 1fr));
    gap: var(--ideo-sp-6);
    align-items: stretch;
}
.home-inspiracje__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;          /* karty równej wysokości */
}
.home-inspiracje__opis { flex: 1 1 auto; }    /* opis rośnie → toggle przykleja się do dołu */
.home-inspiracje__media {
    display: block;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f3e9da;
    margin: 0 0 var(--ideo-sp-5);
    text-decoration: none;
}
.home-inspiracje__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ideo-dur-slow) var(--ideo-ease);
}
a.home-inspiracje__media:hover img { transform: scale(1.04); }
.home-inspiracje__tytul {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 1rem + 0.6vw, 1.6rem);
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: #000000;
    margin: 0 0 var(--ideo-sp-4);
    text-align: left;
    min-height: calc(2em * 1.25);   /* zawsze 2 linie — wyrównanie body w siatce */
    display: flex;
    align-items: flex-start;
}
.home-inspiracje__tytul a { color: inherit; text-decoration: none; }
.home-inspiracje__tytul a:hover { color: #B58A2D; }
.home-inspiracje__opis {
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #000000;
    margin: 0 0 var(--ideo-sp-3);
}
.home-inspiracje__opis p { margin: 0 0 0.6em; }
.home-inspiracje__opis p:last-child { margin-bottom: 0; }
.home-inspiracje__opis strong, .home-inspiracje__opis b { font-weight: 700; }
.home-inspiracje__opis.is-clamped {
    max-height: 6.2em;                              /* ~4 linie */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.home-inspiracje__opis.is-expanded {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
.home-inspiracje__toggle {
    align-self: flex-start;
    background: transparent;
    border: 0;
    padding: 0;
    margin-top: 4px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.home-inspiracje__toggle:hover { color: #B58A2D; }

/* ── Sekcja 8 — WYPOŻYCZALNIA (1:1 z post-382.css)
   Elementor: container 67b420a0 (flex row), 4ad67c12 = lewa kolumna z bg-image,
   838c62c = prawa kolumna 67%, 6c9ee6db = h2, 5ac5d7a0 = body, 4ebbd5d1 = toggle
─────────────────────────────────────────────────────────────────── */
.home-wypozyczalnia {
    background: #ffffff;
    padding: 50px 0;                                      /* z 2d1da11e */
}
.home-wypozyczalnia__row {
    max-width: 1400px;                                    /* --content-width: 1400px */
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}
.home-wypozyczalnia__media {
    flex: 0 0 33%;                                        /* --width: 33% z 4ad67c12 */
    min-height: 350px;                                    /* --min-height: 350px */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.home-wypozyczalnia__content {
    flex: 1 1 67%;
    padding: 20px 20px 0 20px;                            /* z 838c62c */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-wypozyczalnia__title {                              /* 6c9ee6db .elementor-heading-title */
    font-family: "Cormorant Garamond", serif;
    font-size: 23px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 16px;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}
.home-wypozyczalnia__body {                               /* 5ac5d7a0 */
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #000000;
    text-align: justify;
    margin: 0;
}
.home-wypozyczalnia__body p { margin: 0 0 8px; }
.home-wypozyczalnia__body p:last-child { margin-bottom: 0; }
.home-wypozyczalnia__body strong, .home-wypozyczalnia__body b { font-weight: 700; }
.home-wypozyczalnia__body.is-clamped {
    max-height: 6em;                                      /* ~6 linii x 20px */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}
.home-wypozyczalnia__body.is-expanded {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
.home-wypozyczalnia__toggle {                             /* 4ebbd5d1 */
    align-self: flex-start;
    margin-top: -10px;                                    /* z elementora */
    padding: 0;
    background: transparent;
    border: 0;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.home-wypozyczalnia__toggle:hover { color: #B58A2D; }

/* ── Sekcja 9 — CIĄŻOWE ─────────────────────────────────────────── */
.home-ciazowe { padding: var(--ideo-sp-10) 0; background: var(--ideo-color-bg); }
.home-ciazowe__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--ideo-sp-8);
    align-items: center;
}
.home-ciazowe__title { text-align: left; margin-bottom: var(--ideo-sp-4); }
.home-ciazowe__body { color: var(--ideo-color-text-muted); margin: 0 0 var(--ideo-sp-6); font-size: var(--ideo-fs-lg); }
.home-ciazowe__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ── Sekcja 10 — KARUZELA WIECZOROWYCH (globalny komponent)
   Z post-382.css: section 7f7ae858 (bg #F5EEE8, padding 50px), kolumny 65% / 35%,
   prawa kolumna padding-left 100px, tytuł Cormorant Garamond 30px/500/uppercase/lh 36px.
   Slajdy ZOBACZ MODEL w stylu home-modele (czarne tile + nazwa overlay).
─────────────────────────────────────────────────────────────────── */
.home-wieczorowe {
    background: #F5EEE8;
    padding: 50px 0;
    overflow: hidden;
}
.home-wieczorowe__row {
    display: flex;
    align-items: center;
    gap: 0;
}
.home-wieczorowe__carousel {
    flex: 1 1 65%;
    max-width: 65%;
    min-width: 0;                                   /* pozwala flex item zwęzić się poniżej zawartości */
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}
.home-wieczorowe__carousel .carousel__track {
    padding: 0;                                     /* bez paddingu — slajdy mają mieścić się dokładnie 4 w viewport */
    padding-bottom: var(--ideo-sp-3);
    gap: var(--ideo-sp-4);
}
/* Slajdy: 4 widoczne, scroll po jednym (JS).
   Mobile: 3, potem 2, potem 1 — patrz @media niżej. */
.home-wieczorowe__slide {
    --visible: 4;
    flex: 0 0 calc((100% - (var(--visible) - 1) * var(--ideo-sp-4)) / var(--visible));
    max-width: calc((100% - (var(--visible) - 1) * var(--ideo-sp-4)) / var(--visible));
    scroll-snap-align: start;
}
.home-wieczorowe__carousel .carousel__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: var(--ideo-color-text);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    z-index: 3;
}
.home-wieczorowe__carousel .carousel__nav:hover {
    background: var(--ideo-color-primary);
    color: #ffffff;
}
.home-wieczorowe__carousel .carousel__nav--prev { left: 8px; right: auto; }
.home-wieczorowe__carousel .carousel__nav--next { right: 8px; left: auto; }
.home-wieczorowe__slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}
.home-wieczorowe__media {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f3e9da;
    text-decoration: none;
}
.home-wieczorowe__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ideo-dur-slow) var(--ideo-ease);
}
.home-wieczorowe__media:hover .home-wieczorowe__img { transform: scale(1.04); }
.home-wieczorowe__cta {
    display: inline-block;
    margin: var(--ideo-sp-4) auto 0;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    color: #000000;
    transition: color var(--ideo-dur-fast) var(--ideo-ease);
}
.home-wieczorowe__cta:hover { color: var(--ideo-color-primary); }

/* Prawa kolumna 35% */
.home-wieczorowe__aside {
    flex: 0 0 35%;
    max-width: 35%;
    padding-left: 100px;
    padding-right: var(--ideo-sp-5);
}
.home-wieczorowe__title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 var(--ideo-sp-4);
    text-align: left;
}
.home-wieczorowe__lead {
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin: 0 0 var(--ideo-sp-5);
}
.home-wieczorowe__link {
    display: inline-flex;
    align-items: center;
    gap: var(--ideo-sp-3);
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--ideo-dur-fast) var(--ideo-ease);
}
.home-wieczorowe__link svg {
    width: 28px;
    height: 12px;
    transition: transform var(--ideo-dur-base) var(--ideo-ease);
}
.home-wieczorowe__link:hover { color: var(--ideo-color-primary); }
.home-wieczorowe__link:hover svg { transform: translateX(6px); }

/* ── Sekcja 11 — OUTRO „Największy wybór…" (1:1 z post-382.css)
   Section 503b6350 = bg #F5EEE8, flex row.
   Lewa kolumna 67441f6b = padding 50px, tekst.
   Prawa kolumna 33649dc7+2fc37b30 = obraz min-height 400px (height 400px desktop).
   Tytuł 580022f1 = Cormorant Garamond 30/500/uppercase/lh 36px / black, width 70%.
   Body 3f145f84 = Source Sans Pro 16/400 / text-align justify / black.
   Toggle 4c77d7a4 = transparent button, padding 0, uppercase, black, margin-top -15px.
─────────────────────────────────────────────────────────────────── */
.home-outro {
    background: #F5EEE8;
    padding: 50px 0;
}
.home-outro__row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
.home-outro__content {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    padding: 30px 50px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-outro__title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 24px;
    text-align: left;
    max-width: 70%;
}
.home-outro__title strong {
    font-weight: 500;        /* serif — bez sztucznego pogrubienia */
    font-style: italic;      /* delikatne odróżnienie akcentu */
}
.home-outro__body {
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #000000;
    text-align: justify;
    margin: 0;
    max-width: 98%;
}
.home-outro__body p { margin: 0 0 14px; }
.home-outro__body p:last-child { margin-bottom: 0; }
.home-outro__body strong,
.home-outro__body b { font-weight: 700; }
.home-outro__body.is-clamped {
    max-height: 7.5em;                          /* ~5 linii */
    overflow: hidden;
    mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}
.home-outro__body.is-expanded {
    max-height: none;
    mask-image: none;
    -webkit-mask-image: none;
}
.home-outro__toggle {
    align-self: flex-start;
    margin-top: -5px;
    padding: 8px 0;
    background: transparent;
    border: 0;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.home-outro__toggle:hover { color: #B58A2D; }

.home-outro__media {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 0;
    min-height: 400px;
    background-color: #f3e9da;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    /* HERO — niższe na tablecie */
    .home-hero { height: clamp(380px, 60vw, 500px); }
    .home-hero__img,
    .home-hero__video { object-position: center 25%; }

    /* MODELE — ukryj wielki watermark "DEO" na tablecie */
    .home-modele { padding-left: 0; padding-right: 0; }
    .home-modele__watermark { display: none; }
    .home-modele__carousel .carousel__track { padding: 0 16px; }

    .home-atelier__inner,
    .home-konsultacja__inner,
    .home-ciazowe__inner {
        grid-template-columns: 1fr;
        gap: var(--ideo-sp-6);
    }
    .home-outro__row { flex-direction: column; }
    .home-outro__content { flex: 1 1 100%; max-width: 100%; padding: 30px 20px; }
    .home-outro__title { max-width: 100%; font-size: 24px; line-height: 1.25; }
    .home-outro__media { flex: 1 1 100%; max-width: 100%; min-height: 280px; }
    .home-wypozyczalnia__row { flex-direction: column; }
    .home-wypozyczalnia__media { flex: 0 0 auto; min-height: 280px; width: 100%; }
    .home-wypozyczalnia__content { padding: 24px 16px 0; }

    .home-konsultacja { padding: 40px 20px; }
    .home-konsultacja__lead { padding-right: 0; border-right: 0; max-width: 100%; text-align: center !important; align-items: center !important; }
    .home-konsultacja__title { text-align: center !important; }
    .home-konsultacja__body { text-align: center !important; }
    .home-konsultacja__body p { text-align: center !important; }
    .home-konsultacja__phone { text-align: center !important; justify-content: center !important; }
    .home-konsultacja__actions { align-items: center !important; }
    .home-konsultacja__actions .home-konsultacja__cta-main { width: 100%; text-align: center; }
    .home-konsultacja__cta-link {
        display: flex !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-align: center !important;
    }
    .home-konsultacja__cta-arrow-right { display: none !important; }
    .home-konsultacja__cta-arrow-down { display: block !important; width: 20px; height: 20px; color: #B58A2D; margin: 0 auto !important; }

    .home-inspiracje { padding: var(--ideo-sp-7) 0; }
    .home-inspiracje__grid { grid-template-columns: repeat(2, 1fr); gap: var(--ideo-sp-5); }
    .home-inspiracje__title { font-size: 24px; }

    .home-wieczorowe__row { flex-direction: column-reverse; gap: var(--ideo-sp-6); }
    .home-wieczorowe__carousel { flex: 1 1 auto; max-width: 100%; }
    .home-wieczorowe__aside { flex: 1 1 auto; max-width: 100%; padding: 0 var(--ideo-sp-5); text-align: center; display: flex; flex-direction: column; align-items: center; }
    .home-wieczorowe__title { text-align: center; font-size: 24px; line-height: 1.25; }
    .home-wieczorowe__link { justify-content: center; align-self: center; }
    .home-wieczorowe__slide { --visible: 3; }

    .home-blog__grid { grid-template-columns: repeat(2, 1fr); }
    .home-blog__title-section { font-size: 24px; }
}

@media (max-width: 600px) {
    .home-wieczorowe__slide { --visible: 2; }
}
@media (max-width: 420px) {
    .home-wieczorowe__slide { --visible: 1.2; }   /* 1 + peek następnego */
    .home-konsultacja__inner > div:nth-child(1) { order: 1; }
    .home-konsultacja__inner > form { order: 2; }

    .home-ciazowe__inner > .home-ciazowe__media { order: 2; }
    .home-ciazowe__inner > .home-ciazowe__content { order: 1; }

    .home-blog__grid { grid-template-columns: 1fr; }

    .ideo-form { grid-template-columns: 1fr; }

    .home-hero { height: clamp(320px, 55vw, 400px); }
    .home-intro { padding: var(--ideo-sp-6) 0 var(--ideo-sp-7); }

}

/* ── MOBILE (≤ 768px) — home-usp wycentrowane + karuzela 2 modele ── */
@media (max-width: 768px) {
    .home-usp__inner { grid-template-columns: 1fr !important; gap: var(--ideo-sp-5); text-align: center !important; justify-items: center !important; }
    .home-usp__text { max-width: 100% !important; text-align: center !important; }
    .home-usp__title { text-align: center !important; }
    .home-usp__body { text-align: center !important; }
    .home-usp__body p { text-align: center !important; }
    .home-usp__link { display: none !important; } /* przenosimy CTA pod karuzelę */
    .home-modele { padding-left: 0 !important; padding-right: 0 !important; }
    .home-modele__watermark { display: none !important; }
}

/* CTA "ZOBACZ WSZYSTKIE" pod karuzelą — mobile only */
.home-modele__see-all {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: var(--ideo-sp-6) auto 0;
    padding: 12px 18px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    transition: color var(--ideo-dur-base) var(--ideo-ease);
}
.home-modele__see-all svg { transition: transform var(--ideo-dur-base) var(--ideo-ease); }
.home-modele__see-all:hover { color: var(--ideo-color-primary); }
.home-modele__see-all:hover svg { transform: translateX(4px); }
@media (max-width: 700px) {
    .home-modele__see-all { display: flex !important; width: 100%; }

    .home-ikony { padding: var(--ideo-sp-7) 0; }
    .home-ikony__grid { grid-template-columns: repeat(2, 1fr); gap: var(--ideo-sp-6) var(--ideo-sp-4); }

    .home-media__header { grid-template-columns: 1fr; gap: var(--ideo-sp-6); }
    .home-media__logos { justify-content: flex-start; gap: var(--ideo-sp-5); }
    .home-media__logo { height: 70px; }
    .home-media__logo img { max-height: 70px; max-width: 140px; }
    .home-media__galeria { grid-template-columns: repeat(3, 1fr); }

    .home-atelier__inner { grid-template-columns: 1fr; gap: var(--ideo-sp-6); }
    .home-atelier__tlo { display: none; }

    .home-konsultacja__inner { grid-template-columns: 1fr; gap: var(--ideo-sp-7); }
    .home-konsultacja__actions { align-items: stretch; }
    .home-konsultacja__actions .btn--gold { width: 100%; text-align: center; }
}

@media (max-width: 768px) {
    .home-inspiracje__media { aspect-ratio: 1/1; max-width: 360px; margin-left: auto; margin-right: auto; }
    .home-inspiracje__card { align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .home-ikony__grid { grid-template-columns: 1fr; }
    .home-media__galeria { grid-template-columns: repeat(2, 1fr); }
    .home-inspiracje__grid { grid-template-columns: 1fr; }
    .home-blog__grid { grid-template-columns: 1fr; }
    .home-inspiracje__media { aspect-ratio: 1/1; max-width: 320px; }
}

@media (max-width: 600px) {
    .home-wieczorowe__grid { grid-template-columns: repeat(2, 1fr); }
}
