/* Sonya Hristova — practice website
   Layout idea: calm editorial pages; split hero (photo + text on mauve), narrow reading column, one clear CTA per screen. */
:root {
  --ink: #1d2a2c;          /* deep teal-ink, from the portrait */
  --ink-soft: #46575a;
  --mauve: #a0898a;        /* existing brand colour */
  --mauve-deep: #6e5657;   /* accessible accent for text and buttons */
  --mauve-hero: #7d6566;   /* brand mauve, deepened so white text passes WCAG AA */
  --mauve-wash: #efe7e6;   /* tinted panels */
  --paper: #fbf9f8;        /* page background */
  --line: #ddd2d1;
  --white: #ffffff;
  --todo: #fff1b8;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 3.7rem);

  --radius: 14px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
  --measure: 40rem;
  color-scheme: light;
}

/* Fonts (self-hosted, GDPR-friendly: no requests to Google) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-500-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mauve-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--mauve-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark.todo { background: var(--todo); color: var(--ink); padding: 0 0.25em; border-radius: 3px; font-weight: 600; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: var(--measure); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--wash { background: var(--mauve-wash); }
.section--ink { background: var(--ink); color: #e9eeee; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.kicker { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mauve-deep); margin-bottom: 0.8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 248, 0.94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; position: relative; }
.site-header .nav { margin-left: auto; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; white-space: nowrap; flex-shrink: 0; }
.brand strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.brand span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav ul { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 600; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--mauve); }
.nav .lang { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.7rem; }
.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.7rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 1.5px solid var(--mauve-deep); background: var(--mauve-deep); color: var(--white); transition: background 0.2s, color 0.2s; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--mauve-wash); color: var(--ink); border-color: var(--mauve-wash); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--mauve-hero); }
.hero__photo { position: relative; min-height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; max-height: 46rem; }
.hero__text { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); color: var(--white); display: flex; flex-direction: column; justify-content: center; max-width: 44rem; }
.hero__text h1 { color: var(--white); }
.hero__text h1 .h1-sub { display: block; font-size: var(--step-2); font-style: italic; font-weight: 500; margin-top: 0.5rem; color: #fbf3f2; }
.hero__text .kicker { color: #fff; opacity: 0.9; }
.hero__text .sub { font-family: var(--font-display); font-size: var(--step-2); font-style: italic; margin-bottom: 1.2rem; color: #fbf3f2; }
.hero__text p { color: #fffafa; font-size: 1.08rem; }
.hero__text .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero__text .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero__text .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.8); }
.hero__text .btn--ghost:hover { background: var(--white); color: var(--ink); }
.hero__phone { margin-top: 1rem; font-size: 0.95rem; color: #fffafa; }
.hero__phone a { color: var(--white); font-weight: 700; }

/* Page header (inner pages) */
.page-head { background: var(--mauve-wash); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-head p.lead { max-width: var(--measure); margin-bottom: 0; }
.crumbs { font-size: var(--step--1); margin-bottom: 1rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--mauve); }
.crumbs a { color: var(--ink-soft); }

/* Credentials strip */
.creds { border-block: 1px solid var(--line); background: var(--white); }
.creds ul { list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.9rem 2rem; }
.creds li { font-size: 0.93rem; line-height: 1.45; padding-left: 1.1rem; position: relative; color: var(--ink-soft); }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--mauve); }
.creds strong { color: var(--ink); font-weight: 700; }

/* Two-column text + aside */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }

/* Help topics */
.topics { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 2.5rem; }
.topics li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.topics h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.25rem; }
.topics p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }

/* Quote */
.quote { margin: 0; padding: 0; }
.quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); line-height: 1.25; color: var(--ink); margin-bottom: 0.6rem; text-wrap: balance; }
.quote footer { font-size: 0.95rem; color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--mauve-wash); color: var(--mauve-deep); font-weight: 700; margin-bottom: 0.8rem; }
.steps h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }

/* Price / facts table */
.facts { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.98rem; }
.facts th, .facts td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 40%; font-weight: 600; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.2rem 0; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.8rem; font-size: 1.4rem; color: var(--mauve-deep); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1rem; color: var(--ink-soft); max-width: var(--measure); }

/* Prose */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* Callout / CTA band */
.cta-band { background: var(--ink); color: #e9eeee; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 3fr) auto; gap: 1.5rem 2rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: #c8d3d3; }
.note { background: var(--white); border-left: 3px solid var(--mauve); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.96rem; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-list a { font-size: 1.12rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--mauve-deep); text-decoration: underline; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: 0.94rem; display: block; margin-bottom: 0.35rem; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0.75rem 0.85rem; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--mauve); border-color: var(--mauve); }
.form textarea { min-height: 8rem; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; font-weight: 400; }
.form .check input { width: auto; margin-top: 0.3rem; }
.form .hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.form .hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; margin: 0; }
.form-status[data-state="ok"] { color: #2f6b4f; }
.form-status[data-state="error"] { color: #9b2c2c; }

/* Events */
.event { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.event--past { opacity: 0.85; }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--mauve-wash); color: var(--mauve-deep); margin-bottom: 0.8rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c8d3d3; padding-block: 3.5rem 2rem; margin-top: 0; font-size: 0.95rem; }
.site-footer a { color: #f1f4f4; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 0.4rem; }
.site-footer h3 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #93a5a6; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: #93a5a6; }

/* Mobile action bar */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { order: 2; }
  .hero__photo img { max-height: 28rem; aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .split, .split--wide-left, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
/* Collapse the menu before it runs out of room (6 items + language + button) */
@media (max-width: 1120px) {
  .js .nav-toggle { display: inline-flex; }
  .js .header-cta { margin-left: auto; }
  .js .nav { position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(29, 42, 44, 0.08); flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1.25rem; gap: 0.75rem; display: none; }
  .js .nav[data-open="true"] { display: flex; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav ul a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .js .nav .lang { align-self: flex-start; }
  .nav ul { flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .header-cta { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); gap: 0.6rem; }
  .mobile-bar .btn { padding: 0.7rem 0.8rem; font-size: 0.92rem; }
  body { padding-bottom: 4.5rem; }
}
@media (max-width: 520px) {
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .mobile-bar, .site-footer, .form { display: none; }
}
