/* slice wix-chrome-v13 - mobile banner uses natural 6:1 aspect (no crop) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;700&family=Sora:wght@300;400;500;700&family=Wix+Madefor+Text:wght@400;500;600;700&display=swap');

:root {
    --dpb-page-bg: #000000;       /* outside 980 column */
    --dpb-frame-bg: #15120e;      /* inside 980 column - now visibly warmer */
    --dpb-card: #1a1612;
    --dpb-nav-bar: #2B2A2A;
    --dpb-text: #f0e9dc;
    --dpb-text-dim: #c4b89a;
    --dpb-text-muted: #948870;
    --dpb-gold: #d4a02a;
    --dpb-gold-soft: #c9a55c;
    --dpb-orange: #d97f1f;
    --dpb-border: #5a4a2e;
    --dpb-wix-max: 980px;
    --dpb-nav-text:    #F7DF8D;
    --dpb-nav-hover:   #F7F5E1;
    --dpb-nav-active:  #FF8C0A;
    --dpb-nav-h: 37px;
    --dpb-banner-w: 980px;
    --dpb-banner-h: 163px;
}

/* ===== Page body = pure black outside 980 column ===== */
html, body {
    background-color: var(--dpb-page-bg) !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
}

/* ===== Header (banner) - 980 locked ===== */
.dpb-wix-header {
    background: transparent;
    max-width: var(--dpb-wix-max);
    margin: 0 auto;
}
.dpb-wix-banner-wrap {
    max-width: var(--dpb-banner-w);
    margin: 0 auto;
    line-height: 0;
}
.dpb-wix-banner-link {
    display: block;
    line-height: 0;
    text-decoration: none;
}
.dpb-wix-banner {
    display: block;
    width: 100%;
    aspect-ratio: 980 / 163;
    height: auto;
    object-fit: cover;
}

/* ===== Nav bar - 980 locked, 37px ===== */
.dpb-wix-nav {
    background: var(--dpb-nav-bar);
    max-width: var(--dpb-wix-max);
    margin: 0 auto;
    height: var(--dpb-nav-h);
    overflow: visible;
}
.dpb-wix-nav-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0 1rem;
}
.dpb-wix-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.dpb-wix-nav-item > a {
    color: var(--dpb-nav-text);
    font-family: 'Wix Madefor Text', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-variant: normal;
    text-transform: none;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.dpb-wix-nav-item > a:hover { color: var(--dpb-nav-hover); }
.dpb-wix-nav-active { color: var(--dpb-nav-active) !important; }

/* Submenu */
.dpb-wix-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(43, 42, 42, 0.88);
    border: none;
    padding: 0.25rem 0;
    margin: 0;
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.dpb-wix-has-sub:hover .dpb-wix-submenu,
.dpb-wix-has-sub:focus-within .dpb-wix-submenu {
    opacity: 1;
    visibility: visible;
}
.dpb-wix-submenu li { margin: 0; }
.dpb-wix-submenu a {
    display: block;
    color: var(--dpb-nav-text);
    font-family: 'Wix Madefor Text', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    padding: 0.3rem 1rem;
    text-align: center;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}
.dpb-wix-submenu a:hover {
    color: var(--dpb-nav-hover);
    background: rgba(212, 160, 42, 0.08);
}

.dpb-wix-submenu a:active {
    color: var(--dpb-nav-active);
}

.dpb-wix-nav-item > a:active {
    color: var(--dpb-nav-active);
}

/* ===== Main content wrapper - 980 with warm frame bg ===== */
.dpb-wix-main {
    background-color: var(--dpb-frame-bg) !important;
    max-width: var(--dpb-wix-max);
    margin: 0 auto !important;
}
.dpb-wix-main > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* ===== Footer - FULL WIDTH BLACK, inner content 980 centered ===== */
.dpb-wix-footer-col-address a { color: var(--dpb-text); text-decoration: none; }
.dpb-wix-footer-col-address a:hover { color: var(--dpb-gold-soft); }
.dpb-wix-footer-col-est p {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--dpb-text);
}
.dpb-wix-footer-col-links a {
    color: var(--dpb-text);
    text-decoration: underline;
    font-size: 0.95rem;
    padding: 0.05rem 0;
    line-height: 1.4;
    white-space: nowrap;
}
.dpb-wix-footer-col-links a:hover { color: var(--dpb-gold-soft); }

.dpb-wix-footer-social img { width: 36px; height: 36px; display: block; }

/* ===== Mobile ===== */

/* === v11 hamburger start === */

/* Screen-reader-only helper */
.dpb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Hidden checkbox - kept in DOM for the :checked toggle, invisible to users */
.dpb-nav-toggle {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Hamburger label - hidden by default, shown only on mobile */
.dpb-nav-toggle-label {
    display: none;
}

@media (max-width: 760px) {
    /* Nav becomes vertical flex column */
    .dpb-wix-nav {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    /* Show hamburger button */
    .dpb-nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        cursor: pointer;
        color: var(--dpb-nav-text);
        font-family: 'Wix Madefor Text', system-ui, sans-serif;
        font-size: 28px;
        line-height: 1;
        padding: 0 1rem;
        height: var(--dpb-nav-h);
        width: 100%;
        background: var(--dpb-nav-bar);
        user-select: none;
        order: 1;
        transition: color 0.15s ease;
    }
    .dpb-nav-toggle-label:hover { color: var(--dpb-nav-hover); }
    .dpb-nav-toggle:checked ~ .dpb-nav-toggle-label { color: var(--dpb-nav-active); }

    /* Hide nav list by default, show as column when checkbox checked */
    .dpb-wix-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        background: var(--dpb-nav-bar);
        order: 2;
    }
    .dpb-nav-toggle:checked ~ .dpb-wix-nav-list {
        display: flex;
    }

    /* Each nav item as a full-width row */
    .dpb-wix-nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid rgba(247, 223, 141, 0.08);
    }
    .dpb-wix-nav-item > a {
        height: auto;
        font-size: 18px;
        padding: 0.85rem 1.25rem;
        width: 100%;
        justify-content: flex-start;
    }

    /* Submenus always visible inline on mobile (no hover needed for touch) */
    .dpb-wix-submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: block;
        background: rgba(0, 0, 0, 0.25);
        border: none;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        width: 100%;
    }
    .dpb-wix-submenu a {
        padding: 0.5rem 2.5rem;
        font-size: 16px;
        text-align: left;
    }

    /* Footer stacks vertically */
}

/* === v11 hamburger end === */


/* slice footer-restructure-v1 - START */
/* Footer:
   - 40px tail (.dpb-wix-tail) above the footer, colored --dpb-frame-bg so it
     looks like the content area extends down before the black footer starts.
   - 3-col grid (1fr auto 1fr) so the center column is page-centered.
   - Left col holds address + socials. Right col holds nav links. Center
     stacks Est text on top of TICA badge. No bottom row. */


.dpb-wix-footer {
    background: var(--dpb-page-bg) !important;
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    color: var(--dpb-text);
    padding: 2.5rem 0 2rem;
    font-family: 'Sora', sans-serif;
    font-weight: 300;
}

.dpb-wix-footer-grid {
    display: grid;
    /* 1fr auto 1fr keeps the center column dead-center on the page */
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: var(--dpb-wix-max);
    margin: 0 auto;
    padding: 0 1rem;
    align-items: start;
}

/* Left column: address + socials, hugged to the left edge */
.dpb-wix-footer-col-address {
    justify-self: start;
}
.dpb-wix-footer-col-address p {
    margin: 0;
    line-height: 1.7;
    color: var(--dpb-text);
    font-size: 0.95rem;
}
.dpb-wix-footer-col-address a {
    color: var(--dpb-text);
    text-decoration: none;
}
.dpb-wix-footer-col-address a:hover {
    color: var(--dpb-gold-soft);
}
.dpb-wix-footer-social {
    display: flex;
    gap: 0.6rem;
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
}
.dpb-wix-footer-social img {
    width: 32px;
    height: 32px;
    display: block;
}

/* Center column: Est text stacked above TICA, both centered on the page */
.dpb-wix-footer-col-center {
    justify-self: center;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}
.dpb-wix-footer-est {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--dpb-text);
}
.dpb-wix-footer-tica img {
    height: 95px;
    width: auto;
    display: block;
}

/* Right column: nav links, hugged to the right edge */
.dpb-wix-footer-col-links {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.dpb-wix-footer-col-links a {
    color: var(--dpb-text);
    text-decoration: underline;
    font-size: 0.95rem;
    padding: 0.05rem 0;
    line-height: 1.4;
    white-space: nowrap;
}
.dpb-wix-footer-col-links a:hover {
    color: var(--dpb-gold-soft);
}
/* slice footer-restructure-v1 - END */

/* slice jungle-strips-v1 - START */
/* Jungle golden-hour background + wind-tossed particles, masked to the
   side strips outside the 980px content column.
   html bg = page-bg (black) so the canvas below the body renders clean.
   body bg = frame-bg (brown) so any layout gap inside the page blends
   into the content area instead of breaking the visual flow. */

:root {
    --dpb-particle-color: 253, 255, 128;
    --dpb-particle-opacity: 0.7;
    --dpb-particle-glow: 13;
    --dpb-column-width: 980px;
}

html {
    background-color: var(--dpb-page-bg, #000);
}

body {
    background-color: var(--dpb-frame-bg, #15120e);
    background-image: none;
}

/* The particles container holds BOTH the jungle image and the particles.
   The mask cuts a transparent rectangle in the middle the width of the
   980px column, so both image and particles only render in the side strips. */
.dpb-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: url('/static/img/jungle-golden-hour.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-mask-image: linear-gradient(to right,
        black 0,
        black calc(50% - (var(--dpb-column-width) / 2)),
        transparent calc(50% - (var(--dpb-column-width) / 2)),
        transparent calc(50% + (var(--dpb-column-width) / 2)),
        black calc(50% + (var(--dpb-column-width) / 2)),
        black 100%);
            mask-image: linear-gradient(to right,
        black 0,
        black calc(50% - (var(--dpb-column-width) / 2)),
        transparent calc(50% - (var(--dpb-column-width) / 2)),
        transparent calc(50% + (var(--dpb-column-width) / 2)),
        black calc(50% + (var(--dpb-column-width) / 2)),
        black 100%);
}

.dpb-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(var(--dpb-particle-color), var(--dpb-particle-opacity));
    box-shadow: 0 0 calc(var(--dpb-particle-glow) * 1px)
                rgba(var(--dpb-particle-color), calc(var(--dpb-particle-opacity) * 0.7));
    will-change: transform, opacity;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Mobile: no side strips visible (content takes full width). Hide the layer. */
@media (max-width: 760px) {
    .dpb-particles { display: none; }
}

/* Accessibility: honor reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .dpb-particles { display: none; }
}
/* slice jungle-strips-v1 - END */

/* slice nav-bar-color-v1 - START */
/* Solid nav bar color matches live Wix site: #2B2A2A. The submenu uses the
   same color at 88% opacity via rgba(43,42,42,0.88). */
:root {
    --dpb-nav-bar: #2B2A2A;
}
/* slice nav-bar-color-v1 - END */

/* slice content-frame-extend-v1 - START */
/* The 980px content frame paints itself brown and extends 40px past the
   last content section. That visual extension replaces the old .dpb-wix-tail
   element - which had an inter-wrapper layout gap above it that was
   bleeding black through every fix attempted at the body/wrapper layer. */
main.dpb-wix-main {
    background-color: var(--dpb-frame-bg);
    padding-bottom: 40px;
}
/* slice content-frame-extend-v1 - END */

/* slice mobile-fixes-v1 - START */
@media (max-width: 760px) {
    /* CTA buttons: stack vertically with equal widths, container centered.
       Previously each button sized to its text content - APPLY was narrow,
       JOIN NOTIFY LIST and SCHEDULE A CALL were wider. */
    .qp-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.75rem;
    }
    .qp-cta-buttons .qp-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Footer: collapse 3-col grid to a single centered column. The previous
       1fr auto 1fr layout had a min-content width of ~650px which exceeded
       the phone viewport, forcing the whole page to overflow horizontally. */
    .dpb-wix-footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .dpb-wix-footer-col-address {
        justify-self: center;
        text-align: center;
    }
    .dpb-wix-footer-col-address p {
        text-align: center;
    }
    .dpb-wix-footer-col-address a {
        /* Email is long - let it wrap if needed instead of forcing width */
        word-break: break-word;
    }
    .dpb-wix-footer-social {
        justify-content: center;
    }
    .dpb-wix-footer-col-center {
        justify-self: center;
        align-self: center;
    }
    .dpb-wix-footer-col-links {
        justify-self: center;
        align-items: center;
    }
}
/* slice mobile-fixes-v1 - END */

