:root {
    --da-red: #b30000;
    --da-red2: #e63946;
    --da-dark: #18202a;
    --da-muted: #64748b;
    --da-bg: #f8fafc;
    --da-border: #e2e8f0;
    --da-shadow: 0 12px 35px rgba(15, 23, 42, .08);
}

/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--da-bg);
    color: #1e293b;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   SCREEN READER ONLY
   ========================================================= */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.da-nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .96);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(226, 232, 240, .8);

    box-shadow: 0 5px 24px rgba(15, 23, 42, .07);
}

.da-nav-inner {
    max-width: 1400px;
    margin: auto;

    min-height: 82px;

    padding: 10px 24px;

    display: flex;
    align-items: center;

    gap: 26px;
}

/* =========================================================
   BRAND
   ========================================================= */

.da-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    min-width: max-content;
}

.da-brand img {
    width: 46px;
    height: 46px;

    object-fit: contain;

    filter: drop-shadow(
        0 4px 7px rgba(127, 0, 0, .16)
    );
}

.da-brand span {
    font-size: 1.45rem;
    font-weight: 800;

    color: var(--da-red);

    letter-spacing: -.02em;
}

/* =========================================================
   DESKTOP NAV LINKS
   ========================================================= */

.da-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    flex: 1;
}

.da-links a,
.da-mobile-links a {
    position: relative;

    padding: 10px 13px;

    color: #334155;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 650;

    border-radius: 10px;

    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.da-links a:hover,
.da-mobile-links a:hover,
.da-links a.active,
.da-mobile-links a.active {
    color: var(--da-red);

    background: #fff5f5;
}

.da-links a.active::after,
.da-mobile-links a.active::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 3px;

    height: 2px;

    background: var(--da-red);

    border-radius: 5px;
}

/* =========================================================
   NAV ACTIONS
   ========================================================= */

.da-nav-actions {
    display: flex;
    align-items: center;

    gap: 14px;
}

.da-secondary-logo {
    height: 54px;
    width: auto;

    object-fit: contain;
}

/* =========================================================
   DESKTOP SEARCH
   ========================================================= */

.da-search,
.da-mobile-search {
    position: relative;

    display: flex;
    align-items: center;

    background: #fff;

    border: 1px solid #d9dee7;

    border-radius: 999px;

    box-shadow: 0 4px 16px rgba(15, 23, 42, .05);

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.da-search:focus-within,
.da-mobile-search:focus-within {
    border-color: #d33;

    box-shadow:
        0 0 0 4px rgba(179, 0, 0, .08);
}

.da-search input,
.da-mobile-search input {
    border: 0;
    outline: 0;

    background: transparent;

    padding: 11px 4px 11px 16px;

    width: 215px;

    font-size: .92rem;

    color: #1e293b;
}

.da-search button,
.da-mobile-search button {
    border: 0;

    background: transparent;

    cursor: pointer;

    width: 43px;
    height: 43px;

    color: var(--da-red);

    display: grid;
    place-items: center;
}

.da-search button svg,
.da-mobile-search button svg {
    width: 18px;
}

/* =========================================================
   SEARCH SUGGESTIONS
   ========================================================= */

.da-search-suggestions {
    display: none;

    position: absolute;

    top: calc(100% + 9px);

    right: 0;

    width: 350px;

    background: #fff;

    border: 1px solid var(--da-border);

    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(15, 23, 42, .15);

    padding: 8px;

    overflow: hidden;

    z-index: 9999;
}

.da-search-suggestions.show {
    display: block;
}

.da-suggestion {
    display: flex;

    gap: 10px;

    align-items: flex-start;

    padding: 10px;

    border-radius: 11px;

    text-decoration: none;

    color: #1e293b;

    position: relative;
}

.da-suggestion:hover {
    background: #fff5f5;
}

.da-suggestion small {
    display: block;

    color: var(--da-muted);

    font-size: .75rem;

    margin-top: 2px;
}

.da-suggestion mark {
    background: #ffe2e2;

    color: #8b0000;

    border-radius: 3px;

    padding: 0 2px;
}

/* =========================================================
   HAMBURGER BUTTON
   ========================================================= */

.da-menu-btn {
    display: none;

    border: 0;

    background: transparent;

    width: 42px;
    height: 42px;

    cursor: pointer;

    padding: 8px;
}

.da-menu-btn span {
    display: block;

    height: 2px;

    background: #1e293b;

    margin: 6px 0;

    border-radius: 4px;

    transition: .25s ease;
}

.da-menu-btn.active span:nth-child(1) {
    transform:
        translateY(8px)
        rotate(45deg);
}

.da-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.da-menu-btn.active span:nth-child(3) {
    transform:
        translateY(-8px)
        rotate(-45deg);
}

/* =========================================================
   MOBILE MENU - BASE
   ========================================================= */

.da-mobile {
    display: none;
}

/* =========================================================
   RED HEADER / HERO
   ========================================================= */

body > header:not(nav) {
    position: relative;

    overflow: hidden;

    margin: 10px 16px;

    border-radius: 28px;

    background:
        linear-gradient(
            110deg,
            #e63946 0%,
            #cc0000 48%,
            #800000 100%
        ) !important;

    box-shadow:
        0 12px 30px rgba(128, 0, 0, .16);
}

body > header:not(nav)::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    right: -110px;
    top: -180px;

    background: rgba(255, 255, 255, .09);

    pointer-events: none;
}

body > header:not(nav)::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    left: -100px;
    bottom: -160px;

    background: rgba(255, 255, 255, .07);

    pointer-events: none;
}

body > header:not(nav) > * {
    position: relative;

    z-index: 1;
}

/* =========================================================
   SECTION
   ========================================================= */

section {
    scroll-margin-top: 100px;
}

section h2 {
    letter-spacing: -.025em;
}

section h2,
section h3 {
    line-height: 1.2;
}

/* =========================================================
   TAILWIND OVERRIDES
   ========================================================= */

.bg-gray-50 {
    background: #f8fafc !important;
}

.shadow,
.shadow-md,
.shadow-lg,
.shadow-xl {
    box-shadow: var(--da-shadow) !important;
}

.rounded-lg,
.rounded-xl,
.rounded-2xl {
    border-radius: 18px !important;
}

.hover\:shadow-lg:hover,
.hover\:shadow-2xl:hover {
    box-shadow:
        0 20px 45px rgba(15, 23, 42, .12) !important;
}

.text-red-700 {
    color: var(--da-red) !important;
}

.bg-red-700 {
    background: var(--da-red) !important;
}

.hover\:bg-red-800:hover {
    background: #8f0000 !important;
}

.border-red-600 {
    border-color: var(--da-red2) !important;
}

a {
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

footer {
    margin-top: 0;
}

/* =========================================================
   SEARCH RESULTS PAGE
   ========================================================= */

.da-search-page {
    max-width: 1180px;

    margin: 0 auto;

    padding: 60px 22px 90px;
}

.da-search-hero {
    background:
        linear-gradient(
            135deg,
            #fff,
            #fff5f5
        );

    border: 1px solid #f2d1d1;

    border-radius: 28px;

    padding: 42px;

    box-shadow: var(--da-shadow);

    margin-bottom: 28px;
}

.da-search-hero h1 {
    font-size:
        clamp(2rem, 4vw, 3rem);

    margin: 0 0 8px;

    color: #172033;
}

.da-search-hero p {
    color: var(--da-muted);

    margin: 0;
}

/* =========================================================
   BIG SEARCH
   ========================================================= */

.da-search-big {
    display: flex;

    margin-top: 26px;

    background: #fff;

    border: 1px solid #d9dee7;

    border-radius: 16px;

    overflow: hidden;
}

.da-search-big input {
    flex: 1;

    border: 0;

    outline: 0;

    padding: 16px 18px;

    font-size: 1rem;
}

.da-search-big button {
    border: 0;

    background: var(--da-red);

    color: white;

    padding: 0 24px;

    font-weight: 700;

    cursor: pointer;
}

/* =========================================================
   SEARCH FILTERS
   ========================================================= */

.da-search-controls {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin: 20px 0;
}

.da-filter {
    border: 1px solid var(--da-border);

    background: #fff;

    border-radius: 999px;

    padding: 9px 15px;

    cursor: pointer;

    color: #475569;

    font-weight: 650;
}

.da-filter.active,
.da-filter:hover {
    background: #fff0f0;

    color: var(--da-red);

    border-color: #f1b5b5;
}

/* =========================================================
   RESULTS
   ========================================================= */

.da-result-count {
    color: #64748b;

    margin-bottom: 12px;
}

.da-results {
    display: grid;

    gap: 15px;
}

.da-result {
    display: block;

    background: white;

    border: 1px solid var(--da-border);

    border-radius: 18px;

    padding: 22px 24px;

    text-decoration: none;

    box-shadow:
        0 6px 20px rgba(15, 23, 42, .04);

    transition: .25s ease;
}

.da-result:hover {
    transform: translateY(-2px);

    border-color: #f0b4b4;

    box-shadow:
        0 14px 35px rgba(15, 23, 42, .09);
}

.da-result-top {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 5px;
}

.da-result h2 {
    margin: 0;

    color: #18202a;

    font-size: 1.25rem;
}

.da-badge {
    font-size: .72rem;

    padding: 4px 9px;

    border-radius: 999px;

    background: #fff0f0;

    color: #9b111e;

    font-weight: 800;
}

.da-result p {
    color: #64748b;

    margin: 7px 0 0;
}

.da-result mark {
    background: #ffe1e1;

    color: #8b0000;

    padding: 0 2px;

    border-radius: 3px;
}

/* =========================================================
   EMPTY RESULTS
   ========================================================= */

.da-empty {
    padding: 35px;

    text-align: center;

    background: #fff;

    border: 1px dashed #cbd5e1;

    border-radius: 18px;

    color: #64748b;
}

.da-empty strong {
    display: block;

    color: #1e293b;

    font-size: 1.2rem;

    margin-bottom: 4px;
}

/* =========================================================
   DESKTOP / SMALL LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .da-links {
        gap: 0;
    }

    .da-links a {
        padding: 9px 8px;

        font-size: .92rem;
    }

    .da-secondary-logo {
        display: none;
    }

    .da-search input {
        width: 180px;
    }
}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    /* -----------------------------------------
       NAV BAR
       ----------------------------------------- */

    .da-nav-inner {
        min-height: 72px;

        padding: 8px 18px;
    }

    .da-links {
        display: none;
    }

    .da-nav-actions {
        margin-left: auto;
    }

    .da-menu-btn {
        display: block;
    }

    .da-search {
        display: none;
    }

    .da-brand span {
        font-size: 1.25rem;
    }

    .da-brand img {
        width: 42px;
        height: 42px;
    }

    /* -----------------------------------------
       MOBILE MENU
       ----------------------------------------- */

    .da-mobile {
        display: block;

        position: relative;

        width: 100%;

        max-width: 1400px;

        margin: 0 auto;

        max-height: 0;

        opacity: 0;

        visibility: hidden;

        overflow: hidden;

        padding: 0 18px;

        background: rgba(255, 255, 255, .98);

        border-bottom:
            1px solid transparent;

        box-shadow:
            0 4px 15px rgba(15, 23, 42, .03);

        z-index: 1001;

        /*
         * Smooth downward expansion.
         */
        transition:
            max-height .45s ease,
            opacity .25s ease,
            padding .35s ease,
            border-color .3s ease,
            box-shadow .3s ease,
            visibility 0s linear .45s;
    }

    /*
     * OPEN
     *
     * IMPORTANT:
     * No position:absolute.
     *
     * Therefore this element remains in the
     * normal document flow and pushes the
     * page content downward.
     */

    .da-mobile.open {
        display: block;

        max-height: 700px;

        opacity: 1;

        visibility: visible;

        padding:
            12px 18px 18px;

        border-bottom-color:
            var(--da-border);

        box-shadow:
            0 8px 22px rgba(15, 23, 42, .07);

        transition:
            max-height .45s ease,
            opacity .25s ease,
            padding .35s ease,
            border-color .3s ease,
            box-shadow .3s ease,
            visibility 0s linear 0s;
    }

    /* -----------------------------------------
       MOBILE SEARCH
       ----------------------------------------- */

    .da-mobile-search {
        position: relative;

        z-index: 100;

        display: flex;

        align-items: center;

        width: 100%;

        margin:
            0 0 12px;

        background: #fff;

        border: 1px solid #d9dee7;

        border-radius: 999px;

        box-shadow:
            0 4px 16px rgba(15, 23, 42, .06);
    }

    .da-mobile-search input {
        width: 100%;

        min-width: 0;

        border: 0;

        outline: 0;

        background: transparent;

        padding:
            11px 4px 11px 16px;

        font-size: .92rem;

        color: #1e293b;
    }

    .da-mobile-search button {
        flex:
            0 0 43px;

        width: 43px;

        height: 43px;

        border: 0;

        background: transparent;

        cursor: pointer;

        color: var(--da-red);

        display: grid;

        place-items: center;
    }

    /* -----------------------------------------
       MOBILE SEARCH SUGGESTIONS
       ----------------------------------------- */

    /*
     * Suggestions are ABOVE the navigation links.
     */

    .da-mobile-search .da-search-suggestions {
        position: absolute !important;

        top:
            calc(100% + 8px);

        left: 0;

        right: 0;

        width: 100%;

        margin: 0;

        z-index: 99999;

        display: none;

        max-height: 280px;

        overflow-y: auto;

        background: #fff;

        border:
            1px solid var(--da-border);

        border-radius: 14px;

        box-shadow:
            0 18px 45px rgba(15, 23, 42, .22);
    }

    .da-mobile-search .da-search-suggestions.show {
        display: block;
    }

    .da-mobile-search .da-suggestion {
        position: relative;

        z-index: 100000;

        display: flex;

        gap: 10px;

        align-items: flex-start;

        padding: 10px;

        background: #fff;

        border-radius: 11px;

        text-decoration: none;

        color: #1e293b;
    }

    .da-mobile-search .da-suggestion:hover {
        background: #fff5f5;
    }

    .da-mobile-search .da-suggestion small {
        display: block;

        color: var(--da-muted);

        font-size: .75rem;

        margin-top: 2px;
    }

    .da-mobile-search .da-suggestion mark {
        background: #ffe2e2;

        color: #8b0000;

        border-radius: 3px;

        padding: 0 2px;
    }

    /* -----------------------------------------
       MOBILE NAV LINKS
       ----------------------------------------- */

    .da-mobile-links {
        position: relative;

        z-index: 1;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 4px;

        width: 100%;
    }

    .da-mobile-links a {
        position: relative;

        display: block;

        padding: 10px 13px;

        color: #334155;

        text-decoration: none;

        font-size: 1rem;

        font-weight: 650;

        border-radius: 10px;

        transition:
            color .25s ease,
            background .25s ease;
    }

    .da-mobile-links a:hover,
    .da-mobile-links a.active {
        color: var(--da-red);

        background: #fff5f5;
    }

    .da-mobile-links a.active::after {
        content: "";

        position: absolute;

        left: 13px;

        right: 13px;

        bottom: 3px;

        height: 2px;

        background: var(--da-red);

        border-radius: 5px;
    }

    /* -----------------------------------------
       MOBILE SECONDARY LOGO
       ----------------------------------------- */

    .da-mobile > img {
        display: block;

        height: 58px;

        width: auto;

        margin:
            14px auto 0;
    }

    /* -----------------------------------------
       SEARCH PAGE
       ----------------------------------------- */

    .da-search-hero {
        padding:
            28px 22px;
    }
}

/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 767px) {

    body > header:not(nav) {
        margin:
            5px 8px;

        border-radius:
            28px 28px 22px 22px;
    }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 520px) {

    .da-nav-inner {
        padding:
            8px 12px;
    }

    .da-brand {
        gap: 8px;
    }

    .da-brand span {
        font-size: 1.08rem;
    }

    .da-brand img {
        width: 40px;
        height: 40px;
    }

    .da-mobile {
        padding-left: 12px;

        padding-right: 12px;
    }

    .da-mobile.open {
        padding-left: 12px;

        padding-right: 12px;

        padding-bottom: 16px;
    }

    .da-mobile-links {
        grid-template-columns: 1fr;
    }

    .da-search-hero {
        border-radius: 20px;
    }

    .da-search-big button {
        padding:
            0 16px;
    }

    .da-search-big input {
        min-width: 0;
    }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .da-brand span {
        font-size: 1rem;
    }

    .da-brand img {
        width: 37px;
        height: 37px;
    }

    .da-menu-btn {
        width: 40px;
        height: 40px;
    }

    .da-mobile-search input {
        font-size: .86rem;
    }
}