/*
Theme Name: Aduvio.io
Theme URI: https://aduv.io/
Machine Name: aduvio-io
Author: Aduvio
Author URI: https://aduv.io/
Description: Corporate and marketing website for Aduvio, powered by Aduvio. Moved over from WordPress as-is.
Version: 1.0
*/

/*
    ? The header above is the package manifest - see the admin half's style.css.

    ? Every page of the site is plain markup styled by this file; the shared pieces live in
    ? php/includes/ (site-head, site-header, site-foot, site-lead-hero, site-lead-form, site-module-page).
    ? Only the header and footer chrome still comes from The7's stylesheets, which each page links
    ? from site-head.php ahead of this one - this file relies on source order to win ties.
    ?
    ? Everything is namespaced "av-" so it cannot collide with The7, and reads its colours, radii and
    ? shadows through the tokens on :root so a change is made in one place.
*/

:root {
    --av-blue: #007aff;
    --av-blue-dark: #0062cc;
    --av-blue-tint: #ebf4ff;
    --av-cyan: #4fcae6;
    --av-cyan-bright: #00ccff;
    --av-teal: #0b7898;
    --av-ink: #0f2942;
    --av-text: #3d4b5c;
    --av-muted: #5b6b7e;
    --av-line: rgba(15, 41, 66, 0.1);
    --av-sky: #e8f7fe;
    --av-mist: #eef2f6;
    --av-navy: #14314f;
    --av-navy-deep: #0a1b2e;

    --av-gradient: linear-gradient(135deg, #4fcae6 0%, #007aff 55%, #0b7898 100%);
    --av-gradient-dark: linear-gradient(160deg, #14314f 0%, #0a1b2e 100%);

    --av-radius: 16px;
    --av-radius-lg: 24px;
    --av-shadow-sm: 0 1px 3px rgba(16, 42, 82, 0.08), 0 1px 2px rgba(16, 42, 82, 0.04);
    --av-shadow-md: 0 8px 24px rgba(16, 42, 82, 0.08), 0 2px 6px rgba(16, 42, 82, 0.05);
    --av-shadow-lg: 0 24px 48px rgba(16, 42, 82, 0.16), 0 8px 16px rgba(16, 42, 82, 0.08);

    --av-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --av-heading: "Plus Jakarta Sans", "Roboto", Helvetica, Arial, sans-serif;
}


/* ---------- Page frame ---------- */

/* Bands run edge to edge even though The7 wraps the content in a boxed column. */
body.av-page #page {
    overflow-x: clip;
}

.av-home {
    color: var(--av-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.av-home *,
.av-home *::before,
.av-home *::after {
    box-sizing: border-box;
}

.av-band {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: clamp(56px, 8vw, 96px) 0;
}

.av-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.av-band--flush-top { padding-top: 0; }
.av-band--sky   { background: var(--av-sky); }
.av-band--mist  { background: var(--av-mist); }
.av-band--white { background: #fff; }

/* The header is transparent and sits on top of the first band. */
.av-band--hero {
    padding-top: clamp(120px, 14vw, 168px);
    padding-bottom: clamp(56px, 8vw, 96px);
    background:
        radial-gradient(60% 80% at 85% 10%, rgba(79, 202, 230, 0.35) 0%, rgba(79, 202, 230, 0) 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(0, 122, 255, 0.12) 0%, rgba(0, 122, 255, 0) 70%),
        var(--av-sky);
}


/* ---------- Type ---------- */

.av-home h1,
.av-home h2,
.av-home h3,
.av-home h4 {
    margin: 0;
    color: var(--av-ink);
    font-family: var(--av-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.av-home h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.5rem);
}

.av-home h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.av-home h3 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.av-home p {
    margin: 0;
    color: var(--av-text);
    font-size: inherit;
    line-height: 1.6;
}

.av-home ul,
.av-home ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.av-home li {
    margin: 0;
}

.av-home figure {
    margin: 0;
}

.av-home img {
    display: block;
    max-width: 100%;
    height: auto;
}

.av-highlight {
    background: var(--av-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.av-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 14px;
    border: 1px solid #90dff1;
    border-radius: 999px;
    background: #e6f8fd;
    color: var(--av-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.av-section-head {
    max-width: 760px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.av-section-head p {
    margin-top: 16px;
    font-size: 1.125rem;
    color: var(--av-muted);
}

.av-section-head--left {
    margin-left: 0;
    text-align: left;
}


/* ---------- Buttons ---------- */

.av-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.av-home :is(a, button).av-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--av-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms var(--av-ease), border-color 160ms var(--av-ease),
        box-shadow 160ms var(--av-ease), color 160ms var(--av-ease), transform 120ms var(--av-ease);
}

.av-home :is(a, button).av-btn:active {
    transform: scale(0.97);
}

.av-home :is(a, button).av-btn:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.45);
    outline-offset: 3px;
}

.av-home :is(a, button).av-btn--primary {
    background: var(--av-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3), 0 1px 2px rgba(15, 41, 66, 0.08);
}

.av-home :is(a, button).av-btn--primary:hover {
    background: var(--av-blue-dark);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.38), 0 1px 2px rgba(15, 41, 66, 0.1);
}

.av-home :is(a, button).av-btn--ghost {
    border-color: var(--av-blue);
    background: transparent;
    color: var(--av-blue-dark);
}

.av-home :is(a, button).av-btn--ghost:hover {
    background: var(--av-blue);
    color: #fff;
}

.av-home :is(a, button).av-btn--light {
    background: #fff;
    color: var(--av-blue-dark);
    box-shadow: 0 4px 14px rgba(10, 27, 46, 0.2);
}

.av-home :is(a, button).av-btn--light:hover {
    background: var(--av-sky);
    color: var(--av-blue-dark);
}

.av-home :is(a, button).av-btn--outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    background: transparent;
    color: #fff;
}

.av-home :is(a, button).av-btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
    color: #fff;
}


/* ---------- Icons ---------- */

.av-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--av-blue-tint);
    color: var(--av-blue-dark);
    font-size: 20px;
}

.av-icon--sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
}

.av-icon--solid {
    background: var(--av-blue);
    color: #fff;
}


/* ---------- Hero ---------- */

.av-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.av-home .av-hero__lead {
    max-width: 34em;
    margin-top: 20px;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--av-text);
}

.av-hero .av-actions {
    margin-top: 32px;
}

.av-home .av-hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--av-line);
}

.av-hero__points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--av-ink);
    font-weight: 600;
}

.av-hero__media {
    position: relative;
}

.av-hero__media img {
    width: 100%;
}


/* ---------- Comparison ---------- */

.av-compare {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.av-compare__card {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
}

.av-compare__card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.av-compare__card li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid var(--av-line);
    color: var(--av-text);
}

.av-compare__card li:first-child {
    border-top: 0;
    padding-top: 0;
}

.av-compare__card li i {
    flex: none;
    width: 20px;
    margin-top: 4px;
    color: var(--av-muted);
    text-align: center;
}

.av-compare__card--featured {
    border: 2px solid var(--av-blue);
    background: linear-gradient(180deg, #fff 0%, var(--av-blue-tint) 100%);
    box-shadow: var(--av-shadow-md);
}

.av-compare__card--featured h3 {
    color: var(--av-blue-dark);
}

.av-compare__card--featured li {
    color: var(--av-ink);
    font-weight: 500;
}

.av-compare__card--featured li i {
    color: var(--av-blue);
}

.av-compare__badge {
    position: absolute;
    top: -14px;
    left: 28px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--av-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ---------- Everything in one place ---------- */

.av-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.av-flow__item {
    position: relative;
}

.av-flow__item + .av-flow__item::before {
    content: "+";
    position: absolute;
    top: 50%;
    left: -24px;
    z-index: 1;
    width: 24px;
    margin-top: -12px;
    color: var(--av-blue);
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
}

.av-home a.av-flow__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
    color: var(--av-ink);
    text-decoration: none;
    transition: box-shadow 200ms var(--av-ease), transform 200ms var(--av-ease),
        border-color 200ms var(--av-ease);
}

.av-home a.av-flow__card:hover {
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: var(--av-shadow-md);
    transform: translateY(-3px);
}

.av-home a.av-flow__card:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.45);
    outline-offset: 3px;
}

.av-flow__card h3 {
    font-size: 1.25rem;
}

.av-flow__more {
    margin-top: auto;
    color: var(--av-blue-dark);
    font-size: 0.9375rem;
    font-weight: 700;
}

.av-flow__more i {
    margin-left: 6px;
    transition: transform 200ms var(--av-ease);
}

.av-home a.av-flow__card:hover .av-flow__more i {
    transform: translateX(4px);
}

.av-home a.av-flow__card--accent {
    border-color: transparent;
    background: var(--av-gradient);
}

.av-home .av-flow__card--accent h3,
.av-home .av-flow__card--accent .av-flow__more {
    color: #fff;
}

.av-home .av-flow__card--accent .av-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}


/* ---------- Feature cards ---------- */

.av-cards {
    display: grid;
    gap: 24px;
}

.av-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.av-cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.av-card {
    padding: 28px 24px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
    transition: box-shadow 200ms var(--av-ease), transform 200ms var(--av-ease);
}

.av-card:hover {
    box-shadow: var(--av-shadow-md);
    transform: translateY(-2px);
}

.av-card .av-icon {
    margin-bottom: 16px;
}

.av-card h3 {
    margin-bottom: 8px;
}

.av-card p {
    font-size: 0.9375rem;
    color: var(--av-muted);
}


/* ---------- Split sections (security, data) ---------- */

.av-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.av-split__intro p {
    margin-top: 16px;
    font-size: 1.0625rem;
}

.av-home .av-points {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.av-points li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.av-points h3 {
    margin-bottom: 2px;
}

.av-points p {
    font-size: 0.9375rem;
    color: var(--av-muted);
}

.av-split__media {
    padding: 16px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-md);
}

.av-split__media img {
    width: 100%;
    border-radius: 12px;
}

.av-split--reverse .av-split__media {
    order: -1;
}


/* ---------- Savings ---------- */

.av-band--dark {
    background: var(--av-gradient-dark);
    color: #fff;
}

.av-home .av-band--dark h2 {
    color: #fff;
}

.av-home .av-band--dark p {
    color: rgba(255, 255, 255, 0.82);
}

.av-savings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.av-home .av-savings__lead {
    margin-top: 16px;
    font-size: 1.125rem;
}

.av-home .av-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.av-stat {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--av-radius);
    background: rgba(255, 255, 255, 0.08);
}

.av-stat dt {
    color: var(--av-cyan-bright);
    font-family: var(--av-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.av-stat dd {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9375rem;
}

.av-home .av-savings__media {
    padding: 14px;
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-lg);
}

.av-savings__media img {
    width: 100%;
    border-radius: 12px;
}


/* ---------- Closing call to action ---------- */

.av-cta {
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
    border-radius: 32px;
    background: var(--av-gradient);
    box-shadow: var(--av-shadow-lg);
    text-align: center;
}

.av-home .av-cta h2 {
    color: #fff;
}

.av-home .av-cta p {
    margin: 16px auto 0;
    max-width: 36em;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.125rem;
}

.av-cta .av-actions {
    justify-content: center;
    margin-top: 32px;
}


/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .av-cards--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .av-hero,
    .av-split,
    .av-savings {
        grid-template-columns: minmax(0, 1fr);
    }

    .av-hero__media {
        order: -1;
    }

    .av-compare,
    .av-flow {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        margin: 0 auto;
    }

    .av-compare {
        gap: 32px;
    }

    .av-flow__item + .av-flow__item::before {
        top: -24px;
        left: 50%;
        margin: 0 0 0 -12px;
    }

    .av-split--reverse .av-split__media {
        order: 0;
    }
}

@media (max-width: 600px) {
    .av-wrap {
        padding: 0 20px;
    }

    .av-cards--4,
    .av-cards--2,
    .av-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .av-actions .av-btn {
        flex: 1 1 100%;
    }

    .av-hero__points {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-home *,
    .av-home *::before,
    .av-home *::after {
        transition: none !important;
    }

    .av-card:hover,
    .av-home a.av-flow__card:hover {
        transform: none;
    }
}


/* =====================================================================
   Inner pages
   ===================================================================== */

/* ---------- Page hero (no illustration) ---------- */

.av-hero--center {
    display: block;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.av-home .av-hero--center .av-hero__lead {
    margin-left: auto;
    margin-right: auto;
}

.av-hero--center .av-actions {
    justify-content: center;
}

.av-band--hero-compact {
    padding-bottom: clamp(40px, 6vw, 72px);
}

.av-hero__media--wide {
    margin-top: clamp(32px, 5vw, 56px);
}

.av-hero__media--wide img {
    border-radius: var(--av-radius-lg);
    box-shadow: var(--av-shadow-lg);
}

/* ---------- Lists ---------- */

.av-home .av-checks {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.av-checks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--av-text);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.av-checks i {
    flex: none;
    width: 18px;
    margin-top: 3px;
    color: var(--av-blue);
    font-size: 0.85em;
    text-align: center;
}

.av-home .av-checks--x i {
    color: #cf3f5a;
}

.av-checks--lg li {
    font-size: 1.0625rem;
    color: var(--av-ink);
}

/* ---------- Cards, extra variants ---------- */

.av-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.av-card--featured {
    border: 2px solid var(--av-blue);
    background: linear-gradient(180deg, #fff 0%, var(--av-blue-tint) 100%);
    box-shadow: var(--av-shadow-md);
}

.av-card--featured h3 {
    color: var(--av-blue-dark);
}

.av-card__tag {
    display: block;
    margin-bottom: 12px;
    color: var(--av-blue-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.av-card--x .av-icon {
    background: #fdecef;
    color: #cf3f5a;
}

.av-section-head--tight {
    margin-bottom: clamp(24px, 4vw, 40px);
}

.av-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    margin-bottom: 16px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--av-ink);
    color: #fff;
    font-family: var(--av-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* ---------- Chips (module library) ---------- */

.av-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.av-home :is(a, div).av-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 16px 18px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
    color: var(--av-ink);
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: box-shadow 200ms var(--av-ease), transform 200ms var(--av-ease),
        border-color 200ms var(--av-ease);
}

.av-home a.av-chip:hover {
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: var(--av-shadow-md);
    transform: translateY(-2px);
}

.av-home a.av-chip:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.45);
    outline-offset: 3px;
}

.av-chip i.fa-arrow-right {
    margin-left: auto;
    color: var(--av-blue);
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 200ms var(--av-ease), transform 200ms var(--av-ease);
}

.av-home a.av-chip:hover i.fa-arrow-right {
    opacity: 1;
    transform: translateX(3px);
}

.av-chips--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.av-home .av-media-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-md);
}

.av-media-card img {
    width: 100%;
    margin: 0 auto;
}

.av-caption {
    margin-top: 14px;
    color: var(--av-muted);
    font-size: 0.875rem;
    text-align: center;
}

/* ---------- Steps ---------- */

.av-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.av-steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.av-step {
    position: relative;
    padding: 28px 22px 24px;
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
}

.av-step .av-icon {
    margin-bottom: 14px;
}

.av-step__n {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(15, 41, 66, 0.18);
    font-family: var(--av-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.av-step h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.av-step p {
    font-size: 0.9375rem;
    color: var(--av-muted);
}

/* ---------- Quotes ---------- */

.av-quotes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.av-quote {
    position: relative;
    margin: 0;
    padding: 32px 28px;
    border: 1px solid #d6e8ff;
    border-radius: var(--av-radius-lg);
    background: linear-gradient(135deg, #e6f8fd 0%, #ebf4ff 100%);
}

.av-quote > i {
    display: block;
    margin-bottom: 14px;
    color: var(--av-blue);
    font-size: 1.5rem;
    opacity: 0.8;
}

.av-home .av-quote p {
    color: var(--av-ink);
    font-family: var(--av-heading);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
}

.av-home .av-quote blockquote,
.av-home .av-story blockquote {
    background: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    quotes: none;
}

.av-home .av-quote blockquote {
    margin: 0;
    padding: 0;
    border-left: 0;
}

.av-home .av-quote blockquote::before,
.av-home .av-quote blockquote::after,
.av-home .av-story blockquote::before,
.av-home .av-story blockquote::after {
    content: none;
}

.av-quote footer {
    margin-top: 16px;
    color: var(--av-muted);
    font-size: 0.9375rem;
}

/* ---------- FAQ ---------- */

.av-faq {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.av-faq details {
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
}

.av-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: var(--av-ink);
    font-family: var(--av-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.av-faq summary::-webkit-details-marker {
    display: none;
}

.av-faq summary::after {
    content: "+";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--av-blue-tint);
    color: var(--av-blue-dark);
    font-size: 20px;
    line-height: 28px;
    text-align: center;
}

.av-faq details[open] summary::after {
    content: "\2212";
}

.av-faq summary:focus-visible {
    outline: 3px solid rgba(0, 122, 255, 0.45);
    outline-offset: -3px;
    border-radius: var(--av-radius);
}

.av-home .av-faq details p {
    padding: 0 24px 22px;
    color: var(--av-text);
}

/* ---------- Case studies ---------- */

.av-stories {
    display: grid;
    gap: clamp(32px, 5vw, 56px);
}

.av-story {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-sm);
}

.av-story__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.av-story__media img {
    width: 160px;
    height: 160px;
    border: 1px solid var(--av-line);
    border-radius: 50%;
    box-shadow: var(--av-shadow-sm);
}

.av-story__brand {
    color: var(--av-ink);
    font-family: var(--av-heading);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.av-story__sector {
    color: var(--av-muted);
    font-size: 0.875rem;
}

.av-story__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--av-gradient);
    color: #fff;
    font-family: var(--av-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

.av-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.av-tags span {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--av-blue-tint);
    color: var(--av-blue-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.av-home .av-story h2,
.av-home .av-story h3 {
    margin-bottom: 14px;
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
}

.av-story p + p {
    margin-top: 12px;
}

.av-home .av-story blockquote {
    margin: 20px 0 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--av-blue);
}

.av-home .av-story blockquote p {
    color: var(--av-ink);
    font-family: var(--av-heading);
    font-weight: 600;
}

.av-story blockquote footer {
    margin-top: 8px;
    color: var(--av-muted);
    font-size: 0.875rem;
}

.av-home .av-story__stat {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--av-blue-tint);
}

.av-story__stat strong {
    color: var(--av-blue-dark);
    font-family: var(--av-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.av-story__stat span {
    color: var(--av-muted);
    font-size: 0.9375rem;
}

/* ---------- Contact / demo layout ---------- */

.av-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.av-home .av-points--plain {
    margin-top: 28px;
}

.av-form-card {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--av-line);
    border-radius: var(--av-radius-lg);
    background: #fff;
    box-shadow: var(--av-shadow-lg);
}

.av-form-card > h2 {
    margin-bottom: 20px;
    font-size: 1.375rem;
}

.av-form {
    display: grid;
    gap: 18px;
}

.av-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.av-form__field {
    display: grid;
    gap: 6px;
}

.av-form__field label,
.av-form__label {
    color: var(--av-ink);
    font-size: 0.9375rem;
    font-weight: 600;
}

.av-form__req {
    color: #cf3f5a;
}

.av-home .av-form input[type="text"],
.av-home .av-form input[type="email"],
.av-home .av-form input[type="tel"],
.av-home .av-form textarea {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(15, 41, 66, 0.25);
    border-radius: 10px;
    background: #fff;
    color: var(--av-ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 160ms var(--av-ease), box-shadow 160ms var(--av-ease);
}

.av-home .av-form textarea {
    min-height: 130px;
    resize: vertical;
}

.av-home .av-form input:focus,
.av-home .av-form textarea:focus {
    border-color: var(--av-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

.av-home .av-form .av-form__submit {
    width: 100%;
}

.av-form__alert:empty {
    display: none;
}

.av-form .gform_confirmation_message,
.av-form .validation_error {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #d6e9c6;
    border-radius: 10px;
    background: #e9f6e4;
    color: #2d6a2d;
    font-size: 0.9375rem;
    font-weight: 600;
}

.av-form .validation_error {
    border-color: #f0c2c8;
    background: #fdecef;
    color: #a3263d;
}

.av-section-head .av-actions {
    justify-content: center;
    margin-top: 24px;
}

.av-split__intro .av-actions {
    margin-top: 28px;
}

.av-wrap--after {
    margin-top: clamp(40px, 6vw, 64px);
}

/* ---------- Facts, timeline, logo card ---------- */

.av-home .av-points--plain h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.av-points--plain li {
    align-items: center;
}

.av-home .av-section-lead {
    margin-top: 16px;
    font-size: 1.125rem;
    color: var(--av-muted);
}

.av-home .av-stats--row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}


.av-home .av-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--av-line);
}

.av-facts li {
    display: grid;
    gap: 2px;
}

.av-facts strong {
    color: var(--av-ink);
    font-family: var(--av-heading);
    font-size: 0.9375rem;
    font-weight: 700;
}

.av-facts span {
    color: var(--av-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.av-home .av-timeline {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.av-timeline li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--av-ink);
    font-weight: 600;
}

.av-timeline__n {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--av-blue);
    color: #fff;
    font-family: var(--av-heading);
    font-size: 0.9375rem;
    font-weight: 800;
}

.av-home .av-media-card--logo {
    max-width: 360px;
    padding: 24px 32px;
}

/* ---------- Product visuals ---------- */

.av-split__media--plain {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.av-split__media--plain img {
    border-radius: var(--av-radius-lg);
}

.av-split__media--shadow img {
    box-shadow: var(--av-shadow-lg);
}

.av-narrow {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.av-narrow .av-actions {
    justify-content: center;
    margin-top: 28px;
}

/* ---------- Responsive (inner pages) ---------- */

@media (max-width: 1100px) {
    .av-chips {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .av-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .av-home .av-stats--row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .av-contact,
    .av-story,
    .av-quotes {
        grid-template-columns: minmax(0, 1fr);
    }

    .av-cards--3,
    .av-steps--3,
    .av-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .av-home .av-stats--row,
    .av-home .av-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .av-cards--3,
    .av-steps,
    .av-steps--3,
    .av-chips,
    .av-chips--wide,
    .av-form__row {
        grid-template-columns: minmax(0, 1fr);
    }
}
