:root {
    --char: #1e2023;
    --steel: #3d4550;
    --steel-lt: #6b7585;
    --mansea-red: #c0392b;
    --red-dk: #962d22;
    --galvalume: #b8bfc8;
    --off-white: #f2f3f4;
    --border: #d4d8de;
    --white: #ffffff;

    --font-d: 'Barlow Condensed', sans-serif;
    --font-b: 'Inter', sans-serif;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}   

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    color: var(--char);
    background: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* -- REVEAL --------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: .07s;
}

.d2 {
    transition-delay: .14s;
}

.d3 {
    transition-delay: .21s;
}

.d4 {
    transition-delay: .28s;
}

.d5 {
    transition-delay: .35s;
}

/* -- HERO ----------------------------------------- */
.hero {
    background-color: var(--char);
    position: relative;
    overflow: hidden;
    padding: 90px 24px 70px;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-image: url(/imageserver/UserMedia/bunch/mansea-banner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #313131;
    background-blend-mode: multiply;
}

/* Corrugated panel texture - the signature element */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 18px, rgba(255, 255, 255, 0) 18px, rgba(255, 255, 255, .028) 20px, transparent 20px, transparent 26px, rgba(255, 255, 255, .015) 26px, rgba(255, 255, 255, .015) 28px);
    pointer-events: none;
}



.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mansea-red);
    color: #fff;
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-d);
    font-size: clamp(44px, 5.5vw, 78px);
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: -.01em;
    color: #fff;
}

.hero-title em {
    display: block;
    font-style: normal;
    color: var(--galvalume);
}

.hero-sub {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.72;
    max-width: 460px;
}

.hero-cta {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mansea-red);
    color: #fff;
    font-family: var(--font-d);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 14px 30px;
    transition: background .22s var(--ease), transform .22s var(--ease);
}

.hero-cta:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* -- FLOW DIVIDER --------------------------------- */
.rule-red {
    height: 5px;
    background: var(--mansea-red);
}

/* -- SECTION WRAPPER ------------------------------ */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.eyebrow {
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mansea-red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--mansea-red);
}

.sec-title {
    font-family: var(--font-d);
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--char);
    line-height: 1.02;
    letter-spacing: -.01em;
}

.sec-title span {
    color: var(--mansea-red);
}

.sec-desc {
    margin-top: 14px;
    font-size: 16px;
    color: var(--steel);
    max-width: 680px;
    line-height: 1.72;
}

/* -- PRODUCTS SECTION ----------------------------- */
.products-section {
    background: #fff;
}

/* Tab bar */
.tab-bar {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin: 40px 0 44px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-bar::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    font-family: var(--font-d);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--steel-lt);
    padding: 12px 28px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color .22s, border-color .22s;
}

.tab-btn.active {
    color: var(--mansea-red);
    border-bottom-color: var(--mansea-red);
}

.tab-btn:hover {
    color: var(--char);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(30, 32, 35, .14);
    border-color: var(--mansea-red);
}

/* Card header with panel-profile stripe pattern */
.card-header {
    height: 130px;
    position: relative;
    overflow: hidden;
    background: var(--steel);
}

/* Each card type gets its own panel profile background pattern */
.card-header.profile-rib {
    background: linear-gradient(180deg, #3d4550 0%, #2c323c 100%);
    background-image:
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 14px,
            rgba(255, 255, 255, .07) 14px, rgba(255, 255, 255, .07) 18px,
            transparent 18px, transparent 38px,
            rgba(255, 255, 255, .07) 38px, rgba(255, 255, 255, .07) 42px);
}

.card-header.profile-seam {
    background: linear-gradient(180deg, #3d4550 0%, #2c323c 100%);
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 28px,
            rgba(255, 255, 255, .1) 28px, rgba(255, 255, 255, .1) 32px);
}

.card-header.profile-hirib {
    background: linear-gradient(180deg, #3d4550 0%, #2c323c 100%);
    background-image:
        repeating-linear-gradient(0deg,
            transparent 0px, transparent 10px,
            rgba(255, 255, 255, .08) 10px, rgba(255, 255, 255, .08) 16px,
            transparent 16px, transparent 32px,
            rgba(255, 255, 255, .08) 32px, rgba(255, 255, 255, .08) 38px);
}

.card-header.profile-5v {
    background: linear-gradient(180deg, #3d4550 0%, #2c323c 100%);
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 18px,
            rgba(255, 255, 255, .06) 18px, rgba(255, 255, 255, .06) 22px,
            rgba(255, 255, 255, .06) 22px, rgba(255, 255, 255, .06) 26px,
            transparent 26px, transparent 44px);
}

.card-header.profile-corrugated {
    background: linear-gradient(180deg, #3d4550 0%, #2c323c 100%);
    background-image:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .07) 0px, rgba(255, 255, 255, .07) 8px,
            transparent 8px, transparent 16px);
}

.card-header.profile-generic {
    background: linear-gradient(180deg, #3d4550 0%, #2c323c 100%);
}

/* Product image */
.card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
    transition: opacity .3s;
}

.product-card:hover .card-header img {
    opacity: 1;
}

.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--mansea-red);
    color: #fff;
    font-family: var(--font-d);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 1;
}

.card-body {
    padding: 22px 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-name {
    font-family: var(--font-d);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--char);
    letter-spacing: -.01em;
    line-height: 1.1;
}

.card-desc {
    margin-top: 8px;
    font-size: 14px;
    color: var(--steel);
    line-height: 1.65;
    flex: 1;
}

.card-specs {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-row {
    display: flex;
    gap: 6px;
    font-size: 12.5px;
}

.spec-key {
    color: var(--steel-lt);
    font-weight: 600;
    white-space: nowrap;
    min-width: 68px;
}

.spec-val {
    color: var(--char);
}

.card-foot {
    padding: 14px 20px 18px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--char);
    color: #fff;
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 12px 18px;
    transition: background .22s, gap .2s;
}

.btn-details:hover {
    background: var(--mansea-red);
    gap: 12px;
}

/* -- MODAL ---------------------------------------- */
.modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 25, .78);
    backdrop-filter: blur(5px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s var(--ease);
}

.modal-bg.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #fff;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 28px 72px rgba(0, 0, 0, .55);
    transform: scale(.94) translateY(18px);
    transition: transform .3s var(--ease);
}

.modal-bg.open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .2s, transform .2s;
}

.modal-close:hover {
    background: var(--mansea-red);
    transform: rotate(90deg);
}

.modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: var(--steel);
}

.modal-body {
    padding: 28px 28px 24px;
}

.modal-eye {
    font-family: var(--font-d);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mansea-red);
    margin-bottom: 6px;
}

.modal-title {
    font-family: var(--font-d);
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--char);
    line-height: 1.05;
}

.modal-desc {
    margin-top: 14px;
    font-size: 15px;
    color: var(--steel);
    line-height: 1.72;
}

.modal-specs-head {
    font-family: var(--font-d);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--char);
    margin: 22px 0 10px;
}

.modal-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.modal-specs-table tr:nth-child(odd) td {
    background: var(--off-white);
}

.modal-specs-table tr:nth-child(even) td {
    background: #fff;
}

.modal-specs-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.modal-specs-table td:first-child {
    font-weight: 600;
    color: var(--steel-lt);
    white-space: nowrap;
    width: 130px;
}

.modal-footer {
    padding: 18px 28px;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.modal-warranty {
    font-size: 13px;
    color: var(--steel);
}

.modal-warranty strong {
    color: var(--mansea-red);
}

.btn-modal-estimate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mansea-red);
    color: #fff;
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 12px 22px;
    transition: background .22s, transform .22s;
    white-space: nowrap;
}

.btn-modal-estimate:hover {
    background: var(--red-dk);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* -- BENEFITS SECTION ----------------------------- */
.benefits-section {
    background: var(--char);
    padding: 72px 24px;
}

.benefits-section .eyebrow {
    color: var(--galvalume);
}

.benefits-section .eyebrow::before {
    background: var(--galvalume);
}

.benefits-section .sec-title {
    color: #fff;
}

.benefits-section .sec-title span {
    color: var(--galvalume);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.benefit-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-top: 3px solid var(--mansea-red);
    padding: 26px 22px;
    transition: background .22s, transform .22s;
    text-align: center;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, .09);
    transform: translateY(-3px);
}

.benefit-icon {
    margin-bottom: 16px;
    min-height: 75px;
    display: flex;
    align-items: center;
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--galvalume);
}

.benefit-icon img {
    max-height: 75px;
    width: auto;
    display: block;
    filter: invert(1);
    margin-inline: auto;
}

.benefit-card h3 {
    font-family: var(--font-d);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.65;
}

/* -- VISUALIZER STRIP ----------------------------- */
.barn-viz-section {
    background: #f2f3f4;
    padding: 60px 24px;
    border-top: 1px solid #d4d8de;
    border-bottom: 1px solid #d4d8de;
}
.barn-viz-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.barn-viz-layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 32px;
    margin-top: 44px;
}
.barn-viz-left {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-width: 0;
}
.barn-viz-canvas {
    position: relative;
    width: 100%;
    padding-bottom: 56.38%;
    background: #c9d4d8;
    overflow: hidden;
}
.barn-viz-canvas img.barn-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}
.barn-viz-selected {
    font-size: 14px;
    color: #3d4550;
    margin-top: 10px;
    font-weight: 500;
}
.barn-viz-selected span {
    color: #c0392b;
    font-weight: 700;
}
.barn-swatch-panel {
    display: none;
    margin-top: 18px;
}
.barn-swatch-panel.active {
    display: block;
}
.barn-swatch-panel-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6b7585;
    margin-bottom: 10px;
}
.barn-swatch-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 7px;
}
.barn-swatch {
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: -webkit-transform .15s ease, border-color .15s ease, -webkit-box-shadow .15s ease;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.barn-swatch:hover {
    -webkit-transform: scale(1.18);
    -ms-transform: scale(1.18);
    transform: scale(1.18);
    -webkit-box-shadow: 0 4px 12px rgba(0,0,0,.22);
    box-shadow: 0 4px 12px rgba(0,0,0,.22);
    z-index: 1;
}
.barn-swatch.active {
    border-color: #c0392b;
    -webkit-box-shadow: 0 0 0 3px rgba(192,57,43,.3);
    box-shadow: 0 0 0 3px rgba(192,57,43,.3);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.barn-swatch img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}
/* Zone controls column */
.barn-viz-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
    width: 260px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.barn-zone-btn {
    width: 100%;
    padding: 20px 18px;
    text-align: left;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: #3d3d3d;
    border: none;
    border-left: 4px solid transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    cursor: pointer;
    -webkit-transition: background .2s;
    transition: background .2s;
}
.barn-zone-btn:hover { background: #2a2a2a; }
.barn-zone-btn.active {
    background: #c0392b;
    border-left-color: #fff;
}
.zone-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: background .2s;
    transition: background .2s;
    display: inline-block;
}
@media (max-width: 860px) {
    .barn-viz-layout {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .barn-viz-controls {
        width: 100%;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .barn-zone-btn {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 120px;
        flex: 1 1 120px;
    }
}

/* -- WARRANTY BAND -------------------------------- */
.warranty-band {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 44px 24px;
}

.warranty-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.w-card {
    flex: 1 1 220px;
    max-width: 280px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--mansea-red);
    padding: 24px 20px;
    text-align: center;
}

.w-years {
    font-family: var(--font-d);
    font-size: 52px;
    font-weight: 800;
    color: var(--mansea-red);
    line-height: 1;
}

.w-type {
    font-family: var(--font-d);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--char);
    margin-top: 4px;
}

.w-sub {
    font-size: 12px;
    color: var(--steel-lt);
    margin-top: 4px;
}

/* -- CTA STRIP ------------------------------------ */
.cta-strip {
    background: var(--char);
    padding: 60px 24px;
    text-align: center;
    background-image: url(/imageserver/Reusable/mansea-metals/mansea-resource-banner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #313131;
    background-blend-mode: multiply;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: var(--font-d);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.cta-inner h2 span {
    color: var(--galvalume);
}

.cta-inner p {
    margin-top: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
}

.cta-btns {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mansea-red);
    color: #fff;
    font-family: var(--font-d);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 14px 28px;
    transition: background .22s, transform .22s;
}

.btn-primary:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-family: var(--font-d);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1.5px solid rgba(255, 255, 255, .3);
    transition: border-color .22s, background .22s, transform .22s;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .07);
    transform: translateY(-2px);
}

/* -- COLOR VISUALIZER ----------------------------- */
.color-viz-section {
    background: #f2f3f4;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-block: 40px;
}

.color-viz-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 520px;
}

/* House image column */
.color-viz-image-col {
    position: relative;
    background: #e8e8e8;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
}

.color-viz-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.viz-house-img,
.viz-roof-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.viz-roof-img {
    transition: opacity .35s ease;
}

/* Controls column */
.color-viz-controls {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}


.color-viz-eyebrow {
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mansea-red);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.color-viz-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--mansea-red);
    flex-shrink: 0;
}

.color-viz-title {
    font-family: var(--font-d);
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--char);
    line-height: 1.06;
    letter-spacing: -.01em;
    margin-bottom: 12px;
}

.color-viz-desc {
    font-size: 15px;
    color: var(--steel);
    line-height: 1.72;
    max-width: 480px;
}

/* Picker area */
.color-viz-picker-label {
    font-family: var(--font-d);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--char);
    margin-bottom: 10px;
}

.color-viz-selected-wrap {
    font-size: 14px;
    font-weight: 600;
    color: var(--steel);
    margin-bottom: 16px;
}

.color-viz-selected-name {
    color: var(--mansea-red);
    font-weight: 700;
}

/* Swatch grid */
.color-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch {
    width: 44px;
    height: 44px;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
    z-index: 1;
}

.color-swatch.active {
    border-color: var(--mansea-red);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .3);
    transform: scale(1.1);
}

/* Active checkmark indicator */
.color-swatch.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(192, 57, 43, .18);
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .color-viz-inner {
        grid-template-columns: 1fr;
    }

    .color-viz-image-col {
        min-height: 280px;
        height: 280px;
    }

    .color-viz-controls {
        padding: 32px 24px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .color-viz-inner {
        grid-template-columns: 1fr;
    }

    .color-viz-image-col {
        min-height: 280px;
        height: 280px;
    }

    .color-viz-controls {
        padding: 32px 24px;
    }
}

/* -- BARN COLOR VISUALIZER ------------------------ */
.barn-viz-section {
    background: var(--off-white);
    padding: 72px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.barn-viz-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.barn-viz-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
    margin-top: 44px;
}

.barn-viz-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 940 / 530;
    background: #c9d4d8;
    overflow: hidden;
}

.barn-viz-canvas img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.barn-viz-selected {
    font-size: 14px;
    color: var(--steel);
    margin-top: 12px;
    font-weight: 500;
}

.barn-viz-selected span {
    color: var(--mansea-red);
    font-weight: 700;
}

.barn-viz-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.barn-zone-btn {
    width: 100%;
    padding: 20px 18px;
    text-align: left;
    font-family: var(--font-d);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: #3d3d3d;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .2s, border-color .2s;
}

.barn-zone-btn:hover { background: #2a2a2a; }

.barn-zone-btn.active {
    background: var(--mansea-red);
    border-left-color: #fff;
}

.zone-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5);
    flex-shrink: 0;
    transition: background .2s;
}

.barn-swatch-panel {
    display: none;
    margin-top: 20px;
}

.barn-swatch-panel.active { display: block; }

.barn-swatch-panel-label {
    font-family: var(--font-d);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--steel-lt);
    margin-bottom: 12px;
}

.barn-swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.barn-swatch {
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.barn-swatch:hover {
    transform: scale(1.18);
    box-shadow: 0 4px 12px rgba(0,0,0,.22);
    z-index: 1;
}

.barn-swatch.active {
    border-color: var(--mansea-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.3);
    transform: scale(1.1);
}

.barn-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .barn-viz-layout {
        grid-template-columns: 1fr;
    }
    .barn-viz-controls {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .barn-zone-btn {
        flex: 1 1 120px;
    }
}

/* -- COST & INSTALLATION -------------------------- */
.cost-section {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-block: 40px;
}

.cost-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 480px;
}

.cost-image-col {
    height: 100%;
    min-height: 420px;
    overflow: hidden;
}

.cost-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cost-content-col {
    padding: 56px 48px;
}

.cost-desc {
    font-size: 15px;
    color: var(--steel);
    line-height: 1.75;
    margin-bottom: 14px;
    max-width: 520px;
}

/* Cost accordion */
.cost-accordion {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cost-acc-item {
    border-radius: 2px;
    overflow: hidden;
}

.cost-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: var(--red-dk);
    color: #fff;
    font-family: var(--font-b);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    transition: background .22s;
}

.cost-acc-btn:hover {
    background: var(--mansea-red);
}

.cost-acc-icon {
    flex-shrink: 0;
    transition: transform .28s ease;
}

.cost-acc-btn[aria-expanded="true"] .cost-acc-icon {
    transform: rotate(180deg);
}

.cost-acc-body {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .28s ease;
    padding: 0 20px;
}

.cost-acc-body.open {
    max-height: 300px;
    padding: 16px 20px;
}

.cost-acc-body p {
    font-size: 14.5px;
    color: var(--steel);
    line-height: 1.72;
}

/* -- FAQ ------------------------------------------ */
.faq-section {
    background: var(--off-white);
    padding: 72px 24px 80px;
}

.faq-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-title {
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-item {
    border-radius: 2px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    background: var(--mansea-red);
    color: #fff;
    font-family: var(--font-b);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    transition: background .22s;
}

.faq-btn:hover {
    background: var(--red-dk);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform .28s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    background: #6b0d1c;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .28s ease;
    padding: 0 22px;
}

.faq-body.open {
    max-height: 400px;
    padding: 18px 22px;
}

.faq-body p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .85);
    line-height: 1.75;
}

/* -- RESPONSIVE ----------------------------------- */
@media (max-width: 900px) {
    .tab-bar {
        flex-direction: column;
    }

    .tab-btn {
        padding: 11px 16px;
        font-size: 13px;
        width: fit-content;
        margin-inline: auto;
    }

    .cost-inner {
        grid-template-columns: 1fr;
    }

    .cost-image-col {
        min-height: 260px;
        height: 260px;
    }

    .cost-content-col {
        padding: 36px 24px;
    }
}

/* -- RESPONSIVE ----------------------------------- */

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-footer {
        padding: 16px;
    }

    .w-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}