/* Explain: App-specific layout utilities for header, nav, hero, and footer. */
.dp-header {
    background: rgba(255, 250, 240, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 10px 30px -20px rgba(8, 33, 15, 0.65);
}

.brand-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .brand-logo {
        height: 4.25rem;
    }
}

.dp-brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
}

.dp-brand-text span {
    color: var(--secondary-hover);
}

.dp-brand-text:hover {
    opacity: 0.85;
}

.has-hero .dp-brand-text {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.has-hero .dp-brand-text span {
    color: var(--secondary-color);
}

.dp-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.dp-nav-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.dp-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.dp-icon-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.dp-mobile-menu {
    background: #fffaf0;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 20px 34px -22px rgba(0, 0, 0, 0.5);
}

.dp-mobile-link {
    display: block;
    padding: 0.9rem 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.dp-mobile-link:hover {
    background: var(--surface-alt);
}

.dp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 196, 0, 0.12), transparent 62%),
        linear-gradient(180deg, #0c2b17 0%, #0a2413 100%);
}

.dp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 184, 0, 0.16);
    color: var(--secondary-color);
    border: 1px solid rgba(245, 184, 0, 0.42);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dp-hero-title {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
}

.dp-hero-accent {
    color: var(--secondary-color);
}

.dp-hero-text {
    color: #d9e9d6;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    max-width: 34rem;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .dp-hero-text {
        margin-inline: 0;
    }
}

.dp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .dp-hero-badges {
        justify-content: flex-start;
    }
}

.dp-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e9f5e6;
    font-size: 0.92rem;
    font-weight: 600;
}

.dp-hero-badges i {
    color: var(--secondary-color);
}

.dp-hero-media {
    width: 100%;
    max-width: 30rem;
    border-radius: 2rem;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 34px 64px -32px rgba(0, 0, 0, 0.8);
}

.dp-hero-media img {
    width: 100%;
    height: auto;
}

.dp-promo {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 90% 20%, rgba(245, 184, 0, 0.22), transparent 55%),
        linear-gradient(140deg, #0a2e18, #166534);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.dp-promo-title {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 800;
    color: #fff;
}

.dp-promo-text {
    color: #d9e9d6;
    margin-top: 0.75rem;
}

.dp-promo-img {
    width: 100%;
    max-width: 22rem;
    border-radius: 1.75rem;
    background: #ffffff;
    padding: 0.75rem;
    box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.85);
}

.dp-footer {
    background: linear-gradient(160deg, #0d3b20, #08210f);
    color: #c9dcc9;
}

.dp-footer h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.dp-footer a {
    color: #c9dcc9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dp-footer a:hover {
    color: var(--secondary-color);
}

.dp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dp-footer-logo {
    display: inline-flex;
    border-radius: 1.25rem;
    background: #fffaf0;
    padding: 0.65rem 0.85rem;
}

.dp-footer-logo img {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.dp-footer .dp-footer-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dp-footer .dp-footer-edit i {
    font-size: 0.72rem;
}

.dp-footer .dp-footer-edit:hover {
    background: var(--secondary-color);
    color: #3a2a00;
}

.map-frame {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--surface-alt);
    box-shadow: var(--shadow-card);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 640px) {
    .map-frame {
        height: 420px;
    }
}

/* ---- Welcome (home hero) ---- */
.dp-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.2rem;
}

.dp-welcome-logo {
    height: clamp(5.5rem, 26vw, 9rem);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.7));
}

.dp-welcome-mascot {
    height: clamp(3.6rem, 18vw, 7rem);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.65));
}

.dp-welcome-mascot--left { margin-right: -0.5rem; }
.dp-welcome-mascot--right { margin-left: -0.5rem; }

@media (min-width: 1024px) {
    .dp-welcome-logo { height: 11rem; }
    .dp-welcome-mascot { height: 8.5rem; }
}

.dp-signboard {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    background: transparent;
    box-shadow: none;
}

.dp-signboard-img {
    display: block;
    width: 100%;
    height: auto;
}

.dp-welcome-ribbon {
    display: block;
    width: min(100%, 26rem);
    margin: 1.4rem auto 0;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #e0ab00, var(--secondary-color) 50%, #e0ab00);
    color: #3a2a00;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(0.68rem, 2.8vw, 0.86rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 12px 26px -12px rgba(255, 196, 0, 0.95);
}

.dp-welcome-slogan {
    margin-top: 1rem;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(1.9rem, 8vw, 3.2rem);
    line-height: 1.16;
    color: var(--secondary-color);
    text-align: center;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}

.dp-welcome-sub {
    margin-top: 0.6rem;
    color: #dcebd8;
    text-align: center;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
}

/* ---- Campaign ads (home) ---- */
.dp-ad {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 2rem;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    background: linear-gradient(140deg, #0a2e18 0%, #166534 100%);
    box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
    .dp-ad {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: stretch;
    }
}

.dp-ad-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1.5rem;
    min-height: 220px;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 196, 0, 0.4), transparent 62%),
        linear-gradient(160deg, #00512d 0%, #002616 100%);
    overflow: hidden;
}

.dp-ad-media img {
    width: 100%;
    max-width: 340px;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.62));
    animation: dp-float 6s ease-in-out infinite;
}

.dp-ad-body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    color: #fff;
}

.dp-ad-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dp-ad-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.5rem, 4.4vw, 2.3rem);
    line-height: 1.1;
    color: #fff;
}

.dp-ad-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dp-ad-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dp-ad-desc {
    color: #dcebd8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 40rem;
}

.dp-ad-ing {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dp-ad-ing li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: #eaf6e6;
    font-size: 0.82rem;
}

.dp-ad-ing li i {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.dp-ad-foot {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dp-ad-pricewrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.dp-ad-old {
    color: #a7c4a0;
    font-size: 1rem;
    text-decoration: line-through;
}

.dp-ad-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--secondary-color);
}

.dp-ad-disc {
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
}

/* ---- Home hero band, integrated with the navigation ---- */
.dp-hero-band {
    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 6%, rgba(255, 196, 0, 0.16), transparent 58%),
        linear-gradient(180deg, #0c2b17 0%, #0a2413 100%);
}

.dp-hero-band-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 84vh;
    object-fit: contain;
    margin-inline: auto;
}

/* Navigation sits directly on the hero banner, then turns solid on scroll */
.has-hero .dp-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(4, 20, 11, 0.88) 0%, rgba(4, 20, 11, 0.4) 55%, rgba(4, 20, 11, 0) 100%);
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

.has-hero .dp-nav-link {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.has-hero .dp-nav-link:hover {
    background: var(--secondary-color);
    color: #3a2a00;
    text-shadow: none;
}

.has-hero .dp-header.is-scrolled {
    background: rgba(0, 38, 22, 0.98);
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 10px 30px -20px rgba(8, 33, 15, 0.65);
    backdrop-filter: blur(8px);
}