.cap-container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .cap-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 992px) {
    .cap-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.cap-breadcrumb {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.cap-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cap-breadcrumb .breadcrumb-item a:hover {
    color: var(--brand-gold, #f8b856);
}

.cap-breadcrumb .breadcrumb-item.active {
    color: #1e293b;
    font-weight: 600;
}

.cap-hero-section {
    background:
        radial-gradient(circle at 14% 22%, rgba(248, 184, 86, 0.14) 0%, transparent 44%),
        radial-gradient(circle at 86% 78%, rgba(2, 132, 199, 0.11) 0%, transparent 50%),
        linear-gradient(135deg, #071c35 0%, #05162a 55%, #030f1e 100%);
    color: #ffffff;
    padding: clamp(2.85rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    position: relative;
    overflow: hidden;
}

.cap-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.cap-hero-eyebrow {
    color: var(--brand-gold, #f8b856);
    font-size: clamp(0.74rem, 1.6vw, 0.84rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.85rem;
}

.cap-hero-eyebrow::before,
.cap-hero-eyebrow::after {
    content: "";
    width: 18px;
    height: 2px;
    background-color: var(--brand-gold, #f8b856);
    display: inline-block;
}

.cap-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 4.2vw, 3.15rem);
    font-weight: 700;
    line-height: 1.22;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cap-hero-subtitle {
    color: #cbd5e1;
    font-size: clamp(0.94rem, 1.45vw, 1.12rem);
    line-height: 1.68;
    max-width: 780px;
    margin: 0 auto 1.85rem;
}

.cap-hero-metric-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(248, 184, 86, 0.24);
    border-radius: 14px;
    padding: 1.15rem 1rem;
    height: 100%;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.cap-hero-metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(248, 184, 86, 0.55);
}

.cap-hero-metric-val {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.45rem, 2.8vw, 2.05rem);
    font-weight: 700;
    color: var(--brand-gold, #f8b856);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.cap-hero-metric-lbl {
    font-size: 0.82rem;
    color: #e2e8f0;
    font-weight: 500;
    line-height: 1.35;
}

.cap-jump-strip {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.cap-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cap-jump-pill:hover {
    background-color: #071c35;
    border-color: #071c35;
    color: #ffffff;
    transform: translateY(-1px);
}

.cap-jump-pill i {
    color: #0284c7;
    transition: color 0.2s ease;
}

.cap-jump-pill:hover i {
    color: var(--brand-gold, #f8b856);
}

.cap-section-eyebrow {
    color: #0284c7;
    font-size: clamp(0.75rem, 1.4vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cap-section-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.28;
    margin-bottom: 0.75rem;
}

.cap-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.65rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 96px;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    box-shadow: 0 6px 22px rgba(7, 28, 53, 0.04);
}

@media (min-width: 768px) {
    .cap-detail-card {
        padding: 2rem;
    }
}

.cap-detail-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #071c35, #0284c7, var(--brand-gold, #f8b856));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cap-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(7, 28, 53, 0.09);
    border-color: #cbd5e1;
}

.cap-detail-card:hover::before {
    opacity: 1;
}

.cap-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #f0f9ff;
    color: #0f386b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.cap-detail-card:hover .cap-icon-box {
    background: #071c35;
    color: var(--brand-gold, #f8b856);
}

.cap-division-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0369a1;
    background: #e0f2fe;
    padding: 4px 11px;
    border-radius: 50px;
}

.cap-number-pill {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #94a3b8;
}

.cap-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 1.8vw, 1.42rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.cap-card-desc {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.15rem;
}

.cap-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.cap-spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #334155;
    font-size: 0.87rem;
    line-height: 1.48;
}

.cap-spec-list i {
    color: #0284c7;
    margin-top: 2px;
    flex-shrink: 0;
}

.cap-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.cap-tag-chip {
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 9px;
}

/* Machine Lineup Showcase Cards */
.cap-machine-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(7, 28, 53, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cap-machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(7, 28, 53, 0.11);
    border-color: rgba(248, 184, 86, 0.75);
}

.cap-machine-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #071c35;
    cursor: zoom-in;
    border: 0;
    padding: 0;
    width: 100%;
    display: block;
}

.cap-machine-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.cap-machine-card:hover .cap-machine-media img {
    transform: scale(1.04);
}

.cap-machine-num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(7, 28, 53, 0.88);
    color: var(--brand-gold, #f8b856);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 9px;
    border-radius: 50px;
    border: 1px solid rgba(248, 184, 86, 0.45);
    backdrop-filter: blur(6px);
}

.cap-machine-zoom-pill {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(7, 28, 53, 0.82);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cap-machine-card:hover .cap-machine-zoom-pill {
    background: var(--brand-gold, #f8b856);
    color: #071c35;
}

.cap-machine-body {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cap-machine-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0284c7;
    margin-bottom: 0.35rem;
}

.cap-machine-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.32;
    margin-bottom: 0.45rem;
}

.cap-machine-subtitle {
    color: #64748b;
    font-size: 0.83rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Visual Infrastructure Split */
.cap-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cap-gallery-main {
    grid-column: span 2;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    box-shadow: 0 14px 32px rgba(7, 28, 53, 0.12);
}

.cap-gallery-sub {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 24px rgba(7, 28, 53, 0.09);
}

.cap-gallery-main img,
.cap-gallery-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cap-gallery-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(7, 28, 53, 0.92);
    color: #ffffff;
    border: 1px solid rgba(248, 184, 86, 0.45);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.cap-highlight-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

/* Substrate & Finishing Matrix */
.cap-matrix-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.65rem 1.5rem;
    height: 100%;
    box-shadow: 0 6px 20px rgba(7, 28, 53, 0.04);
}

.cap-matrix-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.cap-matrix-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #071c35;
    color: var(--brand-gold, #f8b856);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cap-matrix-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cap-matrix-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.45;
}

.cap-matrix-list i {
    color: var(--brand-gold-hover, #e8a846);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Production Workflow Cards */
.cap-workflow-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    height: 100%;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cap-workflow-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-gold, #f8b856);
    box-shadow: 0 12px 28px rgba(7, 28, 53, 0.07);
}

.cap-step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #071c35, #0f2d52);
    color: var(--brand-gold, #f8b856);
    border: 2px solid var(--brand-gold, #f8b856);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Bottom CTA */
.cap-cta-box {
    background: linear-gradient(135deg, #071c35 0%, #0a2544 100%);
    border-radius: 22px;
    padding: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.25rem, 3vw, 2.5rem);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cap-cta-box::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(248, 184, 86, 0.09) 0%, transparent 60%);
    pointer-events: none;
}

.cap-cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.cap-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn-cap-gold {
    background-color: var(--brand-gold, #f8b856);
    color: #071c35 !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cap-gold:hover {
    background-color: #f7aa38;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(248, 184, 86, 0.35);
}

.btn-cap-whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cap-whatsapp:hover {
    background-color: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-cap-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 11px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cap-outline:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #071c35 !important;
    transform: translateY(-2px);
}
