/* ============================
   SNS LANDING PAGE STYLES
   SchoolNameStickers — Category Landing Pages
   ============================

   Category pages are CONVERSION pages, not brand pages.
   They answer "Which pack do I buy?" not "Why this brand?"

   Design principles:
   - Dense, commercial feel — less breathing room, more momentum
   - Products visible within 1 scroll on desktop
   - Hero does double duty: headline + pitch + benefits + CTA
   - Proof and testimonials are compact supporting evidence
   ============================ */


/* ============================
   SHARED UTILITIES
   (independent copy from homepage.css)
   ============================ */

.sns-section-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 32px;
    line-height: 1.2;
}

.sns-btn,
.sns-btn:hover,
.hentry .entry-content a.sns-btn,
.hentry .entry-content a.sns-btn:hover {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.sns-btn-primary {
    background: #10b981;
    color: #fff;
}

.sns-btn-primary:hover {
    background: #059669;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.sns-btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.sns-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    min-height: 44px;
    box-sizing: border-box;
}


/* ============================
   LANDING PAGE — Remove default page spacing
   ============================ */

/* Tighten gap between breadcrumbs and hero when page title is hidden */
.page-template-template-fullwidth .sns-lp-hero {
    margin-top: -10px;
}

/* Remove extra bottom margin from breadcrumb when followed by hero */
.page-template-template-fullwidth .storefront-breadcrumb {
    margin-bottom: 0;
}


/* ============================
   1. HERO SECTION — Base (card-on-background, kept for flexibility)
   ============================ */

.sns-lp-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    padding: 24px 20px 80px;          /* tighter top; extra bottom for the wave */
    background-color: #d1dccc;         /* default — overridden by inline style via bg_color */
    --sns-hero-bg: #d1dccc;            /* default — overridden by inline style via shortcode */
}

/* SVG wave bottom divider — two layers create the arch transition.
   ::before = flat #f9fafb (page bg) underneath.
   ::after  = hero-colored arch on top, masked to the curve shape.
   The arch color follows --sns-hero-bg so it works with any bg_color. */
.sns-lp-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #f9fafb;
}

.sns-lp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--sns-hero-bg, #d1dccc);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q720,80 1440,0 L0,0 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q720,80 1440,0 L0,0 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.sns-lp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sns-lp-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.15;
    margin: 0 0 16px;
}

.sns-lp-hero p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 20px;
}


/* ============================
   HERO — Split Layout (image LEFT, text RIGHT)
   Image first = eye hits the product, then reads the pitch.
   ============================ */

.sns-lp-hero--split .sns-lp-hero-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;          /* 60/40 — larger hero image */
    gap: 48px;
    align-items: center;
}

/* Hide stray <p> and <br> from wpautop that break the grid */
.sns-lp-hero--split .sns-lp-hero-inner > p:empty,
.sns-lp-hero--split .sns-lp-hero-inner > br {
    display: none;
}

/* Image column appears first (left) */
.sns-lp-hero--split .sns-lp-hero-image {
    order: -1;
}

.sns-lp-hero--split .sns-lp-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 480px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}


/* ============================
   HERO — Centered Layout (for special use)
   ============================ */

.sns-lp-hero--center .sns-lp-hero-inner {
    text-align: center;
    max-width: 800px;
}

.sns-lp-hero--center .sns-lp-benefit-strip {
    justify-content: center;
}

.sns-lp-hero--center .sns-lp-actions {
    justify-content: center;
}


/* ============================
   HERO — Overlay Layout (full-bleed image + text on top)
   For ad landing pages — hero image IS the background.
   Text on one side; gradient ensures readability.
   ============================ */

.sns-lp-hero--overlay {
    padding: 0 0 80px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;                      /* prevent gradient pseudo from causing scrollbar */
    background-size: cover !important;
    background-position: center !important;
}

/* Text wrapper on the inner — vertical padding for content breathing room */
.sns-lp-hero--overlay .sns-lp-hero-inner {
    padding: 64px 20px 0;
}

/* Gradient overlay for text readability.
   Can't use section ::before/::after (wave divider uses them).
   Attach to inner's ::before, stretched to cover full section. */
.sns-lp-hero--overlay .sns-lp-hero-inner::before {
    content: '';
    position: absolute;
    top: -64px;
    left: -50vw;
    right: -50vw;
    bottom: -80px;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: -1;
    pointer-events: none;
}

/* Right-side text — flip gradient direction */
.sns-lp-hero--overlay-right .sns-lp-hero-inner::before {
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Text container — constrained to one side */
.sns-lp-hero--overlay .sns-lp-hero-text {
    max-width: 540px;
    padding: 20px 0;
}

/* Right-side: push text to the right */
.sns-lp-hero--overlay-right .sns-lp-hero-text {
    margin-left: auto;
}

/* Flip ALL text to white/light for dark overlay readability */
.sns-lp-hero--overlay h1 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sns-lp-hero--overlay p {
    color: rgba(255, 255, 255, 0.9);
}

.sns-lp-hero--overlay .sns-lp-benefit {
    color: rgba(255, 255, 255, 0.95);
}

.sns-lp-hero--overlay .sns-lp-benefit-icon {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Secondary link flips to white */
.sns-lp-hero--overlay .sns-lp-secondary-link,
.hentry .entry-content .sns-lp-hero--overlay a.sns-lp-secondary-link {
    color: rgba(255, 255, 255, 0.9);
}

.sns-lp-hero--overlay .sns-lp-secondary-link:hover {
    color: #ffffff;
}

/* Primary CTA stays green — glow for contrast on dark bg */
.sns-lp-hero--overlay .sns-btn-primary {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.sns-lp-hero--overlay .sns-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Hide stray wpautop garbage */
.sns-lp-hero--overlay .sns-lp-hero-inner > p:empty,
.sns-lp-hero--overlay .sns-lp-hero-inner > br {
    display: none;
}

/* Wave divider override — semi-transparent dark arch
   lets the hero image bleed through the wave transition */
.sns-lp-hero--overlay::after {
    background-color: rgba(0, 0, 0, 0.4);
}


/* ============================
   HERO — Overlay: Circular Inset Image (optional)
   Close-up proof circle overlapping the hero bottom edge.
   ============================ */

.sns-lp-hero-inset {
    position: absolute;
    bottom: -40px;
    right: 10%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.sns-lp-hero-inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* If text is on the right, move inset to the left */
.sns-lp-hero--overlay-right .sns-lp-hero-inset {
    right: auto;
    left: 10%;
}


/* ============================
   HERO — Benefit Strip (compact inline row)
   ============================ */

.sns-lp-benefit-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0 0 24px;
    padding: 0;
}

.sns-lp-benefit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    font-family: 'Poppins', sans-serif;
}

.sns-lp-benefit-icon {
    font-size: 16px;
    flex-shrink: 0;
}


/* ============================
   HERO — CTA Actions
   ============================ */

.sns-lp-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sns-lp-secondary-link,
.hentry .entry-content a.sns-lp-secondary-link {
    font-size: 14px;
    color: #10b981;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sns-lp-secondary-link:hover {
    color: #059669;
    text-decoration: underline;
}


/* ============================
   2. PROBLEM REINFORCEMENT (optional — compact strip)
   Used when you want a short reinforcement between hero and products.
   ============================ */

.sns-lp-problem {
    padding: 40px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.sns-lp-problem-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sns-lp-problem h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 12px;
}

.sns-lp-problem p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px;
}

.sns-lp-problem .sns-btn {
    margin-top: 8px;
}

/* With-image layout: side-by-side */
.sns-lp-problem--with-image .sns-lp-problem-inner {
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.sns-lp-problem--with-image .sns-lp-problem-inner > img {
    flex: 0 0 40%;
    max-width: 40%;
    border-radius: 12px;
    object-fit: cover;
}


/* ============================
   3. PRODUCT SELECTION — Compact grid
   ============================ */

.sns-lp-products {
    padding: 56px 20px;
    background: #f9fafb;
}

.sns-lp-products-inner {
    max-width: 1400px;
    margin: 0 auto;
}


/* ============================
   4. DURABILITY PROOF — Compact section
   ============================ */

.sns-lp-proof {
    padding: 48px 20px;
    background: #fff;
}

.sns-lp-proof-inner {
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================
   5. TESTIMONIALS — Compact section
   ============================ */

.sns-lp-testimonials {
    padding: 48px 20px;
    background: #f9fafb;
}

.sns-lp-testimonials-inner {
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================
   6. FINAL CTA — Full-width, compact
   ============================ */

.sns-lp-cta {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    padding: 48px 20px;
    text-align: center;
}

.sns-lp-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.sns-lp-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
    color: inherit;
}

.sns-lp-cta p {
    font-size: 16px;
    margin: 0 0 20px;
    opacity: 0.9;
    color: inherit;
}

.sns-lp-cta .sns-btn {
    margin-bottom: 16px;
}


/* ============================
   HELPER — Reassurance strip
   ============================ */

.sns-lp-reassurance {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
    letter-spacing: 0.01em;
    color: inherit;
}


/* ============================
   HELPER — Grid Layouts
   ============================ */

.sns-lp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sns-lp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* wpautop safety net for landing page grids */
.sns-lp-grid-2 > p,
.sns-lp-grid-2 > br,
.sns-lp-grid-3 > p,
.sns-lp-grid-3 > br {
    display: none !important;
}


/* ============================
   HELPER — Product / Pack Cards (compact)
   ============================ */

.sns-lp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    padding: 0 0 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    text-decoration: none;   /* works as <a> or <div> */
    color: inherit;
    cursor: pointer;
}

/* Remove underline from card and ALL its children.
   Storefront parent applies underline to content-area links — override with !important. */
a.sns-lp-card,
a.sns-lp-card:hover,
a.sns-lp-card *,
a.sns-lp-card:hover * {
    text-decoration: none !important;
}

.sns-lp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.sns-lp-card img {
    width: 100%;
    aspect-ratio: 16 / 13;
    object-fit: cover;
    display: block;
}

.sns-lp-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    padding: 20px 20px 0;
}

.sns-lp-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px;
    padding: 0 20px;
}

/* Feature checklist — compact tick list above CTA button */
.sns-lp-card-features {
    list-style: none;
    margin: 0 0 16px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sns-lp-card-features li {
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
    padding-left: 18px;
    position: relative;
}

.sns-lp-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* CTA visual — when card is an <a>, this is a visual label, not a separate link.
   Use <div class="sns-lp-card-cta"> (not <span>) to prevent wpautop wrapping it in <p>. */
.sns-lp-card .sns-lp-card-cta {
    margin: auto 20px 0;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background: #10b981;
    color: #fff;
    transition: background 0.2s ease;
    min-height: 44px;
    box-sizing: border-box;
    line-height: 24px;
}

.sns-lp-card:hover .sns-lp-card-cta {
    background: #059669;
}

/* Safety: if wpautop wraps the CTA div in a <p>, remove <p> spacing
   and let the CTA handle its own margin */
.sns-lp-card > p:last-child {
    margin: 0;
    text-align: center;
    padding: 0;
}

/* Legacy: still support .sns-btn inside .sns-lp-card for backwards compat */
.sns-lp-card .sns-btn {
    margin: auto 20px 28px;
    text-align: center;
    display: block;
}


/* ============================
   HELPER — "Most Popular" Badge
   ============================ */

.sns-lp-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fbbf24;
    color: #1f2937;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}


/* ============================
   HELPER — "Not sure?" strip below product grid
   ============================ */

.sns-lp-helper-strip {
    text-align: center;
    margin-top: 32px;
    padding: 24px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.sns-lp-helper-strip p {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 14px;
    line-height: 1.5;
}


/* ============================
   HELPER — Proof Tiles (vertical — image on top)
   ============================ */

.sns-lp-proof-tile {
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sns-lp-proof-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.sns-lp-proof-tile img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.sns-lp-proof-tile h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px;
    padding: 16px 16px 0;
}

.sns-lp-proof-tile p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    padding: 0 16px 16px;
}


/* ============================
   HELPER — Proof Tiles HORIZONTAL (image left, text right)
   Use class="sns-lp-proof-row" on the container for this layout
   ============================ */

.sns-lp-proof-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sns-lp-proof-row .sns-lp-proof-tile {
    display: grid;
    grid-template-columns: 120px 1fr;
    text-align: left;
    align-items: center;
}

.sns-lp-proof-row .sns-lp-proof-tile img {
    aspect-ratio: 1 / 1;
    width: 120px;
    height: 120px;
    border-radius: 12px 0 0 12px;
}

.sns-lp-proof-row .sns-lp-proof-tile h3 {
    padding: 0 16px;
    margin: 0 0 4px;
    font-size: 15px;
}

.sns-lp-proof-row .sns-lp-proof-tile p {
    padding: 0 16px;
    font-size: 13px;
}


/* ============================
   HELPER — Testimonial Cards (standard)
   ============================ */

.sns-lp-testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.sns-lp-testimonial-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sns-lp-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.sns-lp-testimonial-card blockquote {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.5;
    margin: 0 0 16px;
    padding: 0;
    border: none;
    font-style: normal;
}

.sns-lp-author {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.sns-lp-author strong {
    color: #1f2937;
    font-weight: 600;
}


/* ============================
   HELPER — Compact Testimonial Strip
   Use class="sns-lp-testimonial-strip" instead of grid for tighter layout
   ============================ */

.sns-lp-testimonial-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sns-lp-testimonial-strip .sns-lp-testimonial-card {
    padding: 20px;
}

.sns-lp-testimonial-strip .sns-lp-testimonial-card blockquote {
    font-size: 14px;
    margin-bottom: 12px;
}

.sns-lp-testimonial-strip .sns-lp-stars {
    font-size: 14px;
    margin-bottom: 8px;
}


/* ============================
   RESPONSIVE — Tablet (max-width: 992px)
   ============================ */

@media (max-width: 992px) {

    /* Hero split — slightly narrower gap */
    .sns-lp-hero--split .sns-lp-hero-inner {
        gap: 32px;
    }

    .sns-lp-hero h1 {
        font-size: 30px;
    }

    /* Problem with image — stack */
    .sns-lp-problem--with-image .sns-lp-problem-inner {
        flex-direction: column;
        text-align: center;
    }

    .sns-lp-problem--with-image .sns-lp-problem-inner > img {
        flex: none;
        max-width: 70%;
    }

    /* Grids — 2 columns on tablet */
    .sns-lp-grid-3,
    .sns-lp-testimonial-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .sns-section-headline {
        font-size: 24px;
    }

    /* Overlay layout — tablet */
    .sns-lp-hero--overlay {
        min-height: 440px;
    }

    .sns-lp-hero--overlay .sns-lp-hero-text {
        max-width: 480px;
    }

    .sns-lp-hero-inset {
        width: 120px;
        height: 120px;
        bottom: -30px;
    }
}


/* ============================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================ */

@media (max-width: 768px) {

    .sns-section-headline {
        font-size: 22px;
        margin-bottom: 24px;
    }

    /* Hero — stack to single column */
    .sns-lp-hero {
        padding: 32px 16px;
    }

    .sns-lp-hero--split .sns-lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sns-lp-hero--split .sns-lp-hero-image {
        order: -1; /* Image on top on mobile */
    }

    .sns-lp-hero--split .sns-lp-hero-image img {
        min-height: auto;
        max-height: 240px;
        border-radius: 12px;
    }

    .sns-lp-hero h1 {
        font-size: 26px;
    }

    .sns-lp-hero p {
        font-size: 15px;
    }

    .sns-lp-benefit-strip {
        flex-direction: column;
        gap: 8px;
    }

    .sns-lp-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sns-lp-actions .sns-btn {
        text-align: center;
    }

    /* Problem */
    .sns-lp-problem {
        padding: 32px 16px;
    }

    .sns-lp-problem h2 {
        font-size: 22px;
    }

    /* All sections — tighter */
    .sns-lp-products {
        padding: 40px 16px;
    }

    .sns-lp-proof,
    .sns-lp-testimonials {
        padding: 36px 16px;
    }

    /* Grids — 1 column on mobile */
    .sns-lp-grid-2,
    .sns-lp-grid-3,
    .sns-lp-testimonial-strip {
        grid-template-columns: 1fr;
    }

    /* Proof horizontal — stack on mobile */
    .sns-lp-proof-row .sns-lp-proof-tile {
        grid-template-columns: 1fr;
    }

    .sns-lp-proof-row .sns-lp-proof-tile img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 12px 12px 0 0;
    }

    .sns-lp-proof-row .sns-lp-proof-tile h3 {
        padding: 16px 16px 0;
    }

    .sns-lp-proof-row .sns-lp-proof-tile p {
        padding: 0 16px 16px;
    }

    /* Cards mobile */
    .sns-lp-card h3 {
        font-size: 17px;
        padding: 16px 16px 0;
    }

    .sns-lp-card p {
        padding: 0 16px;
    }

    .sns-lp-card .sns-btn {
        margin: auto 16px 16px;
    }

    /* CTA */
    .sns-lp-cta {
        padding: 40px 16px;
    }

    .sns-lp-cta h2 {
        font-size: 24px;
    }

    .sns-lp-cta p {
        font-size: 15px;
    }

    /* Testimonials */
    .sns-lp-testimonial-card {
        padding: 20px;
    }

    .sns-lp-testimonial-strip .sns-lp-testimonial-card {
        padding: 16px;
    }

    /* Overlay layout — mobile: full dark overlay, text full-width */
    .sns-lp-hero--overlay {
        min-height: 400px;
        padding: 0 0 60px;                /* override base .sns-lp-hero mobile padding */
    }

    .sns-lp-hero--overlay .sns-lp-hero-inner {
        padding: 40px 16px 0;
    }

    .sns-lp-hero--overlay .sns-lp-hero-inner::before {
        top: -40px;
        bottom: -60px;
        background: rgba(0, 0, 0, 0.55);  /* uniform overlay — no directional gradient on mobile */
    }

    .sns-lp-hero--overlay .sns-lp-hero-text {
        max-width: 100%;
    }

    /* Center text on mobile regardless of text_position */
    .sns-lp-hero--overlay-right .sns-lp-hero-text {
        margin-left: 0;
    }

    .sns-lp-hero--overlay h1 {
        font-size: 28px;
    }

    /* Inset circle — smaller, centered */
    .sns-lp-hero-inset {
        width: 100px;
        height: 100px;
        bottom: -25px;
        right: 50%;
        transform: translateX(50%);
    }

    .sns-lp-hero--overlay-right .sns-lp-hero-inset {
        left: auto;
        right: 50%;
        transform: translateX(50%);
    }
}


/* ============================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================ */

@media (max-width: 480px) {

    .sns-lp-hero h1 {
        font-size: 24px;
    }

    .sns-lp-benefit {
        font-size: 13px;
    }

    /* CTAs full-width, thumb-friendly */
    .sns-btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sns-btn-lg {
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .sns-btn-sm {
        min-height: 48px;
        padding: 12px 20px;
        font-size: 15px;
    }

    .sns-lp-secondary-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    /* Overlay layout — small mobile */
    .sns-lp-hero--overlay {
        min-height: 360px;
    }

    .sns-lp-hero--overlay h1 {
        font-size: 22px;
    }

    .sns-lp-hero-inset {
        width: 80px;
        height: 80px;
        bottom: -20px;
    }

    .sns-lp-problem h2 {
        font-size: 20px;
    }

    .sns-lp-proof-tile h3 {
        font-size: 15px;
    }

    .sns-lp-proof-tile p {
        font-size: 13px;
    }

    .sns-lp-testimonial-card blockquote,
    .sns-lp-testimonial-strip .sns-lp-testimonial-card blockquote {
        font-size: 14px;
    }

    .sns-lp-cta h2 {
        font-size: 22px;
    }

    .sns-lp-reassurance {
        font-size: 12px;
    }

    .sns-lp-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}
