/* =================================================================
 * Programera — Public presentation site (landing + demo hub)
 * Reuses the design tokens from style.css (:root vars). Marketing
 * layout: full-width sections, generous type. Brand coral + ink,
 * no gradients/glow (house taste).
 * ================================================================= */

body.site { background: var(--vd-bg-alt); color: var(--vd-text); }
.site-container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Top nav ---- */
.site-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.88);
    -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--vd-border);
}
.site-nav .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.site-nav .brand { display: flex; align-items: center; gap: 0.55rem; }
.site-nav .brand img { height: 30px; width: auto; display: block; }
.site-nav .brand .brand-lockup { height: 34px; }
.brand .wordmark { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--vd-text); }
.site-nav .links { display: flex; align-items: center; gap: 1.6rem; }
.site-nav .links a { color: var(--vd-text-soft); font-weight: 600; font-size: 0.9rem; }
.site-nav .links a:hover { color: var(--vd-text); text-decoration: none; }
.site-nav .links .btn { margin-left: 0.4rem; }
/* Accent CTA in nav: force white label (the nav-link color rule above would otherwise darken it). */
.site-nav .links a.btn-accent, .site-nav .links a.btn-accent:hover { color: #fff; }
.site-nav .burger { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--vd-text); cursor: pointer; }

/* ---- Hero ---- */
.site-hero { padding: 5rem 0 4rem; text-align: center; }
.site-hero .eyebrow {
    display: inline-block; font-family: var(--vd-mono); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--vd-accent);
    background: var(--vd-accent-soft); padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.site-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.05; max-width: 18ch; margin: 0 auto 1.2rem;
}
.site-hero h1 .accent { color: var(--vd-accent); }
.site-hero p.lead {
    font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--vd-text-soft);
    max-width: 56ch; margin: 0 auto 2rem; line-height: 1.55;
}
.site-hero .cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 0.8rem 1.5rem; font-size: 0.98rem; border-radius: var(--vd-radius); }
.hero-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--vd-text-mute); }

/* ---- Sections ---- */
.site-section { padding: 4rem 0; }
.site-section.alt { background: var(--vd-bg); border-top: 1px solid var(--vd-border); border-bottom: 1px solid var(--vd-border); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.6rem; }
.section-head .kicker { font-family: var(--vd-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vd-accent); }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 0.5rem 0 0.6rem; }
.section-head p { color: var(--vd-text-soft); font-size: 1.02rem; line-height: 1.55; }

/* ---- Feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 1rem; }
.feature-card {
    background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg);
    padding: 1.5rem; box-shadow: var(--vd-shadow-sm); transition: box-shadow var(--vd-trans), transform var(--vd-trans);
}
.feature-card:hover { box-shadow: var(--vd-shadow); transform: translateY(-2px); }
.feature-card .ico {
    width: 42px; height: 42px; border-radius: var(--vd-radius); background: var(--vd-accent-soft);
    color: var(--vd-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.feature-card .ico svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { color: var(--vd-text-soft); font-size: 0.92rem; line-height: 1.5; }

.feature-card.is-hidden { display: none; }
.show-more-wrap { text-align: center; margin-top: 1.7rem; }

/* ---- Verticals ---- */
.vertical-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 1100px) { .vertical-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .vertical-grid { grid-template-columns: 1fr; } }
.vertical-card {
    background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg);
    padding: 1.8rem; box-shadow: var(--vd-shadow-sm);
}
.vertical-card .tag { font-family: var(--vd-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vd-accent); }
.vertical-card h3 { font-size: 1.35rem; font-weight: 800; margin: 0.45rem 0 0.7rem; letter-spacing: -0.01em; }
.vertical-card ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.vertical-card li { display: flex; gap: 0.6rem; padding: 0.4rem 0; color: var(--vd-text-soft); font-size: 0.94rem; border-bottom: 1px solid var(--vd-divider); }
.vertical-card li:last-child { border-bottom: 0; }
.vertical-card li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; background: var(--vd-accent-soft); border-radius: 5px;
    -webkit-mask: var(--check) center/13px no-repeat; mask: var(--check) center/13px no-repeat; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e75152' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ---- Domain chips (the organizator fits many domains) ---- */
.domain-note { text-align: center; color: var(--vd-text-soft); font-size: 0.98rem; margin: 0.4rem auto 0; max-width: 60ch; }
.domain-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.domain-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: 999px;
    padding: 0.5rem 1.05rem; font-weight: 600; font-size: 0.9rem; color: var(--vd-text-soft);
    box-shadow: var(--vd-shadow-sm);
}
.domain-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vd-border-strong); flex-shrink: 0; }
.domain-chip.live { color: var(--vd-text); border-color: var(--vd-accent); }
.domain-chip.live .dot { background: var(--vd-accent); }
.domain-chip.add { border-style: dashed; color: var(--vd-accent); border-color: color-mix(in srgb, var(--vd-accent) 45%, transparent); cursor: pointer; }
.domain-chip.add:hover { background: var(--vd-accent-soft); text-decoration: none; }

/* ---- Steps ---- */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: step; }
.step { background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); padding: 1.5rem; position: relative; }
.step .n { font-family: var(--vd-mono); font-weight: 800; color: var(--vd-accent); font-size: 1.4rem; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin: 0.5rem 0 0.4rem; }
.step p { color: var(--vd-text-soft); font-size: 0.92rem; line-height: 1.5; }

/* ---- Demo CTA ---- */
.demo-band {
    background: var(--vd-text); color: #fff; border-radius: var(--vd-radius-lg); padding: 2.6rem 2rem; text-align: center;
}
.demo-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.demo-band p { color: rgba(255,255,255,0.72); max-width: 54ch; margin: 0 auto 1.6rem; }
.demo-band .cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.demo-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.demo-band .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 760px; margin: 0 auto; }
.contact-card { text-align: center; background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); padding: 1.6rem; box-shadow: var(--vd-shadow-sm); }
.contact-card .label { font-family: var(--vd-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--vd-text-mute); margin-bottom: 0.5rem; }
.contact-card .value { font-size: 1.1rem; font-weight: 700; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--vd-border); padding: 2.4rem 0; margin-top: 1rem; }
.site-footer .inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer .brand-lock { display: flex; align-items: center; gap: 0.5rem; }
.site-footer .brand-lock img { height: 28px; width: auto; }
.site-footer img { height: 30px; width: auto; }
.site-footer .muted { color: var(--vd-text-mute); font-size: 0.84rem; }
.site-footer a { color: var(--vd-text-soft); font-weight: 600; font-size: 0.86rem; }

/* ---- Hero layout (copy + product mock) ---- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; text-align: left; }
.site-hero .hero-copy .eyebrow { margin-bottom: 1.2rem; }
.hero-grid h1 { margin-left: 0; margin-right: 0; max-width: 16ch; }
.hero-grid .lead { margin-left: 0; }
.hero-grid .cta { justify-content: flex-start; }
.hero-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; font-weight: 600; color: var(--vd-text-soft); }
.hero-checks svg { width: 16px; height: 16px; color: var(--vd-accent); }

/* Pure-CSS product mock */
.hero-visual { position: relative; }
.mock-card { background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); box-shadow: var(--vd-shadow-lg); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 0.7rem 0.9rem; background: var(--vd-bg-soft); border-bottom: 1px solid var(--vd-border); }
.mock-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--vd-border-strong); }
.mock-url { margin-left: auto; font-family: var(--vd-mono); font-size: 0.7rem; color: var(--vd-text-mute); }
.mock-body { padding: 1.3rem 1.4rem 1.5rem; }
.mock-h { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1rem; }
.mock-h strong { font-size: 1.05rem; }
.mock-svc { font-size: 0.82rem; color: var(--vd-text-mute); }
.mock-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; margin-bottom: 0.7rem; }
.mock-days span { text-align: center; padding: 0.5rem 0; border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); font-size: 0.8rem; font-weight: 600; color: var(--vd-text-soft); }
.mock-days span.on { background: var(--vd-accent); border-color: var(--vd-accent); color: #fff; }
.mock-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 1.1rem; }
.mock-slots span { text-align: center; padding: 0.55rem 0; border: 1px solid var(--vd-border); border-radius: var(--vd-radius-sm); font-size: 0.85rem; font-weight: 600; }
.mock-slots span.sel { background: var(--vd-accent-soft); border-color: var(--vd-accent); color: var(--vd-accent); }
.mock-slots span.off { color: var(--vd-text-mute); opacity: 0.5; text-decoration: line-through; }
.mock-cta { width: 100%; background: var(--vd-accent); color: #fff; border: 0; border-radius: var(--vd-radius); padding: 0.75rem; font-weight: 700; font-size: 0.92rem; cursor: default; }
.mock-toast { position: absolute; right: -10px; bottom: -18px; display: flex; align-items: center; gap: 0.5rem; max-width: 270px;
    background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius); padding: 0.65rem 0.8rem; box-shadow: var(--vd-shadow-md); font-size: 0.78rem; color: var(--vd-text-soft); }
.mock-toast svg { width: 18px; height: 18px; color: var(--vd-accent); flex-shrink: 0; }

/* ---- Trust strip ---- */
.trust-strip { border-top: 1px solid var(--vd-border); border-bottom: 1px solid var(--vd-border); background: var(--vd-bg); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem 0; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-item .ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--vd-radius); background: var(--vd-accent-soft); color: var(--vd-accent); display: flex; align-items: center; justify-content: center; }
.trust-item .ico svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 0.92rem; }
.trust-item span { font-size: 0.82rem; color: var(--vd-text-mute); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); box-shadow: var(--vd-shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; background: var(--vd-accent); transition: transform var(--vd-trans); }
.faq-mark::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-mark::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--vd-text-soft); font-size: 0.95rem; line-height: 1.6; }

/* ---- Quote form ---- */
.quote-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; align-items: start; max-width: 980px; margin: 0 auto; }
.quote-form { background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); padding: 1.7rem; box-shadow: var(--vd-shadow-sm); }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form .form-group { margin-bottom: 1rem; }
.quote-form label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.35rem; color: var(--vd-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf-consent { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.85rem; color: var(--vd-text-soft); margin: 0.3rem 0 1.1rem; font-weight: 500 !important; }
.qf-consent input { margin-top: 3px; flex-shrink: 0; }
.qf-status { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.qf-status.ok { color: #1a7f4b; }
.qf-status.err { color: var(--vd-accent-hover); }

.quote-aside { background: var(--vd-bg); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); padding: 1.7rem; }
.quote-aside h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.1rem; }
.qa-line { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--vd-divider); }
.qa-line:hover { text-decoration: none; }
.qa-line .ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--vd-radius); background: var(--vd-accent-soft); color: var(--vd-accent); display: flex; align-items: center; justify-content: center; }
.qa-line .ico svg { width: 19px; height: 19px; }
.qa-line .lbl { display: block; font-family: var(--vd-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--vd-text-mute); }
.qa-line strong { font-size: 1rem; color: var(--vd-text); }
.qa-reassure { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.qa-reassure li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--vd-text-soft); }
.qa-reassure svg { width: 16px; height: 16px; color: var(--vd-accent); flex-shrink: 0; }

/* ---- Footer (expanded) ---- */
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.site-footer .footer-brand .brand-lock { margin-bottom: 0.8rem; }
.site-footer .footer-brand .wordmark { font-size: 1.05rem; }
.site-footer .footer-brand .muted { font-size: 0.88rem; line-height: 1.5; max-width: 34ch; }
.site-footer .footer-col h4 { font-family: var(--vd-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--vd-text-mute); margin-bottom: 0.8rem; }
.site-footer .footer-col a { display: block; padding: 0.28rem 0; color: var(--vd-text-soft); font-size: 0.9rem; font-weight: 500; }
.site-footer .footer-col a:hover { color: var(--vd-accent); text-decoration: none; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--vd-border); padding-top: 1.4rem; }

/* ---- Cookie consent ---- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--vd-bg-alt); border-top: 1px solid var(--vd-border); box-shadow: var(--vd-shadow-lg); }
.cookie-inner { display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.5rem; flex-wrap: wrap; }
.cookie-inner p { margin: 0; font-size: 0.88rem; color: var(--vd-text-soft); flex: 1; min-width: 240px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* ---- Legal / article pages ---- */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 1rem; }
.legal-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.legal-wrap .updated { color: var(--vd-text-mute); font-size: 0.85rem; margin-bottom: 2rem; }
.legal-wrap h2 { font-size: 1.25rem; font-weight: 800; margin: 2rem 0 0.6rem; letter-spacing: -0.01em; }
.legal-wrap h3 { font-size: 1.02rem; font-weight: 700; margin: 1.2rem 0 0.4rem; }
.legal-wrap p, .legal-wrap li { color: var(--vd-text-soft); line-height: 1.65; font-size: 0.96rem; }
.legal-wrap ul { padding-left: 1.2rem; margin: 0.5rem 0 1rem; }
.legal-wrap li { margin-bottom: 0.35rem; }
.legal-wrap a { font-weight: 600; }

/* ---- Mobile ---- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
    .hero-grid h1, .hero-grid .lead { margin-left: auto; margin-right: auto; }
    .hero-grid .cta, .hero-checks { justify-content: center; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .quote-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .site-nav .links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--vd-bg-alt);
        flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1rem; border-bottom: 1px solid var(--vd-border); box-shadow: var(--vd-shadow-md); }
    .site-nav .links.open { display: flex; }
    .site-nav .links a { padding: 0.7rem 0; border-bottom: 1px solid var(--vd-divider); }
    .site-nav .links .btn { margin: 0.6rem 0 0; }
    .site-nav .burger { display: block; }
    .site-hero { padding: 3rem 0 2.5rem; }
    .site-section { padding: 2.8rem 0; }
    .qf-row { grid-template-columns: 1fr; gap: 0; }
    .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .mock-toast { position: static; margin: 1rem auto 0; max-width: none; }
}

/* ---- Feature bullets (merged into product section) ---- */
.feature-bullets { list-style: none; padding: 0; margin: 0 0 2.8rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.95rem 1.8rem; }
.feature-bullets li { display: flex; gap: 0.7rem; align-items: flex-start; }
.feature-bullets .fb-ico { flex-shrink: 0; width: 26px; height: 26px; margin-top: 1px; border-radius: 7px; background: var(--vd-accent-soft); color: var(--vd-accent); display: flex; align-items: center; justify-content: center; }
.feature-bullets .fb-ico svg { width: 15px; height: 15px; }
.feature-bullets strong { display: block; font-size: 0.96rem; font-weight: 700; }
.feature-bullets span { display: block; color: var(--vd-text-soft); font-size: 0.86rem; line-height: 1.45; margin-top: 1px; }

/* ---- Scroll reveal ---- */
.has-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .has-js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ============================================================================
 * Motion + polish update (house taste: ink + coral, no glow). Signature = the
 * hero product mock plays a one-time "booking happens" moment when it reveals.
 * Everything is guarded so JS-off / reduced-motion stays fully visible + still.
 * ============================================================================ */

/* -- Hero copy: staggered entrance on load -- */
.has-js .site-hero .hero-copy > * { opacity: 0; transform: translateY(14px); animation: heroIn .62s cubic-bezier(.2,.7,.2,1) forwards; }
.has-js .site-hero .hero-copy > *:nth-child(1) { animation-delay: .04s; }
.has-js .site-hero .hero-copy > *:nth-child(2) { animation-delay: .12s; }
.has-js .site-hero .hero-copy > *:nth-child(3) { animation-delay: .20s; }
.has-js .site-hero .hero-copy > *:nth-child(4) { animation-delay: .28s; }
.has-js .site-hero .hero-copy > *:nth-child(5) { animation-delay: .36s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* -- Signature: the hero mock comes alive when it scrolls/loads into view -- */
/* selected slot pulses a coral ring once, drawing the eye to the booking moment */
.has-js .hero-visual.is-visible .mock-slots span.sel { animation: selPulse 1.3s .55s both; }
@keyframes selPulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--vd-accent) 50%, transparent); }
    70%  { box-shadow: 0 0 0 9px color-mix(in srgb, var(--vd-accent) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 transparent; }
}
/* the CTA gives a subtle press, as if clicked */
.has-js .hero-visual.is-visible .mock-cta { animation: ctaPress .5s .95s both; }
@keyframes ctaPress { 0%,100% { transform: none; } 45% { transform: scale(.97); } }
/* then the "SMS sent" toast slides in — the reminder feature, shown live */
.has-js .hero-visual .mock-toast { opacity: 0; transform: translateY(16px) scale(.96); }
.has-js .hero-visual.is-visible .mock-toast { animation: toastIn .65s 1.25s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes toastIn { to { opacity: 1; transform: none; } }

/* -- Restrained polish elsewhere -- */
/* coral CTAs get a single shine sweep on hover */
.btn-accent { position: relative; overflow: hidden; }
.btn-accent::after {
    content: ''; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.30), transparent);
    transform: skewX(-18deg); transition: left .6s cubic-bezier(.2,.7,.2,1);
}
.btn-accent:hover::after { left: 150%; }
/* feature cards: warmer hover (accent hairline + icon lift) */
.feature-card { transition: box-shadow var(--vd-trans), transform var(--vd-trans), border-color var(--vd-trans); }
.feature-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--vd-accent) 38%, var(--vd-border)); box-shadow: var(--vd-shadow-md); }
.feature-card .ico { transition: transform var(--vd-trans), background var(--vd-trans); }
.feature-card:hover .ico { transform: translateY(-1px) scale(1.06); }
/* stagger revealed items inside a row so they cascade instead of popping together */
.has-js .trust-grid .reveal:nth-child(2), .has-js .feature-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.has-js .trust-grid .reveal:nth-child(3), .has-js .feature-grid .reveal:nth-child(3n) { transition-delay: .16s; }
.has-js .trust-grid .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    .has-js .site-hero .hero-copy > * { opacity: 1; transform: none; animation: none; }
    .has-js .hero-visual.is-visible .mock-card,
    .has-js .hero-visual.is-visible .mock-slots span.sel,
    .has-js .hero-visual.is-visible .mock-cta { animation: none; }
    .has-js .hero-visual .mock-toast { opacity: 1; transform: none; }
    .btn-accent::after { display: none; }
}

/* ---- Modals ---- */
body.modal-open { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(20,23,30,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 1rem 1rem; overflow-y: auto; animation: modalFade .18s ease; }
.modal-overlay[hidden] { display: none; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-box { position: relative; width: 100%; max-width: 560px; background: var(--vd-bg-alt); border: 1px solid var(--vd-border); border-radius: var(--vd-radius-lg); box-shadow: var(--vd-shadow-lg); padding: 1.8rem; animation: modalRise .22s ease; }
.modal-box-sm { max-width: 420px; text-align: center; }
@keyframes modalRise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 0.6rem; right: 0.85rem; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--vd-text-mute); cursor: pointer; padding: 0.2rem 0.4rem; }
.modal-close:hover { color: var(--vd-text); }
.modal-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 1.5rem 0.3rem 0; }
.modal-sub { color: var(--vd-text-soft); font-size: 0.92rem; line-height: 1.5; margin-bottom: 1.3rem; }
.modal-contact { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--vd-divider); font-size: 0.86rem; color: var(--vd-text-mute); text-align: center; }
.modal-demo-btns { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.4rem; }
.modal-demo-btns .btn { width: 100%; }
/* form sits flat inside the modal (no double card) */
.modal-box .quote-form { background: none; border: 0; box-shadow: none; padding: 0; }
@media (max-width: 760px) {
    .feature-bullets { grid-template-columns: 1fr; }
    .modal-overlay { padding: 2vh 0.6rem 0.6rem; }
    .modal-box { padding: 1.4rem; }
}
