/* =========================================================================
   Saldi\Landings — reusable landing styles
   Loaded by /local/modules/saldi.landings/assets/css/landings.css

   Namespace: .fp (final product sample). All rules scoped under
   .landing-sample-fp / .landing-blog to avoid clashing with the site's
   shared landing-samples.css.

   Palette mirrors the site design system
   (Montserrat / #9f9371 / #353535 / #444 / #f7f5f1).
   ========================================================================= */

.landing-sample-fp,
.landing-blog,
.fp-benefits {
    --fp-gold:       #9f9371;
    --fp-gold-deep:  #8a7f60;
    --fp-gold-pastel:#c8b994;
    --fp-line:       #bbae8b;
    --fp-ink:        #353535;
    --fp-text:       #444444;
    --fp-muted:      #6b6b6b;
    --fp-bg-alt:     #f7f5f1;
    --fp-bg-pastel:  #fbfaf6;
    --fp-card-border:#e7e2d6;
    --fp-tile-bg:    #f3ecdc;          /* pastel icon tile */
    --fp-tile-bg-2:  #efe7d2;          /* pastel gradient end */
    --fp-tile-border:transparent;

    font-family: "Montserrat", Arial, sans-serif;
    color: var(--fp-text);
    line-height: 1.6;
    background: #fff;
}

.landing-sample-fp .fp-container,
.landing-blog     .fp-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ---- Buttons ----
   Primary CTA uses a pastel mint (#d3eddb). Text is dark for contrast.
   The same color is reused as the .fp-situation top accent border. */
.landing-sample-fp .fp-btn,
.landing-blog     .fp-btn {
    display: inline-block;
    padding: 13px 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #d3eddb;
    border-radius: 0;
    background: #d3eddb;
    color: var(--fp-ink);
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.landing-sample-fp .fp-btn:hover,
.landing-blog     .fp-btn:hover {
    background: #b9dcc6;
    border-color: #b9dcc6;
}
.landing-sample-fp .fp-btn--ghost,
.landing-blog     .fp-btn--ghost {
    background: transparent;
    color: var(--fp-ink);
    border-color: #d3eddb;
}
.landing-sample-fp .fp-btn--ghost:hover,
.landing-blog     .fp-btn--ghost:hover {
    background: #d3eddb;
    color: var(--fp-ink);
    border-color: #d3eddb;
}
.landing-sample-fp .fp-btn--on-dark,
.landing-blog     .fp-btn--on-dark {
    color: #fff;
    border-color: #fff;
    background: transparent;
}
.landing-sample-fp .fp-btn--on-dark:hover,
.landing-blog     .fp-btn--on-dark:hover {
    background: #fff;
    color: var(--fp-ink);
    border-color: #fff;
}

/* ---- Headings ---- */
.landing-sample-fp h2,
.landing-blog     h2 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fp-ink);
    margin: 0 0 18px;
}
.landing-sample-fp h3,
.landing-blog     h3 {
    color: var(--fp-ink);
    font-weight: 500;
}
.landing-sample-fp p,
.landing-blog     p {
    color: var(--fp-text);
}
.landing-sample-fp .fp-eyebrow,
.landing-blog     .fp-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--fp-gold);
    margin: 0 0 12px;
}
.landing-sample-fp .fp-eyebrow--on-gold,
.landing-blog     .fp-eyebrow--on-gold {
    color: rgba(255,255,255,0.85);
    text-align: center;
}
.landing-sample-fp .fp-lead-intro,
.landing-blog     .fp-lead-intro {
    max-width: 820px;
    margin: 0 auto 14px;
    text-align: center;
    color: var(--fp-muted);
    font-size: 16px;
}
.landing-sample-fp .fp-gold-line,
.landing-blog     .fp-gold-line {
    width: 60px;
    height: 1px;
    background: var(--fp-line);
    margin: 0 auto 22px;
}

/* =========================================================================
   HERO — centered background + dark overlay
   Height is deterministic: 100vh - #header-wrap - #fp-benefits.
   Both heights are hardcoded sums of fixed element sizes
   (logo-container padding + content, menu-container row, etc.).
   See app/local/templates/saldireklama/scss/_header.scss for source.
   ========================================================================= */
.landing-sample-fp .fp-hero,
.landing-blog     .fp-hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 70px 0;
    background: var(--fp-ink) center center / cover no-repeat;
    /* Keep the banner static; the approved landing design has no parallax. */
    background-attachment: scroll;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;     /* keep 70px×2 padding inside the calc height */
    /* Mobile (< 48em): top-bar 40 + #header-wrap 94 + #fp-benefits 480 (1-col stack) */
    height: calc(100vh - 40px - 94px - 480px);
}
@media (min-width: 48em) {
    .landing-sample-fp .fp-hero,
    .landing-blog     .fp-hero {
        /* Tablet (48–67.99em): top-bar 40 + #header-wrap 64 + #fp-benefits 202 (2-col) */
        height: calc(100vh - 40px - 64px - 202px);
        /* Parallax kept on tablet+ (was overridden to scroll before) */
    }
}
@media (min-width: 68em) {
    .landing-sample-fp .fp-hero,
    .landing-blog     .fp-hero {
        /* Desktop: #header-wrap 158 (#logo-container 118 + #menu-container 40) + #fp-benefits 178 (4-col) */
        height: calc(100vh - 158px - 178px);
    }
}
.landing-sample-fp .fp-hero::before,
.landing-blog     .fp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% 40%, rgba(53,53,53,0.35) 0%, rgba(53,53,53,0.72) 100%),
        linear-gradient(180deg, rgba(53,53,53,0.45) 0%, rgba(53,53,53,0.65) 100%);
}
.landing-sample-fp .fp-hero__inner,
.landing-blog     .fp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}
.landing-sample-fp .fp-hero h1,
.landing-blog     .fp-hero h1 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.landing-sample-fp .fp-hero__tag,
.landing-blog     .fp-hero__tag {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
    opacity: .95;
}
.landing-sample-fp .fp-hero__line,
.landing-blog     .fp-hero__line {
    width: 60px;
    height: 1px;
    background: var(--fp-line);
    margin: 0 auto 22px;
}
.landing-sample-fp .fp-hero p,
.landing-blog     .fp-hero p {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 auto 14px;
    max-width: 760px;
}
.landing-sample-fp .fp-hero__ctas,
.landing-blog     .fp-hero__ctas {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   HERO SPLIT — rich profile hero: solid color panel with the copy on the
   left, clean unshaded banner photo on the right. Golden-ratio split with
   the PHOTO dominant: panel 38.2% / photo 61.8%. Panel color
   comes from the HERO_COLOR iblock property through the --fp-hero-panel
   custom property; empty falls back to bordeaux.
   ========================================================================= */
.landing-managed--rich .fp-hero--split {
    background: var(--fp-hero-panel, #7A1E45);
    text-align: left;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    /* The base hero height (100vh minus header/benefits) can shrink below
       the split copy on short viewports — never clip the CTA row. */
    min-height: 520px;
}
.landing-managed--rich .fp-hero--split::before {
    content: none;              /* no photo shading — the photo stays clean */
}
.landing-managed--rich .fp-hero--split .fp-hero__panel {
    position: relative;
    flex: 0 0 38.2%;
    max-width: 38.2%;
    box-sizing: border-box;
    padding: 48px 48px 48px 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* "safe center": fall back to flex-start when the copy overflows the
       fixed hero height, so the h1 never spills under the sticky header. */
    justify-content: center;
    justify-content: safe center;
}
/* Arrow notch: panel-colored triangle pointing into the photo (ref. mockup). */
.landing-managed--rich .fp-hero--split .fp-hero__panel::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 30px solid var(--fp-hero-panel, #7A1E45);
}
.landing-managed--rich .fp-hero--split .fp-hero__media {
    flex: 1 1 auto;
    min-width: 0;
    background: center center / cover no-repeat;
}
/* NOTE: the section itself carries both .fp-hero and .fp-hero--split, so
   inner-element overrides must not use ".fp-hero--split .fp-hero X" —
   there is no intermediate .fp-hero element to match. */
.landing-managed--rich .fp-hero--split h1 {
    text-shadow: none;
}
.landing-managed--rich .fp-hero--split p {
    margin: 0 0 14px;
    max-width: 560px;
}
.landing-managed--rich .fp-hero--split .fp-hero__tag:empty {
    display: none;              /* no subtitle configured — no ghost gap */
}
.landing-managed--rich .fp-hero--split .fp-hero__line {
    margin: 0 0 22px;           /* left-aligned under the split layout */
}
.landing-managed--rich .fp-hero--split .fp-hero__ctas {
    justify-content: flex-start;
}
/* Below lg (1024) the fixed hero height is too short for the side-by-side
   split — stack: full-width panel, photo strip underneath (same as mobile). */
@media (max-width: 1023px) {
    .landing-managed--rich .fp-hero--split {
        flex-direction: column;
        height: auto;               /* stacked: size to the copy, not 100vh */
        min-height: 0;
    }
    .landing-managed--rich .fp-hero--split .fp-hero__panel {
        flex: 1 1 auto;
        max-width: 100%;
        padding: 40px 24px;
    }
    .landing-managed--rich .fp-hero--split .fp-hero__panel::after {
        content: none;
    }
    .landing-managed--rich .fp-hero--split .fp-hero__media {
        flex: 0 0 220px;
        min-height: 220px;
    }
}

/* =========================================================================
   ABOVE-FOLD WRAPPER
   Used by landing pages to make header-wrap + hero + benefits = 100vh
   before the first scroll. .fp-hero now has a deterministic height
   (100vh - #header-wrap - #fp-benefits) so the wrapper just sums its
   children: hero + benefits = 100vh - #header-wrap.
   ========================================================================= */
.landing-sample-fp .fp-above-fold,
.landing-blog     .fp-above-fold {
    /* Mobile: 100vh - top-bar(40) - #header-wrap(94) */
    min-height: calc(100vh - 40px - 94px);
}
@media (min-width: 48em) {
    .landing-sample-fp .fp-above-fold,
    .landing-blog     .fp-above-fold {
        /* Tablet: 100vh - top-bar(40) - #header-wrap(64) */
        min-height: calc(100vh - 40px - 64px);
    }
}
@media (min-width: 68em) {
    .landing-sample-fp .fp-above-fold,
    .landing-blog     .fp-above-fold {
        /* Desktop: 100vh - #header-wrap(158) */
        min-height: calc(100vh - 158px);
    }
}

/* =========================================================================
   BENEFITS — classic variant (4-up, gold-line accents)
   ========================================================================= */
/* Shared (bare-class): base styling for .fp-benefits on every page.
   Border-bottom is intentionally NOT set here — it lives only on landing
   pages (below) so the home page strip (id="front-page") has no border.
   The home page opts in to no-border + custom padding via #front-page. */
.fp-benefits {
    background: #fff;
    padding: 38px 0;
    flex: 0 0 auto;
}
/* Landing-only: thin card-border line under the benefits strip.
   Scoped to .landing-sample-fp / .landing-blog so the home page
   (rendered without those wrappers, with id="front-page") stays borderless.
   If we ever want a line on the home page, add it as a separate landing-
   style element on that specific page — not as a property of .fp-benefits,
   so the line doesn't travel with the shared component. */
.landing-sample-fp .fp-benefits,
.landing-blog     .fp-benefits {
    border-bottom: 1px solid var(--fp-card-border);
}
.landing-sample-fp .fp-benefits--classic .fp-benefits__grid,
.fp-benefits--classic .fp-benefits__grid, .landing-blog     .fp-benefits--classic .fp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.landing-sample-fp .fp-benefit,
.fp-benefit, .landing-blog     .fp-benefit {
    text-align: center;
    padding: 6px 10px;
}
.landing-sample-fp .fp-benefit__line,
.fp-benefit__line,
.landing-blog     .fp-benefit__line {
    width: 40px;
    height: 1px;
    background: var(--fp-line);
    margin: 0 auto 16px;
}
.landing-sample-fp .fp-benefit__title,
.fp-benefit__title,
.landing-blog     .fp-benefit__title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fp-ink);
    margin: 0 0 8px;
}
.landing-sample-fp .fp-benefit__body,
.fp-benefit__body,
.landing-blog     .fp-benefit__body {
    font-size: 13.5px;
    color: var(--fp-muted);
    line-height: 1.5;
    margin: 0;
}

/* =========================================================================
   BENEFITS — steps variant (5-up horizontal, gold background)
   Reference: shokobox.ee #protsess — recoloured from orange to gold.
   ========================================================================= */
.landing-sample-fp .fp-benefits--steps,
.fp-benefits--steps, .landing-blog     .fp-benefits--steps {
    background: var(--fp-gold);
    color: #fff;
    border-bottom: none;
    padding: 56px 0 60px;
}
.landing-sample-fp .fp-benefits--steps .fp-steps__grid,
.fp-benefits--steps .fp-steps__grid, .landing-blog     .fp-benefits--steps .fp-steps__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    position: relative;
}
.landing-sample-fp .fp-step,
.fp-step, .landing-blog     .fp-step {
    position: relative;
    padding: 0 8px;
    color: #fff;
    text-align: center;
}
.landing-sample-fp .fp-step + .fp-step::before,
.fp-step + .fp-step::before, .landing-blog     .fp-step + .fp-step::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(255,255,255,0.22);
}
.landing-sample-fp .fp-step__n,
.landing-blog     .fp-step__n {
    font-family: inherit;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 auto 12px;
    opacity: .95;
}
.landing-sample-fp .fp-step__title,
.landing-blog     .fp-step__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 8px;
}
.landing-sample-fp .fp-step__body,
.landing-blog     .fp-step__body {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    margin: 0;
}

/* =========================================================================
   GENERIC SECTION
   ========================================================================= */
.landing-sample-fp .fp-section,
.landing-blog     .fp-section {
    padding: 70px 0;
}
.landing-sample-fp .fp-section--alt,
.landing-blog     .fp-section--alt {
    background: var(--fp-bg-alt);
}
.landing-sample-fp .fp-section--center,
.landing-blog     .fp-section--center {
    text-align: center;
}
.landing-sample-fp .fp-section--center .fp-gold-line,
.landing-blog     .fp-section--center .fp-gold-line {
    margin-bottom: 26px;
}

/* =========================================================================
   FORMATS — pastel icon tiles, accent CTA
   ========================================================================= */
.landing-sample-fp .fp-formats__grid,
.landing-blog     .fp-formats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 38px;
}
/* lg and up: format tiles and product mini-cards pack two columns. */
@media (min-width: 1024px) {
    .landing-sample-fp .fp-formats__grid,
    .landing-blog     .fp-formats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.landing-sample-fp .fp-format,
.landing-blog     .fp-format {
    background: #fff;
    border: 1px solid var(--fp-card-border);
    padding: 28px;
    display: flex;
    gap: 22px;
    align-items: stretch;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.landing-sample-fp .fp-format:hover,
.landing-blog     .fp-format:hover {
    border-color: var(--fp-gold-pastel);
    box-shadow: 0 8px 24px rgba(159,147,113,0.12);
    transform: translateY(-2px);
}
.landing-sample-fp .fp-format__icon,
.landing-blog     .fp-format__icon {
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    border-radius: 10px;
    background: transparent;          /* tile is now empty — icon fills it */
    border: 1px solid var(--fp-card-border);
    color: var(--fp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.landing-sample-fp .fp-format__icon svg,
.landing-blog     .fp-format__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.landing-sample-fp .fp-format__icon img,
.landing-blog     .fp-format__icon img {
    width: 100%;                       /* stretch to container */
    height: 100%;
    object-fit: cover;                 /* fill while preserving aspect ratio */
    display: block;
}
.landing-sample-fp .fp-format__body,
.landing-blog     .fp-format__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.landing-sample-fp .fp-format__body .fp-btn,
.landing-blog     .fp-format__body .fp-btn {
    align-self: flex-start;
    margin-top: auto;
}
.landing-sample-fp .fp-format__body h3,
.landing-blog     .fp-format__body h3 {
    font-size: 18px;
    margin: 0 0 8px;
    letter-spacing: .3px;
}
.landing-sample-fp .fp-format__body p,
.landing-blog     .fp-format__body p {
    font-size: 14.5px;
    color: var(--fp-muted);
    margin: 0 0 10px;
}
.landing-sample-fp .fp-format__best,
.landing-blog     .fp-format__best {
    font-size: 13px;
    color: var(--fp-gold);
    margin: 0 0 14px;
    letter-spacing: .3px;
}
.landing-sample-fp .fp-format__best strong,
.landing-blog     .fp-format__best strong {
    color: var(--fp-ink);
    font-weight: 600;
}

/* =========================================================================
   SITUATIONS / USE CASES
   ========================================================================= */
.landing-sample-fp .fp-situations__grid,
.landing-blog     .fp-situations__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-top: 38px;
}
.landing-sample-fp .fp-situation,
.landing-blog     .fp-situation {
    background: #fff;
    border: 1px solid var(--fp-card-border);
    border-top: 3px solid #d3eddb;   /* same pastel mint as primary CTA */
    padding: 28px;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.landing-sample-fp .fp-situation:hover,
.landing-blog     .fp-situation:hover {
    box-shadow: 0 8px 24px rgba(53,53,53,0.08);
    transform: translateY(-2px);
}
.landing-sample-fp .fp-situation h3,
.landing-blog     .fp-situation h3 {
    font-size: 17px;
    margin: 0 0 10px;
    letter-spacing: .3px;
}
.landing-sample-fp .fp-situation p,
.landing-blog     .fp-situation p {
    font-size: 14.5px;
    color: var(--fp-muted);
    margin: 0 0 16px;
}

/* =========================================================================
   PRINT / PACKAGING
   ========================================================================= */
.landing-sample-fp .fp-print p,
.landing-blog     .fp-print p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: var(--fp-muted);
}

/* =========================================================================
   BLOG-CHESS (simple blog layout with alternating product/text rows)
   ========================================================================= */
.landing-blog .fp-blog-chess__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 24px;
}
.landing-blog .fp-blog-chess__module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    background: var(--fp-bg-alt);
    padding: 28px;
    border: 1px solid var(--fp-card-border);
}
.landing-blog .fp-blog-chess__module--product .fp-blog-chess__media {
    height: 200px;
    background: linear-gradient(135deg, var(--fp-tile-bg) 0%, var(--fp-tile-bg-2) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.landing-blog .fp-blog-chess__module--product .fp-blog-chess__media img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.landing-blog .fp-blog-chess__module--product:nth-child(even) {
    direction: rtl;
}
.landing-blog .fp-blog-chess__module--product:nth-child(even) > * {
    direction: ltr;
}
.landing-blog .fp-blog-chess__module--text {
    background: #fff;
    border-left: 3px solid var(--fp-gold);
    text-align: left;
}
.landing-blog .fp-blog-chess__module h3 {
    margin: 0 0 10px;
    font-size: 17px;
    letter-spacing: .3px;
}
.landing-blog .fp-blog-chess__module p {
    color: var(--fp-muted);
    font-size: 14.5px;
    margin: 0 0 14px;
}

/* =========================================================================
   LEAD FORM
   ========================================================================= */
.landing-sample-fp .fp-form-section,
.landing-blog     .fp-form-section {
    border-top: 1px solid var(--fp-card-border);
}
.landing-sample-fp .fp-form,
.landing-blog     .fp-form {
    max-width: 720px;
    margin: 36px auto 0;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--fp-card-border);
}
.landing-sample-fp .fp-form__intro,
.landing-blog     .fp-form__intro {
    text-align: center;
    color: var(--fp-muted);
    margin-bottom: 6px;
}
.landing-sample-fp .fp-form__helper,
.landing-blog     .fp-form__helper {
    text-align: center;
    font-size: 13.5px;
    color: var(--fp-muted);
    margin-bottom: 24px;
}
.landing-sample-fp .fp-form__row,
.landing-blog     .fp-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.landing-sample-fp .fp-field,
.landing-blog     .fp-field {
    margin-bottom: 18px;
}
.landing-sample-fp .fp-field label,
.landing-blog     .fp-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fp-ink);
    letter-spacing: .2px;
}
.landing-sample-fp .fp-field input[type="text"],
.landing-sample-fp .fp-field input[type="email"],
.landing-sample-fp .fp-field input[type="tel"],
.landing-sample-fp .fp-field input[type="file"],
.landing-sample-fp .fp-field select,
.landing-sample-fp .fp-field textarea,
.landing-blog     .fp-field input[type="text"],
.landing-blog     .fp-field input[type="email"],
.landing-blog     .fp-field input[type="tel"],
.landing-blog     .fp-field input[type="file"],
.landing-blog     .fp-field select,
.landing-blog     .fp-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d2c4;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    color: var(--fp-text);
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.landing-sample-fp .fp-field textarea,
.landing-blog     .fp-field textarea {
    resize: vertical;
    min-height: 100px;
}
.landing-sample-fp .fp-field input:focus,
.landing-sample-fp .fp-field select:focus,
.landing-sample-fp .fp-field textarea:focus,
.landing-blog     .fp-field input:focus,
.landing-blog     .fp-field select:focus,
.landing-blog     .fp-field textarea:focus {
    outline: none;
    border-color: var(--fp-gold);
    box-shadow: 0 0 0 2px rgba(159,147,113,0.15);
}
.landing-sample-fp .fp-consent,
.landing-blog     .fp-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
}
.landing-sample-fp .fp-consent input,
.landing-blog     .fp-consent input {
    width: 18px;
    height: 18px;
    accent-color: var(--fp-gold);
}
.landing-sample-fp .fp-submit,
.landing-blog     .fp-submit {
    width: 100%;
    padding: 15px 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #d3eddb;
    color: var(--fp-ink);
    border: 1px solid #d3eddb;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease;
}
.landing-sample-fp .fp-submit:hover,
.landing-blog     .fp-submit:hover {
    background: #b9dcc6;
    border-color: #b9dcc6;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.landing-sample-fp .fp-final,
.landing-blog     .fp-final {
    background: var(--fp-ink);
    color: #fff;
    text-align: center;
    padding: 64px 0;
}
.landing-sample-fp .fp-final h2,
.landing-blog     .fp-final h2 {
    color: #fff;
}
.landing-sample-fp .fp-final .fp-gold-line,
.landing-blog     .fp-final .fp-gold-line {
    margin-bottom: 22px;
}
.landing-sample-fp .fp-final p,
.landing-blog     .fp-final p {
    color: rgba(255,255,255,0.82);
    margin-bottom: 26px;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 768px) {
    .landing-sample-fp .fp-above-fold,
    .landing-blog     .fp-above-fold {
        min-height: calc(100vh - 110px);
    }
    .landing-sample-fp .fp-hero,
    .landing-blog     .fp-hero {
        padding: 60px 0;
        /* Parallax kept on mobile (was overridden to scroll before) */
    }
    .landing-sample-fp .fp-hero h1,
    .landing-blog     .fp-hero h1 {
        font-size: 24px;
    }
    .landing-sample-fp .fp-hero p,
    .landing-blog     .fp-hero p {
        font-size: 14.5px;
    }
    .landing-sample-fp .fp-benefits--classic .fp-benefits__grid,
    .fp-benefits--classic .fp-benefits__grid, .landing-blog     .fp-benefits--classic .fp-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 18px;
    }
    .landing-sample-fp .fp-benefits--steps .fp-steps__grid,
    .fp-benefits--steps .fp-steps__grid, .landing-blog     .fp-benefits--steps .fp-steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 22px;
    }
    .landing-sample-fp .fp-step + .fp-step::before,
    .fp-step + .fp-step::before, .landing-blog     .fp-step + .fp-step::before {
        display: none;
    }
    .landing-sample-fp .fp-situations__grid,
    .landing-blog     .fp-situations__grid {
        grid-template-columns: 1fr;
    }
    .landing-sample-fp .fp-format,
    .landing-blog     .fp-format,
    .landing-sample-fp .fp-product-mini,
    .landing-blog     .fp-product-mini {
        flex-direction: column;
    }
    .landing-sample-fp .fp-format__icon,
    .landing-blog     .fp-format__icon,
    .landing-sample-fp .fp-product-mini__media,
    .landing-blog     .fp-product-mini__media {
        width: 110px;
        flex-basis: 110px;
        height: 110px;
    }
    .landing-sample-fp .fp-form__row,
    .landing-blog     .fp-form__row {
        grid-template-columns: 1fr;
    }
    .landing-sample-fp .fp-form,
    .landing-blog     .fp-form {
        padding: 22px;
    }
    .landing-sample-fp .fp-section,
    .landing-blog     .fp-section {
        padding: 50px 0;
    }
    .landing-sample-fp .fp-hero__ctas,
    .landing-blog     .fp-hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .landing-sample-fp .fp-hero__ctas .fp-btn,
    .landing-blog     .fp-hero__ctas .fp-btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .landing-blog .fp-blog-chess__module {
        grid-template-columns: 1fr;
    }
    .landing-blog .fp-blog-chess__module--product:nth-child(even) {
        direction: ltr;
    }
}
@media (max-width: 480px) {
    .landing-sample-fp .fp-benefits--classic .fp-benefits__grid,
    .fp-benefits--classic .fp-benefits__grid, .landing-blog     .fp-benefits--classic .fp-benefits__grid {
        grid-template-columns: 1fr;
    }
    .landing-sample-fp .fp-benefits--steps .fp-steps__grid,
    .fp-benefits--steps .fp-steps__grid, .landing-blog     .fp-benefits--steps .fp-steps__grid {
        grid-template-columns: 1fr;
    }
    .landing-sample-fp .fp-hero h1,
    .landing-blog     .fp-hero h1 {
        font-size: 21px;
    }
}

/* =========================================================================
   A11y / motion
   ========================================================================= */
.landing-sample-fp *:focus-visible,
.landing-blog     *:focus-visible {
    outline: 2px solid var(--fp-gold);
    outline-offset: 2px;
}
html { scroll-behavior: smooth; }
[data-scroll-to] { cursor: pointer; }

/* Packaging section CTA (content-driven label, e.g. min-order quote button). */
.landing-sample-fp .fp-packaging__cta,
.landing-blog     .fp-packaging__cta {
    margin-top: 28px;
    text-align: center;
}

/* =========================================================================
   PRODUCT MINI-CARDS — product_announcement with TARGET_TYPE=product
   Same compact anatomy as the .fp-format tiles: photo left, title +
   description + product-page CTA right. Packs the same 2-column grid.
   ========================================================================= */
.landing-sample-fp .fp-product-mini,
.landing-blog     .fp-product-mini {
    background: #fff;
    border: 1px solid var(--fp-card-border);
    padding: 28px;
    display: flex;
    gap: 22px;
    align-items: stretch;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.landing-sample-fp .fp-product-mini:hover,
.landing-blog     .fp-product-mini:hover {
    border-color: var(--fp-gold-pastel);
    box-shadow: 0 8px 24px rgba(159,147,113,0.12);
    transform: translateY(-2px);
}
.landing-sample-fp .fp-product-mini__media,
.landing-blog     .fp-product-mini__media {
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    border-radius: 10px;
    border: 1px solid var(--fp-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.landing-sample-fp .fp-product-mini__media img,
.landing-blog     .fp-product-mini__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.landing-sample-fp .fp-product-mini__body,
.landing-blog     .fp-product-mini__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.landing-sample-fp .fp-product-mini__body .fp-btn,
.landing-blog     .fp-product-mini__body .fp-btn {
    align-self: flex-start;
    margin-top: auto;
}
.landing-sample-fp .fp-product-mini__body h3,
.landing-blog     .fp-product-mini__body h3 {
    font-size: 18px;
    margin: 0 0 8px;
    letter-spacing: .3px;
}
.landing-sample-fp .fp-product-mini__subtitle,
.landing-blog     .fp-product-mini__subtitle {
    font-size: 13px;
    color: var(--fp-gold);
    letter-spacing: .3px;
    margin: 0 0 8px;
}
.landing-sample-fp .fp-product-mini__desc,
.landing-blog     .fp-product-mini__desc {
    font-size: 14.5px;
    color: var(--fp-muted);
    margin: 0 0 10px;
}
