/*
Theme Name:   Kadence Child - DivyWeb
Theme URI:    https://divyweb.com
Description:  DivyWeb child theme based on Kadence
Author:       DivyWeb LLC
Author URI:   https://divyweb.com
Template:     kadence
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  kadence-child-divyweb
*/

/* =========================================
   DIVYWEB BRAND TOKENS
   ========================================= */
:root {
    /* Brand Colors */
    --dw-orange:        #F47920;
    --dw-orange-dark:   #d4651a;
    --dw-orange-light:  #f89040;
    --dw-silver:        #A8A9AD;
    --dw-dark:          #1A1A1A;
    --dw-dark-mid:      #242424;
    --dw-dark-light:    #2e2e2e;
    --dw-white:         #FFFFFF;
    --dw-off-white:     #F5F5F5;
    --dw-text-muted:    #6b6b6b;

    /* Typography */
    --dw-font-heading:  'Barlow', sans-serif;
    --dw-font-body:     'Inter', sans-serif;

    /* Spacing */
    --dw-section-pad:   80px;
    --dw-radius:        4px;
    --dw-radius-lg:     8px;

    /* Transitions */
    --dw-transition:    all 0.25s ease;
}

/* =========================================
   GLOBAL BASE
   ========================================= */
body {
    font-family: var(--dw-font-body);
    color: var(--dw-dark);
    background-color: var(--dw-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--dw-font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dw-dark);
}

a {
    color: var(--dw-orange);
    text-decoration: none;
    transition: var(--dw-transition);
}

a:hover {
    color: var(--dw-orange-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   KADENCE GLOBAL OVERRIDES
   ========================================= */

/* Primary button */
.wp-block-button__link,
.kb-button,
button[type="submit"],
input[type="submit"] {
    background-color: var(--dw-orange) !important;
    color: var(--dw-white) !important;
    border: none !important;
    border-radius: var(--dw-radius) !important;
    font-family: var(--dw-font-heading) !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    padding: 14px 32px !important;
    transition: var(--dw-transition) !important;
    cursor: pointer;
}

.wp-block-button__link:hover,
.kb-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: var(--dw-orange-dark) !important;
    color: var(--dw-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(244, 121, 32, 0.35) !important;
}

/* Ghost/outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    border: 2px solid var(--dw-orange) !important;
    color: var(--dw-orange) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--dw-orange) !important;
    color: var(--dw-white) !important;
}

/* =========================================
   HEADER
   ========================================= */
#masthead,
.site-header,
.kadence-header {
    background-color: var(--dw-dark) !important;
    border-bottom: 2px solid var(--dw-orange);
}

/* Nav links */
.main-navigation a,
.kadence-navigation a {
    font-family: var(--dw-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dw-white) !important;
    transition: var(--dw-transition);
}

.main-navigation a:hover,
.kadence-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--dw-orange) !important;
}

/* =========================================
   HERO SECTION
   ========================================= */
.dw-hero {
    background-color: var(--dw-dark);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric background texture */
.dw-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(244, 121, 32, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 121, 32, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.dw-hero__eyebrow {
    font-family: var(--dw-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 16px;
    display: block;
}

.dw-hero__headline {
    font-family: var(--dw-font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dw-white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.dw-hero__headline span {
    color: var(--dw-orange);
}

.dw-hero__subheadline {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--dw-silver);
    max-width: 600px;
    margin-bottom: 40px;
}

/* =========================================
   TRUST BAR
   ========================================= */
.dw-trust-bar {
    background-color: var(--dw-dark-mid);
    border-top: 1px solid var(--dw-dark-light);
    border-bottom: 1px solid var(--dw-dark-light);
    padding: 20px 0;
}

.dw-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.dw-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--dw-font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    color: var(--dw-white);
}

.dw-trust-bar__item::before {
    content: '✓';
    color: var(--dw-orange);
    font-size: 1rem;
    font-weight: 700;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.dw-services {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-off-white);
    position: relative;
    overflow: hidden;
}

/* Circuit board SVG pattern */
.dw-services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cg fill='none' stroke='%23b0b0b0' stroke-width='0.75'%3E%3C!-- Horizontal traces --%3E%3Cline x1='0' y1='25' x2='40' y2='25'/%3E%3Cline x1='60' y1='25' x2='100' y2='25'/%3E%3Cline x1='0' y1='75' x2='30' y2='75'/%3E%3Cline x1='70' y1='75' x2='100' y2='75'/%3E%3C!-- Vertical traces --%3E%3Cline x1='25' y1='0' x2='25' y2='15'/%3E%3Cline x1='25' y1='35' x2='25' y2='65'/%3E%3Cline x1='25' y1='85' x2='25' y2='100'/%3E%3Cline x1='75' y1='0' x2='75' y2='40'/%3E%3Cline x1='75' y1='60' x2='75' y2='100'/%3E%3C!-- Corner connectors --%3E%3Cline x1='40' y1='25' x2='25' y2='35' stroke-width='0.75'/%3E%3Cline x1='60' y1='25' x2='75' y2='40' stroke-width='0.75'/%3E%3Cline x1='30' y1='75' x2='25' y2='65' stroke-width='0.75'/%3E%3Cline x1='70' y1='75' x2='75' y2='60' stroke-width='0.75'/%3E%3C!-- Node dots --%3E%3Ccircle cx='25' cy='25' r='3' fill='%23b0b0b0'/%3E%3Ccircle cx='75' cy='25' r='3' fill='%23b0b0b0'/%3E%3Ccircle cx='25' cy='75' r='3' fill='%23b0b0b0'/%3E%3Ccircle cx='75' cy='75' r='3' fill='%23b0b0b0'/%3E%3Ccircle cx='25' cy='50' r='2' fill='%23b0b0b0'/%3E%3Ccircle cx='75' cy='50' r='2' fill='%23b0b0b0'/%3E%3Ccircle cx='50' cy='25' r='2' fill='%23b0b0b0'/%3E%3Ccircle cx='50' cy='75' r='2' fill='%23b0b0b0'/%3E%3C!-- Center cross trace --%3E%3Cline x1='50' y1='25' x2='50' y2='40'/%3E%3Cline x1='50' y1='60' x2='50' y2='75'/%3E%3Cline x1='35' y1='50' x2='50' y2='50'/%3E%3Cline x1='50' y1='50' x2='65' y2='50'/%3E%3Ccircle cx='50' cy='50' r='4' fill='none' stroke='%23b0b0b0' stroke-width='0.75'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

/* Fade pattern at top and bottom edges */
.dw-services::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        var(--dw-off-white) 0%,
        transparent 12%,
        transparent 88%,
        var(--dw-off-white) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.dw-services__headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dw-dark);
    position: relative;
    z-index: 1;
}

.dw-services__headline span {
    color: var(--dw-orange);
}

.dw-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* Row 1: cards 1-3 each span 2 of 6 columns — full row */
.dw-services-grid .dw-service-card:nth-child(1),
.dw-services-grid .dw-service-card:nth-child(2),
.dw-services-grid .dw-service-card:nth-child(3) {
    grid-column: span 2;
}

/* Row 2: cards 4 and 5 each span 3 of 6 columns — centered pair */
.dw-services-grid .dw-service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.dw-services-grid .dw-service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.dw-service-card {
    background-color: var(--dw-white);
    border-radius: var(--dw-radius-lg);
    padding: 36px 32px;
    border-top: 3px solid var(--dw-orange);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--dw-transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.dw-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.dw-service-card__eyebrow {
    font-family: var(--dw-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 8px;
}

.dw-service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dw-dark);
}

.dw-service-card__description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--dw-text-muted);
    margin-bottom: 20px;
}

.dw-service-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.dw-service-card__list li {
    font-size: 0.875rem;
    color: var(--dw-dark);
    padding: 6px 0;
    border-bottom: 1px solid var(--dw-off-white);
    padding-left: 16px;
    position: relative;
}

.dw-service-card__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--dw-orange);
    font-size: 0.8rem;
}

.dw-service-card__list li:last-child {
    border-bottom: none;
}

.dw-service-card__cta {
    font-family: var(--dw-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dw-orange);
    letter-spacing: 0.03em;
    transition: var(--dw-transition);
    margin-top: auto;
}

.dw-service-card:hover .dw-service-card__cta {
    letter-spacing: 0.06em;
}

/* =========================================
   ABOUT SECTION / DARK BAND
   ========================================= */
.dw-dark-band {
    background-color: var(--dw-dark);
    padding: var(--dw-section-pad) 0;
    position: relative;
    overflow: hidden;
}

.dw-dark-band::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(244, 121, 32, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 121, 32, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.dw-dark-band h2 {
    color: var(--dw-white);
}

.dw-dark-band p {
    color: var(--dw-silver);
    line-height: 1.75;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.dw-contact {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-white);
}

.dw-contact__headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dw-dark);
    margin-bottom: 12px;
}

.dw-contact__subheadline {
    color: var(--dw-text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* Form styling */
.dw-contact .wpcf7-form input[type="text"],
.dw-contact .wpcf7-form input[type="email"],
.dw-contact .wpcf7-form input[type="tel"],
.dw-contact .wpcf7-form select,
.dw-contact .wpcf7-form textarea,
.kb-field input,
.kb-field select,
.kb-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--dw-radius);
    font-family: var(--dw-font-body);
    font-size: 0.95rem;
    color: var(--dw-dark);
    background-color: var(--dw-off-white);
    transition: var(--dw-transition);
}

.dw-contact .wpcf7-form input:focus,
.dw-contact .wpcf7-form select:focus,
.dw-contact .wpcf7-form textarea:focus,
.kb-field input:focus,
.kb-field select:focus,
.kb-field textarea:focus {
    outline: none;
    border-color: var(--dw-orange);
    background-color: var(--dw-white);
    box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.12);
}

/* =========================================
   FOOTER
   ========================================= */
#colophon,
.site-footer,
.kadence-footer {
    background-color: var(--dw-dark) !important;
    color: var(--dw-silver);
    border-top: 2px solid var(--dw-orange);
}

.site-footer a {
    color: var(--dw-silver);
}

.site-footer a:hover {
    color: var(--dw-orange);
}

.dw-footer__legal {
    font-size: 0.8rem;
    color: var(--dw-text-muted);
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.dw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.dw-text-orange { color: var(--dw-orange); }
.dw-text-silver { color: var(--dw-silver); }
.dw-text-white  { color: var(--dw-white); }
.dw-bg-dark     { background-color: var(--dw-dark); }
.dw-bg-orange   { background-color: var(--dw-orange); }

.dw-section-label {
    font-family: var(--dw-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-orange);
    display: block;
    margin-bottom: 12px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    :root {
        --dw-section-pad: 60px;
    }

    .dw-trust-bar__inner {
        gap: 24px;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
    }

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

    /* Reset column spans for 2-col layout */
    .dw-services-grid .dw-service-card:nth-child(1),
    .dw-services-grid .dw-service-card:nth-child(2),
    .dw-services-grid .dw-service-card:nth-child(3),
    .dw-services-grid .dw-service-card:nth-child(4),
    .dw-services-grid .dw-service-card:nth-child(5) {
        grid-column: span 1;
    }

    /* Center the lone 5th card on tablet */
    .dw-services-grid .dw-service-card:nth-child(5) {
        grid-column: 1 / span 2;
        max-width: calc(50% - 14px);
        margin: 0 auto;
    }

    .dw-hero {
        padding: 60px 0 50px;
    }
}

/* =========================================
   HOMEPAGE — ADDITIONAL STYLES
   ========================================= */

/* Hero supporting text */
.dw-hero__supporting {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dw-silver);
    max-width: 580px;
    margin-bottom: 40px;
    opacity: 0.85;
}

/* Standalone button classes */
.dw-btn {
    display: inline-block;
    font-family: var(--dw-font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--dw-radius);
    transition: var(--dw-transition);
    cursor: pointer;
    text-decoration: none;
}

.dw-btn--primary {
    background-color: var(--dw-orange);
    color: var(--dw-white);
    border: 2px solid var(--dw-orange);
}

.dw-btn--primary:hover {
    background-color: var(--dw-orange-dark);
    border-color: var(--dw-orange-dark);
    color: var(--dw-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 121, 32, 0.35);
}

.dw-btn--outline {
    background-color: transparent;
    color: var(--dw-orange);
    border: 2px solid var(--dw-orange);
}

.dw-btn--outline:hover {
    background-color: var(--dw-orange);
    color: var(--dw-white);
    transform: translateY(-2px);
}

/* Dark band inner layout */
.dw-dark-band__inner {
    max-width: 760px;
}

.dw-dark-band__headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dw-white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.dw-dark-band__body {
    color: var(--dw-silver);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.dw-dark-band__body:last-of-type {
    margin-bottom: 36px;
}

/* Contact teaser section */
.dw-contact-teaser {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-off-white);
    text-align: center;
}

.dw-contact-teaser__inner {
    max-width: 640px;
    text-align: center;
}

.dw-contact-teaser__headline {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--dw-dark);
    margin-bottom: 16px;
}

.dw-contact-teaser__body {
    color: var(--dw-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Hero entrance animation */
@keyframes dw-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dw-hero__eyebrow  { animation: dw-fade-up 0.5s ease both; animation-delay: 0.1s; }
.dw-hero__headline { animation: dw-fade-up 0.5s ease both; animation-delay: 0.2s; }
.dw-hero__subheadline { animation: dw-fade-up 0.5s ease both; animation-delay: 0.3s; }
.dw-hero__supporting  { animation: dw-fade-up 0.5s ease both; animation-delay: 0.35s; }
.dw-hero .dw-btn   { animation: dw-fade-up 0.5s ease both; animation-delay: 0.4s; }

/* Service card entrance on scroll */
@media (prefers-reduced-motion: no-preference) {
    .dw-service-card {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s ease;
    }
    .dw-service-card.dw-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive — contact teaser */
@media (max-width: 768px) {
    .dw-contact-teaser__inner {
        text-align: left;
    }
}

/* =========================================
   SERVICES PAGE
   ========================================= */

/* Page Hero */
.dw-page-hero {
    background-color: var(--dw-dark);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--dw-orange);
}

.dw-page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(244, 121, 32, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 121, 32, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.dw-page-hero__eyebrow {
    font-family: var(--dw-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 16px;
    display: block;
}

.dw-page-hero__headline {
    font-family: var(--dw-font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--dw-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.dw-page-hero__headline span {
    color: var(--dw-orange);
}

.dw-page-hero__subheadline {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dw-silver);
    max-width: 580px;
}

/* Service Section — alternating light/dark */
.dw-service-section {
    padding: 80px 0;
}

.dw-service-section--light {
    background-color: var(--dw-white);
}

.dw-service-section--dark {
    background-color: var(--dw-dark);
    position: relative;
    overflow: hidden;
}

.dw-service-section--dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(244, 121, 32, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 121, 32, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.dw-service-section__inner {
    position: relative;
    z-index: 1;
}

/* Service section header */
.dw-service-section__header {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 48px;
}

.dw-service-number {
    font-family: var(--dw-font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--dw-orange);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 4px;
}

.dw-service-number--light {
    color: var(--dw-orange);
    opacity: 0.3;
}

.dw-service-section__title {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--dw-dark);
    margin-bottom: 8px;
    line-height: 1.15;
}

.dw-service-section__title--light {
    color: var(--dw-white);
}

.dw-service-section__hook {
    font-size: 1.05rem;
    color: var(--dw-orange);
    font-weight: 600;
    font-style: italic;
    margin: 0;
}

.dw-service-section__hook--light {
    color: var(--dw-orange-light);
}

/* Service section body — 2 col layout */
.dw-service-section__body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.dw-service-section__description p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--dw-text-muted);
    margin-bottom: 16px;
}

.dw-service-section__description--light p {
    color: var(--dw-silver);
}

.dw-service-section__description strong {
    color: var(--dw-orange);
    font-weight: 600;
}

/* Service items grid */
.dw-service-section__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.dw-service-item {
    padding: 24px;
    border-radius: var(--dw-radius-lg);
    background-color: var(--dw-off-white);
    border-left: 3px solid var(--dw-orange);
    transition: var(--dw-transition);
}

.dw-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.dw-service-item--dark {
    background-color: var(--dw-dark-mid);
    border-left: 3px solid var(--dw-orange);
}

.dw-service-item--dark:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.dw-service-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dw-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.dw-service-item--dark h4 {
    color: var(--dw-white);
}

.dw-service-item p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dw-text-muted);
    margin: 0;
}

.dw-service-item--dark p {
    color: var(--dw-silver);
}

.dw-service-item__via {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dw-orange);
    font-style: italic;
    display: block;
    margin-top: 2px;
}

/* Services bottom CTA */
.dw-services-cta {
    background-color: var(--dw-dark);
    padding: var(--dw-section-pad) 0;
    border-top: 2px solid var(--dw-orange);
    text-align: center;
}

.dw-services-cta__inner {
    max-width: 600px;
    text-align: center;
}

.dw-services-cta__headline {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--dw-white);
    margin-bottom: 16px;
}

.dw-services-cta__body {
    color: var(--dw-silver);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Responsive — services page */
@media (max-width: 900px) {
    .dw-service-section__body {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .dw-service-section {
        padding: 60px 0;
    }

    .dw-service-section__header {
        flex-direction: column;
        gap: 12px;
    }

    .dw-service-number {
        font-size: 2.5rem;
    }

    .dw-service-section__items {
        grid-template-columns: 1fr;
    }

    .dw-services-cta__inner {
        text-align: left;
    }
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.dw-about-section {
    padding: var(--dw-section-pad) 0;
}

.dw-about-section--light {
    background-color: var(--dw-white);
}

.dw-about-section--dark {
    background-color: var(--dw-dark);
    position: relative;
    overflow: hidden;
}

.dw-about-section--dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(244, 121, 32, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 121, 32, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Who We Are — 2 col layout */
.dw-about-section__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 80px;
    align-items: start;
}

.dw-about-section__headline {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dw-dark);
    line-height: 1.15;
    margin-bottom: 24px;
}

.dw-about-section__headline--light {
    color: var(--dw-white);
}

.dw-about-section__content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dw-text-muted);
    margin-bottom: 20px;
}

/* Stats stack */
.dw-about-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dw-about-stat {
    padding: 24px 28px;
    background-color: var(--dw-off-white);
    border-left: 3px solid var(--dw-orange);
    border-radius: var(--dw-radius);
}

.dw-about-stat__value {
    display: block;
    font-family: var(--dw-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dw-orange);
    line-height: 1;
    margin-bottom: 6px;
}

.dw-about-stat__label {
    font-size: 0.85rem;
    color: var(--dw-text-muted);
    font-weight: 500;
}

/* How We Work */
.dw-about-how__header {
    max-width: 600px;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.dw-about-how__intro {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--dw-silver);
    margin-top: 20px;
}

.dw-about-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.dw-about-step {
    padding: 32px 28px;
    background-color: var(--dw-dark-mid);
    border-radius: var(--dw-radius-lg);
    border-top: 3px solid var(--dw-orange);
    transition: var(--dw-transition);
}

.dw-about-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.dw-about-step__number {
    font-family: var(--dw-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dw-orange);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
}

.dw-about-step__content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dw-white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.dw-about-step__content p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dw-silver);
    margin: 0;
}

/* Ecosystem section */
.dw-about-ecosystem__intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dw-text-muted);
    max-width: 560px;
    margin-bottom: 48px;
}

.dw-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.dw-ecosystem-card {
    padding: 40px 36px;
    background-color: var(--dw-off-white);
    border-radius: var(--dw-radius-lg);
    border-top: 3px solid var(--dw-orange);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: var(--dw-transition);
}

.dw-ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.dw-ecosystem-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.dw-ecosystem-card__name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dw-dark);
    margin: 0;
}

.dw-ecosystem-card__tag {
    font-family: var(--dw-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dw-white);
    background-color: var(--dw-orange);
    padding: 4px 10px;
    border-radius: 20px;
}

.dw-ecosystem-card__description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dw-text-muted);
    margin-bottom: 24px;
}

.dw-ecosystem-card__link {
    font-family: var(--dw-font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dw-orange);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: var(--dw-transition);
}

.dw-ecosystem-card__link:hover {
    color: var(--dw-orange-dark);
    letter-spacing: 0.05em;
}

/* Responsive — about page */
@media (max-width: 900px) {
    .dw-about-section__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .dw-about-stat-stack {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dw-about-stat {
        flex: 1 1 160px;
    }
}

@media (max-width: 768px) {
    .dw-about-steps {
        grid-template-columns: 1fr;
    }

    .dw-ecosystem-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CONTACT PAGE
   ========================================= */

.dw-contact-body {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-white);
}

.dw-contact-body__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 80px;
    align-items: start;
}

/* Intro paragraph */
.dw-contact-intro {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dw-text-muted);
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e8e8e8;
}

/* Native form */
.dw-native-form {
    width: 100%;
}

.dw-form-row {
    margin-bottom: 24px;
}

.dw-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dw-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dw-form-field label {
    font-family: var(--dw-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--dw-dark);
    text-transform: uppercase;
}

.dw-required {
    color: var(--dw-orange);
}

.dw-optional {
    color: var(--dw-text-muted);
    font-weight: 400;
    text-transform: none;
    font-size: 0.8rem;
}

.dw-form-field input[type="text"],
.dw-form-field input[type="email"],
.dw-form-field input[type="tel"],
.dw-form-field select,
.dw-form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--dw-radius);
    font-family: var(--dw-font-body);
    font-size: 0.95rem;
    color: var(--dw-dark);
    background-color: var(--dw-off-white);
    transition: var(--dw-transition);
    appearance: none;
    -webkit-appearance: none;
}

.dw-form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F47920' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.dw-form-field input:focus,
.dw-form-field select:focus,
.dw-form-field textarea:focus {
    outline: none;
    border-color: var(--dw-orange);
    background-color: var(--dw-white);
    box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.12);
}

.dw-form-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* Full width button */
.dw-btn--full {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: block;
}

/* Form disclaimer */
.dw-form-disclaimer {
    font-size: 0.85rem;
    color: var(--dw-text-muted);
    text-align: center;
    margin-top: 16px;
    font-style: italic;
}

/* CF7 overrides to match native form styles */
.dw-contact-form-wrap .wpcf7-form p {
    margin-bottom: 20px;
}

.dw-contact-form-wrap .wpcf7-form input[type="text"],
.dw-contact-form-wrap .wpcf7-form input[type="email"],
.dw-contact-form-wrap .wpcf7-form input[type="tel"],
.dw-contact-form-wrap .wpcf7-form select,
.dw-contact-form-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--dw-radius);
    font-family: var(--dw-font-body);
    font-size: 0.95rem;
    color: var(--dw-dark);
    background-color: var(--dw-off-white);
    transition: var(--dw-transition);
}

.dw-contact-form-wrap .wpcf7-form input:focus,
.dw-contact-form-wrap .wpcf7-form select:focus,
.dw-contact-form-wrap .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--dw-orange);
    background-color: var(--dw-white);
    box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.12);
}

.dw-contact-form-wrap .wpcf7-submit {
    width: 100%;
}

/* Contact aside */
.dw-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: sticky;
    top: 32px;
}

.dw-contact-detail__label {
    font-family: var(--dw-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 8px;
}

.dw-contact-detail__value {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--dw-dark);
    margin: 0;
}

.dw-contact-detail__value a {
    color: var(--dw-orange);
    font-weight: 600;
}

.dw-contact-detail__value a:hover {
    color: var(--dw-orange-dark);
}

/* Services quick links */
.dw-contact-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dw-contact-services-list li a {
    font-size: 0.9rem;
    color: var(--dw-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--dw-transition);
}

.dw-contact-services-list li a::before {
    content: '→';
    color: var(--dw-orange);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.dw-contact-services-list li a:hover {
    color: var(--dw-orange);
    padding-left: 4px;
}

/* Ecosystem links */
.dw-contact-ecosystem__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dw-contact-ecosystem__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background-color: var(--dw-off-white);
    border-radius: var(--dw-radius);
    border-left: 3px solid var(--dw-orange);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-contact-ecosystem__link:hover {
    background-color: var(--dw-orange);
    transform: translateX(4px);
}

.dw-contact-ecosystem__link:hover .dw-contact-ecosystem__name,
.dw-contact-ecosystem__link:hover .dw-contact-ecosystem__desc {
    color: var(--dw-white);
}

.dw-contact-ecosystem__name {
    font-family: var(--dw-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dw-dark);
    transition: var(--dw-transition);
}

.dw-contact-ecosystem__desc {
    font-size: 0.8rem;
    color: var(--dw-text-muted);
    transition: var(--dw-transition);
}

/* Responsive — contact page */
@media (max-width: 900px) {
    .dw-contact-body__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .dw-contact-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .dw-form-row--2col {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   INSIGHTS — ARCHIVE & SINGLE POST
   ========================================= */

/* Category filter bar */
.dw-insights-filter {
    background-color: var(--dw-dark-mid);
    border-bottom: 1px solid var(--dw-dark-light);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dw-insights-filter__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dw-filter-pill {
    font-family: var(--dw-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--dw-dark-light);
    color: var(--dw-silver);
    text-decoration: none;
    transition: var(--dw-transition);
    white-space: nowrap;
}

.dw-filter-pill:hover {
    border-color: var(--dw-orange);
    color: var(--dw-orange);
}

.dw-filter-pill--active {
    background-color: var(--dw-orange);
    border-color: var(--dw-orange);
    color: var(--dw-white);
}

.dw-filter-pill--active:hover {
    color: var(--dw-white);
    background-color: var(--dw-orange-dark);
}

/* Insights body */
.dw-insights-body {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-off-white);
}

/* Category pill shared style */
.dw-post-cat-pill {
    font-family: var(--dw-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background-color: var(--dw-orange);
    color: var(--dw-white);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-post-cat-pill:hover {
    background-color: var(--dw-orange-dark);
    color: var(--dw-white);
}

.dw-post-date,
.dw-post-read-time,
.dw-post-updated {
    font-size: 0.82rem;
    color: var(--dw-text-muted);
}

/* =========================================
   FEATURED POST
   ========================================= */
.dw-featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--dw-white);
    border-radius: var(--dw-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 48px;
    border-top: 3px solid var(--dw-orange);
    transition: var(--dw-transition);
}

.dw-featured-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.dw-featured-post__image-wrap {
    display: block;
    overflow: hidden;
    position: relative;
    min-height: 360px;
}

.dw-featured-post__image-wrap--placeholder {
    background-color: var(--dw-dark);
}

.dw-featured-post__placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, var(--dw-dark) 0%, var(--dw-dark-mid) 100%);
    position: relative;
}

.dw-featured-post__placeholder::after {
    content: 'DivyWeb';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--dw-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(244, 121, 32, 0.2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dw-featured-post__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dw-featured-post__image-wrap:hover .dw-featured-post__image {
    transform: scale(1.03);
}

.dw-featured-post__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(0,0,0,0.1));
    pointer-events: none;
}

.dw-featured-post__content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

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

.dw-featured-post__title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.dw-featured-post__title a {
    color: var(--dw-dark);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-featured-post__title a:hover {
    color: var(--dw-orange);
}

.dw-featured-post__excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dw-text-muted);
    margin-bottom: 28px;
}

/* =========================================
   POST CARD GRID
   ========================================= */
.dw-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.dw-post-card {
    background-color: var(--dw-white);
    border-radius: var(--dw-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-top: 3px solid var(--dw-orange);
    transition: var(--dw-transition);
    display: flex;
    flex-direction: column;
}

.dw-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.dw-post-card__image-wrap {
    display: block;
    overflow: hidden;
    height: 200px;
}

.dw-post-card__image-wrap--placeholder {
    background-color: var(--dw-dark);
}

.dw-post-card__placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dw-dark) 0%, var(--dw-dark-mid) 100%);
    position: relative;
}

.dw-post-card__placeholder::after {
    content: 'DivyWeb';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--dw-font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: rgba(244, 121, 32, 0.2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dw-post-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dw-post-card__image-wrap:hover .dw-post-card__image {
    transform: scale(1.04);
}

.dw-post-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dw-post-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dw-post-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.dw-post-card__title a {
    color: var(--dw-dark);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-post-card__title a:hover {
    color: var(--dw-orange);
}

.dw-post-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dw-text-muted);
    margin-bottom: 16px;
    flex: 1;
}

.dw-post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--dw-off-white);
}

.dw-post-card__read-more {
    font-family: var(--dw-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dw-orange);
    text-decoration: none;
    transition: var(--dw-transition);
    letter-spacing: 0.02em;
}

.dw-post-card__read-more:hover {
    color: var(--dw-orange-dark);
    letter-spacing: 0.05em;
}

/* Pagination */
.dw-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    flex-wrap: wrap;
}

.dw-pagination .page-numbers li a,
.dw-pagination .page-numbers li span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--dw-radius);
    font-family: var(--dw-font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    color: var(--dw-dark);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-pagination .page-numbers li a:hover {
    border-color: var(--dw-orange);
    color: var(--dw-orange);
}

.dw-pagination .page-numbers li .current {
    background-color: var(--dw-orange);
    border-color: var(--dw-orange);
    color: var(--dw-white);
}

/* No posts */
.dw-no-posts {
    text-align: center;
    padding: 80px 0;
}

.dw-no-posts h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.dw-no-posts p {
    color: var(--dw-text-muted);
    margin-bottom: 32px;
}

/* =========================================
   SINGLE POST
   ========================================= */

/* Post hero */
.dw-post-hero {
    background-color: var(--dw-dark);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--dw-orange);
}

.dw-post-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(244, 121, 32, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 121, 32, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Breadcrumb */
.dw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.dw-breadcrumb a {
    font-size: 0.82rem;
    color: var(--dw-silver);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-breadcrumb a:hover {
    color: var(--dw-orange);
}

.dw-breadcrumb__sep {
    color: var(--dw-text-muted);
    font-size: 0.75rem;
}

.dw-post-hero__cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.dw-post-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dw-white);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.dw-post-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.dw-post-hero__sep {
    color: var(--dw-text-muted);
}

/* Featured image */
.dw-post-featured-image {
    background-color: var(--dw-dark-mid);
    padding: 0;
}

.dw-post-featured-image__img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Post body layout */
.dw-post-body {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-white);
}

.dw-post-body__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}

/* Post content typography */
.dw-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dw-dark);
}

.dw-post-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 48px 0 16px;
    color: var(--dw-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dw-off-white);
}

.dw-post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--dw-dark);
}

.dw-post-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 28px 0 8px;
    color: var(--dw-orange);
}

.dw-post-content p {
    margin-bottom: 24px;
}

.dw-post-content a {
    color: var(--dw-orange);
    text-decoration: underline;
    text-decoration-color: rgba(244, 121, 32, 0.4);
    text-underline-offset: 3px;
}

.dw-post-content a:hover {
    text-decoration-color: var(--dw-orange);
}

.dw-post-content ul,
.dw-post-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.dw-post-content li {
    margin-bottom: 8px;
}

.dw-post-content blockquote {
    border-left: 4px solid var(--dw-orange);
    padding: 16px 24px;
    margin: 32px 0;
    background-color: var(--dw-off-white);
    border-radius: 0 var(--dw-radius) var(--dw-radius) 0;
    font-style: italic;
    color: var(--dw-text-muted);
}

.dw-post-content code {
    background-color: var(--dw-off-white);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.88em;
    font-family: 'Courier New', monospace;
    color: var(--dw-orange);
}

.dw-post-content pre {
    background-color: var(--dw-dark);
    color: var(--dw-silver);
    padding: 24px;
    border-radius: var(--dw-radius-lg);
    overflow-x: auto;
    margin-bottom: 28px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.dw-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.dw-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--dw-radius);
    margin: 24px 0;
}

/* Post tags */
.dw-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--dw-off-white);
}

.dw-post-tags__label {
    font-family: var(--dw-font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dw-text-muted);
}

.dw-post-tag {
    font-size: 0.82rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    color: var(--dw-text-muted);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-post-tag:hover {
    border-color: var(--dw-orange);
    color: var(--dw-orange);
}

/* Post navigation */
.dw-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--dw-off-white);
}

.dw-post-nav__prev,
.dw-post-nav__next {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dw-post-nav__next {
    text-align: right;
}

.dw-post-nav__label {
    font-family: var(--dw-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dw-orange);
}

.dw-post-nav__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dw-dark);
    text-decoration: none;
    line-height: 1.4;
    transition: var(--dw-transition);
}

.dw-post-nav__title:hover {
    color: var(--dw-orange);
}

/* =========================================
   SIDEBAR
   ========================================= */
.dw-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 32px;
}

.dw-sidebar-widget {
    background-color: var(--dw-off-white);
    border-radius: var(--dw-radius-lg);
    padding: 28px 24px;
    border-top: 3px solid var(--dw-orange);
}

.dw-sidebar-widget--dark {
    background-color: var(--dw-dark);
}

.dw-sidebar-widget__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 16px;
}

.dw-sidebar-widget__title--light {
    color: var(--dw-orange);
}

.dw-sidebar-widget__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--dw-text-muted);
    margin-bottom: 20px;
}

.dw-sidebar-widget__text--light {
    color: var(--dw-silver);
}

/* Sidebar categories */
.dw-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dw-sidebar-cats li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 0.9rem;
    color: var(--dw-dark);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-sidebar-cats li:last-child a {
    border-bottom: none;
}

.dw-sidebar-cats li a:hover {
    color: var(--dw-orange);
    padding-left: 4px;
}

.dw-sidebar-cats__count {
    font-size: 0.78rem;
    color: var(--dw-text-muted);
    background-color: #e8e8e8;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Sidebar related posts */
.dw-sidebar-related {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dw-sidebar-related li {
    border-bottom: 1px solid #e8e8e8;
}

.dw-sidebar-related li:last-child {
    border-bottom: none;
}

.dw-sidebar-related__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-sidebar-related__link:hover .dw-sidebar-related__title {
    color: var(--dw-orange);
}

.dw-sidebar-related__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dw-dark);
    line-height: 1.35;
    transition: var(--dw-transition);
}

.dw-sidebar-related__date {
    font-size: 0.78rem;
    color: var(--dw-text-muted);
}

/* =========================================
   BLOG RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .dw-insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .dw-featured-post {
        grid-template-columns: 1fr;
    }

    .dw-featured-post__image-wrap {
        min-height: 260px;
    }

    .dw-post-body__inner {
        grid-template-columns: 1fr;
    }

    .dw-post-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .dw-insights-grid {
        grid-template-columns: 1fr;
    }

    .dw-featured-post__content {
        padding: 28px 24px;
    }

    .dw-post-nav {
        grid-template-columns: 1fr;
    }

    .dw-post-nav__next {
        text-align: left;
    }
}

/* =========================================
   HEADER (custom header.php)
   ========================================= */
.dw-skip-link {
    position: absolute;
    left: -9999px;
}

.dw-skip-link:focus {
    left: 8px;
    top: 8px;
    z-index: 9999;
    background: var(--dw-orange);
    color: var(--dw-white);
    padding: 8px 16px;
    border-radius: var(--dw-radius);
}

.dw-header {
    background-color: var(--dw-dark);
    border-bottom: 2px solid var(--dw-orange);
    position: sticky;
    top: 0;
    z-index: 200;
}

.dw-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 72px;
}

/* Logo */
.dw-header__logo a img {
    max-height: 44px;
    width: auto;
    display: block;
}

.dw-header__logo-text {
    font-family: var(--dw-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dw-white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* Primary nav */
.dw-primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dw-nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dw-nav-list li a {
    font-family: var(--dw-font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dw-silver);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--dw-radius);
    transition: var(--dw-transition);
    display: block;
}

.dw-nav-list li a:hover,
.dw-nav-list li.current-menu-item > a,
.dw-nav-list li.current_page_item > a {
    color: var(--dw-white);
    background-color: rgba(255,255,255,0.06);
}

.dw-nav-list li.current-menu-item > a,
.dw-nav-list li.current_page_item > a {
    color: var(--dw-orange);
}

/* Small CTA button variant */
.dw-btn--sm {
    padding: 9px 20px !important;
    font-size: 0.78rem !important;
}

/* Hamburger */
.dw-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.dw-hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dw-white);
    border-radius: 2px;
    transition: var(--dw-transition);
}

.dw-hamburger[aria-expanded="true"] .dw-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dw-hamburger[aria-expanded="true"] .dw-hamburger__line:nth-child(2) {
    opacity: 0;
}

.dw-hamburger[aria-expanded="true"] .dw-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   FOOTER
   ========================================= */
.dw-footer {
    background-color: var(--dw-dark);
    border-top: 2px solid var(--dw-orange);
}

/* Footer main */
.dw-footer__main {
    padding: 72px 0 56px;
}

.dw-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

/* Column titles */
.dw-footer__col-title {
    font-family: var(--dw-font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 16px;
}

.dw-footer__col-title--spaced {
    margin-top: 36px;
}

/* Brand column */
.dw-footer__logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.dw-footer__logo {
    max-height: 40px;
    width: auto;
}

.dw-footer__logo-text {
    font-family: var(--dw-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dw-white);
    text-decoration: none;
}

.dw-footer__tagline {
    font-family: var(--dw-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dw-white);
    margin-bottom: 12px;
    font-style: italic;
}

.dw-footer__desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--dw-silver);
    margin-bottom: 20px;
    opacity: 0.85;
}

.dw-footer__location {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.dw-footer__location-label {
    font-family: var(--dw-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-orange);
}

.dw-footer__location-value {
    font-size: 0.88rem;
    color: var(--dw-silver);
}

/* AWS badge */
.dw-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(244, 121, 32, 0.3);
    border-radius: 20px;
    background-color: rgba(244, 121, 32, 0.06);
}

.dw-footer__badge-text {
    font-family: var(--dw-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dw-orange);
}

/* Nav list */
.dw-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dw-footer__nav-list li a {
    font-size: 0.9rem;
    color: var(--dw-silver);
    text-decoration: none;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--dw-transition);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dw-footer__nav-list li:last-child a {
    border-bottom: none;
}

.dw-footer__nav-list li a:hover {
    color: var(--dw-orange);
    padding-left: 6px;
}

.dw-footer__ext {
    font-size: 0.75rem;
    color: var(--dw-text-muted);
}

/* Contact list */
.dw-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dw-footer__contact-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dw-footer__contact-label {
    font-family: var(--dw-font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-text-muted);
}

.dw-footer__contact-list a {
    font-size: 0.9rem;
    color: var(--dw-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--dw-transition);
}

.dw-footer__contact-list a:hover {
    color: var(--dw-orange-light);
}

.dw-footer__contact-value {
    font-size: 0.9rem;
    color: var(--dw-silver);
}

/* Footer bottom bar */
.dw-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.dw-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.dw-footer__legal {
    font-size: 0.82rem;
    color: var(--dw-text-muted);
    margin: 0;
}

.dw-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dw-footer__bottom-links a {
    font-size: 0.82rem;
    color: var(--dw-text-muted);
    text-decoration: none;
    transition: var(--dw-transition);
}

.dw-footer__bottom-links a:hover {
    color: var(--dw-orange);
}

.dw-footer__bottom-sep {
    color: var(--dw-text-muted);
    font-size: 0.75rem;
}

/* =========================================
   HEADER & FOOTER RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .dw-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .dw-footer__col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* Mobile header */
    .dw-hamburger {
        display: flex;
    }

    .dw-header__cta {
        display: none;
    }

    .dw-primary-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background-color: var(--dw-dark-mid);
        border-bottom: 2px solid var(--dw-orange);
        padding: 16px 0;
        z-index: 199;
    }

    .dw-primary-nav.dw-nav-open {
        display: block;
    }

    .dw-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 24px;
    }

    .dw-nav-list li a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
        font-size: 0.9rem;
    }

    .dw-nav-list li:last-child a {
        border-bottom: none;
    }

    /* Mobile footer */
    .dw-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dw-footer__col--brand {
        grid-column: auto;
    }

    .dw-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* =========================================
   LEGAL PAGES (Privacy Policy & Terms)
   ========================================= */

.dw-legal-body {
    padding: var(--dw-section-pad) 0;
    background-color: var(--dw-white);
}

.dw-legal-body__inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

/* Table of contents sidebar */
.dw-legal-toc {
    position: sticky;
    top: 100px;
    background-color: var(--dw-off-white);
    border-radius: var(--dw-radius-lg);
    padding: 24px;
    border-top: 3px solid var(--dw-orange);
}

.dw-legal-toc__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dw-orange);
    margin-bottom: 16px;
}

.dw-legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dw-legal-toc__list li a {
    font-size: 0.82rem;
    color: var(--dw-text-muted);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    border-bottom: 1px solid #e8e8e8;
    transition: var(--dw-transition);
    line-height: 1.4;
}

.dw-legal-toc__list li:last-child a {
    border-bottom: none;
}

.dw-legal-toc__list li a:hover {
    color: var(--dw-orange);
    padding-left: 4px;
}

/* Legal content */
.dw-legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dw-dark);
}

.dw-legal-section {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--dw-off-white);
}

.dw-legal-section:last-of-type {
    border-bottom: none;
}

.dw-legal-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dw-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dw-off-white);
}

.dw-legal-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dw-dark);
    margin: 28px 0 10px;
}

.dw-legal-section p {
    margin-bottom: 16px;
    color: var(--dw-text-muted);
}

.dw-legal-section p:last-child {
    margin-bottom: 0;
}

.dw-legal-section a {
    color: var(--dw-orange);
    text-decoration: underline;
    text-decoration-color: rgba(244, 121, 32, 0.4);
    text-underline-offset: 3px;
    transition: var(--dw-transition);
}

.dw-legal-section a:hover {
    text-decoration-color: var(--dw-orange);
}

.dw-legal-section ul,
.dw-legal-section ol {
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--dw-text-muted);
}

.dw-legal-section li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.dw-legal-section strong {
    color: var(--dw-dark);
    font-weight: 600;
}

/* Contact block */
.dw-legal-contact-block {
    background-color: var(--dw-off-white);
    border-left: 3px solid var(--dw-orange);
    border-radius: 0 var(--dw-radius) var(--dw-radius) 0;
    padding: 20px 24px;
    margin-top: 16px;
}

.dw-legal-contact-block p {
    margin: 0;
    line-height: 1.8;
}

/* Attorney disclaimer box */
.dw-legal-disclaimer {
    background-color: rgba(244, 121, 32, 0.06);
    border: 1px solid rgba(244, 121, 32, 0.2);
    border-radius: var(--dw-radius-lg);
    padding: 20px 24px;
    margin-top: 48px;
}

.dw-legal-disclaimer p {
    font-size: 0.88rem;
    color: var(--dw-text-muted);
    margin: 0;
    line-height: 1.65;
}

.dw-legal-disclaimer strong {
    color: var(--dw-orange);
}

/* Responsive — legal pages */
@media (max-width: 900px) {
    .dw-legal-body__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dw-legal-toc {
        position: static;
    }
}

/* =========================================
   HERO — TWO COLUMN LAYOUT & MONITOR MOCKUP
   ========================================= */

/* Two column grid — 60/40 split */
.dw-hero__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: center;
    min-height: 560px;
}

.dw-hero__content {
    position: relative;
    z-index: 1;
}

.dw-hero__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Monitor frame ── */
.dw-monitor {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.6));
}

.dw-monitor__frame {
    width: 100%;
    background-color: #0f0f0f;
    border-radius: 10px 10px 0 0;
    border: 2px solid #2a2a2a;
    overflow: hidden;
}

/* Browser-style top bar */
.dw-monitor__bar {
    background-color: #1c1c1c;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #2a2a2a;
}

.dw-monitor__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dw-monitor__dot--red    { background-color: #ff5f57; }
.dw-monitor__dot--yellow { background-color: #febc2e; }
.dw-monitor__dot--green  { background-color: #28c840; }

.dw-monitor__bar-url {
    margin-left: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #555;
    background-color: #141414;
    padding: 3px 10px;
    border-radius: 3px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Dashboard screen ── */
.dw-monitor__screen {
    padding: 16px;
    background-color: #0d0d0d;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Dashboard header row */
.dw-dash__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #1e1e1e;
}

.dw-dash__title {
    font-family: var(--dw-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
}

.dw-dash__status {
    font-family: var(--dw-font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
}

.dw-dash__status--ok {
    background-color: rgba(40, 200, 64, 0.12);
    color: #28c840;
    border: 1px solid rgba(40, 200, 64, 0.2);
}

/* Stat row */
.dw-dash__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.dw-dash__stat {
    background-color: #141414;
    border-radius: 4px;
    padding: 10px 8px;
    text-align: center;
    border-top: 2px solid var(--dw-orange);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dw-dash__stat-value {
    font-family: var(--dw-font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--dw-white);
    line-height: 1;
}

.dw-dash__stat-value small {
    font-size: 0.6rem;
    color: var(--dw-orange);
    font-weight: 600;
}

.dw-dash__stat-label {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555;
}

/* Service status list */
.dw-dash__services {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: #141414;
    border-radius: 4px;
    overflow: hidden;
}

.dw-dash__service {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background-color: #111;
    transition: background-color 0.2s ease;
}

.dw-dash__service:hover {
    background-color: #161616;
}

.dw-dash__service-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dw-dash__service-dot--ok      { background-color: #28c840; box-shadow: 0 0 4px rgba(40,200,64,0.5); }
.dw-dash__service-dot--warn    { background-color: #febc2e; box-shadow: 0 0 4px rgba(254,188,46,0.5); }
.dw-dash__service-dot--error   { background-color: #ff5f57; box-shadow: 0 0 4px rgba(255,95,87,0.5); }

.dw-dash__service-name {
    font-family: var(--dw-font-body);
    font-size: 0.68rem;
    color: #aaa;
    flex: 1;
}

.dw-dash__service-status {
    font-family: var(--dw-font-heading);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #28c840;
    text-align: right;
}

/* Mini bar chart */
.dw-dash__chart {
    background-color: #141414;
    border-radius: 4px;
    padding: 10px;
}

.dw-dash__chart-label {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
    display: block;
    margin-bottom: 8px;
}

.dw-dash__bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 32px;
}

.dw-dash__bar {
    flex: 1;
    background-color: rgba(244, 121, 32, 0.25);
    border-radius: 2px 2px 0 0;
    transition: background-color 0.2s ease;
}

.dw-dash__bar--active {
    background-color: var(--dw-orange);
}

/* Monitor stand */
.dw-monitor__neck {
    width: 40px;
    height: 20px;
    background: linear-gradient(to bottom, #1c1c1c, #141414);
    border-left: 1px solid #2a2a2a;
    border-right: 1px solid #2a2a2a;
}

.dw-monitor__base {
    width: 120px;
    height: 8px;
    background: linear-gradient(to bottom, #1c1c1c, #111);
    border-radius: 0 0 6px 6px;
    border: 1px solid #2a2a2a;
    border-top: none;
}

/* Subtle glow behind monitor */
.dw-hero__visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 121, 32, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ── Hero responsive ── */
@media (max-width: 1024px) {
    .dw-hero__grid {
        gap: 32px;
    }

    .dw-monitor {
        max-width: 380px;
    }
}

@media (max-width: 860px) {
    .dw-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: auto;
        padding: 60px 0 40px;
    }

    .dw-hero__visual {
        order: -1;
    }

    .dw-monitor {
        max-width: 420px;
    }

    /* Reduce hero padding since grid handles it */
    .dw-hero {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .dw-monitor {
        max-width: 100%;
    }

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

/* Services grid — single column on mobile */
@media (max-width: 600px) {
    .dw-services-grid {
        grid-template-columns: 1fr !important;
    }

    .dw-services-grid .dw-service-card:nth-child(1),
    .dw-services-grid .dw-service-card:nth-child(2),
    .dw-services-grid .dw-service-card:nth-child(3),
    .dw-services-grid .dw-service-card:nth-child(4),
    .dw-services-grid .dw-service-card:nth-child(5) {
        grid-column: span 1 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* External links inside dark service description */
.dw-service-section__description--light a {
    color: var(--dw-orange);
    text-decoration: underline;
    text-decoration-color: rgba(244, 121, 32, 0.4);
    text-underline-offset: 3px;
    transition: var(--dw-transition);
}

.dw-service-section__description--light a:hover {
    color: var(--dw-orange-light);
    text-decoration-color: var(--dw-orange-light);
}

.dw-service-section__description--light a strong {
    color: inherit;
}

/* =========================================
   SUPPRESS KADENCE DEFAULT TITLE AREAS
   on archive, blog index & single posts
   ========================================= */
.blog .kadence-inner-column-inner > .wp-block-kadence-rowlayout:first-child,
.archive .kadence-inner-column-inner > .wp-block-kadence-rowlayout:first-child,
.single-post .entry-header,
.single-post .kadence-entry-header,
.archive .entry-header,
.archive .kadence-entry-header,
.blog .entry-header,
.blog .kadence-entry-header,
.archive .kadence-page-header,
.blog .kadence-page-header,
.single-post .kadence-page-header {
    display: none !important;
}

/* Also suppress any Kadence above-content padding
   that creates a white gap above our dark hero */
.archive .content-container,
.blog .content-container,
.single-post .content-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.archive .kadence-page-hero-container,
.blog .kadence-page-hero-container {
    display: none !important;
}

/* Hide monitor mockup on mobile */
@media (max-width: 860px) {
    .dw-hero__visual {
        display: none;
    }

    .dw-hero__grid {
        grid-template-columns: 1fr;
    }
}

/* Hero container padding on mobile */
@media (max-width: 860px) {
    .dw-hero .dw-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}
