/*
 * stefkanikolova.com prototype — design tokens and components.
 * Colours are tuned to logo concept 03; text colours pass WCAG AA on cream and white.
 * Layout: one centred 1200px column, full-width colour bands, generous vertical rhythm.
 */
:root {
  --cream: #FBF6EE;
  --linen: #F3EADB;
  --white: #FFFFFF;
  --line: #E6DCCB;
  --ink: #2E2A26;
  --ink-soft: #5E564E;
  --sage: #56685D;
  --sage-dark: #46564C;
  --leaf: #94A48C;
  --sage-mist: #D5DECB;
  --blush: #D9AFA6;
  --blush-mist: #F2D4CF;
  --blush-deep: #874B44; /* darkened from #9A5A52 so accent text passes 4.5:1 on every pastel band */
  --butter: #F4E3B5;
  --sky: #CFDDE6;
  --lavender: #DDD3E8;
  --serif: Lora, Georgia, "Times New Roman", serif;
  --sans: Manrope, "Segoe UI", system-ui, sans-serif;
  --radius: 24px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blush-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.measure { max-width: 38em; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blush-deep); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders stay visibly marked until Stefka confirms them. */
.ph { background: var(--butter); border-radius: 6px; padding: 1px 6px; font-weight: 600; color: var(--ink); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.draft-note { display: flex; gap: 12px; align-items: flex-start; background: var(--butter); border-radius: 16px; padding: 16px 20px; font-size: .95rem; line-height: 1.55; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--butter); font: 600 .78rem/1 var(--sans); letter-spacing: .02em; color: var(--ink); align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--sage); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--sage); }
.btn--ghost:hover { background: var(--white); color: var(--sage-dark); }
.btn svg { flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.skip { position: absolute; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 56px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 83px; height: 68px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 500 1.3rem/1.15 var(--serif); white-space: nowrap; }
.brand__role { font: 600 .72rem/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--blush-deep); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.nav__list a { display: inline-block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav__list a:hover { border-bottom-color: var(--leaf); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--blush-deep); }
.nav__tools { display: flex; align-items: center; gap: 16px; }
.lang { font-size: .9rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: 10px 2px; }
.lang:hover { color: var(--ink); text-decoration: underline; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 .95rem/1 var(--sans); cursor: pointer; }

/* Seven menu items need about 1240px on one line; below that the menu collapses. */
@media (max-width: 1240px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-header__row { column-gap: 16px; } /* the wide logo gap is only for the full desktop menu */
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); flex-direction: column; align-items: stretch; gap: 16px; }
  .js .nav.is-open { display: flex; }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .js .nav__tools { justify-content: space-between; }
  html:not(.js) .site-header__row { flex-wrap: wrap; }
  html:not(.js) .nav { flex-wrap: wrap; padding-bottom: 12px; }
  html:not(.js) .nav__list { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand img { width: 55px; height: 45px; }
  .brand__name { font-size: 1.05rem; }
  .brand__role { letter-spacing: .16em; }
  .nav-toggle { padding: 0 12px; }
}

/* ---------- Sections ---------- */
.band { padding-block: clamp(64px, 9vw, 112px); }
.band--white { background: var(--white); }
.band--linen { background: var(--linen); }
.band--sage { background: var(--sage-mist); }
.band--sage a:not(.btn) { color: var(--sage-dark); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: 40px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 14px; max-width: 40rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Page header for supporting pages */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); background: var(--cream); }
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 18px; }
.page-hero__shapes { position: absolute; right: -80px; top: -60px; width: min(46vw, 520px); height: auto; pointer-events: none; }
@media (max-width: 720px) { .page-hero__shapes { opacity: .55; right: -140px; } }
.crumbs { font-size: .9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.band--white .card { background: var(--cream); }
.card__icon { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; }
.card__icon--sage { background: var(--sage-mist); }
.card__icon--blush { background: var(--blush-mist); }
.card__icon--lav { background: var(--lavender); }
.card__icon--butter { background: var(--butter); }
.card__icon--sky { background: var(--sky); }
.card p { color: var(--ink-soft); }
.card .link-arrow { margin-top: auto; }

.facts { display: flex; flex-direction: column; gap: 12px; }
.fact { background: var(--white); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.band--white .fact { background: var(--cream); }
.fact__title { font: 500 1.15rem/1.35 var(--serif); }
.fact__meta { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.stat { display: flex; align-items: baseline; gap: 14px; }
.stat__num { font: 500 3.6rem/1 var(--serif); color: var(--sage); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.step::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-mist); font: 500 1.25rem/1 var(--serif); color: var(--ink); }
.step p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: 20px; }
.band--white .faq details { background: var(--cream); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 500 1.15rem/1.4 var(--serif); border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Articles ---------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.band--white .post-card { background: var(--cream); }
.post-card__media { aspect-ratio: 16 / 10; max-width: 100%; display: block; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__cat { font: 600 .78rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blush-deep); }
.post-card :is(h2, h3) { font-size: 1.35rem; line-height: 1.3; }
.post-card :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.post-card :is(h2, h3) a:hover { text-decoration: underline; }
.post-card p { color: var(--ink-soft); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--leaf); }
.chips a[aria-current="true"] { background: var(--sage); border-color: var(--sage); color: var(--white); }

.article { max-width: 44rem; }
.article h2 { font-size: 1.75rem; margin-top: 12px; }
.article p, .article ul { color: var(--ink); }
.article ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.article .stack { gap: 20px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Gallery ---------- */

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: 20px; padding: 16px 20px; }
.band--white .contact-item { background: var(--cream); }
.contact-item__label { font-size: .85rem; color: var(--ink-soft); }
.contact-item__value { font-weight: 600; }
.contact-item__value a { display: inline-block; padding-block: 6px; }  /* tap target of at least 24 px */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }

/* ---------- Form ---------- */
.form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.band--white .form { background: var(--cream); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.field label, .field legend { font-weight: 600; font-size: .98rem; padding: 0; }
.field .hint { font-size: .9rem; color: var(--ink-soft); margin-top: -4px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #C9BBA6; border-radius: 14px; background: var(--white); color: var(--ink); font: 400 1rem/1.5 var(--sans);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23566B5A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 16px 16px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--blush-deep); outline-offset: 1px; border-color: var(--sage); }
.field [aria-invalid="true"] { border-color: #A23B33; }
.field__error { color: #A23B33; font-weight: 600; font-size: .92rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; }
.choice input { width: 20px; height: 20px; accent-color: var(--sage); margin: 0; }
.choice:has(input:checked) { border-color: var(--sage); background: var(--sage-mist); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.consent input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--sage); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { border-radius: 16px; padding: 16px 20px; background: #F6E1DE; border: 2px solid #A23B33; }
.form-summary h2 { font: 600 1.05rem/1.4 var(--sans); }
.form-summary ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-summary a { color: #7E2C26; font-weight: 600; }
.form-success { border-radius: var(--radius); padding: 32px; background: var(--sage-mist); display: flex; flex-direction: column; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 56px 32px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { font: 600 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer ul a { color: var(--ink); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-logo { width: 150px; height: 150px; }
.site-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .9rem; color: var(--ink-soft); }

/* Prototype banner (not part of the real site) */
.proto-bar { background: var(--ink); color: var(--cream); font-size: .875rem; padding-block: 8px; }
.proto-bar a { color: var(--cream); }

/* Hero tweaks on top of hero.css */
.sn-hero__content .actions { margin-top: 4px; }

/* ---------- Blog ---------- */
.post-card__meta { font-size: .88rem; color: var(--ink-soft); }
.article-cover { margin-top: -24px; margin-bottom: 0; }
.article-cover img, .article-cover svg { display: block; width: 100%; max-width: 1040px; height: auto; aspect-ratio: 1200 / 630; margin: 0 auto; border-radius: 28px; object-fit: cover; }
.article h2 { margin-top: 1.2em; }
.article-cta { margin-top: 24px; padding: 28px; border-radius: 24px; background: var(--sage-mist); display: grid; gap: 12px; justify-items: start; }
.article-cta h2 { margin: 0; font-size: 1.35rem; }
.article-cta p { margin: 0; }
/* Placeholder for Stefka inside a draft. Visible in previews so nothing slips through. */
.sn-todo { padding: 12px 16px; border-left: 4px solid var(--blush-deep); background: var(--blush-mist); border-radius: 0 12px 12px 0; font-size: .95rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--sage); border-color: var(--sage); color: var(--white); }
@media (max-width: 600px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .chips a { white-space: nowrap; }
}

/* ---------- Online consultations ---------- */
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--white); }
.band--white .facts-list li { background: var(--cream); }
.facts-list svg { flex: none; color: var(--sage); }
.facts-list span { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.facts-list strong { font-weight: 600; min-width: 10.5em; }
.facts-list--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.facts-list--row strong { min-width: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg); }
.card--wide { grid-column: 1 / -1; }
.note-card { padding: 28px; border-radius: var(--radius); background: var(--sage-mist); display: grid; gap: 12px; align-content: start; }
.note-card h2 { font-size: 1.35rem; }
.note-card p { margin: 0; }
.actions__note { margin: 4px 0 0; font-size: .95rem; color: var(--ink-soft); }
.actions__note strong { color: var(--ink); font-weight: 600; user-select: all; }
.stack .facts + h2 { margin-top: 24px; }
.card .checklist { color: var(--ink-soft); }

/* Моята визия (homepage) */
.split--vision { align-items: center; }
.vision h3 { margin-top: 12px; }
.vision__media { display: flex; justify-content: center; }
.vision__art { width: 100%; max-width: 480px; height: auto; aspect-ratio: 480 / 420; }
.vision__benefits { list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.vision__benefit { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.vision__benefit .card__icon { flex: none; }
.vision__benefit strong { display: block; font: 500 1.15rem/1.35 var(--serif); margin-bottom: 6px; }
.vision__benefit p { margin: 0; color: var(--ink-soft); }
.vision__close { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.vision__close p { margin: 0; max-width: 46em; color: var(--ink-soft); font-style: italic; }
@media (max-width: 860px) { .vision__art { max-width: 360px; } }
/* page hero with an illustration (2026-10-20) */
.page-hero .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.page-hero__text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.page-hero__art { display: block; width: 100%; max-width: 440px; height: auto; justify-self: end; }
@media (max-width: 760px) {
  .page-hero .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { max-width: 220px; justify-self: center; }
}
