/**
 * Standard Builds Page Template
 *
 * Pixel-matched to the Vercel design preview
 * (https://deploy-seven-swart.vercel.app/) and ported to the Metal
 * America WordPress theme. All selectors are namespaced with `sb-`
 * (or scoped under `.standard-builds-page`) to avoid colliding with
 * existing global theme styles.
 *
 * Mobile-first: base styles target mobile screens; tablet and desktop
 * styles are progressively layered via min-width media queries.
 * Brand red: #FF2400.
 */

/* Google Font (Work Sans) — matches the Vercel design */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap");

/* ----------------------------------------------------------------- */
/* Page wrapper                                                       */
/* ----------------------------------------------------------------- */
.standard-builds-page {
    font-family: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

.standard-builds-page * {
    box-sizing: border-box;
}

.standard-builds-page img {
    max-width: 100%;
    height: auto;
}

.standard-builds-page a {
    color: #FF2400;
    text-decoration: none;
}

.sb-red {
    color: #FF2400;
}

.sb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ----------------------------------------------------------------- */
/* SITE HEADER SEPARATION                                             */
/* On the Standard Builds page only, give the site header a subtle    */
/* drop shadow so it visually separates from the dark hero photo.     */
/* Scoped via body class so it doesn't affect other pages.            */
/* ----------------------------------------------------------------- */
body.page-template-page-standard-builds .site-header,
body.page-template-page-standard-builds header.site-header,
body.page-template-page-standard-builds #masthead {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 95;
}

/* ----------------------------------------------------------------- */
/* HERO                                                               */
/* ----------------------------------------------------------------- */
.sb-hero-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.sb-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
    background-color: #1a1a1a; /* fallback while image loads */
    border-radius: 8px;
    overflow: hidden;
}

.sb-hero-overlay {
    position: absolute;
    inset: 0;
    /* Dark band centered on the content (vertical middle), lighter at top and bottom.
       Edges stay slightly darker so text remains legible if it overflows the band. */
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.55) 25%,
            rgba(0, 0, 0, 0.80) 50%,
            rgba(0, 0, 0, 0.55) 75%,
            rgba(0, 0, 0, 0.35) 100%
        );
}

.sb-hero-content {
    position: relative;
    z-index: 2;
    padding: 32px 20px;
    max-width: 700px;
}

.sb-hero-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.sb-hero h1 {
    font-size: clamp(1.9rem, 6vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 14px;
}

.sb-hero p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 22px;
    line-height: 1.6;
}

.sb-btn-hero {
    display: inline-block;
    padding: 13px 30px;
    background: #FF2400;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.sb-btn-hero:hover {
    background: #cc1d00;
    color: #fff !important;
}

/* ----------------------------------------------------------------- */
/* CATEGORY NAV (sticky pill bar)                                     */
/* ----------------------------------------------------------------- */
.sb-cat-nav {
    position: sticky;
    top: 0;
    /* Must stay below page-overlay (z-index: 90) so the nav dropdown
       gray-out covers this bar. Site header is at z-index 95. */
    z-index: 80;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 14px 0 12px;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Nav label ("Jump to:") */
.sb-cat-nav-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a1a1a;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Toggle button — mobile only */
.sb-cat-nav-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 16px;
    height: 100%;
    font-family: inherit;
}

.sb-cat-nav-chevron {
    color: #1a1a1a;
    transition: transform 0.3s ease;
}

.sb-cat-nav-toggle[aria-expanded="true"] .sb-cat-nav-chevron {
    transform: rotate(180deg);
}

/* Mobile: pills hidden by default, shown when toggled */
.sb-cat-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.sb-cat-nav-inner.is-open {
    display: flex;
    padding-top: 10px;
}

.sb-cat-pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #444 !important;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
    white-space: nowrap;
    line-height: 1.3;
    text-decoration: none;
}

.sb-cat-pill:hover,
.sb-cat-pill:focus {
    background: #FF2400;
    color: #fff !important;
    border-color: #FF2400;
    transform: translateY(-1px);
}

/* Visual separator between category pills and utility pills (Colors / Anatomy) */
.sb-cat-pill-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #e0e0e0;
    margin: 0 4px;
    vertical-align: middle;
    align-self: center;
    flex-shrink: 0;
}

/* Utility pills (Colors, Anatomy) — same style as category pills */
.sb-cat-pill.sb-cat-pill-util {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #444 !important;
}

.sb-cat-pill.sb-cat-pill-util:hover,
.sb-cat-pill.sb-cat-pill-util:focus {
    background: #FF2400;
    color: #fff !important;
    border-color: #FF2400;
}

/* ----------------------------------------------------------------- */
/* CATEGORY HEADER (banner image with title)                          */
/* ----------------------------------------------------------------- */
.sb-category {
    margin-bottom: 0;
    scroll-margin-top: 80px; /* offset for sticky nav when jumping via #anchor */
}

/* MOBILE BASE — full-bleed (no side padding, no border-radius).
   Tablet+ adds padding + border-radius back via media queries below. */
.sb-cat-header-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 0 0;
}

.sb-cat-header {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
    background-color: #1a1a1a;
    border-radius: 0;
    overflow: hidden;
}

/* Stronger dark overlay on mobile so headings/text never blend with the photo */
.sb-cat-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.30) 100%
    );
}

.sb-cat-header-content {
    position: relative;
    z-index: 2;
    padding: 22px 20px;
    max-width: 100%;
    overflow: hidden;
}

.sb-cat-header h2 {
    font-size: clamp(1.5rem, 6vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    overflow-wrap: break-word;
    line-height: 1.1;
}

/* Mobile description: smaller, tighter, slightly muted so it doesn't dominate */
.sb-cat-header p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    margin: 0;
}

/* ----------------------------------------------------------------- */
/* BUILD CARD GRID                                                    */
/* ----------------------------------------------------------------- */
.sb-builds-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 16px 36px;
    display: grid;
    grid-template-columns: 1fr; /* mobile: single column */
    gap: 20px;
}

.sb-build-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.3s, transform 0.3s;
    scroll-margin-top: 80px;
}

.sb-build-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.sb-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.sb-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.sb-build-card:hover .sb-card-image img {
    transform: scale(1.03);
}

.sb-card-content {
    padding: 20px 22px 24px;
}

.sb-card-header {
    margin-bottom: 12px;
}

.sb-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.sb-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sb-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sb-badge-size {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.sb-badge-sqft {
    background: #1a1a1a;
    color: #fff;
}

.sb-card-desc {
    font-size: 14px;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.65;
}

.sb-card-specs {
    margin-bottom: 20px;
}

.sb-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.sb-spec-row:last-child {
    border-bottom: none;
}

.sb-spec-label {
    color: #777;
}

.sb-spec-value {
    font-weight: 700;
    color: #1a1a1a;
    text-align: right;
}

.sb-btn-cta {
    display: block;
    width: 100%;
    padding: 13px 28px;
    background: #FF2400;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: background 0.3s;
    text-align: center;
    box-sizing: border-box;
}

.sb-btn-cta:hover,
.sb-btn-cta:focus {
    background: #cc1d00;
    color: #fff !important;
}

/* ----------------------------------------------------------------- */
/* COLOR OPTIONS                                                      */
/* ----------------------------------------------------------------- */
.sb-colors-section {
    background: #f8f8f8;
    padding: 48px 0;
}

.sb-colors-section .sb-container {
    max-width: 1320px;
    padding: 0 16px;
}

.sb-colors-section h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    font-weight: 700;
    margin: 0 0 6px;
}

.sb-section-sub {
    font-size: 14px;
    color: #666;
    margin: 0 0 28px;
}

.sb-color-groups {
    display: grid;
    grid-template-columns: 1fr; /* mobile: stacked */
    gap: 28px;
}

.sb-color-group h4 {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #FF2400;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #FF2400;
    display: inline-block;
}

.sb-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sb-swatch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.sb-swatch:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sb-swatch-color {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sb-swatch span {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* ----------------------------------------------------------------- */
/* BUILDING ANATOMY                                                   */
/* ----------------------------------------------------------------- */
.sb-anatomy-section {
    padding: 48px 0;
    background: #fff;
}

.sb-anatomy-section .sb-container {
    max-width: 1320px;
    padding: 0 16px;
}

.sb-anatomy-section h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    font-weight: 700;
    margin: 0 0 6px;
}

.sb-anatomy-img {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 24px auto 28px;
}

.sb-anatomy-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile: stacked */
    gap: 0;
}

.sb-anatomy-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.sb-anatomy-item-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    min-width: 130px;
    flex-shrink: 0;
}

.sb-anatomy-item-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

/* ----------------------------------------------------------------- */
/* BOTTOM CTA                                                         */
/* Full-bleed background photo with dark overlay for text legibility. */
/* Image lives in /assets/images/standard-builds/cta-background.webp.  */
/* ----------------------------------------------------------------- */
.sb-bottom-cta {
    position: relative;
    padding: 64px 0;
    background-color: #1a1a1a; /* fallback while image loads */
    background-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.78) 45%,
            rgba(0, 0, 0, 0.55) 100%
        ),
        url('../images/standard-builds/cta-background.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sb-bottom-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: left;
}

.sb-bottom-cta h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.sb-bottom-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 28px;
}

.sb-bottom-cta p a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: underline;
}

.sb-bottom-cta p a:hover {
    color: #FF2400 !important;
}

.sb-bottom-cta .sb-btn-hero {
    font-size: 14px;
    padding: 16px 40px;
}

.sb-contact-info {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.sb-contact-info a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.sb-contact-info a:hover {
    color: #FF2400 !important;
}

/* =================================================================== */
/* TABLET (>=600px)                                                     */
/* =================================================================== */
@media (min-width: 600px) {
    .sb-hero-wrap {
        padding: 24px 32px 0;
    }

    .sb-hero {
        min-height: 420px;
    }

    .sb-hero-content {
        padding: 48px 36px;
    }

    .sb-hero p {
        font-size: 17px;
    }

    /* Desktop: hide toggle, always show pills */
    .sb-cat-nav-toggle {
        display: none;
    }

    .sb-cat-nav-inner {
        display: flex !important;
        padding: 0 32px;
        flex-wrap: wrap;
        justify-content: flex-start;
        overflow-x: visible;
    }

    .sb-cat-pill {
        padding: 8px 18px;
    }

    .sb-cat-header-wrap {
        padding: 40px 32px 0;
    }

    /* Tablet+: restore card-style rounded corners and lighter overlay */
    .sb-cat-header {
        min-height: 240px;
        border-radius: 8px;
    }

    .sb-cat-header-overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.20) 60%,
            rgba(0, 0, 0, 0.10) 100%
        );
    }

    .sb-cat-header-content {
        padding: 32px 36px;
    }

    .sb-cat-header p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.78);
        line-height: 1.55;
    }

    .sb-builds-grid {
        padding: 28px 32px 40px;
        gap: 24px;
    }

    .sb-card-image {
        height: 240px;
    }

    .sb-colors-section,
    .sb-anatomy-section {
        padding: 56px 0;
    }

    .sb-colors-section .sb-container,
    .sb-anatomy-section .sb-container,
    .sb-bottom-cta-inner {
        padding: 0 32px;
    }

    .sb-color-groups {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .sb-anatomy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 24px;
    }

    .sb-bottom-cta {
        padding: 72px 0;
    }
}

/* =================================================================== */
/* DESKTOP (>=900px) — match Vercel design proportions                 */
/* =================================================================== */
@media (min-width: 900px) {
    .sb-hero-wrap {
        padding: 24px 60px 0;
    }

    .sb-hero {
        min-height: 480px;
    }

    .sb-hero-content {
        padding: 60px 48px;
    }

    .sb-hero h1 {
        font-size: 3.2rem;
    }

    .sb-hero p {
        font-size: 18px;
    }

    .sb-cat-nav {
        padding: 14px 0;
    }

    .sb-cat-nav-inner {
        padding: 0 60px;
    }

    .sb-cat-header-wrap {
        padding: 48px 60px 0;
    }

    .sb-cat-header {
        min-height: 280px;
    }

    .sb-cat-header-content {
        padding: 36px 44px;
    }

    .sb-builds-grid {
        padding: 32px 60px 48px;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .sb-card-image {
        height: 260px;
    }

    .sb-card-content {
        padding: 24px 28px 28px;
    }

    .sb-card-header h3 {
        font-size: 24px;
    }

    .sb-btn-cta {
        display: block;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .sb-colors-section,
    .sb-anatomy-section {
        padding: 60px 0;
    }

    .sb-colors-section .sb-container,
    .sb-anatomy-section .sb-container,
    .sb-bottom-cta-inner {
        padding: 0 60px;
    }

    .sb-colors-section h2,
    .sb-anatomy-section h2 {
        font-size: 32px;
    }

    .sb-section-sub {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .sb-swatch-color {
        width: 28px;
        height: 28px;
    }

    .sb-anatomy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px 28px;
    }

    .sb-bottom-cta {
        padding: 80px 0;
    }
}

/* =================================================================== */
/* LARGE DESKTOP (>=1200px) — three-column build cards                  */
/* =================================================================== */
@media (min-width: 1200px) {
    .sb-builds-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ----------------------------------------------------------------- */
/* CTA NOTE (scarcity line under bottom CTA button)                   */
/* ----------------------------------------------------------------- */
.sb-cta-note {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    letter-spacing: 0.3px;
}

/* ----------------------------------------------------------------- */
/* BACK-TO-TOP FLOATING BUTTON                                        */
/* ----------------------------------------------------------------- */
.sb-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    background: #FF2400;
    color: #fff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

/* Tooltip: "Back to Top" appears to the left of the button on hover */
.sb-back-to-top::before {
    content: "Back to Top";
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    background: #1a1a1a;
    color: #fff;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 7px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tooltip arrow pointing right (toward button) */
.sb-back-to-top::after {
    content: "";
    position: absolute;
    right: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #1a1a1a;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.sb-back-to-top:hover::before,
.sb-back-to-top:focus::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.sb-back-to-top:hover::after,
.sb-back-to-top:focus::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Hide tooltip on touch devices — no hover state there */
@media (hover: none) {
    .sb-back-to-top::before,
    .sb-back-to-top::after {
        display: none;
    }
}

.sb-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sb-back-to-top:hover,
.sb-back-to-top:focus {
    background: #cc1d00;
    color: #fff !important;
    transform: translateY(-2px);
}

.sb-back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sb-back-to-top .sb-bt-label {
    /* Screen-reader only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 900px) {
    .sb-back-to-top {
        right: 28px;
        bottom: 28px;
        width: 52px;
        height: 52px;
    }
    .sb-back-to-top svg {
        width: 24px;
        height: 24px;
    }
}


/* ================================================================= */
/* ANSWER BLOCK — Red Iron / Commercial                               */
/* Matches sb- design system: dark backgrounds, #FF2400 accents,     */
/* 1320px container, clamp() typography.                              */
/* ================================================================= */

html { scroll-behavior: smooth; }
[id^="red-iron-"] { scroll-margin-top: 20px; }

.sb-answer-block {
    padding: 64px 0;
    background: #f5f5f5;
}

.sb-answer-block .sb-container {
    max-width: 1320px;
    padding: 0 16px;
}

/* Opening */
.sb-answer-opening {
    margin-bottom: 48px;
}

.sb-answer-opening h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 16px;
    color: #1a1a1a;
}

.sb-answer-opening p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    margin: 0;
    max-width: 900px;
}

/* Section blocks */
.sb-answer-section {
    margin-bottom: 48px;
    padding: 36px;
    background: #fff;
    border-radius: 8px;
}

.sb-answer-section:last-child {
    margin-bottom: 0;
}

.sb-answer-section h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
}

/* Category pricing grid */
.sb-pricing-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.sb-pricing-cat {
    padding: 20px 24px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #FF2400;
}

.sb-pricing-cat-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.sb-pricing-cat-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #555;
}

.sb-answer-disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.sb-answer-disclaimer a {
    color: #FF2400;
    font-weight: 600;
    text-decoration: underline;
}

/* Included grid */
.sb-included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.sb-included-item {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.sb-included-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sb-included-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #555;
}

.sb-included-desc a {
    color: #FF2400;
    text-decoration: underline;
}

/* Comparison table */
.sb-comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.sb-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.sb-comparison-table thead {
    background: #1a1a1a;
    color: #fff;
}

.sb-comparison-table th {
    padding: 12px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sb-comparison-table td {
    padding: 11px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.sb-comparison-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.sb-comparison-table tbody tr:hover {
    background: #f0f0f0;
}

.sb-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.sb-answer-note {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.sb-answer-note a {
    color: #FF2400;
    text-decoration: underline;
}

/* Q&A list */
.sb-qa-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sb-qa-item {
    padding: 20px 24px;
    background: #f8f8f8;
    border-left: 3px solid #FF2400;
    border-radius: 0 8px 8px 0;
}

.sb-qa-question {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.sb-qa-answer {
    margin: 0;
    line-height: 1.65;
    color: #444;
    font-size: 0.92rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .sb-pricing-categories {
        grid-template-columns: 1fr;
    }

    .sb-included-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sb-answer-block {
        padding: 40px 0;
    }

    .sb-answer-section {
        padding: 24px 20px;
        margin-bottom: 32px;
    }

    .sb-included-grid {
        grid-template-columns: 1fr;
    }

    .sb-comparison-table thead {
        display: none;
    }

    .sb-comparison-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
    }

    .sb-comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        padding: 8px 16px;
    }

    .sb-comparison-table td:last-child {
        border-bottom: none;
    }

    .sb-comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #999;
        flex-shrink: 0;
        margin-right: 12px;
    }

    .sb-qa-item {
        padding: 16px 18px;
    }

    .sb-pricing-cat {
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .sb-answer-opening h2 {
        font-size: 1.3rem;
    }

    .sb-answer-section h3 {
        font-size: 1.1rem;
    }
}
