/* =====================================================
   SKY WOODWORKS - Service Pages Styles
   ===================================================== */

/* =====================================================
   NAV LIGHT (For pages with light/visible nav on dark backgrounds)
   ===================================================== */
.nav.nav-light {
    background: transparent;
}

.nav.nav-light.scrolled {
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(13, 27, 42, 0.6) 0%, 
        rgba(13, 27, 42, 0.7) 50%,
        rgba(13, 27, 42, 0.85) 100%);
}

.page-hero-content {
    padding: 120px var(--container-padding) 0;
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
}

.breadcrumb__item a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-normal);
}

.breadcrumb__item a:hover {
    color: var(--golden-oak);
}

.breadcrumb__item::after {
    content: '/';
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__item:last-child::after {
    display: none;
}

.breadcrumb__item--current span {
    color: var(--golden-oak);
}

/* Legacy breadcrumb styles */
.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-normal);
}

.breadcrumb a:hover {
    color: var(--golden-oak);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb span:last-child {
    color: var(--golden-oak);
}

.page-hero-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--golden-oak);
    margin-bottom: 20px;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin-bottom: 32px;
}

.page-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-outline-light {
    background: transparent;
    color: var(--pure-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   SERVICE INTRO
   ===================================================== */
.service-intro {
    display: grid;
    gap: 48px;
    align-items: center;
}

.service-intro-content .lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.service-intro-content p {
    color: var(--slate-gray);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Service Highlights */
.service-highlights {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--golden-oak);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    color: var(--golden-oak);
}

.highlight-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-navy);
}

.highlight-text span {
    font-size: 0.85rem;
    color: var(--slate-gray);
}

/* =====================================================
   DECKING TYPES
   ===================================================== */
.decking-types-grid {
    display: grid;
    gap: 32px;
}

.decking-type-card {
    display: grid;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.decking-type-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.decking-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.decking-type-card:hover .decking-type-image img {
    transform: scale(1.05);
}

.decking-type-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.decking-type-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.decking-type-content {
    padding: 28px;
}

.decking-type-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.decking-type-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.decking-type-features {
    display: grid;
    gap: 10px;
}

.decking-type-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.decking-type-features svg {
    width: 18px;
    height: 18px;
    color: var(--golden-oak);
    flex-shrink: 0;
}

/* =====================================================
   MATERIALS COMPARISON
   ===================================================== */
.materials-comparison {
    display: grid;
    gap: 24px;
}

.material-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.material-card-featured {
    border: 2px solid var(--golden-oak);
}

.material-card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.material-card-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.material-card-featured .material-card-header {
    padding-top: 48px;
}

.material-icon-large {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border-radius: 50%;
}

.material-icon-large svg {
    width: 28px;
    height: 28px;
    color: var(--golden-oak);
}

.material-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.material-subtitle {
    font-size: 0.85rem;
    color: var(--slate-gray);
}

.material-card-body {
    padding: 24px;
}

.material-card-body p {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.material-specs {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--warm-cream);
    border-radius: var(--radius-sm);
}

.spec-label {
    font-size: 0.85rem;
    color: var(--slate-gray);
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-navy);
}

.material-price {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--slate-gray);
    margin-bottom: 4px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--deep-navy);
}

.price-value small {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.materials-note {
    margin-top: 48px;
    padding: 24px;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    text-align: center;
    border-left: 3px solid var(--golden-oak);
}

.materials-note p {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

.materials-note strong {
    color: var(--deep-navy);
}

/* =====================================================
   DOOR GALLERY
   ===================================================== */
.door-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.door-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--pure-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.door-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.door-gallery-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.door-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.door-gallery-item:hover .door-gallery-image img {
    transform: scale(1.05);
}

.door-gallery-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.door-code {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--golden-oak);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.door-gallery-info h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.door-material {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.door-gallery-cta {
    text-align: center;
}

.door-gallery-cta p {
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .door-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   PROCESS TIMELINE
   ===================================================== */
.process-timeline {
    display: grid;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--golden-oak), var(--deep-navy));
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px 0;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--golden-oak);
    position: relative;
    z-index: 1;
}

.process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.process-content p {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

/* =====================================================
   FLOORING TYPES
   ===================================================== */
.flooring-types-grid {
    display: grid;
    gap: 24px;
}

.flooring-type-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all var(--transition-normal);
}

.flooring-type-card:hover {
    border-color: var(--golden-oak);
    transform: translateY(-4px);
}

.flooring-type-featured {
    border: 2px solid var(--golden-oak);
}

.flooring-type-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    padding: 6px 16px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.flooring-type-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.flooring-type-icon svg {
    width: 28px;
    height: 28px;
    color: var(--golden-oak);
}

.flooring-type-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.flooring-type-card > p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.flooring-type-list {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.flooring-type-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 16px;
    position: relative;
}

.flooring-type-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--golden-oak);
    border-radius: 50%;
}

.flooring-type-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--golden-oak);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =====================================================
   INSTALLATION GRID
   ===================================================== */
.installation-grid {
    display: grid;
    gap: 24px;
}

.installation-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.installation-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.installation-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.installation-icon svg {
    width: 24px;
    height: 24px;
    color: var(--golden-oak);
}

.installation-step h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.installation-step p {
    font-size: 0.9rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

/* =====================================================
   MAINTENANCE SERVICES
   ===================================================== */
.maintenance-services-grid {
    display: grid;
    gap: 24px;
}

.maintenance-service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.maintenance-service-card:hover {
    border-color: var(--golden-oak);
}

.maintenance-service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border: 2px solid var(--golden-oak);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.maintenance-service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--golden-oak);
}

.maintenance-service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.maintenance-service-card > p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.maintenance-includes {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.maintenance-includes li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    position: relative;
}

.maintenance-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--golden-oak);
    font-weight: 600;
}

.maintenance-frequency {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.frequency-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.frequency-value {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--golden-oak);
}

/* =====================================================
   WHY MAINTENANCE
   ===================================================== */
.why-maintenance-grid {
    display: grid;
    gap: 24px;
}

.why-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--deep-navy);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.why-icon svg {
    width: 28px;
    height: 28px;
    color: var(--golden-oak);
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

/* =====================================================
   PLANS
   ===================================================== */
.plans-grid {
    display: grid;
    gap: 24px;
}

.plan-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card-featured {
    border: 2px solid var(--golden-oak);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 24px;
    padding: 6px 16px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.plan-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-card-featured .plan-header {
    background: var(--deep-navy);
}

.plan-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.plan-card-featured .plan-header h3 {
    color: var(--pure-white);
}

.plan-tagline {
    font-size: 0.85rem;
    color: var(--slate-gray);
}

.plan-card-featured .plan-tagline {
    color: var(--golden-oak);
}

.plan-body {
    padding: 24px;
    flex-grow: 1;
}

.plan-features {
    display: grid;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--deep-navy);
}

.plan-features svg {
    width: 20px;
    height: 20px;
    color: var(--golden-oak);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-footer {
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* =====================================================
   SIGNS GRID
   ===================================================== */
.signs-grid {
    display: grid;
    gap: 16px;
}

.sign-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--golden-oak);
}

.sign-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sign-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.sign-card p {
    font-size: 0.9rem;
    color: var(--slate-gray);
    line-height: 1.5;
}

.signs-cta {
    margin-top: 48px;
    text-align: center;
    padding: 32px;
    background: var(--deep-navy);
    border-radius: var(--radius-lg);
    color: var(--pure-white);
}

.signs-cta p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content .section-label {
    color: var(--golden-oak);
}

.cta-content .section-title {
    color: var(--pure-white);
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */
@media (min-width: 768px) {
    .page-hero {
        min-height: 80vh;
    }

    .service-intro {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .service-intro-reverse {
        direction: rtl;
    }

    .service-intro-reverse > * {
        direction: ltr;
    }

    .service-intro-image img {
        height: 500px;
    }

    .service-highlights {
        grid-template-columns: repeat(3, 1fr);
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .decking-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .decking-type-card:last-child {
        grid-column: span 2;
    }

    .decking-type-card:last-child .decking-type-image {
        height: 200px;
    }

    .materials-comparison {
        grid-template-columns: repeat(3, 1fr);
    }

    .flooring-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .installation-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .maintenance-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-maintenance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   RESPONSIVE - DESKTOP
   ===================================================== */
@media (min-width: 1024px) {
    .page-hero-content {
        max-width: 700px;
        margin-left: calc((100vw - var(--container-max)) / 2 + var(--container-padding));
    }

    .decking-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .decking-type-card:last-child {
        grid-column: auto;
    }

    .decking-type-card:last-child .decking-type-image {
        height: 240px;
    }

    .installation-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .why-maintenance-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .signs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   NAV DROPDOWN
   ===================================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: var(--deep-navy);
    border-radius: var(--radius-md);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
    margin-top: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--deep-navy);
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-normal);
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--golden-oak);
}

/* =====================================================
   QUICK STATS BAR - Mobile First
   ===================================================== */
.quick-stats-bar {
    background: var(--deep-navy);
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-stats-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.quick-stat {
    text-align: center;
}

.quick-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--golden-oak);
    line-height: 1;
    margin-bottom: 4px;
}

.quick-stat-label {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   GALLERY GRID - Mobile First
   ===================================================== */
.gallery-grid {
    display: grid;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(transparent, rgba(13, 27, 42, 0.9));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 4px;
}

.gallery-meta {
    font-size: 0.85rem;
    color: var(--golden-oak);
}

/* =====================================================
   BENEFITS GRID - Mobile First
   ===================================================== */
.benefits-grid {
    display: grid;
    gap: 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    border-color: var(--golden-oak);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--golden-oak);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--deep-navy);
}

.benefit-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* =====================================================
   PRICE CALCULATOR SIMPLE - Mobile First
   ===================================================== */
.price-calculator-simple {
    max-width: 500px;
    margin: 0 auto;
}

.price-calc-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.price-calc-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
    text-align: center;
}

.price-calc-card > p {
    font-size: 0.95rem;
    color: var(--slate-gray);
    text-align: center;
    margin-bottom: 24px;
}

.price-calc-inputs {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.price-calc-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-calc-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-navy);
}

.price-calc-group input,
.price-calc-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--deep-navy);
    background: var(--warm-cream);
    transition: all var(--transition-normal);
}

.price-calc-group input:focus,
.price-calc-group select:focus {
    outline: none;
    border-color: var(--golden-oak);
    background: var(--pure-white);
}

.price-calc-result {
    background: var(--deep-navy);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.price-calc-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.price-calc-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--golden-oak);
    margin-bottom: 12px;
}

.price-calc-result small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* =====================================================
   EMERGENCY CALLOUT - Mobile First
   ===================================================== */
.emergency-callout {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--golden-oak);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 32px;
}

.emergency-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--golden-oak);
    border-radius: 50%;
    flex-shrink: 0;
}

.emergency-icon svg {
    color: var(--deep-navy);
}

.emergency-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 4px;
}

.emergency-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.emergency-phone {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--golden-oak);
}

/* =====================================================
   ESTIMATE CONTACT QUICK - Mobile First
   ===================================================== */
.estimate-contact-quick {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.estimate-contact-quick p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.estimate-contact-quick .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* =====================================================
   FORM ENHANCEMENTS - Mobile First
   ===================================================== */
.estimate-section .estimate-grid {
    display: grid;
    gap: 48px;
}

.estimate-section .section-label {
    color: var(--golden-oak);
}

.estimate-content .section-title {
    color: var(--pure-white);
}

.estimate-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.estimate-features {
    display: grid;
    gap: 12px;
}

.estimate-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.estimate-feature svg {
    color: var(--golden-oak);
    flex-shrink: 0;
}

/* Form wrapper for dark sections */
.section-dark .estimate-form-wrapper,
.section-cream .estimate-form-wrapper {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-xl);
}

/* =====================================================
   TABLET RESPONSIVE - 768px+
   ===================================================== */
@media (min-width: 768px) {
    .quick-stats-grid {
        gap: 64px;
    }
    
    .quick-stat-value {
        font-size: 2.25rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .price-calc-inputs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .estimate-section .estimate-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
    
    .section-dark .estimate-form-wrapper,
    .section-cream .estimate-form-wrapper {
        padding: 40px;
    }
}

/* =====================================================
   DESKTOP RESPONSIVE - 1024px+
   ===================================================== */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .price-calculator-simple {
        max-width: 600px;
    }
    
    .price-calc-card {
        padding: 48px;
    }
    
    .price-calc-value {
        font-size: 2.25rem;
    }
}

/* =====================================================
   COLOR PROMO SECTION
   ===================================================== */
.color-promo-wrapper {
    display: grid;
    gap: 48px;
    align-items: center;
}

.color-promo-text {
    font-size: 1.1rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.color-promo-features {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--deep-navy);
}

.promo-feature svg {
    color: var(--golden-oak);
    flex-shrink: 0;
}

.color-promo-swatches {
    display: flex;
    justify-content: center;
}

.swatch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 280px;
}

.swatch-preview {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--pure-white);
}

.swatch-preview:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    border-color: var(--golden-oak);
}

.swatch-preview.more-colors {
    background: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--golden-oak);
}

/* Color Promo Image Alternative */
.color-promo-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.color-promo-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform var(--transition-slow);
}

.color-promo-image:hover img {
    transform: scale(1.02);
}

@media (min-width: 768px) {
    .color-promo-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    
    .swatch-grid {
        max-width: 320px;
        gap: 16px;
    }
    
    .color-promo-image img {
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1024px) {
    .swatch-grid {
        max-width: 360px;
    }
}

/* =====================================================
   COLOR STUDIO - Mobile First App-Like Experience
   ===================================================== */

/* Color Hero */
.color-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.color-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.color-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(13, 27, 42, 0.7) 0%, 
        rgba(13, 27, 42, 0.5) 50%,
        rgba(13, 27, 42, 0.8) 100%);
}

.color-hero-content {
    position: relative;
    padding: 120px var(--container-padding) 60px;
    max-width: 800px;
}

.color-hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--golden-oak);
    margin-bottom: 20px;
}

.color-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.color-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 32px;
}

.color-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.color-stat {
    text-align: center;
}

.color-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--golden-oak);
    line-height: 1;
}

.color-stat-label {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.color-hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color var(--transition-normal);
    animation: bounce 2s infinite;
}

.color-hero-scroll:hover {
    color: var(--golden-oak);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* App Header - Sticky Selection Bar */
.color-app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--deep-navy);
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.color-app-header.visible {
    transform: translateY(0);
}

.color-app-header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 12px var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.selected-colors-preview {
    flex: 1;
}

.selected-count {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pure-white);
}

.btn-compare,
.btn-request-samples {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-normal);
}

.btn-compare {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-compare:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.btn-request-samples {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

.btn-request-samples:hover:not(:disabled) {
    background: var(--golden-light);
}

.btn-compare:disabled,
.btn-request-samples:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =====================================================
   CATEGORY TABS
   ===================================================== */
.category-tabs-section {
    background: var(--deep-navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 850;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 40px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    min-width: 140px;
}

.category-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--golden-oak);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.category-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.category-tab.active {
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.08);
}

.category-tab.active::after {
    transform: scaleX(1);
}

.category-tab svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    transition: transform var(--transition-normal);
}

.category-tab:hover svg {
    transform: translateY(-2px);
}

.category-tab .tab-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.category-tab .tab-brand {
    font-family: var(--font-body);
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Dynamic Filters Container */
.dynamic-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

@media (min-width: 768px) {
    .dynamic-filters {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .dynamic-filters .filter-group {
        flex: 0 0 auto;
    }
}

@media (min-width: 1024px) {
    .category-tab {
        padding: 24px 48px;
        min-width: 180px;
    }
    
    .category-tab svg {
        width: 28px;
        height: 28px;
    }
    
    .category-tab .tab-label {
        font-size: 0.8rem;
    }
}

/* Filter pill disabled state */
.filter-pill:disabled,
.filter-pill[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Filter Section */
.color-filters {
    background: var(--warm-cream);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 800;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-gray);
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--pure-white);
    border: 1px solid rgba(13, 27, 42, 0.12);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--deep-navy);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--golden-oak);
}

.filter-pill.active {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.filter-search {
    position: relative;
    margin-top: 8px;
}

.filter-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-gray);
}

.filter-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid rgba(13, 27, 42, 0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--deep-navy);
    background: var(--pure-white);
    transition: border-color var(--transition-normal);
}

.filter-search input:focus {
    outline: none;
    border-color: var(--golden-oak);
}

/* Color Grid Section */
.color-grid-section {
    padding: 48px 0 80px;
    background: var(--pure-white);
    min-height: 50vh;
}

.color-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.results-count {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate-gray);
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--warm-cream);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.view-btn {
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--slate-gray);
    transition: all var(--transition-normal);
}

.view-btn.active {
    background: var(--pure-white);
    color: var(--deep-navy);
    box-shadow: var(--shadow-sm);
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.color-grid.list-view {
    grid-template-columns: 1fr;
}

/* Color Card */
.color-card {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.color-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.color-card.selected {
    border-color: var(--golden-oak);
}

.color-card-main {
    cursor: pointer;
}

.color-card-swatch {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    min-height: 200px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

.color-card-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
}

.feature-badge {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: var(--deep-navy);
}

.feature-badge.popular {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

.selected-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 168, 108, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-navy);
}

.color-card-info {
    padding: 16px;
}

.color-collection {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--golden-oak);
}

.color-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin: 4px 0 8px;
}

.color-description {
    font-size: 0.8rem;
    color: var(--slate-gray);
    line-height: 1.4;
    display: none;
}

.color-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--warm-cream);
    border-top: 1px solid rgba(13, 27, 42, 0.06);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--deep-navy);
    transition: all var(--transition-normal);
}

.color-select-btn:hover {
    background: var(--golden-oak);
}

.color-select-btn.selected {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

/* List View Adjustments */
.color-grid.list-view .color-card {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
}

.color-grid.list-view .color-card-swatch {
    width: 100px;
    height: 100px;
    min-height: 100px;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.color-grid.list-view .color-description {
    display: block;
}

.color-grid.list-view .color-select-btn {
    width: auto;
    height: 100%;
    border-top: none;
    border-left: 1px solid rgba(13, 27, 42, 0.06);
    padding: 16px 24px;
}

/* Empty State */
.color-grid-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--slate-gray);
}

.color-grid-empty svg {
    margin-bottom: 24px;
    opacity: 0.4;
}

.color-grid-empty h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.color-grid-empty p {
    margin-bottom: 24px;
}

/* Color Modal */
.color-modal,
.compare-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.color-modal.active,
.compare-modal.active {
    opacity: 1;
    visibility: visible;
}

.color-modal-overlay,
.compare-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.color-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--pure-white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-modal-content {
    position: relative;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow-y: auto;
}

.color-modal-close,
.compare-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: var(--deep-navy);
    z-index: 10;
    transition: all var(--transition-normal);
}

.color-modal-close:hover,
.compare-modal-close:hover {
    background: var(--deep-navy);
    color: var(--pure-white);
}

.color-modal-body {
    display: grid;
    min-height: 100%;
}

.color-modal-gallery {
    background: var(--warm-cream);
    padding: 24px;
}

.color-modal-main-image {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.color-modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-modal-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.modal-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.modal-thumbnail:hover {
    opacity: 1;
}

.modal-thumbnail.active {
    border-color: var(--golden-oak);
    opacity: 1;
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-modal-info {
    padding: 32px 24px;
}

.color-modal-header {
    margin-bottom: 24px;
}

.color-modal-collection {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--golden-oak);
}

.color-modal-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--deep-navy);
    margin: 8px 0 16px;
}

.color-modal-description {
    font-size: 1rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

.color-modal-swatch-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
}

.color-modal-swatch {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.color-modal-family {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--deep-navy);
}

.color-modal-specs h4 {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.spec-list {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.spec-list svg {
    color: var(--golden-oak);
    flex-shrink: 0;
}

.color-modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--warm-cream);
    border-radius: var(--radius-sm);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--deep-navy);
}

.modal-badge.popular {
    background: var(--golden-oak);
}

.color-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.color-modal-actions .btn {
    width: 100%;
    justify-content: center;
}

.color-modal-actions .btn-primary {
    padding: 16px 24px;
    font-size: 0.9rem;
}

.color-modal-actions .btn-outline {
    padding: 14px 24px;
}

/* Compare Modal */
.compare-modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--deep-navy);
    text-align: center;
    margin-bottom: 32px;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.compare-card {
    text-align: center;
    padding: 20px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
}

.compare-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.compare-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.compare-collection {
    font-size: 0.75rem;
    color: var(--golden-oak);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.compare-specs {
    margin-top: 16px;
    text-align: left;
}

.compare-specs li {
    font-size: 0.8rem;
    color: var(--slate-gray);
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.compare-actions {
    text-align: center;
}

/* Why Composite Benefits */
.composite-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.composite-benefit {
    text-align: center;
    padding: 24px 16px;
}

.composite-benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--golden-oak);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.composite-benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--deep-navy);
}

.composite-benefit h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 8px;
}

.composite-benefit p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Samples Section */
.samples-grid {
    display: grid;
    gap: 48px;
}

.samples-content {
    max-width: 560px;
}

.samples-intro {
    font-size: 1.1rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.samples-benefits {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.samples-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--deep-navy);
}

.samples-benefit svg {
    color: var(--golden-oak);
    flex-shrink: 0;
}

.selected-samples-display {
    padding: 20px;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.08);
}

.selected-samples-display h4 {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--deep-navy);
    margin-bottom: 12px;
}

.selected-samples-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.no-selection {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.selected-sample-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--deep-navy);
    color: var(--pure-white);
    border-radius: 100px;
    font-size: 0.8rem;
}

.chip-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.chip-remove {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 14px;
    line-height: 1;
    transition: background var(--transition-normal);
}

.chip-remove:hover {
    background: rgba(255,255,255,0.4);
}

.samples-form-wrapper {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
}

.samples-form .form-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 24px;
    text-align: center;
}

/* Floating Selection Bar (Mobile) */
.floating-selection-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.floating-selection-bar.visible {
    transform: translateY(0);
}

.selection-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
}

.selection-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.selection-count {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--golden-oak);
}

.selection-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   COLOR STUDIO - TABLET RESPONSIVE
   ===================================================== */
@media (min-width: 768px) {
    .btn-compare,
    .btn-request-samples {
        display: flex;
    }
    
    .filter-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
    }
    
    .filter-group {
        flex: 0 0 auto;
    }
    
    .filter-search {
        flex: 1;
        min-width: 200px;
        margin-top: 0;
    }
    
    .color-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .color-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: var(--radius-lg);
    }
    
    .color-modal-body {
        grid-template-columns: 1fr 400px;
    }
    
    .color-modal-actions {
        flex-direction: column;
    }
    
    .color-modal-actions .btn {
        width: 100%;
    }
    
    .composite-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .samples-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
    
    .samples-form-wrapper {
        padding: 40px;
    }
    
    .floating-selection-bar {
        display: none;
    }
}

/* =====================================================
   FLOATING CART BUTTON
   ===================================================== */
.sample-cart-btn {
    position: fixed;
    bottom: calc(80px + env(safe-area-inset-bottom));
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sample-cart-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.sample-cart-btn.has-items {
    opacity: 1;
    transform: translateY(0);
}

.sample-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 167, 125, 0.4);
}

.cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: var(--deep-navy);
    color: var(--pure-white);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-label {
    display: none;
}

@media (min-width: 768px) {
    .sample-cart-btn {
        bottom: 32px;
        right: 32px;
        padding: 16px 24px;
    }
    
    .cart-label {
        display: inline;
    }
}

/* Position sample cart above floating CTA on mobile when CTA is visible */
@media (max-width: 767px) {
    .sample-cart-btn {
        bottom: calc(85px + env(safe-area-inset-bottom));
    }
}

/* =====================================================
   SAMPLE DRAWER
   ===================================================== */
.sample-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    pointer-events: none;
}

.sample-drawer.active {
    pointer-events: auto;
}

.sample-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sample-drawer.active .sample-drawer-overlay {
    opacity: 1;
}

.sample-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: var(--pure-white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sample-drawer.active .sample-drawer-content {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    background: var(--warm-cream);
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--deep-navy);
    margin: 0;
}

.drawer-title svg {
    color: var(--golden-oak);
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: var(--slate-gray);
    transition: all 0.2s ease;
}

.drawer-close:hover {
    background: rgba(13, 27, 42, 0.08);
    color: var(--deep-navy);
}

/* Step Indicator */
.drawer-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 24px;
    background: var(--pure-white);
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--warm-cream);
    border-radius: 50%;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-gray);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

.step-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-gray);
}

.step-connector {
    width: 40px;
    height: 2px;
    background: rgba(13, 27, 42, 0.1);
    margin: 0 12px;
}

/* Drawer Content Steps */
.drawer-step-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.drawer-step-content.hidden {
    display: none;
}

/* Samples List in Drawer */
.drawer-samples-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-sample-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.sample-item-swatch {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sample-item-info {
    flex: 1;
    min-width: 0;
}

.sample-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--deep-navy);
    margin: 0 0 4px 0;
}

.sample-item-info span {
    font-size: 0.8rem;
    color: var(--slate-gray);
}

.sample-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    color: var(--slate-gray);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sample-item-remove:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Empty State */
.drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: var(--slate-gray);
}

.drawer-empty svg {
    margin-bottom: 20px;
    opacity: 0.4;
}

.drawer-empty h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--deep-navy);
    margin: 0 0 8px 0;
}

.drawer-empty p {
    font-size: 0.9rem;
    margin: 0 0 24px 0;
}

/* Drawer Form */
.drawer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-form .form-group {
    margin: 0;
}

.drawer-form label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.drawer-form input,
.drawer-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--warm-cream);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--deep-navy);
    transition: all 0.2s ease;
}

.drawer-form input:focus,
.drawer-form textarea:focus {
    outline: none;
    border-color: var(--golden-oak);
    background: var(--pure-white);
}

.drawer-form input::placeholder,
.drawer-form textarea::placeholder {
    color: var(--slate-gray);
    opacity: 0.6;
}

.drawer-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Radio Pills */
.radio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.radio-pill {
    position: relative;
    cursor: pointer;
}

.radio-pill input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-pill span {
    display: inline-block;
    padding: 10px 16px;
    background: var(--warm-cream);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate-gray);
    transition: all 0.2s ease;
}

.radio-pill input:checked + span {
    background: var(--golden-oak);
    color: var(--deep-navy);
    border-color: var(--golden-oak);
}

.radio-pill:hover span {
    border-color: var(--golden-oak);
}

/* Drawer Footer */
.drawer-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
    background: var(--pure-white);
}

.drawer-footer .btn {
    flex: 1;
}

.drawer-footer .btn-back {
    flex: 0 0 auto;
}

.drawer-footer .btn.hidden {
    display: none;
}

.btn-continue,
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   UPDATED COLOR CARD (No Button)
   ===================================================== */
.color-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.color-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.color-card.selected {
    box-shadow: 0 0 0 3px var(--golden-oak), var(--shadow-lg);
}

.color-card-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.8), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.color-card:hover .color-card-hover {
    opacity: 1;
    transform: translateY(0);
}

.color-card-hover span {
    display: block;
    text-align: center;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pure-white);
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.how-step {
    position: relative;
    text-align: center;
    padding: 32px 24px;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.how-step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--golden-oak);
    color: var(--deep-navy);
    border-radius: 50%;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 700;
}

.how-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-cream);
    border-radius: 50%;
}

.how-step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--golden-oak);
}

.how-step h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--deep-navy);
    margin: 0 0 8px 0;
}

.how-step p {
    font-size: 0.9rem;
    color: var(--slate-gray);
    margin: 0;
    line-height: 1.6;
}

.how-cta {
    text-align: center;
}

.how-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* =====================================================
   MODAL ADD BUTTON STATE
   ===================================================== */
#modalAddSampleBtn.selected {
    background: #2d7a4f;
    border-color: #2d7a4f;
}

#modalAddSampleBtn.selected:hover {
    background: #246b43;
}

/* Toast Notification */
.color-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--deep-navy);
    color: var(--pure-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.color-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.color-toast.added {
    background: #2d7a4f;
}

.color-toast.removed {
    background: var(--slate-gray);
}

.color-toast.warning {
    background: #c4841d;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .color-toast {
        bottom: 40px;
    }
}

/* =====================================================
   COLOR STUDIO - DESKTOP RESPONSIVE
   ===================================================== */
@media (min-width: 1024px) {
    .color-filters {
        top: 0;
    }
    
    .color-app-header.visible + .color-filters {
        top: 56px;
    }
    
    .color-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .color-card-swatch {
        min-height: 220px;
    }
    
    .color-description {
        display: block;
    }
    
    .color-modal-body {
        grid-template-columns: 1fr 480px;
    }
    
    .color-modal-gallery {
        padding: 48px;
    }
    
    .color-modal-info {
        padding: 48px 40px;
    }
    
    .color-modal-name {
        font-size: 2.5rem;
    }
    
    .composite-benefits-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .composite-benefit {
        padding: 32px 20px;
    }
}

/* =====================================================
   BLOG STYLES - Mobile First (BEM Naming)
   ===================================================== */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.reading-progress__bar {
    height: 100%;
    width: 0;
    background: var(--golden-oak);
    transition: width 0.1s linear;
}

/* Also keep old class for backwards compatibility */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--golden-oak);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Blog Page Body */
.blog-page {
    padding-top: 0;
}

.blog-post-page {
    padding-top: 0;
}

/* Blog Hero */
.blog-hero {
    position: relative;
    padding: 160px 0 60px;
    background: var(--deep-navy);
    overflow: hidden;
}

.blog-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.blog-hero__description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Search */
.blog-search {
    max-width: 500px;
    margin: 0 auto;
}

.blog-search__form {
    display: flex;
    gap: 0;
    position: relative;
}

.blog-search__input-wrapper {
    flex: 1;
    position: relative;
}

.blog-search__input {
    width: 100%;
    padding: 16px 44px 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px 0 0 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.blog-search__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.blog-search__input:focus {
    outline: none;
    border-color: var(--golden-oak);
    background: rgba(255, 255, 255, 0.1);
}

.blog-search__clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    cursor: pointer;
}

.blog-search__clear:hover {
    color: var(--pure-white);
}

.blog-search__btn {
    padding: 16px 24px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    border: none;
    border-radius: 0 100px 100px 0;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.blog-search__btn:hover {
    background: var(--golden-light);
}

/* Blog Categories */
.blog-categories {
    padding: 24px 0;
    background: var(--warm-cream);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.blog-categories__wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-category-btn {
    padding: 10px 20px;
    background: var(--pure-white);
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--deep-navy);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.blog-category-btn:hover {
    border-color: var(--golden-oak);
}

.blog-category-btn.active {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

/* Blog Featured Post */
.blog-featured {
    padding: 60px 0;
    background: var(--pure-white);
}

.featured-post {
    background: var(--warm-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-post__link {
    display: grid;
    gap: 0;
    text-decoration: none;
    color: inherit;
}

.featured-post__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-post:hover .featured-post__image img {
    transform: scale(1.05);
}

.featured-post__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.featured-post__content {
    padding: 24px;
}

.featured-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.featured-post__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--deep-navy);
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

.featured-post:hover .featured-post__title {
    color: var(--golden-oak);
}

.featured-post__excerpt {
    font-size: 1rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-post__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-post__author-avatar {
    width: 40px;
    height: 40px;
    background: var(--deep-navy);
    color: var(--golden-oak);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Blog Tags */
.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--deep-navy);
    color: var(--pure-white);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.blog-tag--maintenance { background: #166534; }
.blog-tag--materials { background: #0369a1; }
.blog-tag--decking { background: #7c3aed; }
.blog-tag--flooring { background: #b45309; }
.blog-tag--design { background: #be185d; }
.blog-tag--pool-decks { background: #0891b2; }

.reading-time {
    font-size: 0.85rem;
    color: var(--slate-gray);
}

/* Blog Posts Section */
.blog-posts {
    padding: 60px 0 100px;
    background: var(--pure-white);
}

.blog-posts__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.blog-posts__sort {
    display: flex;
    align-items: center;
}

.blog-sort-select {
    padding: 10px 36px 10px 16px;
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--deep-navy);
    background: var(--pure-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}

/* Blog Card */
.blog-card {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.blog-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__content {
    padding: 20px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-navy);
    margin-bottom: 10px;
    transition: color var(--transition-normal);
}

.blog-card:hover .blog-card__title {
    color: var(--golden-oak);
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--slate-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.blog-card__arrow {
    font-size: 1.25rem;
    color: var(--golden-oak);
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-card__arrow {
    transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: var(--radius-sm);
    background: var(--pure-white);
    color: var(--deep-navy);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.blog-pagination__btn:hover:not(:disabled) {
    border-color: var(--golden-oak);
    color: var(--golden-oak);
}

.blog-pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.blog-pagination__numbers {
    display: flex;
    gap: 4px;
}

.blog-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: var(--radius-sm);
    background: var(--pure-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-navy);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.blog-pagination__num:hover {
    border-color: var(--golden-oak);
    color: var(--golden-oak);
}

.blog-pagination__num.active {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

/* Blog Newsletter */
.blog-newsletter {
    padding: 80px 0;
    background: var(--deep-navy);
}

.blog-newsletter__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.blog-newsletter__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 400;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.blog-newsletter__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.blog-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-newsletter__input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-newsletter__input {
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.blog-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.blog-newsletter__input:focus {
    outline: none;
    border-color: var(--golden-oak);
    background: rgba(255, 255, 255, 0.1);
}

.blog-newsletter__btn {
    width: 100%;
}

.blog-newsletter__privacy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

/* Blog Tags Section */
.blog-tags-section {
    padding: 60px 0;
    background: var(--warm-cream);
}

.blog-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.blog-tag-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--pure-white);
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--deep-navy);
    transition: all var(--transition-normal);
}

.blog-tag-link:hover {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 80px 0;
}

.final-cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 400;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.section-light .final-cta__title {
    color: var(--deep-navy);
}

.final-cta__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.section-light .final-cta__description {
    color: var(--slate-gray);
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Section Title */
.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 400;
    color: var(--deep-navy);
    margin-bottom: 32px;
    text-align: center;
}

/* =====================================================
   BLOG ARTICLE PAGE STYLES (BEM Naming)
   ===================================================== */

/* Blog Article */
.blog-article {
    background: var(--pure-white);
}

.blog-article__header {
    padding: 160px 0 60px;
    background: var(--deep-navy);
}

.blog-article__meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.blog-article__reading-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-article__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.blog-article__excerpt {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 32px;
}

/* Author Bar */
.blog-article__author-bar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-article__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-article__author-avatar {
    width: 48px;
    height: 48px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-article__author-info {
    display: flex;
    flex-direction: column;
}

.blog-article__author-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pure-white);
}

.blog-article__date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Share Buttons */
.blog-article__share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-article__share-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-article__share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    transition: all var(--transition-normal);
}

.share-btn:hover {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

.share-btn--twitter:hover { background: #1DA1F2; color: white; }
.share-btn--facebook:hover { background: #4267B2; color: white; }
.share-btn--linkedin:hover { background: #0A66C2; color: white; }

.share-btn--large {
    width: auto;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Featured Image */
.blog-article__featured-image {
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.blog-article__featured-image figure {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-article__featured-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.blog-article__image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--slate-gray);
    margin-top: 12px;
    font-style: italic;
}

/* Article Content Wrapper */
.blog-article__content-wrapper {
    padding: 60px 0;
}

.blog-article__layout {
    display: grid;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

/* Table of Contents */
.blog-toc {
    display: none;
}

.blog-toc__inner {
    position: sticky;
    top: 100px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
    padding: 24px;
}

.blog-toc__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-toc__nav {
    display: grid;
    gap: 4px;
}

.blog-toc__nav a {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--slate-gray);
    border-left: 2px solid transparent;
    transition: all var(--transition-normal);
}

.blog-toc__nav a:hover,
.blog-toc__nav a.active {
    color: var(--deep-navy);
    background: var(--pure-white);
    border-left-color: var(--golden-oak);
}

/* Article Content */
.blog-article__content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-gray);
}

.blog-article__content .lead {
    font-size: 1.2rem;
    color: var(--deep-navy);
    font-weight: 400;
    margin-bottom: 32px;
}

.blog-article__content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin: 48px 0 20px;
    scroll-margin-top: 100px;
}

.blog-article__content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin: 36px 0 16px;
}

.blog-article__content p {
    margin-bottom: 20px;
}

.blog-article__content a {
    color: var(--golden-oak);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article__content a:hover {
    color: var(--deep-navy);
}

.blog-article__content ul,
.blog-article__content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.blog-article__content li {
    margin-bottom: 10px;
}

.blog-article__content ul li {
    list-style-type: disc;
}

.blog-article__content ol li {
    list-style-type: decimal;
}

.blog-article__content strong {
    color: var(--deep-navy);
    font-weight: 600;
}

.blog-article__content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--warm-cream);
    border-left: 4px solid var(--golden-oak);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--deep-navy);
}

.blog-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

/* Article Footer */
.blog-article__footer {
    padding: 48px 0;
    background: var(--warm-cream);
}

.blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.blog-article__tags-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-navy);
}

.blog-article__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Author Bio */
.blog-author-bio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 32px;
}

.blog-author-bio__avatar {
    width: 80px;
    height: 80px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
}

.blog-author-bio__content {
    flex: 1;
}

.blog-author-bio__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.blog-author-bio__description {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
}

/* Share Footer */
.blog-article__share-footer {
    text-align: center;
}

.blog-article__share-footer p {
    font-size: 0.95rem;
    color: var(--slate-gray);
    margin-bottom: 16px;
}

.blog-article__share-footer .blog-article__share-buttons {
    justify-content: center;
}

/* Related Posts */
.blog-related {
    padding: 80px 0;
    background: var(--warm-cream);
}

.blog-grid--3 {
    display: grid;
    gap: 24px;
}

/* =====================================================
   BLOG RESPONSIVE - TABLET
   ===================================================== */
@media (min-width: 768px) {
    .blog-newsletter__input-wrapper {
        flex-direction: row;
    }
    
    .blog-newsletter__input {
        flex: 1;
        border-radius: var(--radius-md) 0 0 var(--radius-md);
    }
    
    .blog-newsletter__btn {
        width: auto;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post__link {
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-post__image {
        aspect-ratio: auto;
        min-height: 350px;
    }
    
    .featured-post__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 32px;
    }
    
    .blog-article__author-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .blog-author-bio {
        flex-direction: row;
        text-align: left;
    }
}

/* =====================================================
   BLOG RESPONSIVE - DESKTOP
   ===================================================== */
@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-article__layout {
        grid-template-columns: 1fr 280px;
        max-width: 1200px;
        gap: 64px;
    }
    
    .blog-toc {
        display: block;
        order: 2;
    }
    
    .blog-article__content {
        order: 1;
    }
}

/* =====================================================
   LEGACY BLOG STYLES (for backwards compatibility)
   ===================================================== */

/* Old Reading Progress Bar */

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a86c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.blog-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.blog-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Search */
.blog-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.blog-search-input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.blog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--golden-oak);
    background: rgba(255, 255, 255, 0.1);
}

.blog-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--pure-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
}

.search-suggestions.active {
    opacity: 1;
    visibility: visible;
}

.suggestion-item {
    display: block;
    padding: 12px 20px;
    color: var(--deep-navy);
    font-size: 0.9rem;
    transition: background var(--transition-normal);
}

.suggestion-item:hover,
.suggestion-item.highlighted {
    background: var(--warm-cream);
}

.suggestion-item mark {
    background: var(--golden-oak);
    color: var(--deep-navy);
    padding: 0 2px;
    border-radius: 2px;
}

/* Blog Categories */
.blog-categories {
    padding: 32px 0;
    background: var(--warm-cream);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--pure-white);
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--deep-navy);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.category-pill:hover {
    border-color: var(--golden-oak);
    transform: translateY(-2px);
}

.category-pill.active {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(13, 27, 42, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-pill.active .category-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Featured Post */
.featured-post-section {
    padding: 80px 0;
    background: var(--pure-white);
}

.featured-post-card {
    display: grid;
    gap: 32px;
    background: var(--warm-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-post-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.featured-post-content {
    padding: 0 24px 32px;
}

.featured-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.post-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--deep-navy);
    color: var(--pure-white);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.post-date,
.post-read-time {
    font-size: 0.85rem;
    color: var(--slate-gray);
}

.featured-post-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--deep-navy);
    margin-bottom: 16px;
    transition: color var(--transition-normal);
}

.featured-post-title:hover {
    color: var(--golden-oak);
}

.featured-post-excerpt {
    font-size: 1rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.featured-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--deep-navy);
    transition: all var(--transition-normal);
}

.featured-read-more svg {
    transition: transform var(--transition-normal);
}

.featured-read-more:hover {
    color: var(--golden-oak);
}

.featured-read-more:hover svg {
    transform: translateX(4px);
}

/* Blog Posts Grid */
.blog-posts-section {
    padding: 60px 0 100px;
    background: var(--pure-white);
}

.blog-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.blog-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-navy);
}

.posts-count {
    font-size: 0.9rem;
    color: var(--slate-gray);
}

.blog-posts-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--deep-navy);
    color: var(--pure-white);
    font-family: var(--font-accent);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--slate-gray);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-navy);
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

.blog-card-title:hover {
    color: var(--golden-oak);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--slate-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--golden-oak);
    transition: all var(--transition-normal);
}

.blog-card-link svg {
    transition: transform var(--transition-normal);
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-navy);
    background: var(--pure-white);
    transition: all var(--transition-normal);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--golden-oak);
    color: var(--golden-oak);
}

.pagination-btn.active {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--slate-gray);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--deep-navy);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a86c' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content .section-label {
    color: var(--golden-oak);
}

.newsletter-content .section-title {
    color: var(--pure-white);
}

.newsletter-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--pure-white);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--golden-oak);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

/* Popular Tags */
.popular-tags-section {
    padding: 60px 0;
    background: var(--warm-cream);
}

.tags-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--pure-white);
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--deep-navy);
    transition: all var(--transition-normal);
}

.tag-link:hover {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

/* =====================================================
   BLOG ARTICLE PAGE STYLES
   ===================================================== */

/* Article Hero */
.article-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--deep-navy);
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.85) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--container-padding);
}

.article-category-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--golden-oak);
    color: var(--deep-navy);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.article-excerpt {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 32px;
}

/* Author Bar */
.author-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--golden-oak);
}

.author-details {
    text-align: left;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pure-white);
}

.article-meta-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.meta-separator {
    margin: 0 8px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 4px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
    transition: all var(--transition-normal);
}

.share-btn:hover {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

/* Featured Image */
.article-featured-image {
    position: relative;
    margin-top: -60px;
    padding: 0 var(--container-padding);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.article-featured-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Article Layout */
.article-layout {
    display: grid;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px var(--container-padding);
}

/* Table of Contents */
.toc-sidebar {
    display: none;
}

.toc-card {
    position: sticky;
    top: 100px;
    background: var(--warm-cream);
    border-radius: var(--radius-md);
    padding: 24px;
}

.toc-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc-list {
    display: grid;
    gap: 8px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--slate-gray);
    border-left: 2px solid transparent;
    transition: all var(--transition-normal);
}

.toc-link:hover,
.toc-link.active {
    color: var(--deep-navy);
    background: var(--pure-white);
    border-left-color: var(--golden-oak);
}

/* Article Content */
.article-content {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-gray);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin: 48px 0 20px;
    scroll-margin-top: 100px;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin: 36px 0 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content a {
    color: var(--golden-oak);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: var(--deep-navy);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--warm-cream);
    border-left: 4px solid var(--golden-oak);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--deep-navy);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.article-content pre {
    margin: 24px 0;
    padding: 24px;
    background: var(--deep-navy);
    color: var(--warm-cream);
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-content code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    padding: 2px 6px;
    background: var(--warm-cream);
    border-radius: var(--radius-sm);
}

.article-content pre code {
    background: transparent;
    padding: 0;
}

/* Tags Section */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid rgba(13, 27, 42, 0.1);
}

.article-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--warm-cream);
    color: var(--deep-navy);
    font-size: 0.8rem;
    border-radius: 100px;
    transition: all var(--transition-normal);
}

.article-tag:hover {
    background: var(--deep-navy);
    color: var(--pure-white);
}

/* Author Bio */
.author-bio-section {
    margin-top: 48px;
    padding: 32px;
    background: var(--warm-cream);
    border-radius: var(--radius-lg);
}

.author-bio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--golden-oak);
}

.author-bio-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 4px;
}

.author-bio-role {
    font-size: 0.85rem;
    color: var(--golden-oak);
    margin-bottom: 12px;
}

.author-bio-text {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.author-social-links {
    display: flex;
    gap: 12px;
}

.author-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--deep-navy);
    color: var(--pure-white);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.author-social-links a:hover {
    background: var(--golden-oak);
    color: var(--deep-navy);
}

/* Copy Link Button */
.copy-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--warm-cream);
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--deep-navy);
    margin-top: 24px;
    transition: all var(--transition-normal);
}

.copy-link-btn:hover {
    background: var(--deep-navy);
    color: var(--pure-white);
    border-color: var(--deep-navy);
}

.copy-link-btn.copied {
    background: #22c55e;
    color: var(--pure-white);
    border-color: #22c55e;
}

/* Related Posts */
.related-posts-section {
    padding: 80px 0;
    background: var(--warm-cream);
}

.related-posts-grid {
    display: grid;
    gap: 24px;
}

/* =====================================================
   BLOG - TABLET RESPONSIVE
   ===================================================== */
@media (min-width: 768px) {
    .featured-post-card {
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-post-image {
        aspect-ratio: auto;
        min-height: 400px;
    }
    
    .featured-post-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-input {
        flex: 1;
    }
    
    .author-bar {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .author-bio-card {
        flex-direction: row;
        text-align: left;
    }
    
    .author-bio-avatar {
        width: 100px;
        height: 100px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   BLOG - DESKTOP RESPONSIVE
   ===================================================== */
@media (min-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-layout {
        grid-template-columns: 1fr 280px;
        max-width: 1200px;
        gap: 64px;
    }
    
    .toc-sidebar {
        display: block;
    }
    
    .article-content h2 {
        font-size: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   BLOG ADMIN STYLES
   ===================================================== */

/* Admin Layout */
.admin-container {
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-header {
    background: var(--deep-navy);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pure-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-nav {
    display: flex;
    gap: 8px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pure-white);
}

.admin-main {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--pure-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-card h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--deep-navy);
}

/* Posts Table */
.posts-table-container {
    background: var(--pure-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
}

.posts-table th,
.posts-table td {
    padding: 16px 20px;
    text-align: left;
}

.posts-table th {
    background: var(--warm-cream);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.posts-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--deep-navy);
}

.posts-table tr:hover td {
    background: rgba(201, 168, 108, 0.05);
}

.post-title-cell {
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.published {
    background: #dcfce7;
    color: #166534;
}

.status-badge.draft {
    background: #fef3c7;
    color: #92400e;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.action-btn.view {
    background: #e0f2fe;
    color: #0369a1;
}

.action-btn.edit {
    background: #f3e8ff;
    color: #7c3aed;
}

.action-btn.delete {
    background: #fee2e2;
    color: #dc2626;
}

.action-btn:hover {
    opacity: 0.8;
}

/* Editor Styles */
.editor-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
}

.editor-header {
    margin-bottom: 32px;
}

.editor-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--deep-navy);
    margin-bottom: 8px;
}

.editor-form {
    display: grid;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--deep-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--deep-navy);
    background: var(--pure-white);
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--golden-oak);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

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

.editor-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Modal Styles */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.admin-modal.active {
    opacity: 1;
    visibility: visible;
}

.admin-modal-content {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.admin-modal h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--deep-navy);
    margin-bottom: 16px;
}

.admin-modal p {
    color: var(--slate-gray);
    margin-bottom: 24px;
}

.admin-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

