/* ================================
   LAYOUT SYSTEM
   ================================ */

.dtf-section {
    width: 100%;
    position: relative;
}

.dtf-wrap {
    max-width: var(--dtf-max-width, 1290px);
    width: 100%;
    padding: 0 var(--dtf-edge-spacing, 1.5rem);
    margin: 0 auto;
    box-sizing: border-box;
}

.dtf-wrap--full {
    max-width: 100%;
    padding: 0;
}

/* ================================
   SECTION BG IMAGE (full bleed)
   Renders outside .dtf-wrap, fills entire .dtf-section
   ================================ */

.dtf-section__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.dtf-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

/* ================================
   WRAP BG IMAGE (constrained)
   Renders inside .dtf-wrap, respects max-width
   ================================ */

.dtf-wrap__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* ================================
   HERO
   ================================ */

.dtf-hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dtf-hero-section .dtf-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.dtf-hero__content {
    padding: 140px 0 200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 520px;
}

.dtf-hero__tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.dtf-hero__title {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.dtf-hero__title span {
    color: #60a5fa;
}

.dtf-hero__sub {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 420px;
    margin: 0;
}

.dtf-hero__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.dtf-hero__price-from,
.dtf-hero__price-unit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.dtf-hero__price-val {
    font-size: 36px;
    font-weight: 500;
    color: #ffffff;
}

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

.dtf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s ease;
}

.dtf-btn:hover {
    background: #1d4ed8;
    color: #ffffff !important;
}

/* ================================
   PRICING CARD — bottom right
   ================================ */

.dtf-pricing-card {
    position: absolute;
    bottom: 48px;
    right: var(--dtf-edge-spacing, 1.5rem);
    left: auto;
    background: #ffffff;
    border: 0.5px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 20px;
    width: 180px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    z-index: 3;
}

.dtf-pricing-card__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 10px;
}

.dtf-pricing-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 0.5px solid #f0f0f0;
    font-size: 12px;
}

.dtf-pricing-card__row:last-child {
    border-bottom: none;
}

.dtf-pricing-card__row span:first-child { color: #888; }
.dtf-pricing-card__row span:last-child  { font-weight: 500; color: #0f0f0f; }

/* ================================
   SCROLL INDICATOR
   ================================ */

.dtf-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.dtf-hero__scroll span {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.dtf-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    animation: dtf-scroll-line 1.8s ease-in-out infinite;
}

@keyframes dtf-scroll-line {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================
   HERO PAGE — FIXED TRANSPARENT HEADER
   Only active on body.dtf-hero-page (home template)
   Zero impact on any other page
   ================================ */

.dtf-hero-page #masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* White text on transparent header */
.dtf-hero-page #masthead .site-title,
.dtf-hero-page #masthead .site-title a,
.dtf-hero-page #masthead .brand,
.dtf-hero-page #masthead .brand p,
.dtf-hero-page #masthead #site-navigation a {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Scrolled state — white bg, dark text */
.dtf-hero-page #masthead.dtf-header--scrolled {
    background: #ffffff;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.dtf-hero-page #masthead.dtf-header--scrolled .site-title,
.dtf-hero-page #masthead.dtf-header--scrolled .site-title a,
.dtf-hero-page #masthead.dtf-header--scrolled .brand,
.dtf-hero-page #masthead.dtf-header--scrolled .brand p,
.dtf-hero-page #masthead.dtf-header--scrolled #site-navigation a {
    color: #0f0f0f;
}

/*
   Mobile toggle burger icon — same treatment
   Kadence uses currentColor on its SVG so color change
   cascades automatically to the hamburger icon
*/
.dtf-hero-page #masthead .menu-toggle-open {
    color: #ffffff;
    transition: color 0.3s ease;
}

.dtf-hero-page #masthead.dtf-header--scrolled .menu-toggle-open {
    color: #0f0f0f;
}

/* Force transparent on page load — before scroll class is added */
.dtf-hero-page #masthead,
.dtf-hero-page #masthead .site-header-inner-wrap,
.dtf-hero-page #masthead .site-header-row-container-inner,
.dtf-hero-page #masthead .site-main-header-wrap .site-header-row-container-inner {
    background: transparent !important;
    box-shadow: none !important;
}

/* Scrolled state restores the white bg */
.dtf-hero-page #masthead.dtf-header--scrolled,
.dtf-hero-page #masthead.dtf-header--scrolled .site-header-inner-wrap,
.dtf-hero-page #masthead.dtf-header--scrolled .site-header-row-container-inner,
.dtf-hero-page #masthead.dtf-header--scrolled .site-main-header-wrap .site-header-row-container-inner {
    background: #ffffff !important;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Fix pricing card being cut off */
.dtf-pricing-card {
    right: calc(var(--dtf-edge-spacing, 1.5rem) + 16px);
}