/* =========================================================
   DESIGN TOKENS — Alta Villa
   Paleta: ink navy + cyan/plavi akcenat (iz Alta Villa brenda) + hladno beli
   ========================================================= */

:root {
    /* Boje — baza */
    --av-color-dark: #0F1B26;
    --av-color-dark-hover: #172A3A;
    --av-color-light: #F6FAFC;
    --av-color-surface: #FFFFFF;
    --av-color-surface-alt: #E8F3F8;
    --av-color-accent: #0A759B;
    --av-color-accent-light: #4CC3E8;
    --av-color-accent-hover: #075A78;
    --av-color-text: #16222B;
    --av-color-text-muted: #4A5A66;
    --av-color-text-on-dark: #F6FAFC;
    --av-color-text-on-dark-muted: #A9C4D4;
    --av-color-border: rgba(15, 27, 38, 0.1);
    --av-color-border-dark: rgba(246, 250, 252, 0.12);

    /* Boje — po elementu */
    --av-btn-primary-bg: var(--av-color-dark);
    --av-btn-primary-bg-hover: var(--av-color-dark-hover);
    --av-btn-primary-text: var(--av-color-light);

    --av-btn-secondary-bg: var(--av-color-accent-light);
    --av-btn-secondary-bg-hover: var(--av-color-accent);
    --av-btn-secondary-text: var(--av-color-dark);

    --av-link-color: var(--av-color-dark);
    --av-link-color-hover: var(--av-color-accent);

    /* Tipografija — max 2 fonta, per CLAUDE.md */
    --av-font-heading: 'Playfair Display', Georgia, serif;
    --av-font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

    /* Spacing skala */
    --av-space-xs: 0.5rem;
    --av-space-sm: 1rem;
    --av-space-md: 2rem;
    --av-space-lg: 4rem;
    --av-space-xl: 6rem;
    --av-space-2xl: 9rem;

    /* Radius */
    --av-radius-sm: 8px;
    --av-radius-md: 16px;
    --av-radius-lg: 24px;
    --av-radius-pill: 999px;

    /* Container */
    --av-container-max: 1200px;

    /* Motion */
    --av-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --av-transition-fast: 0.2s var(--av-ease);
    --av-transition-base: 0.35s var(--av-ease);

    /* Shadows */
    --av-shadow-sm: 0 1px 2px rgba(15, 27, 38, 0.04), 0 1px 1px rgba(15, 27, 38, 0.03);
    --av-shadow-md: 0 8px 24px rgba(15, 27, 38, 0.08), 0 2px 8px rgba(15, 27, 38, 0.04);
    --av-shadow-lg: 0 24px 48px rgba(15, 27, 38, 0.12), 0 4px 16px rgba(15, 27, 38, 0.06);
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--av-font-body);
    color: var(--av-color-text);
    background: var(--av-color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--av-color-accent-light);
    color: var(--av-color-dark);
}

h1, h2, h3, h4,
.av-heading {
    font-family: var(--av-font-heading);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 var(--av-space-sm);
    color: var(--av-color-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin: 0 0 var(--av-space-sm);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body a,
body a:visited {
    color: var(--av-link-color);
    text-decoration: none;
    transition: color var(--av-transition-fast);
}

body a:hover {
    color: var(--av-link-color-hover);
}

body a:focus-visible {
    color: var(--av-link-color-hover);
    outline: 2px solid var(--av-color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.av-container {
    max-width: var(--av-container-max);
    margin: 0 auto;
    padding: 0 var(--av-space-md);
}

@media (max-width: 640px) {
    .av-container {
        padding: 0 var(--av-space-sm);
    }
}

.av-section {
    padding: var(--av-space-xl) 0;
}

.av-section--tight {
    padding: var(--av-space-lg) 0;
}

.av-section--alt {
    background: var(--av-color-surface-alt);
}

.av-section--dark {
    background: var(--av-color-dark);
    color: var(--av-color-text-on-dark);
}

.av-section--dark h1,
.av-section--dark h2,
.av-section--dark h3 {
    color: var(--av-color-text-on-dark);
}

.av-text-center {
    text-align: center;
}

.av-mb-lg {
    margin-bottom: var(--av-space-lg);
}

.av-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--av-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--av-color-accent);
}

.av-grid {
    display: grid;
    gap: var(--av-space-md);
}

.av-grid--2 { grid-template-columns: repeat(2, 1fr); }
.av-grid--3 { grid-template-columns: repeat(3, 1fr); }
.av-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .av-grid--3, .av-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .av-grid--2, .av-grid--3, .av-grid--4 { grid-template-columns: 1fr; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.av-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--av-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s var(--av-ease), color 0.25s var(--av-ease), border-color 0.25s var(--av-ease), transform 0.2s var(--av-ease), box-shadow 0.25s var(--av-ease);
    will-change: transform;
}

.av-btn:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

.av-btn--primary,
.av-btn--primary:visited {
    background: var(--av-btn-primary-bg);
    color: var(--av-btn-primary-text);
    box-shadow: var(--av-shadow-sm);
}

.av-btn--primary:hover {
    background: var(--av-btn-primary-bg-hover);
    color: var(--av-btn-primary-text);
    box-shadow: var(--av-shadow-md);
    transform: translateY(-2px);
}

.av-btn--primary:active {
    box-shadow: var(--av-shadow-sm);
}

.av-btn--secondary,
.av-btn--secondary:visited {
    background: var(--av-btn-secondary-bg);
    color: var(--av-btn-secondary-text);
}

.av-btn--secondary:hover {
    background: var(--av-btn-secondary-bg-hover);
    color: var(--av-color-light);
    transform: translateY(-2px);
    box-shadow: var(--av-shadow-md);
}

.av-btn--ghost,
.av-btn--ghost:visited {
    background: transparent;
    border: 1.5px solid var(--av-color-dark);
    color: var(--av-color-dark);
}

.av-btn--ghost:hover {
    background: var(--av-color-dark);
    color: var(--av-color-light);
    transform: translateY(-2px);
    box-shadow: var(--av-shadow-md);
}

.av-btn:focus-visible {
    outline: 2px solid var(--av-color-accent);
    outline-offset: 2px;
}


/* Ghost dugme za upotrebu na tamnoj/foto pozadini (npr. preko slike u banneru) —
   .av-btn--ghost koristi tamnu ivicu/tekst i nečitljiv je na tamnoj pozadini.
   Puna (ne providna) svetla pozadina + tamni tekst drži kontrast i čitljivost
   jednaku susednom .av-btn--secondary dugmetu, samo vizuelno tiše. */
.av-btn--ghost-light,
.av-btn--ghost-light:visited {
    background: var(--av-color-surface);
    border: 1.5px solid var(--av-color-surface);
    color: var(--av-color-dark);
}

.av-btn--ghost-light:hover {
    background: transparent;
    border-color: var(--av-color-surface);
    color: var(--av-color-text-on-dark);
    transform: translateY(-2px);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */

.av-topbar {
    background: var(--av-color-dark);
    color: var(--av-color-text-on-dark-muted);
    font-size: 0.85rem;
}

.av-topbar .av-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--av-space-sm);
    height: 2.5rem;
}

@media (max-width: 480px) {
    .av-topbar {
        font-size: 0.7rem;
    }

    .av-topbar__item--hours span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 46vw;
        display: inline-block;
    }
}

.av-topbar__item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.av-topbar a {
    color: var(--av-color-text-on-dark);
}

.av-topbar__item--emergency {
    color: var(--av-color-accent-light);
    font-weight: 600;
}

@media (max-width: 900px) {
    .av-topbar__item--emergency {
        display: none;
    }
}

/* backdrop-filter namerno izostavljen: na roditelju sa position:fixed decom
   (mobile nav panel) pretvara "fixed" u fixed-u-odnosu-na-ovaj-element umesto na
   viewport. Solid pozadina + shadow daju isti "sticky, izdvojen od sadržaja" utisak
   bez tog rizika. Overlay i panel su namerno deca ovog elementa (ne odvojeno u DOM-u)
   da dele isti stacking context i njihov međusobni z-index bude pouzdan. */
.av-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--av-color-light);
    box-shadow: 0 4px 20px rgba(15, 27, 38, 0.08), 0 1px 2px rgba(15, 27, 38, 0.06);
    transition: box-shadow 0.35s var(--av-ease), background 0.35s var(--av-ease);
}

.av-header.is-scrolled {
    background: rgba(246, 250, 252, 0.98);
    box-shadow: 0 12px 32px rgba(15, 27, 38, 0.1), 0 2px 8px rgba(15, 27, 38, 0.06);
}

.av-header.is-scrolled .av-nav {
    height: 4.25rem;
}

.av-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    gap: var(--av-space-lg);
    transition: height 0.35s var(--av-ease);
}

.av-nav__right {
    display: flex;
    align-items: center;
    gap: var(--av-space-lg);
    margin-left: auto;
}

.av-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--av-font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--av-color-dark);
}

.av-nav__logo-img {
    max-height: 62px;
    max-width: 220px;
    width: auto;
    height: auto;
}

.av-nav__links ul {
    display: flex;
    align-items: center;
    gap: var(--av-space-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.av-nav__links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--av-color-text-muted);
}

.av-nav__links a:hover {
    color: var(--av-color-dark);
}

.av-nav__links li.current-menu-item > a,
.av-nav__links li.current_page_item > a {
    color: var(--av-color-accent);
}

.av-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.av-nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--av-color-dark);
}

.av-nav__cta-mobile,
.av-nav__links-head {
    display: none;
}

@media (max-width: 900px) {
    .av-nav__cta-desktop {
        display: none;
    }

    .av-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 27, 38, 0.45);
        backdrop-filter: blur(2px);
        z-index: 59;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s var(--av-ease);
    }

    .av-nav-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .av-nav__links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        background: var(--av-color-light);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0.25rem;
        box-shadow: -16px 0 48px rgba(15, 27, 38, 0.18);
        transform: translateX(100%);
        opacity: 1;
        pointer-events: none;
        transition: transform 0.4s var(--av-ease);
        z-index: 60;
        overflow-y: auto;
    }

    .av-nav__links.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .av-nav__links-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
    }

    .av-nav__links-title {
        font-family: var(--av-font-heading);
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--av-color-dark);
    }

    .av-nav__links-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 50%;
        background: var(--av-color-surface-alt);
        color: var(--av-color-dark);
        transition: background var(--av-transition-fast), transform var(--av-transition-fast);
    }

    .av-nav__links-close:hover {
        background: var(--av-color-dark);
        color: var(--av-color-light);
        transform: rotate(90deg);
    }

    .av-nav__links ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .av-nav__links li a {
        display: block;
        padding: 0.9rem 0.25rem;
        font-size: 1.05rem;
    }

    .av-nav__cta-mobile {
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .av-nav-toggle {
        display: flex;
        background-color: transparent !important;
    }
    .av-nav__links-close {
         background-color: transparent !important;
         position: absolute;
        right: 10px;
        top: 10px;
    }
    span.av-nav__links-title {
        display: none;
    }
    button.av-nav-toggle :focus,
    button.av-nav-toggle :hover {
        background: none;
    }
    button.av-nav__links-close :focus,
    button.av-nav__links-close :hover {
        background: none;
    }

    .av-topbar .av-topbar__item--location {
        display: none;
    }
}

/* =========================================================
   HERO
   ========================================================= */

.av-hero {
    position: relative;
    overflow: hidden;
    padding: var(--av-space-xl) 0;
    background: var(--av-color-light);
}

.av-hero--bg {
    /* Fallback dok nema slike/videa: tamna ink pozadina sa cyan sjajem, da beli tekst uvek ima kontrast. Slika je preko (position:absolute). */
    background:
        radial-gradient(ellipse at 80% 20%, rgba(76, 195, 232, 0.28), transparent 55%),
        linear-gradient(135deg, var(--av-color-dark) 0%, #123B52 100%);
}

.av-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--av-space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .av-hero__grid {
        grid-template-columns: 1fr;
    }
}

.av-hero__image {
    position: relative;
    border-radius: var(--av-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--av-color-surface-alt);
    box-shadow: var(--av-shadow-lg);
}

.av-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-hero__badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--av-color-surface);
    padding: 1rem 1.25rem;
    border-radius: var(--av-radius-md);
    box-shadow: var(--av-shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.av-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: var(--av-space-md);
    padding-top: var(--av-space-md);
    margin-top: var(--av-space-md);
    border-top: 1px solid var(--av-color-border);
}

.av-hero__metric-value {
    display: block;
    font-family: var(--av-font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--av-color-dark);
    line-height: 1;
}

.av-hero__metric-label {
    font-size: 0.8rem;
    color: var(--av-color-text-muted);
}

@media (max-width: 480px) {
    .av-hero__metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--av-space-sm);
    }

    .av-hero__metric-value {
        font-size: 1.35rem;
    }

    .av-hero__metric-label {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}

/* ---------- Hero — 3 varijante (fullscreen / dvokolonski / centrirani) ---------- */
.av-hero p { color: var(--av-color-text-muted); }
.av-hero__bg-overlay--img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.av-hero__bg-scrim {
    position: absolute;
    inset: 0;
}
.av-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.av-hero--bg {
    /* Podstranice: niži hero da sadržaj bude odmah ispod. Početna dobija pun ekran (pravilo ispod). */
    min-height: 460px;
    display: flex;
    align-items: center;
}
.av-hero--bg .av-hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.av-hero--bg .av-hero__grid > div:first-child { max-width: 100%; width: 100%; }
.av-hero--bg .av-hero__grid > div:first-child > div { justify-content: center; }
.av-hero--bg .av-hero__metrics { margin-left: auto; margin-right: auto; }
.av-hero--bg .av-eyebrow {
    color: var(--av-color-accent-light);
    text-shadow: none;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}
.av-hero--bg h1 {
    color: var(--av-color-text-on-dark);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}
.av-hero--bg p {
    color: rgba(246, 250, 252, 0.92);
    text-shadow: 0 1px 12px rgba(0,0,0,0.6);
    font-size: 1.15rem;
    max-width: 560px;
}
.av-hero--bg .av-hero__metric-label { color: rgba(246, 250, 252, 0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.av-hero--bg .av-hero__metric-value { color: var(--av-color-text-on-dark); text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.av-hero--bg .av-hero__metrics { border-color: var(--av-color-border-dark); }
.av-hero--bg .av-btn--secondary {
    background: var(--av-color-accent-light);
    color: var(--av-color-dark);
    border: 1.5px solid var(--av-color-accent-light);
}
.av-hero--bg .av-btn--secondary:hover {
    background: transparent;
    color: var(--av-color-text-on-dark);
    border-color: var(--av-color-text-on-dark);
}
/* Početna: hero zauzima ceo prvi ekran (minus topbar i meni). vh je fallback za starije browsere. */
.home .av-hero--bg,
.page-template-page-pocetna .av-hero--bg {
    min-height: 600px;
    min-height: calc(100vh - 7.5rem);
    min-height: calc(100svh - 7.5rem);
}

@media (max-width: 900px) {
    .home .av-hero--bg,
    .page-template-page-pocetna .av-hero--bg {
        min-height: 560px;
        min-height: calc(100svh - 6.5rem);
    }
}

.av-hero--centered .av-hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.av-hero--centered .av-hero__grid > div:first-child {
    max-width: 100%;
    width: 100%;
}
.av-hero--centered .av-hero__metrics { justify-content: center; margin-left: auto; margin-right: auto; }
.av-hero--centered .av-hero__grid > div:first-child > div { justify-content: center; }
.av-hero--centered h1,
.av-hero--centered .av-eyebrow { text-shadow: 0 2px 10px rgba(0,0,0,0.25); }

/* Fullscreen hero na mobile: sve centrirano (naslov/label/tekst), dugme ostaje kako je pozicionirano */
@media (max-width: 900px) {
    .av-hero--bg { min-height: 420px; padding: var(--av-space-lg) 0; }
    .av-hero--bg .av-hero__grid { text-align: center; }
    .av-hero--bg .av-hero__grid > div:first-child { max-width: 100%; margin: 0 auto; }
    .av-hero--bg .av-eyebrow { padding-left: 0; justify-content: center; }
    .av-hero--bg .av-eyebrow::before { display: none; }
    .av-hero--bg p { margin-left: auto; margin-right: auto; }
    .av-hero--bg h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
}

.av-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: var(--av-space-md);
    background: var(--av-color-surface-alt);
    border-radius: var(--av-radius-lg);
}

.av-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--av-color-surface);
    color: var(--av-color-accent);
    margin-bottom: 0.25rem;
}

.av-stat__value {
    font-family: var(--av-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--av-color-dark);
    line-height: 1;
}

.av-stat__label {
    font-size: 0.85rem;
    color: var(--av-color-text-muted);
}

/* ---------- Stat kartice (Naš tim) — brojevi se odbrojavaju kad uđu u vidno polje ---------- */
.av-statcards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.75rem;
}

.av-statcard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.1rem 1.1rem;
    background: var(--av-color-surface);
    border: 1px solid var(--av-color-border);
    border-radius: var(--av-radius-md);
    box-shadow: var(--av-shadow-sm);
    overflow: hidden;
}

.av-statcard::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--av-color-accent), var(--av-color-accent-light));
}

.av-statcard__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--av-color-surface-alt);
    color: var(--av-color-accent);
    margin-bottom: 0.4rem;
}

.av-statcard__value {
    font-family: var(--av-font-heading);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1;
    color: var(--av-color-dark);
    font-variant-numeric: tabular-nums;
}

.av-statcard__label {
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--av-color-text-muted);
}

@media (max-width: 640px) {
    .av-statcards { grid-template-columns: 1fr; }
    .av-statcard { flex-direction: row; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; }
    .av-statcard__icon { margin-bottom: 0; flex-shrink: 0; }
    .av-statcard__label { margin-left: auto; text-align: right; }
}

/* =========================================================
   FAQ SPLIT VIZUAL (slika + floating badge kartice)
   ========================================================= */

.av-faq-visual {
    position: relative;
}

.av-faq-visual__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--av-radius-lg);
    box-shadow: var(--av-shadow-lg);
    display: block;
}

.av-faq-visual__img--placeholder {
    background: var(--av-color-surface-alt);
}

.av-faq-visual__badges {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .av-faq-visual__badges {
        position: static;
        margin-top: 1rem;
    }

    .av-faq-visual {
        position: static !important;
    }
}

/* =========================================================
   PARTNER / OPREMA LOGO TRAKA
   ========================================================= */

.av-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--av-space-lg);
}

.av-logos__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--av-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--av-color-text-muted);
    opacity: 0.7;
    transition: opacity var(--av-transition-fast);
}

.av-logos__item:hover {
    opacity: 1;
}

.av-logos__item .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--av-color-accent);
}

@media (max-width: 640px) {
    .av-logos {
        gap: var(--av-space-md);
    }
}

/* =========================================================
   NEWSLETTER STRIP (upsell demo — vidi footer.php)
   ========================================================= */

.av-newsletter {
    padding: var(--av-space-lg) 0;
}

.av-newsletter__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--av-space-md);
}

.av-newsletter__text h3 {
    color: var(--av-color-text-on-dark);
    margin: 0.35rem 0;
}

.av-newsletter__text p {
    color: var(--av-color-text-on-dark-muted);
    font-size: 0.9rem;
    max-width: 32rem;
}

.av-newsletter__form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.av-newsletter__form input[type="email"] {
    padding: 0.75rem 1.1rem;
    border-radius: var(--av-radius-pill);
    border: 1px solid var(--av-color-border-dark);
    background: rgba(246, 250, 252, 0.06);
    color: var(--av-color-text-on-dark);
    min-width: 16rem;
    font-family: var(--av-font-body);
}

.av-newsletter__form input[type="email"]::placeholder {
    color: var(--av-color-text-on-dark-muted);
}

.av-badge-upsell {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--av-color-dark);
    background: var(--av-color-accent-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--av-radius-pill);
}

@media (max-width: 640px) {
    .av-newsletter__form input[type="email"] {
        min-width: 0;
        flex: 1 1 auto;
    }
}

/* =========================================================
   PANORAMSKI BANNER (full-bleed foto pozadina + tamni overlay)
   ========================================================= */

.av-banner-panoramic {
    position: relative;
    width: 100%;
    min-height: 22rem;
    display: flex;
    align-items: center;
    background-color: var(--av-color-dark);
    background-size: cover;
    background-position: center;
}

.av-banner-panoramic__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 27, 38,0.95) 0%, rgba(15, 27, 38,0.75) 55%, rgba(15, 27, 38,0.35) 100%);
}

.av-banner-panoramic__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--av-space-lg);
    padding: var(--av-space-xl) var(--av-space-md);
}

.av-banner-panoramic__text {
    max-width: 34rem;
}

.av-banner-panoramic__text h2 {
    margin: 0.5rem 0 0.75rem;
}

.av-banner-panoramic__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .av-banner-panoramic {
        min-height: 0;
    }

    .av-banner-panoramic__inner {
        padding: var(--av-space-lg) var(--av-space-sm);
    }
}

/* =========================================================
   AWARDS / PRIZNANJA TABELA
   ========================================================= */

.av-awards-table {
    background: var(--av-color-surface-alt);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-sm) var(--av-space-md);
    overflow-x: auto;
}

.av-awards-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 640px;
}

.av-awards-table thead th {
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--av-color-text-muted);
    padding: 0.75rem;
    border-bottom: 1px solid var(--av-color-border);
}

.av-awards-table tbody td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--av-color-border);
    color: var(--av-color-text-muted);
}

.av-awards-table tbody tr:last-child td {
    border-bottom: none;
}

.av-awards-table__num {
    font-weight: 700;
    color: var(--av-color-accent);
}

.av-awards-table__naziv {
    font-weight: 600;
    color: var(--av-color-text);
}

.av-awards-table__godina {
    text-align: right;
    font-weight: 700;
    color: var(--av-color-accent);
}

/* =========================================================
   TRUST BADGE (ispod H1 na Kontakt stranici)
   ========================================================= */

.av-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--av-color-text);
    background: var(--av-color-surface-alt);
    padding: 0.45rem 0.9rem;
    border-radius: var(--av-radius-pill);
}

/* =========================================================
   MAPA — info traka + lebdeći bedž preko iframe-a
   ========================================================= */

.av-map-info-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--av-space-md);
    background: var(--av-color-dark);
    border-radius: var(--av-radius-lg) var(--av-radius-lg) 0 0;
    padding: var(--av-space-md);
}

.av-map-info-bar__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--av-color-text-on-dark);
}

.av-map-info-bar__item .material-symbols-outlined {
    color: var(--av-color-accent-light);
    flex-shrink: 0;
}

.av-map-info-bar__item strong {
    display: block;
    font-size: 0.85rem;
}

.av-map-info-bar__item p {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
}

.av-map-info-bar__item p a {
    color: var(--av-color-text-on-dark);
}

.av-map-wrap {
    position: relative;
    aspect-ratio: 21 / 8;
    overflow: hidden;
    border-radius: 0 0 var(--av-radius-lg) var(--av-radius-lg);
    box-shadow: var(--av-shadow-sm);
}

.av-map-wrap__badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(246, 250, 252, 0.95);
    backdrop-filter: blur(6px);
    padding: 0.75rem 1.1rem;
    border-radius: var(--av-radius-md);
    box-shadow: var(--av-shadow-md);
    max-width: 20rem;
}

.av-map-wrap__badge strong {
    display: block;
    font-size: 0.9rem;
    color: var(--av-color-text);
}

.av-map-wrap__badge span {
    font-size: 0.8rem;
    color: var(--av-color-text-muted);
}

.av-map-wrap__cta {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
}

@media (max-width: 900px) {
    .av-map-info-bar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .av-map-wrap {
        aspect-ratio: 4 / 5;
    }

    .av-map-wrap__badge {
        max-width: calc(100% - 2.5rem);
    }

    .av-map-wrap__cta {
        left: 1.25rem;
        right: 1.25rem;
        justify-content: center;
    }
}

/* =========================================================
   CARDS
   ========================================================= */

.av-card {
    background: var(--av-color-surface);
    border: 1px solid var(--av-color-border);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-md);
    box-shadow: var(--av-shadow-sm);
    transition: box-shadow var(--av-transition-base), transform var(--av-transition-base), border-color var(--av-transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Kartice u istom redu grida nemaju uvek isti broj redova teksta (npr. naslov u 1 vs 2 reda) —
   ovo drži dugmad/linkove poravnate na dnu bez ručnog podešavanja po stranici. */
.av-card > a:last-child,
.av-card > .av-btn:last-child,
.av-card > .av-card__meta {
    margin-top: auto;
}

.av-card:hover {
    box-shadow: var(--av-shadow-md);
    border-color: var(--av-color-accent-light);
    transform: translateY(-4px);
}

.av-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--av-color-surface-alt);
    color: var(--av-color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--av-space-sm);
}

/* Doktor kartica */
.av-doctor-card {
    background: var(--av-color-surface);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-sm);
    box-shadow: var(--av-shadow-sm);
    text-align: center;
    transition: box-shadow var(--av-transition-base);
    /* Kartice u redu iste visine, dugme zalepljeno za dno kartice */
    display: flex;
    flex-direction: column;
}

.av-doctor-card > .av-btn {
    margin-top: auto;
}

.av-doctor-card > p:last-of-type {
    margin-bottom: 1rem;
}

.av-doctor-card:hover {
    box-shadow: var(--av-shadow-md);
}

.av-doctor-card__photo {
    aspect-ratio: 4 / 5;
    border-radius: var(--av-radius-md);
    overflow: hidden;
    background: var(--av-color-surface-alt);
    margin-bottom: var(--av-space-sm);
}

.av-doctor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-doctor-card__role {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--av-color-accent);
    margin-bottom: 0.5rem;
}

/* Recenzija kartica */
.av-review-card {
    background: var(--av-color-surface);
    border: 1px solid var(--av-color-border);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-md);
    box-shadow: var(--av-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--av-space-sm);
    height: 100%;
}

/* ---------- Review slajder — 3 kartice vidljive, auto-scroll, pauza na hover ---------- */
.av-review-slider__viewport { overflow: hidden; }
.av-review-slider__track { display: flex; gap: 1.5rem; transition: transform 0.5s var(--av-ease); }
.av-review-slider__slide { flex: 0 0 calc(33.333% - 1rem); display: flex; }
.av-review-slider__slide .av-review-card { width: 100%; }
@media (max-width: 900px) { .av-review-slider__slide { flex-basis: calc(50% - 0.75rem); } }
@media (max-width: 640px) { .av-review-slider__slide { flex-basis: 100%; } }

.av-review-card__stars {
    color: var(--av-color-accent);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.av-review-card__quote {
    font-family: var(--av-font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--av-color-text);
}

.av-review-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.av-review-card__avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--av-color-accent-light);
    color: var(--av-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* =========================================================
   GOOGLE RATING BADGE
   ========================================================= */

.av-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--av-color-surface);
    padding: 0.75rem 1.25rem;
    border-radius: var(--av-radius-md);
    box-shadow: var(--av-shadow-sm);
}

.av-rating-badge__stars {
    color: var(--av-color-accent);
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.av-faq {
    background: var(--av-color-surface);
    border: 1px solid var(--av-color-border);
    border-radius: var(--av-radius-md);
    overflow: hidden;
    margin-bottom: 0.75rem;
    transition: border-color var(--av-transition-fast), box-shadow var(--av-transition-fast);
}

.av-faq[data-open="true"] {
    border-color: var(--av-color-accent);
    box-shadow: var(--av-shadow-md);
}

.av-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-family: var(--av-font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--av-color-dark);
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: pointer;
}

/* GeneratePress parent boji button:hover/:focus/:active sivo; pitanje ostaje bez hover/active stila. */
.av-faq__question:hover,
.av-faq__question:active,
.av-faq__question:focus {
    background: transparent;
    color: var(--av-color-dark);
    box-shadow: none;
}

.av-faq__question:focus-visible {
    outline: 2px solid var(--av-color-accent);
    outline-offset: -2px;
}

.av-faq__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--av-color-surface-alt);
    color: var(--av-color-accent);
    flex-shrink: 0;
    transition: background var(--av-transition-fast), color var(--av-transition-fast), transform var(--av-transition-fast);
}

.av-faq[data-open="true"] .av-faq__icon-wrap {
    background: var(--av-color-dark);
    color: var(--av-color-light);
    transform: rotate(180deg);
}

.av-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--av-transition-base);
    color: var(--av-color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.av-faq__answer-inner {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--av-color-border);
    margin-top: 0;
    padding-top: 1.25rem;
}

/* =========================================================
   BEFORE/AFTER SLIDER
   ========================================================= */

.av-compare {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--av-radius-lg);
    overflow: hidden;
    box-shadow: var(--av-shadow-md);
    aspect-ratio: 16 / 10;
    user-select: none;
}

.av-compare__after,
.av-compare__before {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.av-compare__before {
    width: 50%;
    overflow: hidden;
}

.av-compare__before-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    /* Širina i pozicija se postavljaju u JS-u (fiksni px, jednako širini .av-compare) —
       ne CSS %, jer % bi bio relativan prema promenljivoj širini ovog roditelja
       (.av-compare__before se skuplja/širi na drag) i slika bi "klizila"/zumirala se
       umesto da samo otkriva već fiksiranu pozadinsku sliku. */
    background-size: cover;
    background-position: center;
}

.av-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--av-color-surface);
    pointer-events: none;
}

.av-compare__handle-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--av-color-surface);
    box-shadow: var(--av-shadow-md);
}

.av-compare__slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
}

.av-compare__label {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--av-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--av-color-light);
    background: rgba(15, 27, 38, 0.85);
    backdrop-filter: blur(6px);
}

.av-compare__label--before { left: 1rem; }
.av-compare__label--after { right: 1rem; }

/* =========================================================
   VIDEO BANNER (full-bleed, poster + play + modal)
   ========================================================= */

.av-video-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    aspect-ratio: 32 / 9;
    max-height: 420px;
    overflow: hidden;
    background: var(--av-color-dark);
}

@media (max-width: 640px) {
    .av-video-banner {
        aspect-ratio: 16 / 9;
        max-height: 280px;
    }
}

.av-video-banner__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-video-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 27, 38,0.15), rgba(15, 27, 38,0.35));
}

.av-video-banner__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 1.5px solid var(--av-color-light);
    background: rgba(15, 27, 38, 0.35);
    backdrop-filter: blur(4px);
    color: var(--av-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--av-transition-fast), background var(--av-transition-fast);
}

.av-video-banner__play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(15, 27, 38, 0.55);
}

.av-video-banner__play .material-symbols-outlined {
    font-size: 2.25rem;
}

.av-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--av-transition-base);
}

.av-video-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.av-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 38, 0.9);
}

.av-video-modal__body {
    position: relative;
    width: min(90vw, 1100px);
    aspect-ratio: 16 / 9;
    z-index: 1;
}

.av-video-modal__player {
    width: 100%;
    height: 100%;
    background: #000;
}

.av-video-modal__player video,
.av-video-modal__player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.av-video-modal__close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--av-color-surface);
    color: var(--av-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   CONTACT / BOOKING FORM
   ========================================================= */

.av-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--av-space-lg);
    align-items: start;
}

@media (max-width: 900px) {
    .av-contact-grid {
        grid-template-columns: 1fr;
    }
}

.av-form {
    background: var(--av-color-surface);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-md);
    box-shadow: var(--av-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--av-space-sm);
}

.av-form label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.4rem;
}

.av-form input,
.av-form select,
.av-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--av-radius-sm);
    border-width: 1.5px;
    border-style: solid;
    border-color: rgba(15, 27, 38, 0.28) !important;
    background: var(--av-color-surface);
    font-family: var(--av-font-body);
    font-size: 0.95rem;
    color: var(--av-color-text);
    transition: border-color var(--av-transition-fast);
}

.av-form input:hover,
.av-form select:hover,
.av-form textarea:hover {
    border-color: rgba(15, 27, 38, 0.45) !important;
}

.av-form input:focus,
.av-form select:focus,
.av-form textarea:focus {
    border-color: var(--av-color-accent) !important;
    outline: 2px solid var(--av-color-accent);
    outline-offset: 0;
}

.av-form__status {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem;
    border-radius: var(--av-radius-sm);
    background: var(--av-color-surface-alt);
    color: var(--av-color-text);
    margin: 0;
}

.av-form__status.is-error {
    background: #ffdad6;
    color: #410002;
}

.av-form__error {
    display: block;
    min-height: 1.1em;
    font-size: 0.8rem;
    color: #ba1a1a;
    margin-top: 0.3rem;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity var(--av-transition-fast), transform var(--av-transition-fast);
}

.av-form__error:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}

.av-form input.is-invalid,
.av-form select.is-invalid,
.av-form textarea.is-invalid {
    border-color: #ba1a1a !important;
}

.av-form input.is-invalid:focus,
.av-form select.is-invalid:focus,
.av-form textarea.is-invalid:focus {
    outline-color: #ba1a1a;
}

/* Calendly CTA — vizuelno odvojen od "Pošaljite upit" forme (akcentna traka, ne
   isti dugme stil), da bude jasno da su to dva različita puta do zakazivanja. */
.av-calendly-cta {
    display: flex;
    align-items: center;
    gap: var(--av-space-sm);
    background: var(--av-color-dark);
    border-radius: var(--av-radius-lg);
    padding: var(--av-space-sm) var(--av-space-md);
    box-shadow: var(--av-shadow-md);
}

.av-calendly-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--av-color-accent-light);
    color: var(--av-color-dark);
    flex-shrink: 0;
}

.av-calendly-cta__text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    color: var(--av-color-text-on-dark);
}

.av-calendly-cta__text strong {
    font-family: var(--av-font-heading);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.av-calendly-cta__text span {
    font-size: 0.85rem;
    color: var(--av-color-text-on-dark-muted);
    margin-top: 5px;
}
.av-calendly-cta__text strong span{
    color: var(--av-color-dark);
}
.av-calendly-cta__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--av-color-accent-light);
    color: var(--av-color-dark);
    padding: 0.2rem 0.6rem;
    border-radius: var(--av-radius-sm);
}

.av-calendly-cta__divider {
    text-align: center;
    font-size: 0.8rem;
    color: var(--av-color-text-muted);
    margin: 1rem 0 0;
}

@media (max-width: 640px) {
    .av-calendly-cta {
        flex-wrap: wrap;
        text-align: center;
    }

    .av-calendly-cta__text {
        flex-basis: 100%;
        align-items: center;
    }

    .av-calendly-cta button {
        width: 100%;
        justify-content: center;
    }
}

.av-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--av-space-sm);
}

.av-contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: var(--av-color-surface);
    border-radius: var(--av-radius-md);
    padding: 1.25rem;
    box-shadow: var(--av-shadow-sm);
}

.av-contact-info__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--av-color-dark);
    color: var(--av-color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.av-contact-info__item a,
.av-contact-info__item a:visited {
    color: var(--av-color-dark);
    font-weight: 600;
}

.av-contact-info__item a:hover {
    color: var(--av-color-accent);
}

.av-contact-info__item a:focus-visible {
    color: var(--av-color-accent);
    outline: 2px solid var(--av-color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.av-footer {
    padding: var(--av-space-lg) 0 var(--av-space-md);
}

.av-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--av-space-md);
    padding-bottom: var(--av-space-md);
}

@media (max-width: 900px) {
    .av-footer__top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .av-footer__top {
        grid-template-columns: 1fr;
    }
}

.av-footer__col-title {
    display: block;
    font-weight: 700;
    color: var(--av-color-text-on-dark);
    margin-bottom: 0.75rem;
}

.av-footer__col-links li {
    list-style: none;
}

.av-footer a,
.av-footer a:visited {
    color: var(--av-color-text-on-dark-muted);
    display: block;
    padding: 0.25rem 0;
}

.av-footer a:hover {
    color: var(--av-color-accent-light);
}

.av-footer a:focus-visible {
    color: var(--av-color-accent-light);
    outline: 2px solid var(--av-color-accent-light);
    outline-offset: 2px;
    border-radius: 2px;
}

.av-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--av-space-sm);
    padding-top: var(--av-space-md);
    border-top: 1px solid var(--av-color-border-dark);
    font-size: 0.85rem;
    color: var(--av-color-text-on-dark-muted);
    flex-wrap: wrap;
}

.av-footer__legal {
    display: flex;
    gap: var(--av-space-sm);
}

/* =========================================================
   SKIP LINK
   ========================================================= */

.av-skip-link {
    position: absolute;
    top: -3rem;
    left: 1rem;
    z-index: 9999;
    background: var(--av-color-dark);
    color: var(--av-color-text-on-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--av-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top var(--av-transition-fast);
}

.av-skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--av-color-accent-light);
    outline-offset: 2px;
}

/* =========================================================
   MISC
   ========================================================= */

.av-breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--av-color-text-muted);
    margin-bottom: 0.75rem;
}

.av-breadcrumb a {
    color: var(--av-color-text-muted);
}

.av-page-header {
    text-align: center;
    padding: var(--av-space-lg) 0 var(--av-space-md);
}

.av-legal {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: var(--av-space-lg);
}

.av-legal h2 {
    font-size: 1.35rem;
    margin: var(--av-space-md) 0 0.6rem;
}

.av-legal h2:first-child {
    margin-top: 0;
}

.av-legal p {
    color: var(--av-color-text-muted);
    line-height: 1.7;
    margin: 0 0 var(--av-space-sm);
}

.av-legal ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 var(--av-space-sm);
    color: var(--av-color-text-muted);
    line-height: 1.7;
}

.av-legal li {
    margin-bottom: 0.4rem;
}

.av-legal strong {
    color: var(--av-color-text);
}

.av-scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--av-color-dark);
    color: var(--av-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--av-shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--av-transition-fast), transform var(--av-transition-fast);
    z-index: 40;
    padding: 0;
}

.av-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Scroll reveal */
.av-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--av-ease), transform 0.6s var(--av-ease);
}

.av-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .av-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .av-form__error {
        transition: none;
        transform: none;
    }
}
