/* ============================================================
   BASE / SPOLOČNÉ PRAVIDLÁ
   Fonty, farby, navigácia, päta, spoločné hero a CTA.
   Riadky služieb a portfólio odkaz zdieľa homepage a 3v1.
   ============================================================ */

/* Outfit - latin-ext (for Slovak characters) */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Outfit - latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/outfit-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;
}

/* Inter - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter - latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/inter-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;
}

:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #42A5F5;
    --accent: #FF8C42;
    --accent-hover: #E67300;
    --black: #0A0A0A;
    --dark: #111111;
    --gray-dark: #1E1E1E;
    --gray: #2D2D2D;
    --gray-light: #888888;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --cream: #FAFAFA;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes drawLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(10px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(10px) rotate(-360deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ===== NAVIGATION: FLOATING GLASS + FULLSCREEN MOBILE ===== */
.navbar {
    --nav-glass: rgba(10, 13, 18, .48);
    --nav-filter: blur(22px) saturate(125%) brightness(.8);
    --nav-edge: rgba(255, 255, 255, .15);
    position: fixed;
    z-index: 1200;
    top: 14px;
    left: 50%;
    right: auto;
    width: min(calc(81.5% + 40px), 1600px);
    transform: translateX(-50%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 22px;
    background: none;
    isolation: isolate;
}

.navbar[data-nav-theme="light"],
.mobile-menu[data-nav-theme="light"] {
    --nav-glass: rgba(238, 243, 250, .13);
    --nav-filter: blur(24px) saturate(110%) brightness(.32);
    --nav-edge: rgba(255, 255, 255, .35);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border: 1px solid var(--nav-edge);
    border-radius: inherit;
    background: var(--nav-glass);
    backdrop-filter: var(--nav-filter);
    -webkit-backdrop-filter: var(--nav-filter);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 8px 28px rgba(0, 0, 0, .08);
    opacity: 0;
    transition: opacity .3s ease, background .35s ease, border-color .35s ease;
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-logo {
    display: inline-flex;
    flex: 0 0 auto;
    gap: .8rem;
    align-items: center;
    color: var(--white);
    font: 600 1.1rem 'Outfit', sans-serif;
    white-space: nowrap;
}

.nav-logo img {
    width: auto;
    height: 38px;
    filter: brightness(0) invert(1);
}

.nav-links {
    position: absolute;
    inset: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(.65rem, 1.3vw, 1.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.nav-links>li {
    pointer-events: auto;
}

.nav-links>li:last-child {
    position: absolute;
    right: 0;
}

.nav-links>li>a,
.nav-links>li>button {
    color: var(--white);
    font: 500 clamp(.78rem, .95vw, .95rem)/1.3 'Outfit', sans-serif;
    letter-spacing: .015em;
    padding: .8rem .1rem;
    background: none;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links>li>a:hover,
.nav-links>li>button:hover {
    color: var(--accent);
}

/* Navigation CTA — white outline at the top, liquid glass after scrolling. */
.navbar .nav-links .nav-cta,
.mobile-menu .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white);
    padding: .7rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    border: 2px solid var(--white);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--transition-smooth);
}

.navbar .nav-links .nav-cta::after,
.mobile-menu .nav-cta::after {
    display: none !important;
}

.nav-cta-arrow {
    display: none;
}

.navbar .nav-links .nav-cta:hover,
.mobile-menu .nav-cta:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.navbar.scrolled .nav-links .nav-cta,
body:has(.navbar.scrolled) .mobile-menu .nav-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 140, 66, .09));
    border-color: rgba(255, 255, 255, .28);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 4px 16px rgba(0, 0, 0, .12);
}

.navbar.scrolled .nav-links .nav-cta:hover,
body:has(.navbar.scrolled) .mobile-menu .nav-cta:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 140, 66, .16));
    border-color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 5px 20px rgba(0, 0, 0, .16);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

    .navbar.scrolled .nav-links .nav-cta,
    body:has(.navbar.scrolled) .mobile-menu .nav-cta {
        background: rgba(32, 32, 32, .95);
    }
}

@media (prefers-reduced-motion: reduce) {

    .navbar .nav-links .nav-cta,
    .mobile-menu .nav-cta {
        transition: none;
    }

    .navbar .nav-links .nav-cta:hover,
    .mobile-menu .nav-cta:hover {
        transform: none;
    }
}

.navbar :is(a, button):focus-visible,
.mobile-menu :is(a, button):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

/* Dropdown: shared visual language on desktop and mobile. */
.nav-dropdown {
    position: relative;
}

.nav-dropdown> :is(a, button) {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform .25s ease;
}

.nav-dropdown.dropdown-active> :is(a, button) .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    width: 290px;
    transform: translate(-50%, 8px);
    list-style: none;
    padding: .6rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 16px;
    background: rgba(16, 19, 24, .96);
    box-shadow: 0 16px 45px #0004;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s, transform .22s, visibility .22s;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}

.nav-dropdown.dropdown-active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a,
.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem .8rem;
    border-radius: 9px;
    color: var(--white);
    font: 400 .9rem/1.35 'Outfit', sans-serif;
    transition: background .2s ease;
}

.dropdown-menu a svg,
.mobile-dropdown-menu a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--primary-light);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.mobile-dropdown-menu a:hover {
    background: rgba(66, 165, 245, .12);
}

.dropdown-menu a[aria-current="page"],
.mobile-dropdown-menu a[aria-current="page"] {
    background: rgba(66, 165, 245, .14);
}

.dropdown-separator,
.mobile-dropdown-separator {
    height: 1px;
    margin: .35rem .8rem;
    background: rgba(255, 255, 255, .15);
}

.dropdown-best-deal a,
.mobile-dropdown-best-deal a {
    background: rgba(255, 140, 66, .09);
}

.dropdown-best-deal a svg,
.mobile-dropdown-best-deal a svg {
    color: var(--accent);
}

.best-deal-badge {
    margin-left: auto;
    font: 500 .6rem 'Outfit', sans-serif;
    letter-spacing: .06em;
    color: var(--accent);
}

.best-deal-badge svg {
    display: none;
}

/* Mobile menu uses the whole viewport, with its first link level with X. */
.mobile-menu-overlay {
    display: none;
}

.mobile-menu {
    --nav-glass: rgba(10, 13, 18, .72);
    --nav-filter: blur(26px) saturate(115%) brightness(.55);
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: max(20px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: var(--nav-glass);
    backdrop-filter: var(--nav-filter);
    -webkit-backdrop-filter: var(--nav-filter);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s, visibility .25s, transform .25s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.mobile-menu>ul {
    width: min(100%, 700px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.mobile-menu>ul>li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.mobile-menu>ul>li:first-child {
    padding-right: 64px;
}

.mobile-menu>ul>li>a,
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 1rem 0;
    border: 0;
    background: none;
    text-align: left;
    color: var(--white);
    font: 500 clamp(1.25rem, 4.7vw, 1.7rem)/1.2 'Outfit', sans-serif;
    cursor: pointer;
}

.mobile-menu>ul>li:last-child {
    border: 0;
    padding-top: 1.4rem;
}

.mobile-menu .nav-cta {
    min-height: 52px;
    padding: .9rem 1.4rem;
    justify-content: center;
    font-size: 1rem;
}

.mobile-dropdown-toggle>svg {
    width: 18px;
    height: 18px;
    transition: transform .25s;
}

.mobile-dropdown.open .mobile-dropdown-toggle>svg {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: .5rem;
    margin: 0 0 1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(10, 13, 18, .35);
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    margin: 0;
}

.mobile-dropdown-menu a {
    min-height: 46px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 23px;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s, opacity .25s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

body.menu-open .navbar {
    pointer-events: none;
}

body.menu-open .navbar::before {
    opacity: 0;
}

body.menu-open .navbar .nav-logo {
    visibility: hidden;
}

body.menu-open .mobile-menu-btn {
    pointer-events: auto;
    position: fixed;
    top: max(6px, calc(env(safe-area-inset-top) - 14px));
    right: 12px;
}

@media (max-width: 1280px) and (min-width: 1101px) {
    .nav-logo span {
        display: none;
    }
}

@media (max-width: 1100px) {
    .navbar {
        width: calc(100% - 32px);
        top: max(12px, env(safe-area-inset-top));
        padding: 7px 12px;
        border-radius: 18px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 34px;
    }
}

@media (min-width: 1101px) {
    .mobile-menu {
        display: none;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

    .navbar.scrolled::before,
    .dropdown-menu,
    .mobile-menu {
        background: rgba(24, 27, 32, .96);
    }
}

@media (prefers-reduced-motion: reduce) {

    .navbar::before,
    .navbar *,
    .mobile-menu,
    .mobile-menu * {
        transition: none !important;
    }
}

/* ===== AION: HERO PODĽA DODANÉHO NÁVRHU ===== */
@font-face {
    font-family: "Montserrat";
    src: url('../fonts/montserrat-extrabold.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

/* ===== SPOLOČNÉ HERO PODSTRÁNOK — homepage má vlastný systém vyššie ===== */
/* Tlačidlá hero používajú homepage aj všetky podstránky. */
.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.av-page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 78svh;
    padding: clamp(8.5rem, 12vw, 11rem) 0 clamp(2.5rem, 5vw, 5rem);
    background: #090909;
    border: 0;
}

.av-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 95% 10%, rgba(30, 136, 229, .13), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(255, 140, 66, .08), transparent 45%);
}

.av-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 70%);
    mask-image: linear-gradient(90deg, transparent 8%, #000 70%);
}

.avh-shell {
    position: relative;
    z-index: 1;
    width: 81.5%;
    max-width: 1560px;
    min-width: 0;
    margin-inline: auto;
}

.avh-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 2.5rem;
    font: 400 .75rem/1.5 'Outfit', sans-serif;
    letter-spacing: .035em;
    color: #999;
}

.avh-breadcrumb a {
    color: #aaa;
    text-decoration: none;
    transition: color .2s ease;
}

.avh-breadcrumb a:hover {
    color: var(--white);
}

.avh-breadcrumb [aria-current] {
    color: var(--accent);
}

.avh-breadcrumb>span[aria-hidden] {
    color: #666;
}

.av-page-hero .avh-title {
    max-width: 20ch;
    margin: 0 0 2rem;
    color: var(--white);
    font: 600 clamp(2.8rem, 6.6vw, 6.5rem)/1.04 'Outfit', sans-serif;
    letter-spacing: -.045em;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.av-page-hero .avh-outline {
    display: block;
    margin-top: .15em;
    color: transparent;
    background: none;
    font-family: "Montserrat", sans-serif;
    font-size: .78em;
    font-weight: 800;
    font-synthesis: none;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -.025em;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: clamp(.55px, .021em, 1.5px) var(--white);
}

/* Keep headings readable in older browsers without text-stroke support. */
@supports not (-webkit-text-stroke: 1px white) {
    html #home .hero-title .highlight,
    html .av-page-hero .avh-outline,
    html .av-legal-page .page-hero-title span,
    html .av-journal-page .page-hero-title .av-journal-outline,
    html .av-thanks-page .thank-you-title .highlight {
        color: var(--white) !important;
        -webkit-text-fill-color: var(--white) !important;
    }
}

.av-page-hero .avh-intro {
    max-width: 620px;
    margin: 0;
    font: 400 1rem/1.8 'Inter', sans-serif;
    color: #b5b5b5;
}

.av-page-hero .avh-intro strong {
    color: var(--white);
    font-weight: 500;
}

.avh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.avh-actions a {
    min-height: 48px;
    max-width: 100%;
    padding: .85rem 1.4rem;
    font-size: .95rem;
    line-height: 1.3;
    justify-content: center;
}

.avh-actions a>span {
    display: inline-flex;
    flex: 0 0 auto;
}

.avh-actions svg {
    width: 21px;
    height: 21px;
}

.avh-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.avh-bottom>p {
    color: #aaa;
    font: 300 .85rem/1.65 'Outfit', sans-serif;
}

.avh-bottom strong {
    font-weight: 500;
    color: var(--white);
}

.avh-about-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font: 400 .85rem/1.4 'Outfit', sans-serif;
    text-decoration: none;
}

.avh-about-link>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    transition: border-color .2s ease, color .2s ease;
    flex-shrink: 0;
}

.avh-about-link:hover,
.avh-about-link:hover>span {
    color: var(--accent);
    border-color: var(--accent);
}

.avh-breadcrumb a:focus-visible,
.avh-about-link:focus-visible,
.avh-actions a:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 5px;
}

/* Orby v okrajoch: jednoduchý materiál a pomalý pohyb ako na homepage. */
.avh-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.avh-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(1px);
    opacity: .14;
    animation: hero-orb-drift 20s ease-in-out infinite alternate;
}

.avh-orb--blue {
    width: clamp(70px, 9vw, 150px);
    aspect-ratio: 1;
    background: var(--primary);
    top: 18%;
    right: -3%;
}

.avh-orb--orange {
    width: clamp(30px, 3.5vw, 60px);
    aspect-ratio: 1;
    background: var(--accent);
    top: 57%;
    right: 5%;
    opacity: .18;
    animation-delay: -8s;
    animation-duration: 24s;
}

/* Kompozícia ukotvená nad spodným CTA: väčší oranžový orb, menší modrý vľavo. */
.avh-bottom .avh-orbs {
    inset: auto 0 calc(100% + 20px) auto;
    width: clamp(180px, 22vw, 300px);
    height: 190px;
    overflow: visible;
}

.avh-bottom .avh-orb--orange {
    display: block;
    top: auto;
    bottom: 42px;
    right: 28px;
    width: clamp(92px, 10vw, 148px);
    opacity: .16;
}

.avh-bottom .avh-orb--blue {
    top: auto;
    bottom: 12px;
    right: auto;
    left: 0;
    width: clamp(36px, 4vw, 56px);
    opacity: .2;
}

.av-thanks-page .avh-breadcrumb {
    justify-content: center;
    margin-bottom: 2rem;
}

.av-thanks-page .avh-orb--orange {
    right: -1%;
    top: 40%;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .av-page-hero .avh-bottom {
        margin-top: 190px;
    }
}

@media (max-width: 767px) {
    .av-page-hero {
        min-height: 78svh;
        padding: 8rem 0 2.5rem;
    }

    .avh-shell {
        width: calc(100% - 40px);
    }

    .avh-breadcrumb {
        margin-bottom: 2rem;
        font-size: .72rem;
    }

    .av-page-hero .avh-title {
        font-size: clamp(2.6rem, 9.6vw, 4.5rem);
        line-height: 1.08;
        margin-bottom: 1.5rem;
    }

    .av-page-hero .avh-intro {
        font-size: .95rem;
    }

    .avh-actions {
        gap: .75rem;
        margin-top: 1.5rem;
    }

    .avh-actions a {
        font-size: .88rem;
        padding: .8rem 1rem;
    }

    .avh-bottom {
        margin-top: 145px;
        gap: 1rem;
        align-items: center;
    }

    .avh-bottom>p,
    .avh-about-link {
        font-size: .75rem;
    }

    .avh-about-link {
        gap: .6rem;
    }

    .avh-about-link>span {
        width: 32px;
        height: 32px;
    }

    .avh-orb--blue {
        top: 4.5rem;
        right: -32px;
        width: 80px;
        opacity: .12;
    }

    .avh-orb--orange {
        display: none;
    }

    .avh-bottom .avh-orbs {
        bottom: calc(100% + 12px);
        width: 170px;
        height: 120px;
    }

    .avh-bottom .avh-orb--orange {
        display: block;
        width: 76px;
        bottom: 20px;
        right: 20px;
        opacity: .14;
    }

    .avh-bottom .avh-orb--blue {
        width: 30px;
        left: 12px;
        bottom: 0;
        opacity: .16;
    }
}

@media (max-width: 359px) {
    .avh-shell {
        width: calc(100% - 32px);
    }

    .avh-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .avh-bottom {
        flex-wrap: wrap;
    }

    .av-page-hero .avh-title {
        font-size: 2.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .avh-orb {
        animation: none;
    }
}

/* ===== SECTIONS COMMON ===== */
section {
    padding: 6rem 4%;
    position: relative;
}

/* ============================================================
   SPOLOČNÉ KOMPONENTY / DOMOV + 3V1
   Riadky služieb a odkaz na portfólio sú spoločné obom stránkam.
   ============================================================ */
/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--black);
    padding: 5rem 4%;
}

/* ===== HOME SERVICES: EDITORIAL ROWS ===== */
#services.av-services {
    background: var(--black);
    color: var(--white);
    padding: clamp(4.5rem, 7.5vw, 8rem) 0 !important;
    scroll-margin-top: 90px;
}

#services .av-services-shell {
    width: 81.5%;
    max-width: 1560px;
    margin-inline: auto;
}

#services .av-services-heading {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: clamp(2rem, 5vw, 6rem);
    margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

#services .av-services-label {
    margin: 0 0 1.5rem;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .12em;
}

#services #av-services-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.75rem, 4.5vw, 5.25rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.04em;
}

#services .av-services-intro {
    max-width: 28rem;
    justify-self: end;
    margin: 0 0 .25rem;
    color: #ADADAD;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

#services .av-services-list {
    border-top: 1px solid rgba(255, 255, 255, .2);
}

#services .av-service-row {
    --av-hover: var(--primary);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 3rem;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    min-height: clamp(10rem, 13vw, 14rem);
    padding: 2.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    text-decoration: none;
}

/* Farebná plocha sa rozvíja zľava doprava. */
#services .av-service-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--av-hover);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

#services .av-service-row h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5.2vw, 6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.045em;
    transition: color .25s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

#services .av-service-description {
    max-width: 35rem;
    margin: 0;
    color: #ADADAD;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    transition: color .25s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

#services .av-service-arrow {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: var(--white);
    transition: border-color .25s ease, color .25s ease;
}

#services .av-service-arrow svg {
    transition: transform .35s ease;
}

#services .av-service-row--bundle {
    --av-hover: var(--accent);
}

#services .av-service-row--bundle h3 {
    color: var(--accent);
}

#services .av-service-row:is(:focus-visible, :active)::before {
    transform: scaleX(1);
}

#services .av-service-row:is(:focus-visible, :active) h3,
#services .av-service-row:is(:focus-visible, :active) .av-service-description,
#services .av-service-row:is(:focus-visible, :active) .av-service-arrow {
    color: var(--white);
}

#services .av-service-row:is(:focus-visible, :active) .av-service-arrow {
    border-color: var(--white);
}

#services .av-service-row:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    #services .av-service-row:hover::before {
        transform: scaleX(1);
    }

    #services .av-service-row:hover h3,
    #services .av-service-row:hover .av-service-description {
        transform: translateX(16px);
    }

    #services .av-service-row:hover h3,
    #services .av-service-row:hover .av-service-description,
    #services .av-service-row:hover .av-service-arrow {
        color: var(--white);
    }

    #services .av-service-row:hover .av-service-arrow {
        border-color: var(--white);
    }

    #services .av-service-row:hover .av-service-arrow svg {
        transform: rotate(-45deg);
    }
}

@media (max-width: 1023px) {
    #services .av-services-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #services .av-services-intro {
        justify-self: start;
        max-width: 35rem;
    }

    #services .av-service-row {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    #services.av-services {
        padding-block: 4rem !important;
    }

    #services .av-services-shell {
        width: calc(100% - 40px);
        max-width: 620px;
    }

    #services .av-service-row {
        grid-template-columns: minmax(0, 1fr) 3rem;
        gap: 1rem;
        min-height: 0;
        padding: 2rem .5rem;
    }

    #services .av-service-row h3 {
        font-size: clamp(2rem, 8.5vw, 3.5rem);
    }

    #services .av-service-description {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    #services .av-service-arrow {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #services .av-services-shell {
        width: calc(100% - 64px);
    }
}

@media (max-width: 359px) {
    #services .av-services-shell {
        width: calc(100% - 32px);
    }

    #services #av-services-title {
        font-size: 2.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    #services .av-service-row::before,
    #services .av-service-row * {
        transition: none;
    }
}

/* Jednorazové odhalenie pri vstupe do obrazovky. */
@keyframes av-services-enter {
    from {
        opacity: 0;
        transform: translateY(72px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    #services .av-services-pending {
        opacity: 0;
    }

    #services .av-services-enter {
        animation: av-services-enter 1.1s cubic-bezier(.22, .61, .36, 1) var(--av-enter-delay, 0ms) backwards;
    }

    #services .av-services-pending:focus-within,
    #services .av-services-enter:focus-within {
        opacity: 1;
        animation: none;
    }
}

/* Odkaz na portfólio: spoločný pre homepage a 3v1. */
:is(#portfolio, #blog, .av-bundle) .av-work-all-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

:is(#portfolio, #blog, .av-bundle) .av-work-all-arrow svg {
    transition: transform .35s ease;
}

:is(#portfolio, #blog, .av-bundle) .av-work-all {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--av-work-cta-color, var(--black));
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.6rem);
    font-weight: 500;
}

:is(#portfolio, #blog, .av-bundle) .av-work-all-arrow {
    border: 1px solid #B5B5B5;
    transition: color .3s ease, background .3s ease, border-color .3s ease;
}

@media (hover: hover) and (pointer: fine) {
    :is(#portfolio, #blog, .av-bundle) .av-work-all:hover svg {
        transform: rotate(-45deg);
    }

    :is(#portfolio, #blog, .av-bundle) .av-work-all:hover .av-work-all-arrow {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    height: 560px;
    padding: 48px 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

@media (max-width: 900px) {
    .cta-section {
        height: 520px;
    }
}

@media (max-width: 600px) {
    .cta-btn {
        max-width: 100%;
        padding-inline: 1.5rem;
    }
}

@media (max-width: 359px) {
    .cta-section p {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: .95rem;
        padding-inline: 1.25rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    padding: 5rem 4% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    color: var(--gray-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.legal-links a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.legal-links a:hover {
    color: var(--accent);
}

.legal-links a:hover::after {
    width: 100%;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--black);
    padding: 11rem 4% 4rem;
    text-align: center;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.breadcrumb {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 1.8rem;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: var(--gray-light);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .sep {
    color: var(--gray-light);
    opacity: 0.4;
}

.breadcrumb .current {
    color: var(--accent);
}

.page-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.3rem;
}

.page-hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--gray-light);
    max-width: 640px;
    margin: 0 auto 2.2rem;
    font-weight: 300;
}

/* Hamburger sa zobrazí už pri 900px – predíde sa "rozhádzaniu" */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .legal-links {
        gap: 0.6rem;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
    }

    .legal-links a {
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    section {
        padding: 4rem 4%;
    }

    .page-hero {
        padding: 9rem 4% 3rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== LOADING ANIMATION ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.6s, visibility 0.6s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 80px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: var(--gray-dark);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: drawLine 1.5s ease-in-out infinite;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {

    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* ===== MOBILE: Reduced vertical padding in all sections ===== */
@media (max-width: 768px) {

    /* Base section{
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Services section */
    .services-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Portfolio section */
    .portfolio-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* CTA sections */
    .cta-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Footer */
    .footer {
        padding-top: 3rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Subpage hero */
    .page-hero {
        padding-top: 7rem !important;
        padding-bottom: 2rem !important;
        min-height: auto !important;
    }

    /* Contact page sections */
    .contact-form {
        padding: 1.5rem !important;
    }

    /* FAQ items */
    .faq-item {
        margin-bottom: 0.5rem !important;
    }

    .faq-question {
        padding: 1rem 1.3rem !important;
    }
}

/* Even smaller screens - extra tight */
@media (max-width: 380px) {

    section,
    .services-section,
    .portfolio-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .legal-links a {
        font-size: 0.65rem;
    }

    .page-hero {
        padding-top: 6rem !important;
        padding-bottom: 1.5rem !important;
    }

    .cta-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .footer {
        padding-top: 2.5rem !important;
        padding-bottom: 1rem !important;
    }
}

/* ===== SPOLOČNÁ TYPOGRAFIA PODSTRÁNOK — podľa homepage ===== */
body.av-subpage {
    font-family: 'Inter', sans-serif;
}

.av-subpage main :is(h1, h2, h3, h4, h5, h6, summary) {
    font-family: 'Outfit', sans-serif;
}

.av-subpage main section:not(.hero):not(.page-hero):not(.contact-hero):not(.cta-section):not(.kontakt-cta-section) h2 {
    font-size: clamp(2.75rem, 4.5vw, 5.25rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.av-subpage main :is(.avw-heading, .avb-heading, .avp-heading, .av3-heading)>p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

.av-subpage #home .hero-bottom-row::after {
    content: none;
}

.av-subpage :is(.hero, .page-hero, .contact-hero) {
    border-bottom: 0;
}

@media (max-width: 359px) {
    .av-subpage main section:not(.hero):not(.page-hero):not(.contact-hero):not(.cta-section):not(.kontakt-cta-section) h2 {
        font-size: 2.35rem;
    }
}

/* Riadkovanie: hlavné nadpisy 1.04, medzinadpisy 1.12, bežný text 1.8.
   Hero a CTA používajú nezmenené spoločné pravidlá z homepage. */
.av-subpage main section:not(.hero):not(.page-hero):not(.contact-hero):not(.cta-section):not(.kontakt-cta-section) :is(h3, h4) {
    line-height: 1.12;
}

.av-subpage main section:not(.hero):not(.page-hero):not(.contact-hero):not(.cta-section):not(.kontakt-cta-section) p:not([class*="label"]):not([class*="meta"]):not([class*="index"]):not([class*="tag"]) {
    line-height: 1.8;
}

.av-subpage main :is(.avw-scope-list, .avb-scope-list, .avp-details, .av3-packages) :is(summary, .av3-package-title, .av3-package-price) {
    line-height: 1.3;
}

.av-subpage main :is(.avw-section, .avb-section, .avp-section, .av3-section) li {
    line-height: 1.8;
}

/* ===== ĎAKUJEME — centrované potvrdenie ===== */
.av-thanks-page,
.av-legal-page {
    background: #090909;
}

/* Mobilné záverečné CTA — spoločné pre homepage aj všetky podstránky. */
@media (max-width: 767px) {

    .cta-section,
    .av-legal-page .av-legal-cta {
        height: auto;
        min-height: 340px;
        padding: 2.25rem 6% !important;
    }

    .cta-section h2 {
        margin-bottom: .8rem;
    }

    .cta-section p {
        margin-bottom: 1.4rem;
    }
}
