
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap");

html { scroll-behavior: smooth; }

body {
    background-color: #F4F4F4;
    color: #111111;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    line-height: 1.05;
    color: #111111;
}

/* Hide site title & tagline in header */
.site-title-container,
span.site-title,
.site-description, .ct-site-description { display: none !important; }

/* Hide page title on home */
.entry-header, .page-title, .ct-page-header,
.ct-hero, .page-header, article.page > .entry-header { display: none !important; }

/* ===== HERO ===== */
.dnd-section-hero { background: #F4F4F4; padding: 0; }
.dnd-section-hero > .wp-block-group__inner-container,
.dnd-section-hero > * { height: 100%; }
.dnd-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
}
.dnd-hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    color: #111111;
    font-weight: 700;
}
.dnd-hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #767676;
    margin-bottom: 40px;
    max-width: 480px;
}
.dnd-btn {
    display: inline-block;
    background: #111111 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
}
.dnd-btn:hover { opacity: 0.85; color: #ffffff !important; }
.dnd-btn-pill { border-radius: 999px; }
.dnd-hero-visual { display: flex; align-items: center; justify-content: center; }
.dnd-hero-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #F4F4F4 0%, #E0E0E0 100%);
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #767676;
    font-size: 0.9rem;
}

/* ===== PROMISE ===== */
.dnd-section-promise { background: #FFFFFF; padding: 0; }
.dnd-promise-inner { max-width: 1200px; margin: 0 auto; padding: 80px 32px; }
.dnd-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.dnd-pillar { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dnd-pillar svg { width: 40px; height: 40px; color: #111111; flex-shrink: 0; }
.dnd-pillar strong { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 1rem; color: #111111; }
.dnd-promise-pullquote { border-top: 1px solid #E0E0E0; margin-top: 40px; padding-top: 40px; text-align: center; }
.dnd-promise-pullquote p { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 700; color: #111111; letter-spacing: -.03em; line-height: 1.15; max-width: 600px; margin: 0 auto; }

/* ===== PRODUCTS ===== */
.dnd-section-products { background: #F4F4F4; padding: 0; }
.dnd-products-inner { max-width: 1200px; margin: 0 auto; padding: 80px 32px; }
.dnd-products-inner > h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 48px; }
.dnd-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dnd-product-card { background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.dnd-product-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #F4F4F4 0%, #E0E0E0 100%);
    display: flex; align-items: center; justify-content: center;
    color: #767676; font-size: 0.8rem;
    overflow: hidden;
    position: relative;
}
.dnd-product-card-img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.dnd-product-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.dnd-product-card-body h3 { font-size: 1.1rem; font-weight: 700; color: #111111; margin: 0; line-height: 1.1; }
.dnd-product-card-body p { font-size: 0.9rem; color: #767676; margin: 0; line-height: 1.5; }

/* ===== WHO ===== */
.dnd-section-who { background: #111111; padding: 0; }
.dnd-who-inner { max-width: 1200px; margin: 0 auto; padding: 80px 32px; }
.dnd-who-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.dnd-who-col h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: #F4F4F4; margin-bottom: 16px; line-height: 1.05; }
.dnd-who-col p { color: #B0B0B0; line-height: 1.65; font-size: 1rem; }
.dnd-who-footnote { border-top: 1px solid #444444; padding-top: 24px; color: #999999; font-size: 0.9rem; font-style: italic; margin: 0; }

/* ===== WHERE TO BUY ===== */
.dnd-section-where { background: #FFFFFF; padding: 0; }
.dnd-where-inner { max-width: 640px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.dnd-where-inner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.dnd-where-inner p { color: #767676; margin-bottom: 32px; line-height: 1.6; }

/* ===== FOLLOW ===== */
.dnd-section-follow { background: #F4F4F4; padding: 0; }
.dnd-follow-inner { max-width: 640px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.dnd-follow-inner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 32px; }
.dnd-social-links { display: flex; justify-content: center; gap: 32px; }
.dnd-social-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #111111; font-weight: 700; font-family: "DM Sans", sans-serif; font-size: 1rem; }
.dnd-social-link:hover { opacity: 0.6; }
.dnd-social-link svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ===== FOOTER ===== */
.dnd-section-footer { background: #111111; padding: 0; }
.dnd-footer-inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; align-items: start; }
.dnd-footer-contact h3, .dnd-footer-links h3 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #767676; margin-bottom: 12px; font-weight: 700; }
.dnd-footer-contact p, .dnd-footer-contact a, .dnd-footer-links a { color: #B0B0B0; text-decoration: none; font-size: 0.95rem; line-height: 1.8; display: block; }
.dnd-footer-contact a:hover, .dnd-footer-links a:hover { color: #F4F4F4; }
.dnd-placeholder { color: #555555 !important; font-style: italic; }
.dnd-footer-legal { grid-column: 1 / -1; border-top: 1px solid #333333; padding-top: 16px; color: #555555; font-size: 0.85rem; }

/* ===== LANGUAGE SWITCHER ===== */
.dnd-lang-switcher { display: flex; align-items: center; gap: 6px; }
.dnd-lang-link img { display: block; border-radius: 2px; opacity: 0.5; transition: opacity 0.2s; }
.dnd-lang-link.dnd-lang-active img { opacity: 1; }
.dnd-lang-link:hover img { opacity: 0.85; }

/* Header language flags — sit inside the nav container */
header .dnd-lang-switcher { margin-left: 16px; }

/* Hide Blocksy's default theme footer — we use the custom page footer section */
footer#footer.ct-footer { display: none !important; }

/* Language flags strip */
#dnd-footer-lang {
    background: #111111;
    padding: 10px 32px;
    display: flex;
    justify-content: center;
}
#dnd-footer-lang .dnd-lang-switcher { gap: 12px; }
#dnd-footer-lang .dnd-lang-link img { width: 20px; height: 14px; border-radius: 2px; opacity: 0.35; }
#dnd-footer-lang .dnd-lang-link.dnd-lang-active img,
#dnd-footer-lang .dnd-lang-link:hover img { opacity: 0.65; }

/* ===== BACK TO TOP ===== */
#dnd-back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    font-family: "DM Sans", sans-serif;
    line-height: 1;
}
#dnd-back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#dnd-back-top:hover { opacity: 0.75; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .dnd-hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; min-height: auto; }
    .dnd-hero-visual { order: -1; }
    .dnd-pillars { grid-template-columns: repeat(2, 1fr); }
    .dnd-product-grid { grid-template-columns: repeat(2, 1fr); }
    .dnd-who-cols { grid-template-columns: 1fr; gap: 40px; }
    .dnd-footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .dnd-footer-legal { grid-column: 1; }
    #dnd-back-top { bottom: 20px; right: 20px; }
}
@media (max-width: 480px) {
    .dnd-pillars { grid-template-columns: 1fr; }
    .dnd-product-grid { grid-template-columns: 1fr; }
    .dnd-social-links { flex-direction: column; align-items: center; }
}
