/* ============================================================
   Aeroklub Dubová – vlastné úpravy nad šablónou Udrone
   Zaoblenia, OSX tiene, animácie obrázkov, prepínače,
   shop, responzívny dizajn (MacBook Air / tablet / mobil)
   ============================================================ */

:root {
  --ak-radius: 18px;
  --ak-radius-sm: 12px;
  --ak-shadow: 0 22px 45px -18px rgba(20, 16, 60, .45), 0 8px 18px -12px rgba(20, 16, 60, .35);
  --ak-shadow-hover: 0 34px 70px -20px rgba(var(--primary-color-rgb), .55), 0 12px 26px -14px rgba(var(--primary-color-rgb), .4);
}

/* ---------- Zaoblené obrázky + OSX tieň + animácia ---------- */
main img:not(.logo-main):not(.logo-scroll):not(.logo-mobile):not(.jarallax-img):not(.d-item-separator):not(.social-icons img),
.ak-shadow-img img,
.ak-card img {
  border-radius: var(--ak-radius);
  box-shadow: var(--ak-shadow);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  will-change: transform;
}
main a:hover > img,
.ak-card:hover img,
.ak-shadow-img:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--ak-shadow-hover);
}
/* marquee logá nechceme zaoblené s tieňom */
.de-marquee-list-2 img { box-shadow: none !important; border-radius: 8px; }

/* ---------- Zaoblené tlačidlá + animácia ---------- */
.btn-main,
a.btn-main,
.btn-line,
.btn-border,
.wp-block-button__link,
button.btn-main,
.ak-btn {
  border-radius: 999px !important;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease !important;
}
.btn-main:hover,
a.btn-main:hover,
.ak-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(var(--primary-color-rgb), .5);
}
.form-control, input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=number], textarea, select {
  border-radius: var(--ak-radius-sm) !important;
}

/* ---------- Písmo VŠETKÝCH tlačidiel = biele ---------- */
.btn-main, a.btn-main, button.btn-main, input[type=button].btn-main,
a.btn-line, .btn-line, .ak-btn,
.btn-main span, a.btn-main span, .btn-main:hover, a.btn-main:hover {
  color: #fff !important;
}
/* outline tlačidlá dostanú magenta pozadie, aby bol biely text čitateľný aj na svetlom */
a.btn-line, .btn-line { background: var(--primary-color) !important; border-color: transparent !important; }
/* biele tlačidlo (na farebných CTA blokoch) – tmavý text kvôli čitateľnosti */
a.btn-main.btn-white, .btn-main.btn-white { background: #fff !important; color: #1b1556 !important; }

/* ---------- Hero video pozadie s plynulým crossfade ---------- */
.ak-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: #0d0a2a; }
.ak-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 2s ease-in-out;
  will-change: opacity; filter: grayscale(1) contrast(1.02) brightness(1.45);
}
/* nádych videa – len modrá (duotone bez magenty) */
.ak-hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, #7ec8ef, var(--tertiary-color));
  mix-blend-mode: color;
}
.ak-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(13,10,42,.18), rgba(13,10,42,.06) 40%, rgba(13,10,42,.3));
}

/* ---------- Hero obsah vycentrovaný na stred ---------- */
.ak-hero .container { position: relative; }
.ak-hero-logo { margin-left: auto; margin-right: auto; display: block; }
.ak-hero-title { margin: 18px auto 0; color: #fff; font-size: 4.6vw; }
@media (max-width: 991px) { .ak-hero-title { font-size: 2.4rem; } }
@media (max-width: 575px) { .ak-hero-title { font-size: 2rem; } }

/* ---------- Nadpisy sekcií = magenta (na tmavých/farebných ostanú biele) ---------- */
main h2 { color: var(--primary-color); }
.section-dark h2, section.bg-color h2, .bg-color h2, .ak-subheader h2,
.dark-scheme h2, .text-light h2, .ak-marquee h2 { color: #fff; }
/* span.id-color vnútri nadpisu ponecháme akcentový */
main h2 .id-color { color: var(--secondary-color); }

/* ---------- Bežiaci marquee pod hero = modrý pás, magenta text ---------- */
.ak-marquee { background: var(--secondary-color) !important; }
.ak-marquee .ak-mq { color: var(--primary-color) !important; }

/* ---------- Prepínače jazyka / témy ---------- */
.ak-switch {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid rgba(var(--primary-color-rgb),.25); border-radius: 999px;
  padding: 6px 12px; font-weight: 600; font-size: 13px; line-height: 1;
  background: rgba(255,255,255,.7); color: var(--primary-color); cursor: pointer;
}
.ak-lang a { color: rgba(var(--primary-color-rgb),.55); text-decoration: none; padding: 0 2px; }
.ak-lang a.active { color: var(--primary-color); }
.ak-theme { border: none; background: transparent; font-size: 18px; color: var(--primary-color); padding: 6px 8px; }
.dark-scheme .ak-switch { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.dark-scheme .ak-lang a { color: rgba(255,255,255,.6); }
.dark-scheme .ak-lang a.active { color: var(--primary-color); }
.dark-scheme .ak-theme { color: #fff; }

/* ---------- Košík badge ---------- */
.ak-cart { position: relative; font-size: 19px; color: var(--primary-color); padding: 6px 8px; text-decoration: none; }
.dark-scheme .ak-cart { color: #fff; }
.ak-cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  background: var(--secondary-color); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- Logo (reálne Aeroklub Dubová) – zachovať farby + jemný tieň ---------- */
#logo img { height: 56px; width: auto; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3)); }
footer .ak-footer-logo { width: auto; height: 90px; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .5)); }
@media (max-width: 575px) { #logo img { height: 46px; } }

/* Hero logo */
.ak-hero-logo { width: 220px; max-width: 60%; aspect-ratio: 230 / 185; height: auto; margin-bottom: 22px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
@media (max-width: 575px) { .ak-hero-logo { width: 150px; margin-bottom: 16px; } }

/* honeypot pole – skryté pred ľuďmi */
.ak-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Shop karty ---------- */
.ak-card {
  background: #fff; border-radius: var(--ak-radius); overflow: hidden;
  box-shadow: var(--ak-shadow); transition: transform .4s ease, box-shadow .4s ease;
  height: 100%; display: flex; flex-direction: column;
}
.ak-card:hover { transform: translateY(-8px); box-shadow: var(--ak-shadow-hover); }
.dark-scheme .ak-card { background: #171340; }
.ak-card .ak-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ak-card .ak-card-img { position: relative; overflow: hidden; }
.ak-card .ak-card-img img { width: 100%; border-radius: 0; box-shadow: none; aspect-ratio: 4/3; object-fit: cover; }
.ak-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: var(--secondary-color); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.ak-price { font-size: 24px; font-weight: 800; color: var(--primary-color); }
.dark-scheme .ak-price { color: #fff; }
.ak-price .ak-old { font-size: 15px; color: #aaa; text-decoration: line-through; font-weight: 500; margin-left: 8px; }
.ak-rating { color: #f4b400; font-size: 14px; }

/* kategórie filter */
.ak-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.ak-cats a {
  border: 1px solid rgba(var(--primary-color-rgb),.2); border-radius: 999px; padding: 8px 18px;
  color: var(--primary-color); text-decoration: none; font-weight: 600; font-size: 14px; transition: all .25s ease;
}
.ak-cats a.active, .ak-cats a:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.dark-scheme .ak-cats a { color: #fff; border-color: rgba(255,255,255,.2); }

/* ---------- Horné menu = magenta písmo ---------- */
header #mainmenu > li > a.menu-item { color: var(--primary-color) !important; }
header #mainmenu > li:hover > a.menu-item,
header #mainmenu > li > a.menu-item:hover { color: var(--secondary-color) !important; }

/* ---------- Horné menu vždy v JEDNOM riadku (desktop) ---------- */
@media (min-width: 992px) {
  header .de-flex { flex-wrap: nowrap; gap: 16px; }
  header .header-col-mid { flex: 1 1 auto; min-width: 0; }
  header #mainmenu { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; white-space: nowrap; }
  header #mainmenu > li { float: none; display: inline-flex; align-items: center; }
  header #mainmenu > li > a.menu-item { white-space: nowrap; }
  header .menu_side_area { flex-wrap: nowrap; white-space: nowrap; }
  /* submenu sa vždy otvára NADOL pod položku (flex parent inak posúva abs. dieťa) */
  header #mainmenu > li > ul { top: 100%; left: 0; margin-top: 0; }
  header #mainmenu > li > ul li { display: block; float: none; }
}
/* MacBook Air / užšie desktopy – kompaktné rozostupy, nech sa všetko zmestí do riadku */
@media (min-width: 992px) and (max-width: 1440px) {
  header #mainmenu { font-size: 12.5px; }
  header #mainmenu > li { margin-right: 16px; }
  header .menu_side_area { gap: 6px !important; }
  .ak-switch { padding: 5px 9px; font-size: 12px; }
  .ak-cart { font-size: 17px; padding: 5px 6px; }
}
@media (min-width: 992px) and (max-width: 1200px) {
  header #mainmenu > li { margin-right: 12px; }
  header .menu_side_area .btn-main { padding: 9px 16px; font-size: 12px; }
}

/* ---------- Hero (Home 4) – posunúť obsah nižšie pod hlavičku ---------- */
.ak-hero { display: flex; align-items: center; padding-top: 150px; padding-bottom: 90px; }
.ak-hero .container { width: 100%; }
@media (max-width: 991px) { .ak-hero { padding-top: 130px; padding-bottom: 60px; min-height: 640px; } }
@media (max-width: 575px) { .ak-hero { padding-top: 110px; padding-bottom: 50px; min-height: 560px; } }

/* ---------- Subheader (banner nadpisu stránky) ---------- */
.ak-subheader {
  position: relative; padding: 160px 0 80px; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
}
.ak-subheader .ak-sub-img { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .35; border-radius: 0; box-shadow: none; }
.ak-subheader h1 { position: relative; z-index: 2; }
.ak-subheader .ak-crumb { position: relative; z-index: 2; opacity: .85; }

/* ============================================================
   RESPONZÍVNY DIZAJN
   ============================================================ */

/* MacBook Air / bežné notebooky 1280–1512px */
@media (max-width: 1512px) {
  .fs-150 { font-size: 8.5vw; }
  .fs-120 { font-size: 7vw; }
  .fs-72 { font-size: 3.6rem; }
}
@media (min-width: 1200px) and (max-width: 1440px) {
  .container { max-width: 1140px; }
  h1 { font-size: 3.2rem; }
  .fs-150 { font-size: 118px; }
}

/* Tablet 768–1024px */
@media (max-width: 1024px) {
  section { padding: 70px 0; }
  .fs-150 { font-size: 13vw; line-height: .95; }
  .fs-120 { font-size: 12vw; }
  .fs-72 { font-size: 2.8rem; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .position-lg-absolute { position: relative !important; }
  .half-fluid .left-half, .half-fluid .right-half { position: relative !important; height: 320px !important; }
  .ak-subheader { padding: 130px 0 60px; }
}

/* Menšie tablety / veľké mobily */
@media (max-width: 768px) {
  section { padding: 55px 0; }
  .ak-card .ak-card-body { padding: 18px; }
  .de-flex { flex-wrap: wrap; }
  .ak-switch { padding: 5px 9px; font-size: 12px; }
  .menu_side_area { gap: 6px !important; }
}

/* Mobil 320–575px */
@media (max-width: 575px) {
  section { padding: 44px 0; }
  h1 { font-size: 2rem; line-height: 1.1; }
  h2 { font-size: 1.6rem; }
  .fs-150, .fs-120 { font-size: 15vw; line-height: 1; }
  .fs-72 { font-size: 2rem; }
  .display-1, .display-2 { font-size: 2.2rem; }
  .ak-subheader { padding: 110px 0 44px; }
  .ak-price { font-size: 20px; }
  .btn-main { padding: 12px 22px; }
  .spacer-double { height: 30px; }
  /* obrázky na mobile menší tieň (výkon) */
  main img { box-shadow: 0 12px 24px -14px rgba(20,16,60,.4); }
  .ak-cats { gap: 7px; }
  .ak-cats a { padding: 6px 13px; font-size: 13px; }
}

/* veľmi malé mobily */
@media (max-width: 360px) {
  h1 { font-size: 1.7rem; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   DIZAJNOVÝ POLISH – zjednotenie celého webu (wow)
   ============================================================ */

html { scroll-behavior: smooth; }
::selection { background: var(--primary-color); color: #fff; }

/* Kicker / subtitle – brandový s linkou */
.subtitle {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .18em; font-weight: 700;
  font-size: 13px; color: var(--primary-color);
}
.subtitle::before { content: ""; width: 30px; height: 2px; background: var(--primary-color); display: inline-block; }
.section-dark .subtitle, .text-light .subtitle, .dark-scheme .subtitle,
.ak-subheader .subtitle { color: #fff; }
.section-dark .subtitle::before, .text-light .subtitle::before { background: var(--secondary-color); }

/* Nadpisy – jemné zladenie */
h1, h2, h3 { letter-spacing: -.01em; }
h2 { margin-bottom: .5em; }

/* Tlačidlá – prémiový gradient + plynulý hover */
.btn-main:not(.btn-line):not(.btn-white),
a.btn-main:not(.btn-line):not(.btn-white),
button.btn-main:not(.btn-line) {
  background: linear-gradient(120deg, var(--primary-color), #b3134f) !important;
  box-shadow: 0 10px 24px -12px rgba(var(--primary-color-rgb), .65);
}
.btn-main:not(.btn-line):not(.btn-white):hover,
a.btn-main:not(.btn-line):not(.btn-white):hover {
  background: linear-gradient(120deg, var(--secondary-color), var(--primary-color)) !important;
}

/* Karty – jemný okraj + prehĺbenie obrazu pri hover */
.ak-card { border: 1px solid rgba(0, 0, 0, .05); }
.dark-scheme .ak-card { border-color: rgba(255, 255, 255, .06); }
.ak-card .ak-card-img { position: relative; }
.ak-card .ak-card-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 10, 42, .35));
  opacity: 0; transition: opacity .45s ease;
}
.ak-card:hover .ak-card-img::after { opacity: 1; }

/* Odkazy vo footeri – brandový hover */
footer a:hover { color: var(--primary-color) !important; }
footer .ul-style-2 a { transition: color .25s ease, padding-left .25s ease; }
footer .ul-style-2 a:hover { padding-left: 6px; }

/* Menu nad tmavým hero – čitateľnosť magenta písma */
header.transparent #mainmenu > li > a.menu-item { text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }

/* Formuláre – brandový focus */
.form-control:focus, input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), .15) !important;
  outline: none;
}

/* FAQ accordion – aktívny stav akcent */
.ak-accordion .accordion-button:not(.collapsed) { color: var(--primary-color); font-weight: 700; }
.ak-accordion .accordion-button { font-weight: 600; }

/* Sociálne ikony – brandový hover */
.social-icons a { transition: transform .25s ease, color .25s ease; }
.social-icons a:hover { transform: translateY(-3px); color: var(--primary-color) !important; }

/* Sekčný rytmus – vzdušnejšie sekcie na desktope */
@media (min-width: 992px) { section { padding: 96px 0; } }

/* Jemné zjednotenie: bunky parametrov v shope */
.ak-card small.text-muted { letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }

/* Scrollbar v brandových farbách */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }
::-webkit-scrollbar-track { background: rgba(var(--primary-color-rgb), .1); }

/* ---------- Subfooter: copyright | LUMA | odkazy v jednom riadku ---------- */
.ak-subfooter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ak-sf-left, .ak-sf-right { flex: 1 1 0; min-width: 200px; }
.ak-sf-right { text-align: right; }
.ak-sf-center { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; }
.ak-luma-credit {
  width: 200px; max-width: 60vw; opacity: .4;   /* svetlé (ako pri hover) */
  filter: brightness(0) invert(1);              /* biele */
  transition: opacity .35s ease;
}
.ak-luma-credit:hover { opacity: .65; }
.ak-version { font-size: 11px; letter-spacing: .1em; opacity: .4; align-self: flex-end; margin-bottom: 6px; }
@media (max-width: 767px) {
  .ak-sf-left, .ak-sf-right { flex: 1 1 100%; text-align: center; min-width: 0; }
  .ak-sf-center { order: 3; flex: 1 1 100%; margin-top: 10px; }
}

/* ============================================================
   PREMIUM VRSTVA – profesionálny, interaktívny vzhľad
   ============================================================ */

/* Scroll progress bar */
.ak-scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 9999; transition: width .1s linear;
  box-shadow: 0 0 12px rgba(var(--primary-color-rgb), .6);
}

/* Sticky header s blur po odscrollovaní */
header.transparent { transition: background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, padding .35s ease; }
body.ak-scrolled header.transparent {
  background: rgba(12, 9, 32, .72); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
body.ak-scrolled:not(.dark-scheme) header.transparent #mainmenu > li > a.menu-item { text-shadow: none; }

/* Tlačidlá – jemný „shine" prechod */
.btn-main { position: relative; overflow: hidden; }
.btn-main::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-main:hover::after { left: 140%; }

/* Karty – glass + gradient okraj pri hover */
.ak-card {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
  backdrop-filter: saturate(1.05);
}
.dark-scheme .ak-card { background: rgba(23, 19, 64, .55); backdrop-filter: blur(10px) saturate(1.1); }
.ak-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(var(--primary-color-rgb), .6), rgba(var(--secondary-color-rgb), .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease; z-index: 2;
}
.ak-card:hover::before { opacity: 1; }

/* Sekcie na tmavom podklade – jemné brandové žiary (nie hero/marquee) */
.section-dark { position: relative; overflow: hidden; }
.section-dark:not(.ak-hero):not(.ak-marquee)::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  top: -220px; right: -160px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(var(--primary-color-rgb), .22), transparent 68%);
  filter: blur(20px);
}
.section-dark:not(.ak-hero):not(.ak-marquee)::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  bottom: -220px; left: -160px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(var(--secondary-color-rgb), .2), transparent 68%);
  filter: blur(20px);
}
.section-dark .container { position: relative; z-index: 1; }

/* Gradientové zvýraznenie kľúčových slov + veľké čísla štatistík */
.ak-count, .id-color.fs-72, .fs-72.id-color {
  background: linear-gradient(120deg, #fff, var(--secondary-color));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Reveal utilita (doplnok k WOW) */
.ak-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.ak-reveal.ak-in { opacity: 1; transform: none; }

/* Hero nadpis – gradientový text */
.ak-hero-title {
  background: linear-gradient(120deg, #ffffff 30%, rgba(255,255,255,.75));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Odkazy s animovaným podčiarknutím (obsahové) */
.post-text a, .ak-card-body h4 a { background-image: linear-gradient(var(--primary-color), var(--primary-color)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease; }
.ak-card-body h4 a:hover { background-size: 100% 2px; }

/* ---------- Testimonials slider ---------- */
.ak-testi-swiper { padding: 10px 6px 60px; }
.ak-testi-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--ak-radius); padding: 34px 30px; height: 100%;
  backdrop-filter: blur(8px); position: relative; overflow: hidden;
}
.ak-testi-card .ak-quote {
  position: absolute; top: 6px; right: 22px; font-size: 90px; line-height: 1;
  font-family: Georgia, serif; color: var(--primary-color); opacity: .22;
}
.ak-testi-text { color: #fff; font-size: 15.5px; line-height: 1.7; margin-bottom: 22px; }
.ak-testi-author { display: flex; align-items: center; gap: 12px; }
.ak-testi-author strong { color: #fff; display: block; }
.ak-testi-author small { color: var(--primary-color); }
.ak-testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.ak-testi .ak-rating { color: #f4b400; }
.ak-testi-swiper .swiper-pagination-bullet { background: #fff; opacity: .35; }
.ak-testi-swiper .swiper-pagination-bullet-active { background: var(--primary-color); opacity: 1; width: 22px; border-radius: 6px; }

/* ---------- "Ako to prebieha" – krokový timeline ---------- */
.ak-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.ak-steps::before {
  content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: .35; z-index: 0;
}
.ak-step { position: relative; text-align: center; padding: 0 10px; z-index: 1; }
.ak-step-num {
  position: absolute; top: -6px; right: calc(50% - 54px);
  font-size: 13px; font-weight: 800; color: #fff;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--secondary-color); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(var(--secondary-color-rgb), .8);
}
.ak-step-icon {
  width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 16px 34px -12px rgba(var(--primary-color-rgb), .6);
  transition: transform .35s ease;
}
.ak-step:hover .ak-step-icon { transform: translateY(-6px) scale(1.06) rotate(-4deg); }
.ak-step h4 { margin-bottom: 8px; }
.ak-step p { font-size: 14px; }
@media (max-width: 991px) {
  .ak-steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .ak-steps::before { display: none; }
}
@media (max-width: 575px) { .ak-steps { grid-template-columns: 1fr; } }

/* ---------- Odpočet na hero ---------- */
.ak-countdown { margin-top: 34px; display: inline-block; }
.ak-cd-label { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; opacity: .9; }
.ak-cd-grid { display: inline-flex; flex-wrap: nowrap; gap: 12px; justify-content: center; }
.ak-cd-cell {
  flex: 1 1 0; min-width: 0; padding: 14px 10px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); text-align: center;
}
.ak-cd-cell span { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1; }
.ak-cd-cell small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.ak-cd-live { color: #fff; font-weight: 700; font-size: 18px; background: linear-gradient(120deg, var(--primary-color), var(--secondary-color)); padding: 14px 22px; border-radius: 14px; }
@media (max-width: 575px) {
  .ak-cd-cell { padding: 12px 6px; }
  .ak-countdown { display: block; width: 100%; }
  .ak-cd-grid { display: flex; }
  .ak-cd-cell span { font-size: 24px; }
}

/* ---------- Feature boxy (stránka Výhody) ---------- */
.ak-feature { display: flex; gap: 16px; align-items: flex-start; }
.ak-feature-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 12px 26px -12px rgba(var(--primary-color-rgb), .6);
  transition: transform .3s ease;
}
.ak-feature:hover .ak-feature-icon { transform: translateY(-4px) rotate(-4deg); }
.section-dark .ak-feature h5 { color: #fff; }

/* ---------- Počasie na hero ---------- */
.ak-weather {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 9px 18px; margin: 0 auto 22px; border-radius: 999px;
  background: rgba(13,10,42,.6); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px); color: #fff; font-size: 14px;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.55); text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.ak-weather .fa { font-size: 17px; }
.ak-weather-temp { font-weight: 800; font-size: 16px; }
.ak-weather-cond { opacity: .95; }
.ak-weather-sep { opacity: .5; }
.ak-weather-wind { opacity: .85; font-size: 13px; }
.ak-weather-label { opacity: .7; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border-left: 1px solid rgba(255,255,255,.25); padding-left: 10px; margin-left: 4px; }
@media (max-width: 575px) { .ak-weather-label { display: none; } }

/* ---------- Počasie v rohu hero + semafor podmienok ---------- */
.ak-weather-corner { position: absolute; right: 16px; bottom: 22px; margin: 0; z-index: 4; }
@media (max-width: 767px) { .ak-weather-corner { position: static; margin: 22px auto 0; } }
.ak-cond { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.ak-cond-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 3px rgba(255,255,255,.15); animation: akPulse 2s infinite; }
.ak-cond-good { color: #7ef0a8; } .ak-cond-good .ak-cond-dot { background: #2ec16b; }
.ak-cond-ok { color: #ffd766; } .ak-cond-ok .ak-cond-dot { background: #f4b400; }
.ak-cond-bad { color: #ff9b8f; } .ak-cond-bad .ak-cond-dot { background: #e74c3c; }
@keyframes akPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,.12); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.04); } }

/* ============================================================
   NOVÉ FEATURES – tím, kalendár, darček, media, lightbox, lišta
   ============================================================ */

/* Tím */
.ak-team-card .ak-card-img img { aspect-ratio: 1/1; }
.ak-team-stat { display: flex; gap: 18px; justify-content: center; margin-top: 12px; }
.ak-team-stat span { text-align: center; }
.ak-team-stat strong { display: block; color: var(--primary-color); font-size: 20px; }
.ak-team-stat small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.dark-scheme .ak-team-stat strong { color: #fff; }

/* Kalendár */
.ak-cal-legend span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ak-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.ak-dot-free { background: #2ec16b; } .ak-dot-full { background: #cbd0dc; }
.ak-cal-day { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 16px; padding: 18px; box-shadow: var(--ak-shadow); transition: transform .3s ease, box-shadow .3s ease; height: 100%; }
.dark-scheme .ak-cal-day { background: #171340; border-color: rgba(255,255,255,.08); }
.ak-cal-day:hover { transform: translateY(-5px); box-shadow: var(--ak-shadow-hover); }
.ak-cal-day.is-full { opacity: .6; }
.ak-cal-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ak-cal-dow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary-color); font-weight: 700; }
.ak-cal-date { font-weight: 800; font-size: 17px; }
.ak-cal-bar { height: 6px; border-radius: 6px; background: rgba(0,0,0,.08); overflow: hidden; margin-bottom: 10px; }
.ak-cal-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); }
.ak-cal-status { font-size: 14px; }
.btn-sm { padding: 8px 16px !important; font-size: 13px; }

/* Darček – náhľad poukazu */
.ak-voucher { background: linear-gradient(135deg, var(--secondary-color), #1b1556); color: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--ak-shadow-hover); position: relative; }
.ak-voucher::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(var(--primary-color-rgb), .4); top: -140px; right: -110px; filter: blur(10px); }
.ak-voucher-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; position: relative; z-index: 1; }
.ak-voucher-head img { height: 48px; filter: brightness(0) invert(1); }
.ak-voucher-badge { background: var(--primary-color); padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.ak-voucher-body { padding: 8px 26px 22px; position: relative; z-index: 1; }
.ak-voucher-exp { font-size: 20px; font-weight: 700; }
.ak-voucher-amount { font-size: 46px; font-weight: 900; margin: 4px 0 14px; }
.ak-voucher-row { margin: 4px 0; } .ak-voucher-row span { opacity: .7; }
.ak-voucher-msg { margin-top: 12px; font-style: italic; opacity: .9; min-height: 22px; }
.ak-voucher-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 26px; background: rgba(255,255,255,.1); font-size: 12px; position: relative; z-index: 1; }

/* Media grid + lightbox */
.ak-mgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.ak-mitem { position: relative; border-radius: var(--ak-radius); overflow: hidden; display: block; box-shadow: var(--ak-shadow); }
.ak-mitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ak-mitem:hover img { transform: scale(1.08); }
.ak-mitem-lg { grid-column: span 2; grid-row: span 2; }
.ak-mitem-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: rgba(var(--primary-color-rgb), .35); opacity: 0; transition: opacity .35s ease; }
.ak-mitem:hover .ak-mitem-zoom, .ak-lightbox:hover .ak-mitem-zoom { opacity: 1; }
@media (max-width: 767px) { .ak-mgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .ak-mitem-lg { grid-column: span 2; grid-row: span 1; } }
.ak-lb { position: fixed; inset: 0; background: rgba(6,4,22,.92); display: none; align-items: center; justify-content: center; z-index: 10000; padding: 30px; }
.ak-lb.open { display: flex; }
.ak-lb-img { max-width: 92%; max-height: 88%; border-radius: 12px; box-shadow: 0 40px 90px -20px #000; }
.ak-lb-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 44px; cursor: pointer; line-height: 1; }

/* Rating badge */
.ak-ratingbadge { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px; color: #fff; font-size: 15px; }
.ak-rb-stars { color: #f4b400; }
.ak-ratingbadge strong { font-size: 18px; }
.ak-rb-count { opacity: .8; }
.ak-rb-g { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); padding: 4px 12px; border-radius: 999px; margin-left: 6px; }

/* Sticky mobilná lišta */
.ak-mobilebar { display: none; }
@media (max-width: 991px) {
  .ak-mobilebar {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9998;
    background: rgba(12,9,32,.9); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14);
    padding: 8px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  }
  .ak-mobilebar .ak-mb-book { flex: 1; text-align: center; }
  .ak-mb-call, .ak-mb-cart { position: relative; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.1); font-size: 18px; text-decoration: none; }
  .ak-mb-cart span { position: absolute; top: -4px; right: -4px; background: var(--secondary-color); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
  body { padding-bottom: 76px; }
}

/* ---------- Tmavý scrim za hlavičkou (čitateľnosť menu navrchu) ---------- */
header.transparent { position: relative; }
header.transparent::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px;
  background: linear-gradient(180deg, rgba(6,4,22,.6), rgba(6,4,22,0));
  pointer-events: none; z-index: 0; transition: opacity .35s ease;
}
header.transparent > .container { position: relative; z-index: 1; }
body.ak-scrolled header.transparent::before { opacity: 0; }
/* menu magenta – o niečo tučnejšie a s tieňom pre kontrast */
header #mainmenu > li > a.menu-item { font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* ============================================================
   RESPONZÍVNE SPEVNENIE – MacBook Air / tablet / mobil
   ============================================================ */

/* Safety – nikdy horizontálne pretečenie */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg, iframe { max-width: 100%; }
main .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ak-cart-table { min-width: 480px; }

/* ---- MacBook Air / menšie notebooky (1200–1440) ---- */
@media (min-width: 1200px) and (max-width: 1440px) {
  .ak-hero-title { font-size: 4.2vw; }
  .ak-mgrid { grid-auto-rows: 165px; }
  .ak-steps { gap: 20px; }
  h2 { font-size: 2.1rem; }
}

/* ---- Tablet na šírku (992–1199) ---- */
@media (min-width: 992px) and (max-width: 1199px) {
  .container { max-width: 960px; }
  .ak-hero-title { font-size: 5vw; }
  .ak-mgrid { grid-auto-rows: 150px; }
}

/* ---- Tablet (768–991) ---- */
@media (max-width: 991px) {
  section { padding: 64px 0; }
  .ak-hero { min-height: 78vh; padding-top: 120px; }
  .ak-hero-logo { width: 190px; }
  .ak-hero-title { font-size: 2.3rem; }
  .ak-weather-corner { font-size: 13px; }
  .ak-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .ak-mgrid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
  .ak-mitem-lg { grid-column: span 2; grid-row: span 2; }
  .ak-voucher-amount { font-size: 40px; }
  .ak-feature { gap: 12px; }
  /* dve služby vedľa seba na tablete */
  .ak-cal-day { padding: 15px; }
}

/* ---- Väčší mobil / malý tablet (576–767) ---- */
@media (max-width: 767px) {
  section { padding: 52px 0; }
  .ak-hero-title { font-size: 2rem; }
  .ak-cd-cell span { font-size: 26px; }
  .ak-cd-cell small { font-size: 10px; }
  .ak-mgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .ak-mitem-lg { grid-column: span 2; grid-row: span 1; }
  .ak-weather-corner { width: auto; }
  .ak-testi-card { padding: 26px 22px; }
  .ak-subheader h1 { font-size: 1.9rem; }
  .ak-subheader .lead { font-size: 1rem; }
}

/* ---- Mobil (≤575) ---- */
@media (max-width: 575px) {
  section { padding: 42px 0; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  .ak-hero { min-height: 74vh; padding-top: 104px; }
  .ak-hero-logo { width: 150px; }
  .ak-hero-title { font-size: 1.7rem; }
  .ak-cd-grid { gap: 8px; }
  .ak-cd-cell { padding: 11px 4px; }
  .ak-cd-cell span { font-size: 21px; }
  .ak-weather { font-size: 12.5px; gap: 7px; padding: 8px 14px; }
  .ak-mgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .ak-steps { grid-template-columns: 1fr; }
  .ak-feature-icon { flex: 0 0 48px; width: 48px; height: 48px; font-size: 20px; }
  .ak-cats { gap: 6px; }
  .ak-cats a { padding: 6px 12px; font-size: 12.5px; }
  .ak-voucher-amount { font-size: 34px; }
  .ak-voucher-head img { height: 38px; }
  .ak-ratingbadge { font-size: 13px; }
  .btn-main { padding: 12px 20px; }
  .ak-subheader h1 { font-size: 1.7rem; }
}

/* ---- Veľmi malé (≤360) ---- */
@media (max-width: 360px) {
  .ak-hero-title { font-size: 1.45rem; }
  .ak-cd-cell span { font-size: 18px; }
  .ak-mgrid { grid-auto-rows: 40vw; }
  .container { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Testimonials: spoľahlivý CSS scroll-carousel ---------- */
.ak-testi-track {
  display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; padding: 6px 4px 24px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.ak-testi-track::-webkit-scrollbar { height: 8px; }
.ak-testi-track::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 8px; }
.ak-testi-track::-webkit-scrollbar-track { background: rgba(255,255,255,.08); border-radius: 8px; }
.ak-testi-track .ak-testi-card {
  flex: 0 0 360px; max-width: 86%; scroll-snap-align: start;
  background: rgba(255,255,255,.07);
}
@media (max-width: 575px) { .ak-testi-track .ak-testi-card { flex-basis: 300px; } }

/* ============================================================
   MOBIL – tvrdé zamedzenie pretečenia (≤575)
   ============================================================ */
@media (max-width: 575px) {
  main, header, footer, section { max-width: 100%; overflow-x: clip; }
  .container { overflow-x: clip; }
  /* hero CTA na stĺpec, plná šírka */
  .ak-hero .d-flex.flex-wrap { flex-direction: column; align-items: center; width: 100%; }
  .ak-hero .btn-main { width: 100%; max-width: 300px; }
  /* odpočet – plná šírka, malé bunky, vždy 4 v riadku */
  .ak-countdown { width: 100%; }
  .ak-cd-grid { display: flex !important; flex-wrap: nowrap; width: 100%; gap: 6px; }
  .ak-cd-cell { flex: 1 1 0 !important; min-width: 0 !important; padding: 10px 2px; }
  .ak-cd-cell span { font-size: 18px; }
  .ak-cd-cell small { font-size: 9px; letter-spacing: 0; }
  /* počasie chip nech sa zmestí */
  .ak-weather { max-width: 100%; font-size: 12px; }
  /* nadpisy sa lámu, nie orezávajú */
  h1, h2, h3, .ak-hero-title { overflow-wrap: anywhere; }
}

/* ---------- Hero logo: bez rušivého boxu/tieňa okolo obdĺžnika ---------- */
.ak-hero-logo {
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* ============================================================
   NEUROMARKETING – decoy tiers, anchoring, scarcity, reframing
   ============================================================ */

/* Decoy 3-tier výber variantu */
.ak-tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ak-tier {
  position: relative; display: block; text-align: center; text-decoration: none;
  border: 2px solid rgba(var(--primary-color-rgb), .18); border-radius: 14px; padding: 16px 10px 14px;
  color: inherit; background: #fff; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.dark-scheme .ak-tier { background: #171340; }
.ak-tier:hover { transform: translateY(-3px); border-color: var(--primary-color); }
.ak-tier.is-active { border-color: var(--primary-color); box-shadow: 0 10px 26px -14px rgba(var(--primary-color-rgb), .5); }
.ak-tier.is-rec { border-color: var(--primary-color); }
.ak-tier-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--primary-color); color: #fff; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.ak-tier-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.ak-tier-price { font-size: 22px; font-weight: 900; color: var(--primary-color); }
.dark-scheme .ak-tier-price { color: #fff; }
.ak-tier-pick { display: block; margin-top: 6px; font-size: 12px; color: var(--secondary-color); font-weight: 700; }
.ak-tier.is-active .ak-tier-pick { color: var(--primary-color); }

/* Odporúčaná karta v listingu */
.ak-badge-rec { background: var(--primary-color) !important; }
.ak-card-rec { border: 2px solid var(--primary-color) !important; }

/* Prerámovanie ceny (za zoskok / splátky) – nižšia „bolesť z platenia" */
.ak-price-note { font-size: 14px; color: var(--secondary-color); font-weight: 600; }
.dark-scheme .ak-price-note { color: #8fb7ea; }

/* Scarcity – pravdivá naliehavosť z reálnych termínov */
.ak-scarcity {
  display: inline-flex; align-items: center; font-size: 13px; font-weight: 700;
  color: #c2145a; background: rgba(231,25,106,.1); border: 1px solid rgba(231,25,106,.25);
  padding: 5px 12px; border-radius: 999px;
}
.dark-scheme .ak-scarcity { color: #ff8ab6; background: rgba(231,25,106,.14); }
.ak-scarcity-sm { font-size: 12px; padding: 3px 9px; }

/* ---------- Footer kontakt: ikona + text zarovnané, čistý hanging-indent ---------- */
.ak-foot-contact > div { display: flex; align-items: flex-start; gap: 8px; }
.ak-foot-contact > div > i { flex: 0 0 auto; margin-top: 4px; }
.ak-foot-contact > div > span, .ak-foot-contact > div > a { flex: 1 1 auto; }
.ak-foot-contact .ak-nowrap { white-space: nowrap; }

/* ---------- CLS fix: FIXNÁ výška bežiaceho marquee (nesmie posúvať layout) ---------- */
.ak-marquee { height: 150px; overflow: hidden; display: flex; align-items: center; }
.ak-marquee .de-marquee-list-2 { width: 100%; }
.ak-marquee .ak-mq { line-height: 1; }
@media (max-width: 991px) { .ak-marquee { height: 104px; } }
@media (max-width: 575px) { .ak-marquee { height: 70px; } }
