/* Carlito: open-source, metric-compatible Calibri, self-hosted so phones without Calibri render the brand font. */
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/carlito-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/carlito-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/carlito-700-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* CasaFacendo brand book: dark green #005656 titles, light green #A4D2AF accents, Calibri. */
:root {
    --casafacendo-green: #005656;
    --casafacendo-green-dark: #003f3f;
    --casafacendo-green-light: #a4d2af;
    --casafacendo-ink: #000;
    --vimm-magenta: var(--casafacendo-green);
    --vimm-magenta-hover: var(--casafacendo-green-dark);
    --vimm-magenta-rgb: 0, 86, 86;
    --vimm-cream: #eef7f0;
    --vimm-cream-soft: #f5fbf6;
    --vimm-text: #000;
    --vimm-text-muted: #000;
    --vimm-font: Calibri, Carlito, 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body { font-family: var(--vimm-font); }
a { color: var(--casafacendo-green); }
.vimm-card .vimm-card__title-magenta,
.vimm-contact__form-title { color: var(--casafacendo-green); }

/* Header: logo on the left, phone on the right. */
.vimm-header__inner { justify-content: space-between; }
.vimm-header .vimm-logo__img { max-height: 64px; }
.casafacendo-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--casafacendo-green);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.casafacendo-header-phone:hover { background: var(--casafacendo-green-dark); color: #fff; text-decoration: none; }
.casafacendo-header-phone svg { width: 20px; height: 20px; }

/* Hero: the client photo stays fully visible, the title card follows the client mockup. */
.vimm-hero {
    padding: 72px 16px;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.vimm-hero::before {
    opacity: 1;
    filter: none;
    background-position: 72% center;
}
.vimm-hero::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .08) 45%, rgba(0, 0, 0, 0) 70%);
}
.vimm-hero__inner { width: 100%; }
.casafacendo-hero-card {
    max-width: 540px;
    padding: 28px 30px 22px;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    background: #fff;
    color: var(--casafacendo-ink);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}
.casafacendo-hero-card__kicker {
    margin: 0 0 14px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.casafacendo-hero-card .vimm-hero__title {
    max-width: none;
    margin: 0 0 14px;
    color: var(--casafacendo-ink);
    font-size: clamp(28px, 2.6vw, 36px);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.15;
}
.casafacendo-hero-card__lead {
    margin: 0 0 14px;
    color: var(--casafacendo-ink);
    font-size: 20px;
    font-weight: 700;
}
.casafacendo-hero-card .vimm-hero__subtitle {
    max-width: none;
    margin: 0 0 22px;
    color: var(--casafacendo-ink);
    font-size: 17px;
    line-height: 1.6;
    text-shadow: none;
}
.casafacendo-hero-card .vimm-btn {
    width: 100%;
    border-radius: 10px;
    padding: 16px 20px;
}
.casafacendo-hero-card__note {
    margin: 14px 0 0;
    color: #555;
    font-size: 14px;
    text-align: center;
}

.casafacendo-algo-brand img { width: 100%; max-width: 420px; height: auto; margin-inline: auto; }

.vimm-header a:focus-visible,
.vimm-btn:focus-visible {
    outline: 3px solid var(--casafacendo-green-light);
    outline-offset: 3px;
}

@media (max-width: 860px) {
    .vimm-header { padding: 12px; }
    .vimm-header__inner { gap: 10px; justify-content: center; }
    .vimm-header .vimm-logo__img { max-height: 48px; }
    .casafacendo-header-phone { font-size: 16px; min-height: 40px; padding: 0 14px; }

    /* Photo on top, card below: the couple stays visible on phones. */
    .vimm-hero {
        display: block;
        min-height: 0;
        padding: 250px 12px 28px;
        background: var(--vimm-cream-soft);
    }
    .vimm-hero::before { bottom: auto; height: 290px; background-position: 68% center; }
    .vimm-hero::after { content: none; }
    .casafacendo-hero-card { padding: 22px 18px 18px; }
    .casafacendo-hero-card .vimm-hero__subtitle { font-size: 16px; }
}
@media (max-width: 380px) {
    .casafacendo-header-phone { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* The brand logo is dark green: give it a light plate on the dark footer. */
.vimm-footer__logo {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
}
.vimm-footer__logo img { opacity: 1; filter: none; }

/* Fluent Forms step progress uses the brand green instead of the default blue. */
body .ff-el-progress-bar { background-color: var(--casafacendo-green) !important; }
body .ff-el-progress { background-color: #e6f1ea; }

/* QR code to the agency website, desktop only: a phone cannot scan its own screen. */
.casafacendo-footer-qr {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}
.casafacendo-footer-qr img { width: 96px; height: 96px; padding: 6px; border-radius: 10px; background: #fff; }
.casafacendo-footer-qr span { max-width: 150px; }
@media (max-width: 860px) {
    .casafacendo-footer-qr img { display: none; }
    .casafacendo-footer-qr { margin-top: 10px; text-decoration: underline; }
    .casafacendo-footer-qr span { max-width: none; }
}

/* Brand book: titles bold dark green, texts regular black, site name bold light green.
   The hero card keeps the black title of the client mockup; titles on dark green stay white. */
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, .vimm-algo__copy h2 { font-weight: 700; }
.vimm-algo__copy h2,
.vimm-cta-band h2,
.vimm-reviews__title,
.vimm-card h1,
.vimm-card h2,
.vimm-card h3,
.vimm-result__value h1,
.vimm-error h1 { color: var(--casafacendo-green); }
.casafacendo-site-name { color: var(--casafacendo-green-light); font-weight: 700; }
.vimm-checklist li::before { background-color: var(--casafacendo-green); }
