/* =========================================================
   Mgr. Lucia Benková — psychoterapia
   Общие стили для всех страниц (index, blog, clanok)

   Палитра: «чернильный» синий + терракота + охра на тёплой бумаге
========================================================= */

:root {
    --ink: #1e2a38;
    --ink-2: #2c3b4d;
    --ink-soft: #46566a;

    --paper: #f6f1e8;
    --paper-2: #efe6d6;
    --paper-3: #e6dac5;
    --white: #fffdf9;

    --clay: #c4664a;
    --clay-dark: #a24f35;
    --clay-soft: #f1d5c8;

    --ochre: #e3a63b;
    --ochre-soft: #f6e2b8;

    --sky: #a9c1cf;
    --sky-soft: #dbe6ec;

    --text: #1e2a38;
    --muted: #5d6876;
    --line: rgba(30, 42, 56, 0.14);

    --radius: 22px;
    --container: 1200px;

    --serif: "Fraunces", Georgia, serif;
    --sans: "Manrope", system-ui, sans-serif;
}


/* =========================================================
   RESET / ZÁKLAD
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    background: var(--paper);
    color: var(--text);

    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--ochre-soft);
}

:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.icon {
    width: 1em;
    height: 1em;

    flex-shrink: 0;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.is-hidden {
    display: none !important;
}


/* =========================================================
   TYPOGRAFIA
========================================================= */

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    font-variation-settings: "SOFT" 50, "opsz" 96;
}

h1 em,
h2 em {
    color: var(--clay);
    font-style: italic;
}

h2 {
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.08;
}

p {
    color: var(--muted);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: var(--clay-dark);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid currentColor;
    border-radius: 50%;

    font-size: 11px;
    letter-spacing: 0;
}

.kicker.light {
    color: var(--ochre);
}

.lead {
    color: var(--ink-soft);

    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.55;
}


/* =========================================================
   TLAČIDLÁ
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 26px;

    border: 1px solid transparent;
    border-radius: 100px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.btn .icon {
    width: 18px;
    height: 18px;

    transition: transform 0.25s ease;
}

.btn:hover .icon {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--ink);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--clay-dark);
}

.btn-outline {
    border-color: var(--ink);
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
}

.btn-light {
    background: var(--ochre);
    color: var(--ink);
}

.btn-light:hover {
    background: var(--white);
}

.btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--ink);

    font-weight: 600;

    border-bottom: 1px solid var(--clay);
    padding-bottom: 4px;
}

.link-arrow .icon {
    width: 16px;
    height: 16px;

    transition: transform 0.25s ease;
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}


/* =========================================================
   HLAVIČKA
========================================================= */

.header {
    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(246, 241, 232, 0.88);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid transparent;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    border-bottom-color: var(--line);
}

.nav {
    height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 34px;
    height: 42px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-bottom: 7px;

    border-radius: 100px 100px 6px 6px;

    background: var(--ink);
    color: var(--ochre);

    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
}

.logo-text strong {
    display: block;

    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.1;
}

.logo-text small {
    color: var(--muted);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;

    font-size: 14px;
    font-weight: 600;
}

.menu a {
    position: relative;

    padding: 6px 0;

    color: var(--ink-soft);

    transition: color 0.2s ease;
}

.menu a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    border-radius: 2px;

    background: var(--clay);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.25s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--ink);
}

.menu a:hover::after,
.menu a.active::after {
    transform: scaleX(1);
}

.menu .menu-cta {
    display: none;
}

.nav-cta {
    padding: 12px 20px;

    font-size: 14px;
}

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.menu-toggle .icon {
    width: 22px;
    height: 22px;
}


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

.hero {
    position: relative;

    overflow: hidden;

    padding: 70px 0 110px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;

    align-items: center;
}

.hero h1 {
    font-size: clamp(46px, 6.4vw, 92px);
    line-height: 1.02;
}

.hero .lead {
    max-width: 560px;

    margin-top: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 40px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;

    margin-top: 56px;
    padding-top: 30px;

    border-top: 1px solid var(--line);
}

.hero-facts strong {
    display: block;

    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.hero-facts span {
    color: var(--muted);

    font-size: 13px;
}

/* oblúkový portrét */

.arch {
    position: relative;

    overflow: hidden;

    border-radius: 999px 999px 24px 24px;

    background: var(--sky-soft);
}

.arch img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-visual {
    position: relative;

    justify-self: center;

    width: min(100%, 430px);
}

.hero-visual .arch {
    aspect-ratio: 4 / 5.4;

    border: 10px solid var(--white);

    box-shadow: 0 30px 60px rgba(30, 42, 56, 0.14);
}

.hero-sun {
    position: absolute;

    width: 190px;
    height: 190px;

    top: -36px;
    right: -50px;

    border-radius: 50%;

    background: var(--ochre);

    z-index: -1;
}

.hero-badge {
    position: absolute;

    left: -40px;
    bottom: 60px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 20px;

    border-radius: 18px;

    background: var(--white);

    box-shadow: 0 20px 45px rgba(30, 42, 56, 0.12);
}

.hero-badge .dot {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--clay-soft);
    color: var(--clay-dark);
}

.hero-badge .dot .icon {
    width: 18px;
    height: 18px;
}

.hero-badge strong {
    display: block;

    font-size: 14px;
}

.hero-badge small {
    color: var(--muted);

    font-size: 12px;
}

.hero-line {
    position: absolute;

    width: 620px;
    height: 620px;

    right: -260px;
    bottom: -330px;

    border: 1px solid var(--line);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   BEŽIACI PÁS S TÉMAMI
========================================================= */

.marquee {
    overflow: hidden;

    padding: 22px 0;

    background: var(--ink);
    color: var(--paper);
}

.marquee-track {
    display: flex;
    gap: 48px;

    width: max-content;

    animation: marquee 38s linear infinite;
}

.marquee span {
    display: inline-flex;
    align-items: center;
    gap: 48px;

    font-family: var(--serif);
    font-size: 26px;
    font-style: italic;
    white-space: nowrap;
}

.marquee span::after {
    content: "";

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--ochre);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

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

    html {
        scroll-behavior: auto;
    }
}


/* =========================================================
   O MNE
========================================================= */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;

    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual .arch {
    aspect-ratio: 4 / 5;

    background: var(--clay-soft);
}

.about-visual .stamp {
    position: absolute;

    right: -26px;
    top: 40px;

    width: 120px;
    height: 120px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--clay);
    color: var(--white);

    text-align: center;

    transform: rotate(-8deg);
}

.about-visual .stamp strong {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.about-visual .stamp span {
    margin-top: 4px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content > p:not(.lead) {
    margin-top: 20px;
}

.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;

    margin-top: 36px;
    padding-top: 30px;

    border-top: 1px solid var(--line);

    list-style: none;
}

.credentials li {
    display: flex;
    gap: 12px;

    font-size: 14px;
    font-weight: 500;
}

.credentials .icon {
    width: 20px;
    height: 20px;

    margin-top: 1px;

    color: var(--clay);
}

.signature {
    margin-top: 36px;

    color: var(--ink);

    font-family: var(--serif);
    font-size: 30px;
    font-style: italic;
}


/* =========================================================
   TÉMY — zoznam riadkov
========================================================= */

.topics-head {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;

    align-items: end;

    margin-bottom: 60px;
}

.topic-list {
    border-top: 1px solid var(--ink);

    list-style: none;
}

.topic {
    display: grid;
    grid-template-columns: 70px 1fr 1.3fr 40px;
    gap: 24px;

    align-items: center;

    padding: 30px 10px;

    border-bottom: 1px solid var(--line);

    transition: background 0.3s ease, padding 0.3s ease;
}

.topic:hover {
    padding-left: 24px;
    padding-right: 24px;

    background: var(--paper-2);
}

.topic-num {
    color: var(--clay);

    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
}

.topic h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.2;
}

.topic p {
    font-size: 15px;
}

.topic .icon {
    width: 24px;
    height: 24px;

    color: var(--clay);

    opacity: 0;

    transform: translateX(-8px);

    transition: opacity 0.3s ease, transform 0.3s ease;
}

.topic:hover .icon {
    opacity: 1;

    transform: none;
}


/* =========================================================
   AKO PRACUJEM — kroky
========================================================= */

.process {
    background: var(--ink);
    color: var(--paper);
}

.process h2 {
    max-width: 700px;
}

.process p {
    color: #b8c2cd;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;

    margin-top: 64px;

    list-style: none;

    counter-reset: step;
}

.step {
    position: relative;

    padding: 34px 28px 30px;

    border: 1px solid rgba(246, 241, 232, 0.16);
    border-radius: var(--radius);

    transition: background 0.3s ease, border-color 0.3s ease;
}

.step:hover {
    background: var(--ink-2);
    border-color: rgba(227, 166, 59, 0.5);
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);

    display: block;

    margin-bottom: 40px;

    color: var(--ochre);

    font-family: var(--serif);
    font-size: 44px;
    font-style: italic;
    line-height: 1;
}

.step h3 {
    margin-bottom: 12px;

    color: var(--white);

    font-size: 23px;
}

.step p {
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   CENNÍK
========================================================= */

.pricing-head {
    max-width: 640px;

    margin: 0 auto 60px;

    text-align: center;
}

.pricing-head p {
    margin-top: 18px;
}

.prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
    gap: 26px;
}

.price-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 42px 40px;

    border: 1px solid var(--line);
    border-radius: 28px;

    background: var(--white);
}

.price-card.featured {
    background: var(--clay-soft);
    border-color: transparent;
}

.price-tag {
    position: absolute;

    top: 26px;
    right: 26px;

    padding: 5px 12px;

    border-radius: 100px;

    background: var(--ink);
    color: var(--paper);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 30px;
}

.price-card > p {
    margin-top: 10px;

    font-size: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;

    margin: 30px 0;
    padding: 24px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price strong {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
}

.price span {
    color: var(--muted);

    font-size: 14px;
}

.price-card ul {
    display: grid;
    gap: 12px;

    margin-bottom: 34px;

    list-style: none;
}

.price-card li {
    display: flex;
    gap: 12px;

    font-size: 15px;
}

.price-card li .icon {
    width: 20px;
    height: 20px;

    color: var(--clay);
}

.price-card .btn {
    margin-top: auto;
}

.pricing-note {
    margin-top: 30px;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   CITÁT
========================================================= */

.quote-band {
    padding: 110px 0;

    background: var(--clay);
    color: var(--white);

    text-align: center;
}

.quote-band blockquote {
    max-width: 920px;

    margin: 0 auto;

    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 46px);
    font-style: italic;
    line-height: 1.3;
}

.quote-band blockquote::before {
    content: "\201C";

    display: block;

    height: 56px;
    margin-bottom: 10px;

    color: var(--ochre-soft);

    font-size: 110px;
    font-style: normal;
    line-height: 0.95;
}

.quote-band cite {
    display: block;

    margin-top: 28px;

    color: var(--clay-soft);

    font-size: 14px;
    font-style: normal;
    letter-spacing: 0.06em;
}


/* =========================================================
   OBÁLKY ČLÁNKOV (ilustrácie z tvarov)
========================================================= */

.cover {
    --c1: var(--sky-soft);
    --c2: var(--sky);
    --c3: var(--ochre);

    position: relative;

    display: block;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--c1);
}

.cover::before {
    content: "";

    position: absolute;

    left: 18%;
    bottom: -2%;

    width: 36%;
    height: 78%;

    border-radius: 999px 999px 0 0;

    background: var(--c2);

    transition: transform 0.5s ease;
}

.cover::after {
    content: "";

    position: absolute;

    right: 16%;
    top: 18%;

    width: 22%;
    aspect-ratio: 1;

    border-radius: 50%;

    background: var(--c3);

    transition: transform 0.5s ease;
}

.cover.v2 { --c1: var(--clay-soft); --c2: var(--clay); --c3: var(--ink); }
.cover.v3 { --c1: var(--ink); --c2: var(--ink-soft); --c3: var(--ochre); }
.cover.v4 { --c1: var(--ochre-soft); --c2: var(--ochre); --c3: var(--clay); }
.cover.v5 { --c1: var(--paper-3); --c2: var(--white); --c3: var(--clay); }

.cover.v2::before { left: auto; right: 14%; width: 30%; height: 64%; }
.cover.v2::after { left: 16%; right: auto; top: 26%; }
.cover.v3::before { left: 50%; width: 30%; height: 86%; }
.cover.v4::before { left: 10%; width: 44%; height: 60%; }
.cover.v4::after { right: 20%; top: 12%; width: 18%; }

.post-card:hover .cover::before,
.featured-post:hover .cover::before {
    transform: translateY(-6px);
}

.post-card:hover .cover::after,
.featured-post:hover .cover::after {
    transform: translate(-8px, 6px);
}

.cover img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 2;
}


/* =========================================================
   KARTY ČLÁNKOV
========================================================= */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card .cover {
    aspect-ratio: 4 / 3;

    margin-bottom: 22px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;

    color: var(--muted);

    font-size: 13px;
}

.post-meta .sep {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--clay);
}

.tag {
    display: inline-block;

    padding: 4px 11px;

    border-radius: 100px;

    background: var(--paper-2);

    color: var(--clay-dark);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-card h3 {
    margin: 14px 0 10px;

    font-size: 25px;
    line-height: 1.22;
}

.post-card h3 a {
    background-image: linear-gradient(var(--clay), var(--clay));
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;

    transition: background-size 0.35s ease;
}

.post-card:hover h3 a {
    background-size: 100% 1px;
}

.post-card p {
    font-size: 15px;
}

.blog-teaser-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 56px;
}


/* =========================================================
   FAQ (<details>)
========================================================= */

.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.faq-grid > div:first-child p {
    margin-top: 20px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
    border-top: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 26px 0;

    font-family: var(--serif);
    font-size: 21px;

    cursor: pointer;

    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary .plus {
    position: relative;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border: 1px solid var(--line);
    border-radius: 50%;

    transition: background 0.25s ease, transform 0.25s ease;
}

.faq-list summary .plus::before,
.faq-list summary .plus::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 12px;
    height: 1.5px;

    background: var(--ink);

    transform: translate(-50%, -50%);
}

.faq-list summary .plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] .plus {
    background: var(--ochre);
    border-color: var(--ochre);

    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 640px;

    padding: 0 50px 26px 0;
}


/* =========================================================
   KONTAKT + FORMULÁR
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-list {
    display: grid;
    gap: 20px;

    margin-top: 44px;

    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-list .ic {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--paper-2);
    color: var(--clay-dark);
}

.contact-list .ic .icon {
    width: 20px;
    height: 20px;
}

.contact-list small {
    display: block;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list span {
    font-weight: 600;
}

.contact-list a:hover {
    color: var(--clay-dark);
}

.form-card {
    padding: 46px;

    border-radius: 30px;

    background: var(--white);

    box-shadow: 0 30px 70px rgba(30, 42, 56, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    margin-bottom: 22px;
}

.field label,
.field legend {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 13px;
    font-weight: 700;
}

.field label .opt {
    color: var(--muted);

    font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: var(--paper);

    font-size: 15px;

    transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;

    border-color: var(--ink);

    background: var(--white);
}

.field textarea {
    min-height: 140px;

    resize: vertical;
}

/* výber typu terapie — „pilulky“ */

.field fieldset {
    border: 0;
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.choice span {
    display: inline-block;

    padding: 10px 16px;

    border: 1px solid var(--line);
    border-radius: 100px;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.2s ease;
}

.choice:hover span {
    border-color: var(--ink);
}

.choice input:checked + span {
    background: var(--ink);
    border-color: var(--ink);

    color: var(--white);
}

.choice input:focus-visible + span {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 6px 0 28px;

    color: var(--muted);

    font-size: 13px;

    cursor: pointer;
}

.consent input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    flex-shrink: 0;

    accent-color: var(--ink);
}

.field-error input,
.field-error textarea {
    border-color: #b5462c !important;
}

.field-error.consent {
    color: #b5462c;
}

.error-text {
    display: block;

    margin-top: 6px;

    color: #a63e26;

    font-size: 12px;
    font-weight: 600;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

.form-success {
    padding: 40px 10px;

    text-align: center;
}

.form-success .ok {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: var(--ochre-soft);
    color: var(--clay-dark);
}

.form-success .ok .icon {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-size: 32px;
}

.form-success p {
    max-width: 380px;

    margin: 12px auto 26px;
}

.spinner {
    width: 16px;
    height: 16px;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* =========================================================
   TOAST
========================================================= */

.toast-wrap {
    position: fixed;

    right: 24px;
    bottom: 24px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 500;

    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    width: min(380px, calc(100vw - 32px));

    padding: 18px 20px;

    border-left: 4px solid var(--ochre);
    border-radius: 16px;

    background: var(--ink);
    color: var(--paper);

    box-shadow: 0 25px 60px rgba(30, 42, 56, 0.28);

    pointer-events: auto;

    opacity: 0;
    transform: translateY(16px);

    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: none;
}

.toast.error {
    border-left-color: var(--clay);
}

.toast .icon {
    width: 22px;
    height: 22px;

    margin-top: 2px;

    color: var(--ochre);
}

.toast.error .icon {
    color: #f0a48d;
}

.toast strong {
    display: block;

    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.toast p {
    margin-top: 3px;

    color: #c3ccd6;

    font-size: 13px;
    line-height: 1.5;
}

.toast-close {
    margin-left: auto;

    border: 0;
    background: none;

    color: #c3ccd6;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   PÄTA
========================================================= */

.footer {
    padding: 80px 0 30px;

    background: var(--ink);
    color: var(--paper);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;

    padding-bottom: 60px;

    border-bottom: 1px solid rgba(246, 241, 232, 0.14);
}

.footer .logo-mark {
    background: var(--ochre);
    color: var(--ink);
}

.footer .logo-text small,
.footer p {
    color: #a7b2be;
}

.footer-claim {
    max-width: 380px;

    margin-top: 24px;

    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.4;
}

.footer h4 {
    margin-bottom: 18px;

    color: var(--ochre);

    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer ul {
    display: grid;
    gap: 10px;

    list-style: none;

    font-size: 15px;
}

.footer ul a {
    color: #d4dbe2;
}

.footer ul a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;

    padding-top: 26px;

    color: #8995a3;

    font-size: 13px;
}


/* =========================================================
   PODSTRÁNKY: úvod, drobčeková navigácia
========================================================= */

.page-hero {
    position: relative;

    overflow: hidden;

    padding: 60px 0 80px;
}

.page-hero h1 {
    max-width: 900px;

    font-size: clamp(46px, 6.5vw, 96px);
    line-height: 1;
}

.page-hero .lead {
    max-width: 620px;

    margin-top: 28px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-bottom: 36px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: var(--clay-dark);
}

.breadcrumbs .icon {
    width: 12px;
    height: 12px;
}


/* =========================================================
   BLOG
========================================================= */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 56px;
}

.filter {
    padding: 10px 18px;

    border: 1px solid var(--line);
    border-radius: 100px;

    background: transparent;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.filter:hover {
    border-color: var(--ink);
}

.filter.active {
    background: var(--ink);
    border-color: var(--ink);

    color: var(--white);
}

.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;

    align-items: center;

    margin-bottom: 90px;
    padding-bottom: 90px;

    border-bottom: 1px solid var(--line);
}

.featured-post .cover {
    aspect-ratio: 16 / 11;

    border-radius: 999px 999px 26px 26px;
}

.featured-post h2 {
    margin: 18px 0 20px;

    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.12;
}

.featured-post h2 a:hover {
    color: var(--clay-dark);
}

.featured-post > div > p:not(.post-meta) {
    margin-bottom: 26px;

    font-size: 17px;
}

.featured-post .post-meta {
    margin-bottom: 28px;
}

.posts-empty {
    padding: 50px 0;

    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;

    margin-top: 80px;
}

.pagination a,
.pagination span {
    min-width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border: 1px solid var(--line);
    border-radius: 100px;

    font-weight: 700;

    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: var(--ink);
}

.pagination .current {
    background: var(--ink);
    border-color: var(--ink);

    color: var(--white);
}

.pagination .icon {
    width: 16px;
    height: 16px;
}

.cta-band {
    padding: 100px 0;

    background: var(--ochre);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;

    align-items: end;
}

.cta-band .kicker {
    color: var(--ink);
}

.cta-band p {
    margin-top: 18px;

    color: var(--ink-2);
}

.cta-inner > div:last-child {
    justify-self: end;
}


/* =========================================================
   ČLÁNOK
========================================================= */

.article-hero {
    padding-bottom: 0;
}

.article-hero h1 {
    max-width: 960px;

    margin-top: 20px;

    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;

    margin-top: 34px;

    color: var(--muted);

    font-size: 14px;
}

.article-meta .author {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--ink);

    font-weight: 700;
}

.avatar {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--ink);
    color: var(--ochre);

    font-family: var(--serif);
    font-style: italic;
}

.article-meta .icon {
    width: 16px;
    height: 16px;

    margin-right: 6px;

    vertical-align: -3px;

    color: var(--clay);
}

.article-cover {
    aspect-ratio: 21 / 9;

    margin-top: 56px;

    border-radius: 999px 999px 30px 30px;
}

.article-section {
    padding: 90px 0 110px;
}

.article-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 720px);
    justify-content: space-between;
    gap: 70px;
}

.article-aside {
    position: sticky;
    top: 110px;

    align-self: start;
}

.aside-title {
    margin-bottom: 16px;

    color: var(--clay-dark);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.toc {
    display: grid;
    gap: 4px;

    counter-reset: toc;
}

.toc a {
    display: flex;
    gap: 12px;

    padding: 8px 0;

    border-bottom: 1px solid var(--line);

    color: var(--muted);

    font-size: 14px;
    line-height: 1.4;

    transition: color 0.2s ease;
}

.toc a::before {
    counter-increment: toc;
    content: counter(toc, decimal-leading-zero);

    color: var(--clay);

    font-family: var(--serif);
    font-style: italic;
}

.toc a:hover,
.toc a.active {
    color: var(--ink);
    font-weight: 600;
}

.aside-card {
    margin-top: 36px;
    padding: 26px;

    border-radius: var(--radius);

    background: var(--ink);
    color: var(--paper);
}

.aside-card p {
    margin: 8px 0 18px;

    color: #b8c2cd;

    font-size: 14px;
}

.aside-card strong {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
}

.aside-card .btn {
    width: 100%;

    padding: 12px 18px;

    font-size: 14px;
}

/* typografia textu */

.prose {
    font-size: 18px;
    line-height: 1.85;
}

.prose > * + * {
    margin-top: 24px;
}

.prose p,
.prose li {
    color: #3b4756;
}

.prose .lead {
    color: var(--ink);

    font-size: 24px;
}

.prose .lead::first-letter {
    float: left;

    margin: 8px 12px 0 0;

    color: var(--clay);

    font-size: 78px;
    line-height: 0.8;
}

.prose h2 {
    margin-top: 64px;

    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
}

.prose h3 {
    margin-top: 40px;

    font-size: 25px;
}

.prose ul,
.prose ol {
    list-style: none;
}

.prose li {
    position: relative;

    padding-left: 34px;
}

.prose li + li {
    margin-top: 12px;
}

.prose ul li::before {
    content: "";

    position: absolute;

    left: 4px;
    top: 0.55em;

    width: 12px;
    height: 14px;

    border-radius: 999px 999px 2px 2px;

    background: var(--ochre);
}

.prose ol {
    counter-reset: item;
}

.prose ol li::before {
    counter-increment: item;
    content: counter(item);

    position: absolute;

    left: 0;
    top: 0.25em;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--ink);
    color: var(--ochre);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.prose blockquote {
    margin: 50px 0;
    padding: 10px 0 10px 32px;

    border-left: 3px solid var(--clay);

    color: var(--ink);

    font-family: var(--serif);
    font-size: 28px;
    font-style: italic;
    line-height: 1.4;
}

.prose blockquote cite {
    display: block;

    margin-top: 14px;

    color: var(--muted);

    font-family: var(--sans);
    font-size: 14px;
    font-style: normal;
}

.prose p a,
.prose li a {
    color: var(--clay-dark);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.callout {
    display: flex;
    gap: 18px;

    padding: 28px 30px;

    border-radius: var(--radius);

    background: var(--ochre-soft);
}

.callout .icon {
    width: 26px;
    height: 26px;

    margin-top: 3px;

    color: var(--clay-dark);
}

.callout p {
    color: var(--ink-2);

    font-size: 16px;
    line-height: 1.7;
}

.author-box {
    display: flex;
    gap: 24px;

    margin-top: 64px;
    padding: 34px;

    border: 1px solid var(--line);
    border-radius: 28px;

    background: var(--white);
}

.author-box .avatar {
    width: 72px;
    height: 72px;

    flex-shrink: 0;

    font-size: 26px;
}

.author-box strong {
    display: block;

    margin-bottom: 6px;

    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.author-box p {
    font-size: 15px;
    line-height: 1.7;
}

.author-box .link-arrow {
    margin-top: 16px;

    font-size: 14px;
}

.related {
    background: var(--white);
}


/* =========================================================
   RESPONZIVITA
========================================================= */

@media (max-width: 1080px) {

    .menu {
        position: fixed;
        inset: 0;

        flex-direction: column;
        justify-content: center;
        gap: 22px;

        background: var(--paper);

        font-family: var(--serif);
        font-size: 32px;
        font-weight: 400;

        opacity: 0;
        visibility: hidden;

        transition: opacity 0.3s ease, visibility 0.3s ease;

        z-index: 90;
    }

    .menu a {
        color: var(--ink);
    }

    .menu .menu-cta {
        display: inline-flex;

        margin-top: 16px;
        padding: 15px 28px;

        font-family: var(--sans);
        font-size: 16px;
    }

    .menu .menu-cta::after {
        display: none;
    }

    .menu .menu-cta {
        color: var(--white);
    }

    .header.menu-open .menu {
        opacity: 1;
        visibility: visible;
    }

    .header.menu-open {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .logo,
    .menu-toggle {
        position: relative;
        z-index: 95;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    body.no-scroll {
        overflow: hidden;
    }

    .hero-grid,
    .about-grid,
    .faq-grid,
    .contact-grid,
    .featured-post,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-visual {
        width: min(100%, 380px);
    }

    .about-visual {
        max-width: 420px;
    }

    .topics-head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .topic {
        grid-template-columns: 50px 1fr;
    }

    .topic p {
        grid-column: 2;
    }

    .topic .icon {
        display: none;
    }

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

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

    .cta-inner > div:last-child {
        justify-self: start;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-aside {
        position: static;
        order: 2;
    }

    .toc-wrap {
        display: none;
    }

    .aside-card {
        margin-top: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {

    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 84px 0;
    }

    .nav {
        height: 72px;
    }

    .logo-text small {
        display: none;
    }

    .hero {
        padding: 40px 0 80px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-facts {
        gap: 24px;
    }

    .hero-facts strong {
        font-size: 24px;
    }

    .hero-sun {
        width: 130px;
        height: 130px;

        right: -20px;
        top: -24px;
    }

    .hero-badge {
        left: -8px;
        bottom: 30px;
    }

    .marquee span {
        font-size: 20px;
    }

    .about-visual .stamp {
        right: -6px;

        width: 100px;
        height: 100px;
    }

    .credentials {
        grid-template-columns: 1fr;
    }

    .topic {
        padding: 24px 0;
    }

    .topic:hover {
        padding-left: 0;
        padding-right: 0;

        background: none;
    }

    .steps,
    .posts-grid,
    .prices,
    .form-row {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 34px 26px;
    }

    .price strong {
        font-size: 46px;
    }

    .form-card {
        padding: 28px 22px;
    }

    .faq-list summary {
        font-size: 19px;
    }

    .faq-list details p {
        padding-right: 0;
    }

    .blog-teaser-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        padding: 36px 0 60px;
    }

    .article-hero {
        padding-bottom: 0;
    }

    .article-cover {
        aspect-ratio: 4 / 3;
        margin-top: 40px;
    }

    .featured-post {
        margin-bottom: 60px;
        padding-bottom: 60px;
    }

    .prose {
        font-size: 17px;
    }

    .prose .lead {
        font-size: 21px;
    }

    .prose blockquote {
        font-size: 23px;
    }

    .author-box {
        flex-direction: column;

        padding: 26px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .toast-wrap {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast {
        width: 100%;
    }
}


/* cenník s jednou kartou */
.prices.single {
    grid-template-columns: minmax(0, 560px);
}
