/* DeSchmidt Bricks - site design (2026 redesign): tokens, layout, sections.
 * Loaded after style.css. style.css keeps the smaller components
 * (preloader, language switch, WhatsApp button, privacy page, cookie accent). */

:root {
    --bg: #0c1118;
    --text: #f3f6f8;
    --muted: #a9b6c0;
    --dim: #7c8a96;
    --teal: #00adb5;
    --teal-2: #27d7e0;
    --teal-glow: rgba(0, 173, 181, 0.45);
    --gold: #ffc83d;
    --wa: #25d366;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(0, 173, 181, 0.18), transparent 62%),
        radial-gradient(760px 520px at -6% 30%, rgba(255, 200, 61, 0.05), transparent 60%),
        var(--bg);
    color: var(--text);
    text-align: center;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Faint LEGO stud pattern that fades out towards the bottom of the screen */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.6px, transparent 2.2px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 75%);
}

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

.container { max-width: 1180px; margin: 0 auto; padding: 64px 28px 40px; position: relative; }

/* ---------- Shared card + heading styles ---------- */
.reviews-card, .buying-card, .contact-card {
    position: relative;
    margin: 40px 0 0;
    padding: 44px;
    text-align: left;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.reviews-card::before, .buying-card::before, .contact-card::before {
    content: "";
    position: absolute; top: -1px; left: 10%; right: 10%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--teal-2), transparent);
}
.section-title {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--text);
}
.section-title::before {
    content: ""; display: block; width: 46px; height: 4px; margin-bottom: 16px; border-radius: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-2));
}
.section-title.is-center { text-align: center; }
.section-title.is-center::before { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px; align-items: stretch; padding: 36px 0 8px;
}
.hero-copy { text-align: left; }
#shop, #reputation, #lego-contact-form { scroll-margin-top: 24px; }
.lego-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px;
    border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
}
.lego-badge img { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; }
.lego-badge span {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); white-space: nowrap;
}
.hero-title {
    margin: 22px 0 6px; min-height: 2.25em;
    font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em;
}
.hero-title #typewriter {
    background: linear-gradient(95deg, #fff 10%, var(--teal-2) 90%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.typed-cursor { color: var(--teal-2); font-weight: 300; margin-left: 3px; animation: blink 0.7s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.usps { display: grid; gap: 10px; margin: 22px 0 0; }
.usp-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 14px;
    font-size: 0.95rem; font-weight: 600; color: var(--text); text-align: left; text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.usp-item::after { content: "\2192"; margin-left: auto; color: var(--teal-2); opacity: 0.55; transition: transform 0.25s, opacity 0.25s; }
.usp-item:hover::after { opacity: 1; transform: translateX(4px); }
.usp-item:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; }
.usp-item img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.usp-item:hover { transform: translateY(-3px); border-color: rgba(0, 173, 181, 0.55); background: rgba(0, 173, 181, 0.08); }

.marketplaces { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.marketplace {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 14px 14px; text-decoration: none;
    background: var(--glass); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.marketplace img { width: 100%; max-width: 230px; height: 74px; object-fit: contain; }
.marketplace span { color: var(--teal-2); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.marketplace span::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform 0.25s; }
.marketplace:hover { transform: translateY(-5px); border-color: rgba(0, 173, 181, 0.7); box-shadow: 0 18px 40px -18px var(--teal-glow); }
.marketplace:hover span::after { transform: translateX(5px); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: stretch; }
.hero-visual::before {
    content: ""; position: absolute; inset: 8% 4%; z-index: 0; filter: blur(28px);
    background: radial-gradient(closest-side, rgba(0, 173, 181, 0.4), transparent 72%);
}
.logo-card {
    position: relative; z-index: 1; width: 100%; max-width: 500px; margin: 0; padding: 34px;
    display: flex; justify-content: center; align-items: center;
    background: #222831; border: 1px solid var(--line-strong); border-radius: 32px; box-shadow: var(--shadow);
}
.logo-main { display: block; width: 100%; max-width: 340px; height: auto; }

/* ---------- Trust / reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.review-platform {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px;
    text-decoration: none; text-align: center; color: var(--text);
    background: rgba(0, 0, 0, 0.2); border: 1px solid var(--line); border-radius: 20px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.review-platform:hover { transform: translateY(-5px); border-color: rgba(0, 173, 181, 0.65); box-shadow: 0 18px 40px -20px var(--teal-glow); }
.platform-name { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.review-stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 0.2em; margin-right: -0.2em; }
.review-score {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
    background: linear-gradient(95deg, #fff, var(--teal-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.review-count { color: var(--muted); font-size: 0.9rem; }
.review-hint { margin: 22px 0 0; text-align: center; color: var(--dim); font-size: 0.85rem; }

/* ---------- Selling section ---------- */
.buying-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; }
.buying-intro .lead { margin: 0 0 22px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.guarantees { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.guarantees span {
    padding: 7px 14px; border-radius: 999px; background: rgba(0, 173, 181, 0.1);
    border: 1px solid rgba(0, 173, 181, 0.35); color: var(--teal-2); font-size: 0.82rem; font-weight: 700;
}
.buying-intro .note { margin: 0 0 26px; color: var(--dim); font-style: italic; font-size: 0.92rem; }
.btn-cta {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 14px;
    text-decoration: none; font-weight: 800; color: #06232a;
    background: linear-gradient(135deg, var(--teal), var(--teal-2)); box-shadow: 0 12px 28px -12px var(--teal-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta::after { content: "\2192"; transition: transform 0.2s; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--teal-glow); }
.btn-cta:hover::after { transform: translateX(4px); }
.buying-steps { display: grid; gap: 18px; align-content: start; }
.buying-step { display: block; padding: 24px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); border-radius: 20px; text-align: left; }
.step-title { display: block; margin-bottom: 12px; color: var(--teal-2); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.buying-step ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.buying-step li { position: relative; padding-left: 26px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.buying-step li strong { color: var(--text); }
.check-list li::before {
    content: ""; position: absolute; left: 2px; top: 0.55em; width: 11px; height: 11px; border-radius: 50%;
    background: var(--teal); box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.22);
}
.check-list li.not-wanted { color: var(--dim); font-style: italic; }
.check-list li.not-wanted::before { display: none; }
.x-mark { position: absolute; left: 0; top: 0; color: #ff6b6b; font-style: normal; font-weight: 700; }
.steps-list li { padding: 12px 14px 12px 16px; background: rgba(255, 255, 255, 0.035); border-left: 3px solid var(--teal); border-radius: 4px 12px 12px 4px; }

/* ---------- Contact ---------- */
.contact-card { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.contact-side { text-align: left; }
.contact-grid { display: grid; gap: 14px; margin-top: 22px; }
.contact-method {
    display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: center;
    padding: 18px 20px; text-decoration: none; text-align: left; color: var(--text);
    background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); border-radius: 18px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.contact-method svg { grid-row: 1 / span 2; width: 46px; height: 46px; }
.contact-method .icon-email { fill: var(--teal-2); }
.contact-method .btn-text { grid-column: 2; font-weight: 800; font-size: 1.05rem; }
.contact-method .btn-sub { grid-column: 2; color: var(--muted); font-size: 0.85rem; }
.contact-method:hover { transform: translateY(-3px); }
.contact-method.email-btn:hover { border-color: rgba(0, 173, 181, 0.7); box-shadow: 0 16px 36px -20px var(--teal-glow); }
.contact-method.whatsapp-btn:hover { border-color: rgba(37, 211, 102, 0.7); box-shadow: 0 16px 36px -20px rgba(37, 211, 102, 0.5); }
.response-note { margin: 18px 0 0; color: var(--dim); font-size: 0.88rem; }
.response-note::before {
    content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
    background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}

.contact-form-container { padding: 26px; background: rgba(0, 0, 0, 0.24); border: 1px solid var(--line); border-radius: 22px; text-align: left; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 15px; font: inherit; color: var(--text);
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong); border-radius: 12px; outline: 0;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #6f7d89; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 4px rgba(0, 173, 181, 0.18); }
.form-group textarea { min-height: 140px; resize: vertical; }
.counter-container { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px 0 16px; color: var(--dim); font-size: 0.8rem; }
.char-counter { white-space: nowrap; }
.char-counter.limit-reached { color: #ff6b6b; font-weight: 700; }

.lego-captcha-box { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 12px 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 16px; }
.lego-head-container { flex: none; width: 52px; height: 52px; display: grid; place-items: center; }
.lego-head-container img { width: 100%; height: 100%; object-fit: contain; }
.contact-form-container:has(.submit-btn:hover) .lego-head-container { animation: legoBounce 0.6s ease; }
@keyframes legoBounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 70% { transform: translateY(-2px); } }
.lego-speech {
    position: relative; flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    padding: 10px 14px; background: rgba(255, 255, 255, 0.07); border-radius: 14px; font-size: 0.95rem; font-weight: 600;
}
.lego-speech::before { content: ""; position: absolute; left: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 0; border-right-color: rgba(255, 255, 255, 0.07); }
.lego-math-input {
    width: 76px; padding: 8px 10px; text-align: center; font: inherit; font-weight: 800; color: var(--text);
    background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-strong); border-radius: 10px; outline: 0;
    -moz-appearance: textfield; appearance: textfield;
}
.lego-math-input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 173, 181, 0.18); }
.lego-math-input::-webkit-outer-spin-button, .lego-math-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.submit-btn {
    width: 100%; padding: 15px 22px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
    color: #06232a; background: linear-gradient(135deg, var(--teal), var(--teal-2)); cursor: pointer;
    box-shadow: 0 12px 28px -12px var(--teal-glow); transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--teal-glow); filter: brightness(1.06); }
.submit-btn:focus-visible, .btn-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.form-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; text-align: center; font-weight: 700; }
.form-alert--ok { background: rgba(37, 211, 102, 0.14); border: 1px solid rgba(37, 211, 102, 0.5); color: #8bf0b3; }
.form-alert--err { background: rgba(255, 77, 77, 0.12); border: 1px solid rgba(255, 77, 77, 0.5); color: #ff9a9a; }
.form-alert__sub { margin-top: 6px; font-weight: 400; font-size: 0.85rem; opacity: 0.9; }

/* ---------- Footer ---------- */
.business-footer { margin-top: 64px; padding: 36px 0 8px; border-top: 1px solid var(--line); text-align: center; color: var(--dim); font-size: 0.85rem; }
.footer-socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.social-icon-link {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.social-icon-link:hover { transform: translateY(-3px); border-color: rgba(0, 173, 181, 0.7); background: rgba(0, 173, 181, 0.12); }
.social-icon-link svg { width: 20px; height: 20px; fill: #8a97a3; transition: fill 0.25s; }
.social-icon-link:hover svg { fill: var(--teal-2); }
.business-legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.trademark-notice { max-width: 640px; margin: 14px auto; font-size: 0.8rem; line-height: 1.6; }
.copyright { margin-top: 10px; font-size: 0.8rem; }

/* ---------- Privacy page (matches the new look) ---------- */
.privacy-card { background: var(--glass); border-color: var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.privacy-card h1 { color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.privacy-card h2 { font-weight: 700; }

/* ---------- Scroll reveal (class js-reveal is set by main.js; content stays visible without JS) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal-group:not(.is-in) > * { opacity: 0; }
.reveal-group.is-in > * { animation: rise 0.7s var(--ease) backwards; }
.reveal-group.is-in > *:nth-child(2) { animation-delay: 0.12s; }
.reveal-group.is-in > *:nth-child(3) { animation-delay: 0.24s; }
.reveal-group.is-in > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .container { padding: 60px 20px 32px; }
    .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
    .hero-visual { order: -1; }
    .hero-copy { text-align: center; }
    .usps { justify-content: center; }
    .logo-card { max-width: 400px; padding: 26px; }
    .reviews-card { padding: 32px 26px; }
    .buying-card, .contact-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; }
}
@media (max-width: 720px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .review-platform { padding: 20px 16px; }
}
@media (max-width: 520px) {
    .container { padding: 56px 16px 28px; }
    .marketplaces { gap: 10px; }
    .marketplace { padding: 12px 8px; }
    .marketplace img { height: 52px; }
    .marketplace span { font-size: 0.68rem; letter-spacing: 0.06em; }
    .marketplace span::after { margin-left: 4px; }
    .reviews-card, .buying-card, .contact-card { padding: 26px 20px; border-radius: 24px; }
    .contact-form-container { padding: 0; background: none; border: 0; }
    .counter-container { flex-wrap: wrap; }
    .lego-badge span { font-size: 0.68rem; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .typed-cursor { animation: none; }
}


/* ---------- How to order ---------- */
.how-card { position: relative; margin: 40px 0 0; padding: 44px; text-align: left; background: var(--glass); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.how-card::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--teal), var(--teal-2), transparent); }
.how-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.how-step { padding: 22px 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.03); }
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: #04181a; font-weight: 800; font-size: 0.95rem; box-shadow: 0 8px 22px -10px var(--teal-glow); }
.how-step-title { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.25; font-weight: 700; color: var(--text); }
.how-step p { margin: 0 0 8px; font-size: 0.93rem; line-height: 1.55; color: var(--muted); }
.how-step p:last-child { margin-bottom: 0; }
.how-step a, .how-help a { color: var(--teal-2); font-weight: 600; text-decoration: none; }
.how-step a:hover, .how-help a:hover { text-decoration: underline; }
.how-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.how-help { margin: 24px 0 0; text-align: center; color: var(--dim); font-size: 0.9rem; }
.how-help a { margin: 0 6px; }
/* iDEAL (Wero) is only shown to visitors of European-language pages */
html:lang(pt) .eu-only, html:lang(ja) .eu-only, html:lang(ko) .eu-only, html:lang(zh) .eu-only { display: none; }
@media (max-width: 1020px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .how-card { padding: 28px 20px; border-radius: 22px; } .how-steps { grid-template-columns: 1fr; gap: 14px; } }
