:root {
    --color-black: #0d0d0d;
    --color-charcoal: #181818;
    --color-dark-red: #210000;
    --color-orange: #f04a2a;
    --color-orange-dark: #c83218;
    --color-white: #ffffff;
    --color-light: #f6f6f6;
    --color-muted: #666666;
    --color-border: #e6e6e6;
    --max-width: 1280px;
    --section-padding: 96px 8%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 6px;
    align-items: baseline;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    font-size: 24px;
}

.brand-sub {
    font-size: 17px;
    color: #f1f1f1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 9px 14px;
    border-radius: 999px;
}

.nav-cta:hover {
    border-color: var(--color-orange);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* Hero */

.hero {
    min-height: 86vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 8%;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(35, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.4) 100%),
        url("../images/dspa-hero.png");
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--color-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 26px;
}

.hero p {
    font-size: 20px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 34px;
}

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.primary-btn {
    background: var(--color-orange);
    color: var(--color-white);
}

.primary-btn:hover {
    background: var(--color-orange-dark);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--color-white);
    background: transparent;
}

.secondary-btn:hover {
    border-color: var(--color-orange);
}

/* Sections */

.section {
    padding: var(--section-padding);
}

.muted-section {
    background: var(--color-light);
}

.dark-section {
    background:
        radial-gradient(circle at top right, rgba(240, 74, 42, 0.18), transparent 35%),
        var(--color-charcoal);
    color: var(--color-white);
}

.section-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 48px;
}

.two-col {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.section h2,
.section-heading h2,
.cta-section h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.section p {
    font-size: 18px;
    color: #333;
    margin-bottom: 18px;
}

.dark-section p {
    color: rgba(255, 255, 255, 0.82);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 52px;
}

.section-heading.center {
    text-align: center;
}

.section-heading p {
    color: var(--color-muted);
}

.dark-section .section-heading p {
    color: rgba(255, 255, 255, 0.78);
}

.text-link {
    display: inline-block;
    color: var(--color-orange);
    font-weight: 800;
    text-decoration: none;
    margin-top: 8px;
}

.text-link:hover {
    text-decoration: underline;
}

/* Page Hero */

.page-hero {
    padding: 130px 8% 95px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(52, 0, 0, 0.76)),
        url("../images/dspa-hero.png");
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.page-hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
}

.page-hero p {
    max-width: 780px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.86);
}

/* Cards */

.card-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

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

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

.feature-card,
.statement-card,
.solution-card,
.product-card,
.contact-card,
.form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.dark-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.feature-card h3,
.statement-card h3,
.solution-card h3,
.product-card h3 {
    font-size: 23px;
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.feature-card p,
.statement-card p,
.solution-card p,
.product-card p {
    color: var(--color-muted);
    font-size: 16px;
}

.dark-card p {
    color: rgba(255, 255, 255, 0.75);
}

.card-number {
    display: inline-flex;
    color: var(--color-orange);
    font-weight: 900;
    margin-bottom: 18px;
    font-size: 14px;
    letter-spacing: 0.12em;
}

.product-btn {
    margin-top: 22px;
    width: 100%;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 18px;
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-state p {
    max-width: 620px;
    margin: 0 auto 24px;
    color: var(--color-muted);
}

.product-application {
    margin: 24px 0 18px;
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: rgba(240, 74, 42, 0.08);
    border: 1px solid rgba(240, 74, 42, 0.16);
}

.product-application-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--color-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-application p {
    margin: 0 !important;
    color: #333;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;
}

.product-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
    background: var(--color-light);
}

.product-detail {
    font-size: 14px !important;
    color: var(--color-muted);
    margin-top: 12px;
    margin-bottom: 0 !important;
}

.product-detail strong {
    color: var(--color-black);
}

.product-meta {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(240, 74, 42, 0.1);
    color: var(--color-orange);
    font-size: 13px;
    font-weight: 800;
}

.news-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.featured-news-card {
    border-color: rgba(240, 74, 42, 0.28);
    box-shadow: 0 22px 55px rgba(240, 74, 42, 0.08);
}

.news-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
    background: var(--color-light);
}

.news-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.news-category {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(240, 74, 42, 0.1);
    color: var(--color-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-date {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.news-card h3 {
    font-size: 23px;
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.news-card p {
    color: var(--color-muted);
    font-size: 16px;
}

.news-event-detail {
    margin-top: 12px;
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

.news-event-detail strong {
    color: var(--color-black);
}

.form-help {
    display: block;
    margin-top: 6px;
    color: var(--color-muted);
    font-size: 13px;
}

.form-row input[type="file"] {
    padding: 12px;
    background: var(--color-light);
}

.community-topic-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.community-topic-card h3 {
    font-size: 23px;
    line-height: 1.18;
    margin: 16px 0 12px;
    letter-spacing: -0.03em;
}

.community-topic-card p {
    color: var(--color-muted);
    font-size: 16px;
}

.community-topic-author {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    font-size: 13px !important;
    font-weight: 700;
}

/* Values */

.value-row {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.value-pill {
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--color-black);
    color: var(--color-white);
    font-weight: 800;
}

.section-action {
    max-width: var(--max-width);
    margin: 42px auto 0;
}

.center-action {
    text-align: center;
}

.dark-card-detail {
    margin-top: 16px;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

.dark-card-detail strong {
    color: var(--color-white);
}

/* CTA */

.cta-section {
    margin: 0 auto;
    padding: 72px 8%;
    background:
        linear-gradient(135deg, rgba(240, 74, 42, 0.96), rgba(25, 0, 0, 0.96)),
        var(--color-orange);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.cta-section h2 {
    max-width: 900px;
    margin-bottom: 0;
}

.cta-section .section-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.cta-section .primary-btn {
    background: var(--color-white);
    color: var(--color-black);
    white-space: nowrap;
}

.cta-section .primary-btn:hover {
    background: var(--color-light);
}

/* Contact */

.contact-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.contact-detail {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-detail strong {
    display: block;
    margin-bottom: 6px;
}

.contact-detail p {
    margin-bottom: 0;
}

.contact-detail a {
    color: var(--color-orange);
    font-weight: 800;
    text-decoration: none;
}

.contact-form {
    margin-top: 20px;
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row label {
    font-weight: 800;
    font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font: inherit;
    background: var(--color-white);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 2px solid rgba(240, 74, 42, 0.22);
    border-color: var(--color-orange);
}

.form-note {
    margin-top: 16px;
    color: var(--color-muted);
    font-size: 14px;
}

.message-list {
    margin: 20px 0;
}

.site-message {
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 12px;
}

.site-message.success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.22);
    color: #146c43;
}

.site-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.22);
    color: #b02a37;
}

.form-error {
    color: #b02a37;
    font-size: 13px;
    font-weight: 700;
}
/* Footer */

.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 70px 8% 24px;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 42px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 16px;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    margin-bottom: 8px;
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 42px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

/* Responsive */

@media (max-width: 1050px) {
    .four-col {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .two-col,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .navbar {
        padding: 16px 6%;
    }

    .nav-toggle-label {
        display: grid;
        gap: 5px;
        cursor: pointer;
    }

    .nav-toggle-label span {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--color-white);
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 66px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px 6%;
        background: var(--color-black);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 0;
    }

    .nav-cta {
        border: none;
        padding: 14px 0 !important;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hero,
    .page-hero,
    .section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero {
        min-height: 78vh;
        padding-top: 86px;
        padding-bottom: 86px;
    }

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

    .three-col,
    .four-col {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .statement-card,
    .solution-card,
    .product-card,
    .contact-card,
    .form-card {
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .cta-section .primary-btn {
        width: 100%;
    }
}