
@charset "UTF-8";

/* Tokens and foundations */
:root {
  --cream:#f7f5ef;
  --paper:#f0eee6;
  --navy:#123343;
  --muted:#5e6d71;
  --gold:#956b34;
  --gold-light:#dcc395;
  --red:#95434a;
  --line:#dcded6;
  --sans:"Onest","Segoe UI",Arial,sans-serif;
  --container:1280px;
  --section-space:84px;
  --grid-gap:64px;
  --radius:6px;
  --header-height:88px
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-height) + 20px)
}
body {
  margin:0;
  background:var(--cream);
  color:var(--navy);
  font:400 16px/1.75 var(--sans);
  -webkit-font-smoothing:antialiased
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer;
  color:inherit
}
a {
  color:inherit;
  text-decoration:none
}
img {
  display:block;
  width:100%;
  height:auto
}
figure,p,h1,h2,h3,h4 {
  margin:0
}
p {
  color:var(--muted)
}
h1,h2,h3 {
  font-weight:450;
  line-height:1.12;
  letter-spacing:-.035em
}
h1 {
  font-size:clamp(64px,6.1vw,90px)
}
h2 {
  font-size:54px
}
h3 {
  font-size:26px;
  line-height:1.3
}
em {
  font-style:normal;
  color:var(--red)
}
::selection {
  background:#b7813640
}
:focus-visible {
  outline:3px solid #b58b50;
  outline-offset:5px
}
[hidden] {
  display:none!important
}
.container {
  width:min(var(--container),calc(100% - 112px));
  margin:auto
}
.eyebrow {
  font-size:12px;
  font-weight:650;
  letter-spacing:.13em;
  line-height:1.6;
  margin-bottom:22px
}
.lead {
  font-size:18px;
  line-height:1.8
}
.dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--red);
  border-radius:50%;
  margin-right:10px;
  vertical-align:2px
}
.compact {
  padding:var(--section-space) 0
}
.skip {
  position:fixed;
  top:-100px;
  left:12px;
  background:var(--navy);
  color:white;
  padding:12px;
  z-index:100
}
.skip:focus {
  top:10px
}

/* Shared controls */
.button {
  display:inline-flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  min-height:48px;
  padding:15px 24px;
  border:1px solid var(--navy);
  border-radius:40px;
  background:var(--navy);
  color:var(--cream);
  font-size:14px;
  font-weight:550;
  line-height:1.5;
  transition:background .18s,transform .18s
}
.button span {
  font-size:20px;
  line-height:1;
  transition:transform .18s
}
.button:hover {
  background:#225167;
  transform:translateY(-1px)
}
.button:hover span {
  transform:translate(2px,-2px)
}
.button:disabled {
  opacity:.5;
  cursor:not-allowed;
  transform:none
}
.light {
  background:var(--cream);
  border-color:var(--cream);
  color:var(--navy)
}
.light:hover {
  background:#e5d7bf;
  color:var(--navy)
}
.text-link {
  display:inline-flex;
  gap:22px;
  align-items:center;
  min-height:44px;
  padding:4px 0 7px;
  border:0;
  border-bottom:1px solid #8b96977a;
  background:none;
  font-size:14px;
  font-weight:550;
  line-height:1.6;
  transition:color .18s,border-color .18s
}
.text-link:hover {
  color:var(--gold);
  border-color:var(--gold)
}
.text-link span {
  font-size:18px
}

/* Header */
.header {
  height:var(--header-height);
  position:sticky;
  top:0;
  z-index:20;
  background:#f7f5eff5;
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)
}
.header-inner {
  height:100%;
  width:min(var(--container),calc(100% - 112px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}
.brand {
  display:block;
  position:relative;
  overflow:hidden;
  width:108px;
  height:70px;
  flex-shrink:0;
  mix-blend-mode:multiply
}
.brand img { position:static; display:block; width:100%; height:100%; object-fit:contain; }
.header nav {
  display:flex;
  gap:27px;
  align-items:center;
  font-size:15px;
  font-weight:550
}
.header nav a {
  position:relative;
  min-height:44px;
  display:inline-flex;
  align-items:center
}
.header nav a:after {
  content:'';
  position:absolute;
  bottom:3px;
  left:0;
  width:0;
  height:2px;
  background:var(--gold);
  transition:width .18s
}
.header nav a:hover:after,.header nav a:focus-visible:after {
  width:100%
}
.header-actions {
  display:flex
}
.header-cta {
  white-space:nowrap;
  font-size:14px;
  padding:13px 20px
}
.menu-toggle {
  display:none
}

/* Hero */
.hero {
  position:relative;
  isolation:isolate;
  color:var(--cream);
  background:#0b2331;
  overflow:hidden
}
.hero-grid {
  display:block;
  padding:60px 0 40px
}
.hero-copy {
  max-width:780px
}
.hero-copy .eyebrow {
  max-width:540px;
  color:var(--gold-light);
  font-size:13px;
  letter-spacing:.025em;
  margin-bottom:25px
}
.hero .dot {
  background:var(--gold-light)
}
.hero h1 {
  letter-spacing:-.04em;
  line-height:1.08
}
.hero em {
  color:var(--gold-light)
}
.hero-copy .lead {
  font-size:17px;
  max-width:490px;
  margin-top:28px;
  color:#d5dfe0;
  line-height:1.8
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:27px
}
.hero .button {
  background:var(--cream);
  border-color:var(--cream);
  color:var(--navy);
  font-weight:650
}
.hero .button:hover {
  background:#e5d7bf
}
.hero .text-link {
  color:var(--cream);
  border-color:#ffffff5c
}
.consultation-hint {
  color:#c7d4d9;
  font-size:13px;
  line-height:1.8;
  max-width:440px;
  margin-top:18px
}
.hero-image {
  position:absolute;
  inset:0 0 0 auto;
  width:63%;
  height:100%;
  z-index:-2
}
.hero-image img {
  height:100%;
  object-fit:cover;
  object-position:54% 50%
}
.hero-image figcaption {
  display:none
}
.hero:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#0b2331 0%,#0b2331f2 24%,#0b2331d9 37%,#0b233161 61%,#0b233108 82%),linear-gradient(0deg,#0b2331c7,transparent 35%)
}
.credibility {
  display:flex;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid #ffffff38;
  margin-top:18px;
  padding:24px 0;
  color:#dce3e3;
  font-size:12px
}
.credibility b {
  font-weight:400;
  margin:0 10px
}

/* Education */
.education {
  padding:var(--section-space) 0;
  background:var(--paper)
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:var(--grid-gap);
  margin-bottom:40px
}
.section-heading .eyebrow {
  margin-bottom:15px
}
.section-heading>p {
  max-width:420px;
  padding-top:27px;
  font-size:16px
}
.tabs {
  display:flex;
  flex-wrap:wrap;
  gap:10px
}
.tabs button {
  background:transparent;
  border:1px solid #c4cdc6;
  border-radius:30px;
  padding:12px 21px;
  min-height:46px;
  font-size:13px;
  font-weight:650;
  letter-spacing:.005em;
  transition:background .18s,color .18s
}
.tabs button:hover {
  background:#e4e5dc
}
.tabs button[aria-selected=true] {
  background:var(--navy);
  border-color:var(--navy);
  color:var(--cream)
}
#education-panel {
  padding-top:30px;
  min-height:300px
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:27px
}
.panel-heading h3 {
  font-weight:550
}
.duration {
  font-size:13px;
  color:var(--muted)
}
.facts {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:32px;
  margin:0
}
.facts dt {
  font-size:13px;
  color:var(--muted);
  font-weight:600;
  margin-bottom:7px
}
.facts dd {
  margin:0;
  font-size:16px;
  line-height:1.75
}
.education-note {
  font-size:13px;
  margin:26px 0 12px;
  border-left:2px solid var(--gold);
  background:#e9e5d866;
  padding:11px 15px;
  max-width:980px;
  border-radius:0 var(--radius) var(--radius) 0
}
.independent {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:var(--grid-gap);
  border-top:1px solid #c8cec8;
  margin-top:30px;
  padding-top:30px
}
.independent h3 {
  font-size:24px;
  line-height:1.5
}
.independent h3 span {
  color:var(--red)
}
.independent p {
  font-size:16px;
  line-height:1.8
}

/* Why Poland */
.why-poland {
  padding:var(--section-space) 0
}
.poland-layout {
  display:grid;
  grid-template-columns:1fr 1.12fr;
  gap:var(--grid-gap);
  align-items:start
}
.poland-intro h2 {
  font-size:72px;
  line-height:1.08
}
.poland-intro .lead {
  font-size:17px;
  max-width:380px;
  margin:28px 0
}
.poland-benefits ol {
  list-style:none;
  padding:0;
  margin:0 0 22px;
  border-top:1px solid var(--line)
}
.poland-benefits li {
  display:flex;
  gap:28px;
  align-items:baseline;
  padding:24px 0;
  border-bottom:1px solid var(--line)
}
.benefit-number {
  font-size:12px;
  color:var(--gold);
  font-weight:600;
  padding-top:0;
  min-width:24px;
  font-variant-numeric:tabular-nums
}
.poland-benefits h3 {
  font-size:26px;
  line-height:1.3
}
.poland-benefits p {
  font-size:15px;
  max-width:370px;
  margin-top:10px
}
.poland-benefits>.text-link {
  font-size:13px
}

/* Service process */
.services {
  padding:var(--section-space) 0;
  background:var(--navy);
  color:var(--cream)
}
.services p {
  color:#c1cdd2
}
.services .eyebrow {
  color:var(--gold-light)
}
.service-top {
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:var(--grid-gap);
  align-items:start
}
.service-top h2 {
  font-size:55px;
  line-height:1.1
}
.service-intro {
  font-size:16px;
  margin-top:22px
}
.service-promise {
  border-left:1px solid #ffffff30;
  padding-left:35px;
  margin-top:8px
}
.service-promise span {
  font-size:12px;
  letter-spacing:.09em;
  color:var(--gold-light);
  line-height:1.8
}
.service-promise p {
  font-size:25px;
  line-height:1.5;
  margin-top:25px;
  color:#e4e8e5
}
.service-grid {
  margin-top:40px
}
.process {
  display:grid;
  grid-template-columns:1fr 1.8fr;
  gap:64px;
  border-top:1px solid #ffffff29;
  padding-top:26px
}
.process-tabs {
  display:flex;
  flex-direction:column;
  align-self:start
}
.process-tabs button {
  display:flex;
  align-items:baseline;
  line-height:1.6;
  text-align:left;
  gap:16px;
  background:none;
  border:0;
  border-bottom:1px solid #ffffff1a;
  font-size:15px;
  font-weight:500;
  color:#c1cdd2;
  padding:12px 0;
  min-height:48px
}
.process-tabs button span {
  font-size:12px;
  color:#a8bac2;
  min-width:24px;
  font-variant-numeric:tabular-nums
}
.process-tabs button[aria-selected=true],.process-tabs button[aria-selected=true] span {
  color:#edd0a0
}
.process-tabs button[aria-selected=true]:after {
  content:'→';
  margin-left:auto
}
.process-tabs button:hover {
  color:white
}
#process-panel {
  padding-top:8px;
  min-height:440px
}
#process-panel .step-number {
  font-size:12px;
  color:var(--gold-light);
  letter-spacing:.07em;
  margin-bottom:14px
}
#process-panel h3 {
  font-size:32px;
  font-weight:500;
  margin-bottom:24px
}
#process-panel h4 {
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-light);
  margin:0 0 14px
}
#process-panel ul {
  padding:0;
  list-style:none;
  margin:0
}
#process-panel li {
  position:relative;
  padding:0 0 12px 24px;
  font-size:16px;
  line-height:1.7;
  color:#c1cdd2
}
#process-panel li:before {
  content:'—';
  position:absolute;
  left:0;
  color:var(--gold-light);
  font-size:inherit;
  line-height:inherit;
  top:0
}
.step-outcome {
  border-top:1px solid #ffffff29;
  margin-top:18px;
  padding-top:20px
}
.step-result {
  font-size:16px;
  line-height:1.7;
  color:#dce5e7!important
}
.service-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #ffffff29;
  padding-top:22px;
  margin-top:26px;
  gap:25px
}
.service-bottom .text-link {
  color:#e4d4b8
}
.responsibility {
  border-top:1px solid #ffffff29;
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:var(--grid-gap);
  padding-top:24px;
  margin-top:28px
}
.responsibility>div {
  display:flex;
  align-items:baseline;
  gap:20px
}
.responsibility span {
  font-size:12px;
  letter-spacing:.06em;
  white-space:nowrap;
  color:var(--gold-light)
}
.responsibility p {
  font-size:14px;
  line-height:1.8
}

/* About and FAQ */
.about-grid {
  display:grid;
  grid-template-columns:1fr 1.18fr;
  column-gap:var(--grid-gap);
  row-gap:14px;
  align-items:start
}
.about-grid figure { display:contents; }
.about-grid figure img { grid-column:1; grid-row:1; height:0; min-height:100%; }
.about-grid figcaption { grid-column:1; grid-row:2; margin-top:0; }
.about-grid>div { grid-column:2; grid-row:1; min-height:430px; display:flex; flex-direction:column; align-self:stretch; }
.about-grid>div .text-link { margin-top:auto; padding-top:20px; align-self:flex-start; }
.about figure img {
  object-fit:cover;
  object-position:center 35%;
  border-radius:var(--radius)
}
.about figcaption {
  font-size:12px;
  color:var(--muted);
  margin-top:0
}
.about h2,.faq h2,.contact h2 {
  font-size:51px
}
.about .lead {
  margin:24px 0 15px
}
.about p:not(.eyebrow):not(.lead) {
  font-size:16px
}
.about .text-link {
  margin-top:20px
}
.faq {
  border-top:1px solid var(--line)
}
.faq-grid {
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:var(--grid-gap)
}
.faq-grid>div>p:not(.eyebrow) {
  max-width:340px;
  font-size:16px;
  margin-top:23px
}
.faq .text-link {
  margin-top:22px
}
details {
  border-bottom:1px solid #c8cec8
}
details:first-child {
  border-top:1px solid #c8cec8
}
summary {
  cursor:pointer;
  list-style:none;
  padding:20px 36px 20px 0;
  position:relative;
  font-size:16px;
  font-weight:500;
  line-height:1.6;
  min-height:54px
}
summary::-webkit-details-marker {
  display:none
}
summary:after {
  content:'+';
  font-size:24px;
  position:absolute;
  right:2px;
  top:20px;
  line-height:1;
  color:var(--gold)
}
summary:hover {
  color:var(--red)
}
details[open] summary {
  font-weight:650;
  color:var(--red)
}
details[open] summary:after {
  content:'−'
}
details>p {
  font-size:16px;
  line-height:1.85;
  padding:0 28px 22px 0
}

/* Contact and footer */
.contact {
  padding-block:var(--section-space);
  background:var(--paper)
}
.contact-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:var(--grid-gap)
}
.contact .lead {
  font-size:17px;
  margin-top:24px
}
.contact-location {
  font-size:13px;
  margin-top:30px
}
.contact-direct {
  font-size:16px;
  line-height:1.8;
  margin-top:27px;
  max-width:410px
}
.telegram-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px
}
.telegram-links .button {
  padding:14px 20px
}
.telegram-secondary {
  background:transparent;
  color:var(--navy);
  border-color:#aab7b3
}
.telegram-secondary:hover {
  background:#e5e7df;
  color:var(--navy)
}
form label {
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:21px
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:23px
}
input,select,textarea {
  display:block;
  width:100%;
  border:0;
  border-bottom:1px solid #bbc6be;
  border-radius:0;
  background:transparent;
  color:var(--navy);
  padding:13px 0;
  font-size:16px;
  font-weight:400;
  line-height:1.5;
  min-height:48px
}
input::placeholder {
  color:#647572;
  font-size:14px
}
input:focus,select:focus,textarea:focus {
  border-bottom-color:var(--gold)
}
form>.button {
  width:100%;
  margin-top:3px
}
.form-note {
  font-size:13px;
  margin-top:14px;
  line-height:1.8
}
#form-error {
  font-size:14px;
  color:var(--red);
  margin:16px 0 0
}
input[aria-invalid=true] {
  border-bottom-color:var(--red)
}
footer {
  background:var(--navy);
  color:var(--cream);
  padding:46px 0 22px
}
.footer-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding-bottom:40px
}
.footer-brand {
  font-size:31px;
  font-weight:500;
  letter-spacing:-.035em
}
.footer-brand img { display:block; width:168px; height:auto; padding:0; background:none; }
.footer-brand span {
  display:block;
  font-size:10px;
  font-weight:400;
  letter-spacing:.08em;
  color:var(--gold-light);
  margin-top:4px
}
.footer-top p {
  font-size:15px;
  color:#b7c4c9
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  border-top:1px solid #ffffff29;
  padding-top:18px;
  font-size:12px;
  color:#b7c4c9
}
.footer-bottom button {
  border:0;
  background:none;
  color:inherit;
  font-size:12px;
  min-height:44px
}

.footer-actions { display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.social-links { display:flex; flex-wrap:wrap; gap:10px; }
.footer-email { font-size:13px; color:#b7c4c9; overflow-wrap:anywhere; }
.footer-email:hover { color:var(--gold-light); }
.social-link { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; padding:0; border:1px solid #ffffff40; border-radius:30px; color:var(--cream); font-size:14px; transition:background .2s, border-color .2s; }
.social-link svg { width:22px; height:22px; color:var(--gold-light); }
.social-link:hover { background:#ffffff0d; border-color:var(--gold-light); }
.documents-note { max-width:620px; font-size:13px; line-height:1.65; color:#b7c4c9; margin:16px 0 0; }

/* Dialog */
dialog {
  border:0;
  border-radius:var(--radius);
  padding:48px;
  max-width:660px;
  width:calc(100% - 36px);
  max-height:85vh;
  background:var(--cream);
  color:var(--navy);
  box-shadow:0 30px 100px #0005
}
dialog::backdrop {
  background:#031d2caa;
  backdrop-filter:blur(4px)
}
.dialog-close {
  position:absolute;
  right:6px;
  top:6px;
  width:44px;
  height:44px;
  font-size:28px;
  background:none;
  border:0
}
.dialog-close:hover {
  color:var(--red)
}
dialog h2 {
  font-size:35px;
  margin-bottom:24px
}
dialog p,dialog li {
  font-size:16px;
  line-height:1.75;
  margin-bottom:14px
}
dialog p:last-child,dialog ul:last-child {
  margin-bottom:0
}
dialog ul {
  padding-left:20px
}
dialog a:not(.button) {
  text-decoration:underline;
  text-underline-offset:3px
}
dialog .button {
  margin-top:15px
}
dialog small {
  font-size:12px;
  color:var(--muted)
}

/* Laptops */
@media(max-width:1250px) {
  :root { --grid-gap:40px; }
  .header-inner {
    width:calc(100% - 80px);
    gap:18px
  }
  .header nav {
    font-size:14px;
    gap:20px
  }
  .header-cta {
    font-size:13px;
    padding:13px 17px
  }
  .container {
    width:calc(100% - 80px)
  }
  .service-top {
    gap:55px
  }
  .service-top h2 {
    font-size:49px
  }
  .about-grid,.faq-grid,.contact-grid {
    column-gap:var(--grid-gap)
  }
  .process {
    gap:40px
  }
}

@media(max-width:1100px) {
  h1 {
    font-size:72px
  }
  h2 {
    font-size:48px
  }
  .hero-image {
    width:70%
  }
  .hero-copy {
    max-width:670px
  }
  .hero-copy .eyebrow {
    max-width:480px
  }
  .facts {
    grid-template-columns:1fr 1fr;
    gap:24px 40px
  }
  #education-panel {
    min-height:370px
  }
  .poland-layout {
    gap:50px
  }
  .poland-intro h2 {
    font-size:60px
  }
  .poland-benefits h3 {
    font-size:24px
  }
  .process {
    grid-template-columns:180px 1fr;
    gap:35px
  }
  .service-top h2 {
    font-size:46px
  }
  .service-promise p {
    font-size:23px
  }
  .about h2,.faq h2,.contact h2 {
    font-size:43px
  }
  .responsibility {
    gap:30px
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0
  }
}

@media(max-width:1050px) {
  .header nav {
    display:none;
    position:absolute;
    top:87px;
    left:0;
    right:0;
    background:var(--cream);
    padding:20px 35px;
    border-bottom:1px solid var(--line);
    font-size:16px;
    gap:25px
  }
  .header nav.open {
    display:flex;
    flex-wrap:wrap
  }
  .menu-toggle {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:44px;
    margin-right:auto;
    border:0;
    background:none;
    font-size:15px;
    font-weight:550
  }
}

@media(max-width:850px) {
  .contact-grid,.faq-grid {
    grid-template-columns:1fr;
    gap:35px
  }
  .contact .form-row {
    grid-template-columns:1fr 1fr;
    gap:23px
  }
  .faq-grid>div>p:not(.eyebrow) {
    max-width:520px
  }
  .section-heading {
    display:block
  }
  .section-heading>p {
    padding-top:0;
    margin-top:23px;
    max-width:570px
  }
  .independent {
    gap:40px
  }
  .service-top {
    gap:35px
  }
  .service-top h2 {
    font-size:41px
  }
  .about-grid {
    column-gap:32px
  }
}

@media(min-width:1101px) and (max-height:820px) {
  .hero-grid {
    padding-top:37px;
    padding-bottom:26px
  }
  .hero h1 {
    font-size:76px
  }
  .hero-copy .eyebrow {
    margin-bottom:20px
  }
  .hero-copy .lead {
    margin-top:22px
  }
  .hero-actions {
    margin-top:22px
  }
  .consultation-hint {
    margin-top:15px
  }
  .credibility {
    margin-top:10px;
    padding:19px 0
  }
}

/* Mobile baseline. A dedicated mobile design pass remains separate. */
@media(max-width:760px) {
  :root {
    --header-height:78px;
    --section-space:60px;
    --grid-gap:32px
  }
  .container {
    width:calc(100% - 40px)
  }
  h1 {
    font-size:clamp(43px,12vw,54px);
    line-height:1.15
  }
  h2,.section-heading h2,.service-top h2,.about h2,.faq h2,.contact h2 {
    font-size:38px;
    line-height:1.15
  }
  .header-inner {
    width:calc(100% - 40px);
    gap:15px
  }
  .brand {
    width:88px;
    height:59px
  }
  .brand img {
    width:100%;
    height:100%;
    object-fit:contain
  }
  .header-actions {
    display:none
  }
  .menu-toggle {
    margin-left:auto;
    margin-right:0
  }
  .header nav {
    top:77px;
    flex-direction:column;
    align-items:start;
    gap:15px;
    font-size:17px
  }
  .hero-grid {
    padding:43px 0 35px
  }
  .hero-copy .eyebrow {
    font-size:12px;
    line-height:1.8;
    letter-spacing:.02em;
    max-width:310px;
    margin-bottom:26px
  }
  .hero-copy .lead {
    font-size:16px;
    max-width:none;
    margin-top:25px
  }
  .hero-image {
    width:100%;
    inset:0
  }
  .hero-image img {
    object-position:61% center
  }
  .hero:before {
    background:linear-gradient(90deg,#0b2331e8,#0b233170),linear-gradient(0deg,#0b2331f2,transparent 50%)
  }
  .hero-actions {
    align-items:flex-start;
    flex-direction:column;
    gap:15px;
    margin-top:26px
  }
  .consultation-hint {
    font-size:13px
  }
  .credibility {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    font-size:12px;
    margin-top:0;
    padding:24px 0
  }
  .credibility b {
    margin:0 4px
  }
  .section-heading {
    margin-bottom:28px
  }
  .tabs {
    gap:9px
  }
  .tabs button {
    padding:12px 16px;
    min-height:44px
  }
  .panel-heading {
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:24px
  }
  .panel-heading h3 {
    font-size:23px
  }
  #education-panel {
    min-height:0;
    padding-top:26px
  }
  .facts {
    grid-template-columns:1fr;
    gap:21px
  }
  .facts dt {
    margin-bottom:5px
  }
  .education-note {
    padding:12px 14px
  }
  .independent {
    display:block;
    margin-top:30px;
    padding-top:25px
  }
  .independent h3 {
    font-size:22px
  }
  .independent p {
    margin-top:17px
  }
  .poland-layout {
    display:block
  }
  .poland-intro h2 {
    font-size:49px
  }
  .poland-intro .lead {
    font-size:16px;
    margin:24px 0
  }
  .poland-benefits {
    margin-top:35px
  }
  .poland-benefits li {
    padding:23px 0;
    gap:20px
  }
  .poland-benefits h3 {
    font-size:23px
  }
  .poland-benefits h3 br {
    display:none
  }
  .services {
    padding:60px 0
  }
  .service-top {
    display:block
  }
  .service-intro br {
    display:none
  }
  .service-promise {
    margin-top:28px;
    padding:20px 0 0;
    border-left:0;
    border-top:1px solid #ffffff29
  }
  .service-promise p {
    font-size:24px;
    margin-top:15px
  }
  .service-promise p br {
    display:none
  }
  .service-grid {
    margin-top:28px
  }
  .process {
    display:block;
    padding-top:24px
  }
  .process-tabs {
    flex-direction:row;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:28px
  }
  .process-tabs button {
    font-size:13px;
    gap:8px;
    padding:10px 12px;
    border:1px solid #ffffff35;
    border-radius:24px;
    min-height:44px
  }
  .process-tabs button[aria-selected=true] {
    border-color:#d5b985;
    background:#d5b98515
  }
  .process-tabs button[aria-selected=true]:after {
    display:none
  }
  #process-panel {
    min-height:0
  }
  #process-panel h3 {
    font-size:28px
  }
  .service-bottom {
    flex-direction:column;
    align-items:start;
    gap:23px
  }
  .service-bottom .button {
    width:100%
  }
  .responsibility {
    display:block
  }
  .responsibility>div {
    display:block
  }
  .responsibility>div+div {
    margin-top:20px
  }
  .responsibility p {
    margin-top:6px
  }
  .about-grid {
    display:flex;
    flex-direction:column-reverse;
    gap:30px
  }
  .about-grid>div { display:block; min-height:0; }
  .about-grid>div .text-link { margin-top:24px; }
  .about-grid figure img { min-height:0; height:auto; contain:none; }
  .about-grid figcaption { margin-top:14px; }
  .about figure {
    display:block;
    width:100%
  }
  .about figure img {
    height:auto;
    max-height:450px
  }
  .about .lead {
    font-size:16px
  }
  .faq-list {
    margin-top:0
  }
  .contact .lead {
    font-size:16px
  }
  .contact .lead br {
    display:none
  }
  .contact form {
    margin-top:0
  }
  .contact .form-row {
    grid-template-columns:1fr;
    gap:0
  }
  .telegram-links {
    flex-direction:column
  }
  .telegram-links .button {
    width:100%
  }
  .footer-top {
    flex-wrap:wrap;
    gap:25px
  }
  .footer-brand {
    font-size:28px
  }
  .footer-top p {
    font-size:13px
  }
  .footer-bottom {
    flex-wrap:wrap;
    gap:12px 20px
  }
  .footer-bottom>span:nth-child(2) {
    display:none
  }
  dialog {
    padding:48px 23px 28px
  }
  dialog h2 {
    font-size:30px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}

/* Consultation form: contained fields and accessible custom choices */
#consultation { padding:32px; border:1px solid #dcded3; border-radius:20px; background:#fbfaf6; box-shadow:0 8px 28px #12334308; }
.form-heading { margin-bottom:32px; }
.form-heading .eyebrow { display:block; margin-bottom:0; }
.form-heading h3 { font-size:28px; line-height:1.2; margin:12px 0; letter-spacing:-.04em; }
.form-heading p { font-size:14px; line-height:1.6; color:var(--muted); }
#consultation input,#consultation textarea,.choice-trigger { border:1px solid #d6dacf; background:#fffefa; border-radius:10px; padding:14px 16px; min-height:54px; margin-top:9px; }
#consultation input:focus,#consultation textarea:focus,.choice-trigger[aria-expanded=true] { border-color:var(--gold); box-shadow:0 0 0 3px #ba7d3312; }
#consultation input[aria-invalid=true] { border-color:var(--red); }
.choice-field { position:relative; margin-bottom:21px; min-width:0; }
.choice-caption { font-size:14px; font-weight:600; }
.choice-trigger { display:flex; justify-content:space-between; align-items:center; gap:14px; width:100%; text-align:left; color:var(--navy); font:inherit; font-size:14px; line-height:1.5; }
.choice-trigger span:last-child { font-size:0; width:8px; height:8px; border-right:1.5px solid var(--gold); border-bottom:1.5px solid var(--gold); transform:translateY(-2px) rotate(45deg); flex-shrink:0; }
.choice-options { position:absolute; z-index:30; top:100%; margin-top:7px; width:100%; padding:6px; max-height:280px; overflow-y:auto; background:#fffefa; border:1px solid #dcded3; border-radius:12px; box-shadow:0 12px 32px #12334320; }
.choice-options [role=option] { padding:12px 30px 12px 12px; border-radius:7px; font-size:14px; line-height:1.5; cursor:pointer; position:relative; }
.choice-options [role=option]:hover,.choice-options .active { background:#f0eee6; }
.choice-options [aria-selected=true] { color:var(--navy); font-weight:600; }
.choice-options [aria-selected=true]::after { content:'✓'; position:absolute; right:10px; color:var(--gold); }
#consultation [hidden] { display:none!important; }
#submission-status { margin-top:18px; padding:16px; border-radius:10px; background:#eaf0e6; color:var(--navy); line-height:1.6; }
#consultation textarea { min-height:112px; resize:vertical; }
#consultation textarea::placeholder { color:#647572; font-size:14px; }
#consultation .optional-label { color:var(--muted); font-weight:400; }
.choice-trigger[aria-invalid=true] { border-color:var(--red); }
.choice-options [role=option][aria-disabled=true] { opacity:.55; cursor:default; }
#submission-status strong { color:var(--navy); font-weight:650; }
#consultation button:disabled { opacity:.65; cursor:wait; }
@media(max-width:600px) { #consultation { padding:22px 18px; } .form-heading h3 { font-size:25px; } }

/* Keep breathing room below the form, including validation messages. */
.contact-grid { align-items:start; }
.contact #consultation { margin-bottom:0; }
#consultation label,.choice-field { font-size:14px; line-height:1.5; margin-bottom:24px; }
.choice-caption { display:block; line-height:1.5; }
.choice-trigger span:last-child { line-height:1; }
#consultation input,.choice-trigger { min-height:54px; }
.form-row>label,.form-row>.choice-field { min-width:0; }
#consultation .form-note { margin-bottom:0; }

/* Mobile composition: shared gutters, comfortable touch targets, no desktop widths. */
@media (max-width:760px) {
  :root { --header-height:76px; --section-space:56px; }
  body { -webkit-text-size-adjust:100%; }
  .container,.header-inner { width:calc(100% - 40px); }
  .container>* { min-width:0; }
  h2,.section-heading h2,.service-top h2,.about h2,.faq h2,.contact h2 { font-size:clamp(30px,8.5vw,38px); text-wrap:balance; }
  .eyebrow { font-size:11px; margin-bottom:18px; }
  .header nav { top:100%; padding:12px 20px 20px; gap:0; box-shadow:0 16px 24px #12334314; max-height:calc(100dvh - 76px); overflow-y:auto; }
  .header nav a { width:100%; min-height:52px; border-bottom:1px solid var(--line); }
  .menu-toggle { padding:8px 14px; border:1px solid var(--line); border-radius:24px; }
  .menu-toggle[aria-expanded=true] { background:var(--navy); color:var(--cream); }
  .hero-grid { padding:36px 0 28px; }
  .hero h1 { font-size:clamp(38px,11vw,52px); line-height:1.12; }
  .hero-copy .eyebrow { margin-bottom:22px; }
  .hero-copy .lead { line-height:1.7; margin-top:22px; }
  .hero:before { background:linear-gradient(90deg,#0b2331ed,#0b23319c),linear-gradient(0deg,#0b2331,transparent 75%); }
  .hero-actions .button { width:100%; min-height:54px; }
  .hero-actions .text-link { min-height:46px; }
  .credibility { gap:16px 12px; line-height:1.5; padding:22px 0; }
  .tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:4px; border:1px solid var(--line); border-radius:28px; }
  .tabs button { padding:10px 3px; font-size:10px; letter-spacing:0; min-width:0; }
  .facts { gap:0; }
  .facts>div { padding:16px 0; border-bottom:1px solid var(--line); }
  .facts>div:first-child { padding-top:0; }
  .process-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .process-tabs button { border-radius:12px; padding:12px; min-height:50px; line-height:1.5; font-size:14px; justify-content:flex-start; }
  .process-tabs button:last-child { grid-column:1/-1; }
  .process-tabs button span { line-height:1.5; }
  .services { padding:56px 0; }
  .about .lead,.contact .lead { line-height:1.75; }
  .about-grid { gap:28px; }
  .about-grid figure img { aspect-ratio:4/3; object-fit:cover; border-radius:12px; }
  .about-grid figcaption { font-size:12px; line-height:1.6; }
  .faq-list summary { padding:20px 0; gap:16px; line-height:1.5; }
  .contact-grid { gap:28px; }
  #consultation { padding:24px 18px; border-radius:16px; }
  #consultation input,#consultation select,#consultation textarea,.choice-trigger { font-size:16px; }
  .form-heading { margin-bottom:24px; }
  .choice-options { position:relative; top:auto; max-height:240px; box-shadow:none; }
  .choice-options [role=option] { font-size:16px; min-height:48px; }
  #consultation .button { padding:15px 18px; font-size:14px; text-align:left; gap:12px; }
  .footer-top { display:grid; grid-template-columns:1fr; gap:24px; padding-bottom:28px; }
  .footer-brand img { width:128px; }
  .footer-actions { gap:18px; }
  .footer-actions a { overflow-wrap:anywhere; }
  .social-links { gap:12px; }
  dialog { max-height:calc(100dvh - 32px); overflow-y:auto; border-radius:18px; }
}
@media (max-width:360px) {
  .container,.header-inner { width:calc(100% - 32px); }
  .tabs button { font-size:9px; }
  .process-tabs button { font-size:12px; gap:6px; }
  #consultation { padding:22px 14px; }
}
@media(max-width:760px) {
  .poland-benefits li>div { min-width:0; }
  .poland-benefits h3 { font-size:clamp(20px,5.8vw,23px); overflow-wrap:break-word; }
}
/* Readable service stages even in previews that do not execute JavaScript. */
.process-tabs:empty { display:none; }
.process:has(.process-tabs:empty) { grid-template-columns:1fr; }
.stage-fallback { border-bottom:1px solid #ffffff30; padding:16px 0; }
.stage-fallback summary { cursor:pointer; color:var(--gold-light); font-size:20px; line-height:1.5; min-height:44px; padding:8px 0; }
.stage-fallback[open] summary { margin-bottom:20px; }
/* Mobile audit: readable program controls, form rhythm and complete fallback content. */
.course-fallback { padding:20px 0; border-bottom:1px solid var(--line); }
.course-fallback summary { font-size:21px; font-weight:550; cursor:pointer; padding:8px 0; min-height:48px; }
.course-fallback .facts { margin-top:24px; }
.course-fallback>p { margin:16px 0; }
.course-fallback .text-link { margin-top:16px; }
@media(max-width:760px) {
 .tabs { grid-template-columns:1fr; border:0; border-radius:0; gap:8px; padding:0; }
 .tabs button { font-size:13px; padding:14px 18px; min-height:48px; text-align:left; border:1px solid var(--line); }
 .panel-heading { align-items:flex-start; flex-direction:column; }
 .facts dd { margin:0; line-height:1.7; }
 .education-note { font-size:14px; line-height:1.7; }
 .service-promise { margin-top:24px; }
 .service-promise p { font-size:21px; line-height:1.45; }
 .step-work li,.step-result,.responsibility p { font-size:15px; line-height:1.75; }
 .process-tabs button { align-items:baseline; }
 .contact { padding:48px 0; }
 .contact-grid { gap:32px; }
 #consultation { padding:24px 20px; background:#fffefa; box-shadow:0 6px 22px #12334307; }
 #consultation .form-heading h3 { font-size:27px; letter-spacing:-.035em; margin:10px 0 12px; }
 #consultation label,.choice-field { display:block; margin-bottom:22px; }
 #consultation input,.choice-trigger { width:100%; padding:14px 12px; margin-top:8px; min-height:54px; background:var(--cream); }
 #consultation input::placeholder { font-size:14px; }
 .choice-trigger { align-items:center; gap:10px; }
 .choice-trigger span:first-child { min-width:0; white-space:normal; overflow-wrap:anywhere; }
 .choice-options { background:var(--cream); border-radius:10px; }
 #consultation .form-note { font-size:13px; line-height:1.65; margin-top:16px; }
 #consultation [type=submit] { min-height:56px; border-radius:14px; font-size:15px; }
 #consultation .field-hint { margin:7px 0 0; font-size:12px; line-height:1.5; }
 .footer-bottom>span:nth-child(2) { display:block; }
 .footer-bottom { align-items:flex-start; flex-direction:column; gap:8px; }
 dialog { padding:60px 22px 24px; width:calc(100% - 24px); }
 dialog h2 { font-size:28px; overflow-wrap:break-word; }
 dialog p,dialog li { font-size:15px; line-height:1.7; }
 dialog .button { width:100%; white-space:normal; text-align:left; }
}
@media(max-width:760px) {
 .faq-list summary,.course-fallback summary,.stage-fallback summary { padding-right:36px; }
 #consultation select { border:1px solid #d6dacf; background:var(--cream); border-radius:10px; padding:14px 12px; margin-top:8px; min-height:54px; font-size:16px; }
}


/* UNIBRIDGE language + theme controls */
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.language-switcher{
  position:relative;
  flex:0 0 auto;
}
.language-toggle,
.theme-toggle{
  min-height:44px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--navy);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  transition:background .18s,border-color .18s,color .18s,transform .18s;
}
.language-toggle{
  gap:8px;
  min-width:72px;
  padding:0 13px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.035em;
}
.theme-toggle{
  width:44px;
  padding:0;
  font-size:19px;
}
.language-toggle:hover,
.theme-toggle:hover{
  background:#ece8de;
  border-color:#c8c4b9;
}
.language-toggle svg{
  width:17px;
  height:17px;
  stroke:currentColor;
  flex:0 0 auto;
}
.language-toggle .language-chevron{
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  opacity:.65;
}
.language-menu{
  position:absolute;
  z-index:80;
  top:calc(100% + 10px);
  right:0;
  min-width:196px;
  padding:7px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fffefa;
  box-shadow:0 16px 46px #12334322;
}
.language-menu [data-language-option]{
  width:100%;
  min-height:44px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:var(--navy);
  display:grid;
  grid-template-columns:36px 1fr;
  align-items:center;
  text-align:left;
  padding:8px 10px;
  font-size:14px;
}
.language-menu [data-language-option]:hover,
.language-menu [data-language-option][aria-checked="true"]{
  background:#f0eee6;
}
.language-menu [data-language-option][aria-checked="true"]{
  font-weight:650;
}
.language-menu .language-code{
  color:var(--gold);
  font-size:11px;
  font-weight:750;
  letter-spacing:.06em;
}
.language-menu .language-name{
  white-space:nowrap;
}
html[data-theme="dark"]{
  --muted:#acbac0;
  --line:#2b4651;
}
html[data-theme="dark"] body{
  background:#0a1b24;
  color:#f4f0e7;
}
html[data-theme="dark"] body p{
  color:#acbac0;
}
html[data-theme="dark"] .header{
  background:#0b202aF2;
  border-color:#29434e;
}
html[data-theme="dark"] .header nav,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .language-toggle,
html[data-theme="dark"] .theme-toggle{
  color:#f4f0e7;
}
html[data-theme="dark"] .brand{
  mix-blend-mode:normal;
  background:#f7f5ef;
  border-radius:10px;
  padding:4px 6px;
}
html[data-theme="dark"] .language-toggle,
html[data-theme="dark"] .theme-toggle{
  border-color:#36505b;
}
html[data-theme="dark"] .language-toggle:hover,
html[data-theme="dark"] .theme-toggle:hover{
  background:#16313d;
  border-color:#4b6975;
}
html[data-theme="dark"] .language-menu{
  background:#102832;
  border-color:#35505b;
  box-shadow:0 18px 50px #0008;
}
html[data-theme="dark"] .language-menu [data-language-option]{
  color:#f4f0e7;
}
html[data-theme="dark"] .language-menu [data-language-option]:hover,
html[data-theme="dark"] .language-menu [data-language-option][aria-checked="true"]{
  background:#193642;
}
html[data-theme="dark"] .education,
html[data-theme="dark"] .contact{
  background:#102832;
}
html[data-theme="dark"] .why-poland,
html[data-theme="dark"] .about,
html[data-theme="dark"] .faq,
html[data-theme="dark"] .offline-details{
  background:#0a1b24;
}
html[data-theme="dark"] .facts dt,
html[data-theme="dark"] .about figcaption,
html[data-theme="dark"] dialog small,
html[data-theme="dark"] .form-heading p{
  color:#acbac0;
}
html[data-theme="dark"] .education-note{
  background:#19313a;
}
html[data-theme="dark"] .tabs button{
  color:#d7e0e2;
}
html[data-theme="dark"] .tabs button:hover{
  background:#18343f;
}
html[data-theme="dark"] .tabs button[aria-selected=true]{
  background:#d6b36a;
  color:#0b2331;
}
html[data-theme="dark"] .button:not(.light){
  background:#d6b36a;
  border-color:#d6b36a;
  color:#0b2331;
}
html[data-theme="dark"] .button:not(.light):hover{
  background:#e0c995;
}
html[data-theme="dark"] .hero .button,
html[data-theme="dark"] .services .button.light{
  background:#f7f5ef;
  border-color:#f7f5ef;
  color:#123343;
}
html[data-theme="dark"] .hero .button:hover,
html[data-theme="dark"] .services .button.light:hover{
  background:#e5d7bf;
}
html[data-theme="dark"] #consultation{
  background:#0e242e;
  border-color:#35505a;
  box-shadow:0 12px 34px #0003;
}
html[data-theme="dark"] #consultation input,
html[data-theme="dark"] #consultation textarea,
html[data-theme="dark"] #consultation select,
html[data-theme="dark"] .choice-trigger,
html[data-theme="dark"] .choice-options{
  background:#0a1d26;
  border-color:#35515d;
  color:#f4f0e7;
}
html[data-theme="dark"] #consultation input::placeholder,
html[data-theme="dark"] #consultation textarea::placeholder{
  color:#82959d;
}
html[data-theme="dark"] .choice-options [role=option]{
  color:#e8eeef;
}
html[data-theme="dark"] .choice-options [role=option]:hover,
html[data-theme="dark"] .choice-options .active{
  background:#193642;
}
html[data-theme="dark"] .choice-options [aria-selected=true]{
  color:#f4f0e7;
}
html[data-theme="dark"] #submission-status{
  background:#173328;
  color:#dcebdc;
}
html[data-theme="dark"] dialog{
  background:#102832;
  color:#f4f0e7;
}
html[data-theme="dark"] dialog p,
html[data-theme="dark"] dialog li{
  color:#c0ccd0;
}
html[data-theme="dark"] .telegram-secondary:hover{
  background:#17333e;
}
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .faq-list summary{
  border-color:var(--line);
}
body,
.header,
.education,
.contact,
#consultation,
.choice-trigger,
.choice-options,
dialog,
.language-menu{
  transition:background-color .22s ease,color .22s ease,border-color .22s ease;
}
@media(max-width:980px){
  .header-actions{
    display:flex!important;
    margin-left:auto;
    gap:7px;
  }
  .header-cta{
    display:none!important;
  }
  .menu-toggle{
    margin-left:0!important;
  }
  .language-toggle{
    min-width:62px;
    padding:0 10px;
  }
}
@media(max-width:520px){
  .header-inner{
    gap:8px!important;
  }
  .brand{
    width:76px!important;
    height:52px!important;
  }
  .language-toggle{
    min-width:54px;
    padding:0 9px;
    gap:6px;
  }
  .language-toggle svg{
    display:none;
  }
  .theme-toggle{
    width:40px;
    min-height:40px;
  }
  .menu-toggle{
    min-width:42px;
    padding-inline:9px;
    font-size:0;
  }
  .menu-toggle span{
    font-size:20px;
  }
  .language-menu{
    right:-48px;
    min-width:190px;
  }
}

@media(max-width:1050px){
  html[data-theme="dark"] .header nav{
    background:#0e2732;
    border-color:#2b4651;
  }
}
@media(max-width:760px){
  .header .brand{order:1;}
  .header .header-actions{order:2;}
  .header .menu-toggle{order:3;margin-left:0!important;margin-right:0!important;}
}



/* UNIBRIDGE design corrections — 2026-10-06 */

/* Selected states use one gold accent system everywhere. */
.tabs button[aria-selected="true"]{
  background:#d6b36a;
  border-color:#d6b36a;
  color:#0b2331;
}
.process-tabs button[aria-selected="true"],
.process-tabs button[aria-selected="true"] span{
  color:#e3c58f;
}
.process-tabs button[aria-selected="true"]{
  border-bottom-color:#e3c58f;
  background:linear-gradient(90deg,rgba(216,189,139,.10),rgba(216,189,139,0));
}


/* Header logo: same dimensions, no white plate, no layout shift. */
.brand{
  padding:0!important;
  background:transparent!important;
  border-radius:0!important;
  mix-blend-mode:normal!important;
}
.brand img.brand-logo{
  position:absolute!important;
  inset:0;
  width:100%!important;
  height:100%!important;
  object-fit:contain;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  transition:opacity .16s ease;
}
.brand-logo-light{opacity:1;}
.brand-logo-dark{opacity:0;pointer-events:none;}
html[data-theme="dark"] .brand-logo-light{opacity:0;}
html[data-theme="dark"] .brand-logo-dark{opacity:1;}

/* Language/theme controls: same active accent. */
.language-toggle[aria-expanded="true"],
.theme-toggle[aria-pressed="true"]{
  background:#d6b36a!important;
  border-color:#d6b36a!important;
  color:#0b2331!important;
}
html[data-theme="dark"] .language-toggle[aria-expanded="true"],
html[data-theme="dark"] .theme-toggle[aria-pressed="true"]{
  background:#d6b36a!important;
  border-color:#d6b36a!important;
  color:#0b2331!important;
}



/* Dark theme palette v3: navy + ivory + champagne gold + blue-grey.
   No burgundy/red/pink accents are used on dark navy surfaces. */
html[data-theme="dark"]{
  --red:#d6b36a;
  --gold:#d6b36a;
  --gold-light:#e5c98d;
  --muted:#9fb6c1;
  --line:#35505b;
}

html[data-theme="dark"] body{
  background:#0d2733;
  color:#f3efe6;
}

html[data-theme="dark"] body p,
html[data-theme="dark"] .facts dt,
html[data-theme="dark"] .about figcaption,
html[data-theme="dark"] dialog small,
html[data-theme="dark"] .form-heading p,
html[data-theme="dark"] .optional-label,
html[data-theme="dark"] .field-hint,
html[data-theme="dark"] .form-note{
  color:#9fb6c1;
}

/* All decorative and interactive accents on navy use champagne gold. */
html[data-theme="dark"] em,
html[data-theme="dark"] .independent h3 span,
html[data-theme="dark"] summary:hover,
html[data-theme="dark"] details[open] summary,
html[data-theme="dark"] .dialog-close:hover,
html[data-theme="dark"] #form-error{
  color:#d6b36a;
}

html[data-theme="dark"] .dot{
  background:#d6b36a;
}

html[data-theme="dark"] input[aria-invalid="true"],
html[data-theme="dark"] #consultation input[aria-invalid="true"],
html[data-theme="dark"] .choice-trigger[aria-invalid="true"]{
  border-color:#d6b36a;
}

html[data-theme="dark"] .button:not(.light),
html[data-theme="dark"] #consultation [type="submit"]{
  background:#d6b36a;
  border-color:#d6b36a;
  color:#0d2733;
}

html[data-theme="dark"] .button:not(.light):hover,
html[data-theme="dark"] #consultation [type="submit"]:hover{
  background:#e5c98d;
  border-color:#e5c98d;
}

html[data-theme="dark"] .tabs button[aria-selected="true"],
html[data-theme="dark"] .language-toggle[aria-expanded="true"],
html[data-theme="dark"] .theme-toggle[aria-pressed="true"]{
  background:#d6b36a!important;
  border-color:#d6b36a!important;
  color:#0d2733!important;
}

html[data-theme="dark"] .process-tabs button[aria-selected="true"],
html[data-theme="dark"] .process-tabs button[aria-selected="true"] span{
  color:#d6b36a;
}

html[data-theme="dark"] .process-tabs button[aria-selected="true"]{
  border-bottom-color:#d6b36a;
  background:linear-gradient(90deg,rgba(214,179,106,.10),rgba(214,179,106,0));
}

/* Borders stay cool/quiet so gold is reserved for meaningful emphasis. */
html[data-theme="dark"] .header,
html[data-theme="dark"] .language-toggle,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .language-menu,
html[data-theme="dark"] #consultation input,
html[data-theme="dark"] #consultation textarea,
html[data-theme="dark"] .choice-trigger,
html[data-theme="dark"] .choice-options{
  border-color:#35505b;
}



/* Services primary explainer CTA */
.services .service-included-cta{
  background:#d6b36a;
  border-color:#d6b36a;
  color:#0d2733;
  min-height:52px;
  padding:15px 26px;
  font-weight:700;
  box-shadow:0 8px 24px rgba(214,179,106,.18);
}
.services .service-included-cta:hover{
  background:#e5c98d;
  border-color:#e5c98d;
  color:#0d2733;
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(214,179,106,.24);
}
.services .service-included-cta span{
  color:inherit;
}



/* Final process-navigation spacing */
.process-tabs button{
  padding-left:16px;
  padding-right:12px;
}
.process-tabs button span{
  min-width:26px;
}
@media(max-width:760px){
  .process-tabs button{
    padding-left:14px;
    padding-right:14px;
  }
}



/* Wider desktop layout — reduce oversized side gutters on large screens */
@media (min-width:1251px){
  :root{
    --container:1560px;
  }

  .container,
  .header-inner{
    width:min(var(--container),calc(100% - 96px));
  }

  .hero-copy{
    max-width:860px;
  }

  .hero-copy .eyebrow{
    max-width:600px;
  }

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

  .consultation-hint{
    max-width:500px;
  }
}

/* Very wide displays: keep the composition editorial, not edge-to-edge */
@media (min-width:1900px){
  :root{
    --container:1640px;
  }
}



/* =========================================================
   MOBILE CLEANUP v8
   A calmer hierarchy: fewer card-like elements, tighter header,
   less visual competition and horizontally scrollable stage controls.
   ========================================================= */
@media (max-width:760px){

  :root{
    --header-height:68px;
    --section-space:48px;
    --grid-gap:24px;
  }

  /* Global rhythm */
  .container,
  .header-inner{
    width:calc(100% - 36px);
  }

  h1{
    font-size:clamp(38px,10.6vw,48px);
    line-height:1.08;
    letter-spacing:-.045em;
  }

  h2,
  .section-heading h2,
  .service-top h2,
  .about h2,
  .faq h2,
  .contact h2{
    font-size:clamp(30px,8vw,35px);
    line-height:1.12;
    letter-spacing:-.035em;
  }

  h3{
    font-size:22px;
  }

  .eyebrow{
    font-size:10px;
    letter-spacing:.11em;
    margin-bottom:14px;
  }

  .lead{
    font-size:15px;
    line-height:1.7;
  }

  /* Header — one compact row, no oversized controls */
  .header{
    height:68px;
  }

  .header-inner{
    gap:7px!important;
  }

  .brand{
    width:70px!important;
    height:48px!important;
    margin-right:auto;
  }

  .header-actions{
    display:flex!important;
    margin-left:0!important;
    gap:5px!important;
  }

  .language-toggle{
    min-width:48px!important;
    min-height:36px!important;
    height:36px;
    padding:0 8px!important;
    gap:5px!important;
    font-size:11px;
  }

  .language-toggle svg{
    display:none;
  }

  .theme-toggle{
    width:36px!important;
    min-height:36px!important;
    height:36px;
    font-size:16px;
  }

  .menu-toggle{
    min-width:38px!important;
    width:38px;
    min-height:36px;
    height:36px;
    padding:0!important;
    border-radius:999px;
    font-size:0!important;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .menu-toggle span{
    font-size:18px!important;
    line-height:1;
  }

  .language-menu{
    top:calc(100% + 8px);
    right:-42px;
    min-width:184px;
    border-radius:12px;
  }

  .header nav{
    top:68px!important;
    padding:8px 18px 18px;
    gap:0!important;
  }

  .header nav a{
    min-height:48px;
    font-size:16px;
  }

  /* Hero — fewer competing elements */
  .hero-grid{
    padding:34px 0 22px;
  }

  .hero-copy .eyebrow{
    max-width:285px;
    margin-bottom:18px;
    line-height:1.55;
  }

  .hero-copy .lead{
    font-size:15px;
    line-height:1.68;
    margin-top:20px;
  }

  .hero:before{
    background:
      linear-gradient(90deg,#0b2331f7 0%,#0b2331d9 68%,#0b233194 100%),
      linear-gradient(0deg,#0b2331 0%,transparent 72%);
  }

  .hero-image img{
    object-position:64% center;
    opacity:.74;
  }

  .hero-actions{
    gap:12px;
    margin-top:22px;
  }

  .hero-actions .button{
    width:100%;
    min-height:52px;
    justify-content:space-between;
    padding:13px 18px;
  }

  .hero-actions .text-link{
    width:auto;
    min-height:40px;
    padding:7px 0;
  }

  .consultation-hint{
    margin-top:13px;
    font-size:12px;
    line-height:1.6;
  }

  .credibility{
    grid-template-columns:1fr 1fr;
    gap:0;
    margin-top:14px;
    padding:0;
    border-top:1px solid #ffffff2b;
  }

  .credibility span{
    min-height:54px;
    display:flex;
    align-items:center;
    padding:10px 8px 10px 0;
    font-size:10px;
    line-height:1.35;
    border-bottom:1px solid #ffffff18;
  }

  .credibility span:nth-child(even){
    padding-left:12px;
    border-left:1px solid #ffffff18;
  }

  /* Section headings become simple vertical blocks */
  .section-heading{
    display:block;
    margin-bottom:24px;
  }

  .section-heading>p{
    padding-top:12px;
    font-size:14px;
    max-width:none;
  }

  /* Education — compact horizontal controls instead of three large cards */
  .tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    overflow-x:auto;
    padding:0 0 3px!important;
    margin:0 -18px;
    padding-left:18px!important;
    padding-right:18px!important;
    border:0!important;
    border-radius:0!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }

  .tabs::-webkit-scrollbar{
    display:none;
  }

  .tabs button{
    flex:0 0 auto;
    min-height:42px!important;
    padding:10px 15px!important;
    border-radius:999px!important;
    font-size:12px!important;
    white-space:nowrap;
    text-align:center!important;
    scroll-snap-align:start;
  }

  #education-panel{
    padding-top:22px;
  }

  .panel-heading{
    margin-bottom:17px;
  }

  .facts>div{
    padding:14px 0;
  }

  .education-note{
    margin-top:18px;
    border-radius:10px;
  }

  .independent{
    margin-top:24px;
    padding-top:22px;
  }

  /* Why Poland */
  .poland-intro h2{
    font-size:clamp(37px,10vw,46px);
  }

  .poland-intro .lead{
    margin:18px 0 0;
  }

  .poland-benefits{
    margin-top:26px;
  }

  .poland-benefits li{
    padding:18px 0;
    gap:14px;
  }

  .poland-benefits h3{
    font-size:20px;
  }

  /* Services — stage selector becomes one calm horizontal rail */
  .services{
    padding:48px 0;
  }

  .service-promise{
    margin-top:20px;
    padding-top:18px;
  }

  .service-promise p{
    font-size:20px;
    line-height:1.4;
  }

  .service-grid{
    margin-top:24px;
  }

  .process{
    padding-top:20px;
  }

  .process-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    overflow-x:auto;
    margin:0 -18px 24px;
    padding:0 18px 4px;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }

  .process-tabs::-webkit-scrollbar{
    display:none;
  }

  .process-tabs button,
  .process-tabs button:last-child{
    grid-column:auto!important;
    flex:0 0 auto;
    min-height:42px!important;
    padding:9px 13px!important;
    border-radius:999px!important;
    font-size:12px!important;
    gap:7px!important;
    white-space:nowrap;
    scroll-snap-align:start;
  }

  .process-tabs button span{
    min-width:auto;
    font-size:10px;
  }

  #process-panel h3{
    font-size:26px;
  }

  .step-work,
  .step-outcome{
    padding-top:16px;
  }

  .step-work li,
  .step-result,
  .responsibility p{
    font-size:14px;
    line-height:1.7;
  }

  .service-bottom{
    margin-top:28px;
  }

  .services .service-included-cta{
    width:100%;
    min-height:50px;
    padding:13px 17px;
    justify-content:space-between;
    box-shadow:none;
  }

  /* About — make image supporting, not dominant */
  .about-grid{
    gap:22px;
  }

  .about-grid>div .text-link{
    margin-top:18px;
  }

  .about-grid figure img{
    aspect-ratio:16/10;
    max-height:300px;
    border-radius:10px;
  }

  /* FAQ */
  .faq-list summary{
    padding:17px 0;
    font-size:15px;
  }

  details>p{
    padding:0 0 18px;
    font-size:14px;
    line-height:1.7;
  }

  /* Contact — remove the card-inside-a-card feeling */
  .contact{
    padding:44px 0;
  }

  .contact-grid{
    gap:26px;
  }

  .contact-direct{
    margin-top:18px;
    font-size:14px;
  }

  .telegram-links{
    margin-top:14px;
  }

  .contact-location{
    margin-top:20px;
  }

  #consultation{
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .form-heading{
    margin-bottom:22px;
  }

  #consultation .form-heading h3{
    font-size:25px;
    margin:8px 0 10px;
  }

  #consultation label,
  .choice-field{
    margin-bottom:18px!important;
  }

  #consultation input,
  #consultation textarea,
  .choice-trigger{
    margin-top:7px!important;
    border-radius:9px;
  }

  #consultation textarea{
    min-height:104px;
  }

  #consultation [type=submit]{
    width:100%;
    min-height:52px;
  }

  #consultation .form-note{
    margin-top:12px;
  }

  /* Footer */
  footer{
    padding:36px 0 20px;
  }

  .footer-top{
    gap:18px;
    padding-bottom:22px;
  }

  .footer-brand img{
    width:112px;
  }

  .footer-bottom{
    gap:7px;
    font-size:11px;
  }
}

@media (max-width:380px){
  .container,
  .header-inner{
    width:calc(100% - 28px);
  }

  .language-toggle{
    min-width:45px!important;
    padding:0 7px!important;
  }

  .theme-toggle{
    width:34px!important;
  }

  .menu-toggle{
    width:36px!important;
    min-width:36px!important;
  }

  .tabs{
    margin-inline:-14px;
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .process-tabs{
    margin-inline:-14px;
    padding-inline:14px;
  }
}



/* =========================================================
   HEADER ALIGNMENT + SLIGHTLY WIDER DESKTOP GRID
   ========================================================= */
@media (min-width:1251px){

  :root{
    --container:1640px;
  }

  .container{
    width:min(var(--container),calc(100% - 80px));
  }

  .header-inner{
    width:min(1660px,calc(100% - 64px));
    display:grid;
    grid-template-columns:minmax(170px,1fr) auto minmax(300px,1fr);
    align-items:center;
    column-gap:28px;
  }

  .brand{
    justify-self:start;
    margin:0!important;
  }

  .header nav{
    justify-self:center;
    margin:0!important;
  }

  .header-actions{
    justify-self:end;
    margin:0!important;
  }
}

/* Keep the center visually centered even on very wide displays. */
@media (min-width:1900px){
  :root{
    --container:1700px;
  }

  .header-inner{
    width:min(1720px,calc(100% - 72px));
  }
}



/* =========================================================
   FINAL PRODUCTION FIXES
   ========================================================= */
.icon-arrow{
  display:inline-flex;
  width:18px;
  height:18px;
  flex:0 0 18px;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
}
.icon-arrow svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.hp-field{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  pointer-events:none!important;
}

.privacy-note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}
.privacy-link,
.footer-privacy{
  appearance:none;
  border:0;
  padding:0;
  background:none;
  color:inherit;
  font:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.privacy-link:hover,
.footer-privacy:hover{
  color:var(--gold);
}
.footer-bottom .footer-privacy{
  margin-left:auto;
}

/* Generic modal: calmer proportions and a real mobile sheet/dialog. */
#info-dialog{
  max-height:min(82vh,780px);
  overflow:auto;
  overscroll-behavior:contain;
}
#info-dialog .dialog-close{
  width:42px;
  height:42px;
  min-width:42px;
  min-height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:999px;
  line-height:1;
}
#info-dialog #dialog-content ul{
  margin:18px 0;
  padding-left:22px;
}
#info-dialog #dialog-content li{
  margin:0 0 11px;
}
#info-dialog #dialog-content .button{
  display:inline-flex;
  align-items:center;
  gap:12px;
}

@media(max-width:760px){
  #info-dialog{
    width:calc(100% - 28px);
    max-width:none;
    max-height:84dvh;
    margin:auto;
    padding:62px 22px 24px;
    border-radius:24px;
  }
  #info-dialog .dialog-close{
    top:14px;
    right:14px;
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    border:1px solid var(--line);
    background:transparent;
    color:inherit;
    font-size:25px;
  }
  #info-dialog h2{
    font-size:clamp(29px,8vw,34px);
    line-height:1.12;
    margin:0 0 22px;
    padding-right:20px;
  }
  #info-dialog p,
  #info-dialog li{
    font-size:15px;
    line-height:1.58;
  }
  #info-dialog #dialog-content ul{
    margin:14px 0 20px;
    padding-left:21px;
  }
  #info-dialog #dialog-content li{
    margin-bottom:9px;
  }
  #info-dialog #dialog-content .button{
    width:100%;
    min-height:52px;
    justify-content:space-between;
    margin-top:6px;
  }
  .footer-bottom .footer-privacy{
    margin-left:0;
  }
}



/* =========================================================
   FINAL TYPOGRAPHY — ONEST
   ========================================================= */

body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: -0.008em;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  color: inherit;
}

h1 {
  font-weight: 650;
  letter-spacing: -0.05em;
}

h2 {
  font-weight: 620;
  letter-spacing: -0.045em;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

p {
  font-weight: 450;
}

.lead {
  font-size: 19px;
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .11em;
}

/* Header */
.header nav a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.language-toggle,
.theme-toggle,
.menu-toggle,
.button {
  font-weight: 600;
}

.button {
  letter-spacing: -0.015em;
}

/* Education */
.section-heading > p {
  font-size: 17px;
  font-weight: 450;
  line-height: 1.65;
}

.tabs button {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.panel-heading h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.duration {
  font-size: 14px;
  font-weight: 500;
}

.facts dt {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.facts dd {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.education-note {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

#education-panel .text-link {
  font-size: 15px;
  font-weight: 650;
}

.independent h3 {
  font-size: 26px;
  font-weight: 580;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.independent p {
  font-size: 16px;
  font-weight: 450;
  line-height: 1.7;
}

/* Services */
.service-top h2 {
  font-weight: 620;
}

.service-promise p {
  font-weight: 500;
}

.process-tabs button {
  font-weight: 600;
}

#process-panel h3 {
  font-weight: 600;
}

.step-work li,
.step-result,
.responsibility p {
  font-size: 16px;
  font-weight: 450;
}

/* About */
.about h2 {
  font-weight: 620;
}

.about p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.7;
}

/* FAQ */
.faq h2 {
  font-weight: 620;
}

.faq-list summary {
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* Contact / form */
.contact h2,
.form-heading h3 {
  font-weight: 620;
}

#consultation label {
  font-weight: 550;
}

#consultation input,
#consultation textarea,
.choice-trigger {
  font-size: 16px;
  font-weight: 450;
}

/* Success message readability */
.form-success,
.form-status.success,
.form-status.is-success,
#form-status.success,
#form-status.is-success {
  color: #173042;
}

.form-success strong,
.form-status.success strong,
.form-status.is-success strong,
#form-status.success strong,
#form-status.is-success strong {
  color: #0d2733;
}

[data-theme="dark"] .form-success,
[data-theme="dark"] .form-status.success,
[data-theme="dark"] .form-status.is-success,
[data-theme="dark"] #form-status.success,
[data-theme="dark"] #form-status.is-success {
  background: linear-gradient(135deg, rgba(18,56,68,.96), rgba(22,74,60,.96));
  border-color: rgba(214,179,106,.28);
  color: #f3efe6;
}

[data-theme="dark"] .form-success strong,
[data-theme="dark"] .form-status.success strong,
[data-theme="dark"] .form-status.is-success strong,
[data-theme="dark"] #form-status.success strong,
[data-theme="dark"] #form-status.is-success strong {
  background: #d6b36a;
  color: #0d2733;
}

/* Mobile typography */
@media (max-width: 760px) {
  body {
    font-size: 16px;
    font-weight: 450;
    line-height: 1.65;
  }

  h1 {
    font-weight: 650;
    letter-spacing: -0.045em;
  }

  h2,
  .section-heading h2,
  .service-top h2,
  .about h2,
  .faq h2,
  .contact h2 {
    font-weight: 620;
    letter-spacing: -0.04em;
  }

  h3 {
    font-weight: 600;
  }

  .eyebrow {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .1em;
  }

  .lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .section-heading > p {
    font-size: 15px;
    line-height: 1.65;
  }

  .tabs button {
    font-size: 13px !important;
    font-weight: 650;
  }

  .panel-heading h3 {
    font-size: 24px;
  }

  .duration {
    font-size: 13px;
  }

  .facts dt {
    font-size: 12px;
    font-weight: 650;
  }

  .facts dd {
    font-size: 16px;
    line-height: 1.6;
  }

  .education-note {
    font-size: 13px;
    line-height: 1.6;
  }

  .independent h3 {
    font-size: 22px;
    line-height: 1.4;
  }

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

  .process-tabs button {
    font-size: 13px !important;
    font-weight: 600;
  }

  .about p:not(.eyebrow) {
    font-size: 16px;
  }

  .faq-list summary {
    font-size: 16px;
    font-weight: 600;
  }

  #consultation input,
  #consultation textarea,
  .choice-trigger {
    font-size: 16px;
  }
}


/* =========================================================
   UNIBRIDGE LAUNCH v2
   ========================================================= */

.credibility{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.credibility span{
  font-weight:600;
  line-height:1.45;
}

.poland-benefits li{
  align-items:flex-start;
}
.poland-benefits li>div{
  min-width:0;
}
.poland-benefits h3{
  margin-bottom:8px;
}
.poland-benefits p{
  max-width:560px;
}

.presence{
  padding:72px 0;
  background:var(--paper);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.presence-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(380px,.8fr);
  gap:80px;
  align-items:center;
}
.presence-copy h2{
  max-width:950px;
  font-size:clamp(38px,3.2vw,54px);
  line-height:1.08;
}
.presence-copy>p:last-child{
  margin-top:22px;
  max-width:680px;
  font-size:17px;
}
.city-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}
.city-list span{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:9px 15px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:14px;
  font-weight:650;
  background:var(--cream);
}

.journey-overview{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:42px 0 8px;
  border-top:1px solid #ffffff36;
  border-bottom:1px solid #ffffff36;
}
.journey-step{
  min-height:132px;
  padding:24px 22px;
  border-right:1px solid #ffffff26;
}
.journey-step:last-child{
  border-right:0;
}
.journey-step>span{
  display:block;
  margin-bottom:16px;
  color:#d6b36a;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
}
.journey-step strong{
  display:block;
  color:#f4f0e7;
  font-size:19px;
  font-weight:650;
}
.journey-step small{
  display:block;
  margin-top:7px;
  color:#b7c4c9;
  font-size:13px;
  line-height:1.5;
}

.founder-direct{
  margin-top:22px!important;
  padding:18px 20px;
  border-left:3px solid var(--gold);
  background:color-mix(in srgb,var(--paper) 74%,transparent);
  color:var(--navy)!important;
  font-weight:600!important;
}

.faq-column{
  min-width:0;
}
.faq-more-toggle{
  display:none;
  width:100%;
  margin-top:14px;
  padding:14px 18px;
  border:1px solid var(--line);
  border-radius:999px;
  background:transparent;
  font-size:14px;
  font-weight:650;
}
.faq-more-toggle .faq-less-label{
  display:none;
}
.faq-more-toggle[aria-expanded="true"] .faq-more-label{
  display:none;
}
.faq-more-toggle[aria-expanded="true"] .faq-less-label{
  display:inline;
}

.footer-main{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(180px,.6fr) minmax(280px,.9fr);
  gap:72px;
  align-items:start;
  padding-top:58px;
  padding-bottom:46px;
}
.footer-brand-column .footer-brand{
  display:inline-block;
  width:118px;
}
.footer-brand-column>p{
  margin-top:20px;
  max-width:380px;
}
.footer-brand-column .social-links{
  margin-top:24px;
}
.footer-nav-column,
.footer-contact-column{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.footer-nav-column h3,
.footer-contact-column h3{
  margin:0 0 9px;
  color:#f4f0e7;
  font-size:13px;
  font-weight:750;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.footer-nav-column>a,
.footer-contact-column>a{
  width:fit-content;
  color:#b9c6cb;
  font-size:14px;
}
.footer-nav-column>a:hover,
.footer-contact-column>a:hover{
  color:#d6b36a;
}
.footer-contact-column>p{
  margin-top:14px;
  max-width:360px;
  font-size:13px;
}
.footer-bottom{
  border-top:1px solid #ffffff1f;
}

html[data-theme="dark"] .presence{
  background:#102832;
  border-color:#2b4651;
}
html[data-theme="dark"] .city-list span{
  background:#0d2733;
  border-color:#35505b;
  color:#f3efe6;
}
html[data-theme="dark"] .founder-direct{
  background:#142f3a;
  color:#f3efe6!important;
  border-left-color:#d6b36a;
}
html[data-theme="dark"] .faq-more-toggle{
  border-color:#35505b;
  color:#f3efe6;
}

@media(max-width:760px){
  .credibility{
    grid-template-columns:1fr 1fr;
  }

  .presence{
    padding:48px 0;
  }
  .presence-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .presence-copy h2{
    font-size:clamp(30px,8vw,36px);
  }
  .presence-copy>p:last-child{
    margin-top:16px;
    font-size:15px;
  }
  .city-list{
    justify-content:flex-start;
    gap:8px;
  }
  .city-list span{
    min-height:40px;
    padding:8px 13px;
    font-size:13px;
  }

  .journey-overview{
    display:flex;
    overflow-x:auto;
    margin:28px -18px 6px;
    padding:0 18px 4px;
    border:0;
    gap:8px;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .journey-overview::-webkit-scrollbar{
    display:none;
  }
  .journey-step{
    flex:0 0 78%;
    min-height:124px;
    padding:20px;
    border:1px solid #ffffff2d;
    border-radius:14px;
    scroll-snap-align:start;
  }
  .journey-step:last-child{
    border-right:1px solid #ffffff2d;
  }

  .founder-direct{
    margin-top:18px!important;
    padding:15px 16px;
    font-size:14px!important;
  }

  .faq-list.faq-enhanced:not(.expanded) details:nth-of-type(n+6){
    display:none;
  }
  .faq-more-toggle{
    display:block;
  }

  .footer-main{
    grid-template-columns:1fr;
    gap:34px;
    padding-top:42px;
    padding-bottom:30px;
  }
  .footer-brand-column .footer-brand{
    width:108px;
  }
  .footer-brand-column>p{
    margin-top:16px;
  }
  .footer-nav-column,
  .footer-contact-column{
    gap:10px;
  }
}


/* =========================================================
   FOOTER — COMPACT FINAL
   ========================================================= */

.footer-main{
  grid-template-columns:minmax(0,1.08fr) minmax(165px,.5fr) minmax(250px,.78fr);
  gap:42px;
  padding-top:30px;
  padding-bottom:18px;
}

.footer-brand-column .footer-brand{
  width:88px;
}

.footer-brand-column>p{
  margin-top:12px;
  max-width:310px;
  font-size:13px;
  line-height:1.5;
}

.footer-brand-column .social-links{
  margin-top:16px;
  gap:9px;
}

.footer-brand-column .social-link{
  width:38px;
  height:38px;
}

.footer-nav-column,
.footer-contact-column{
  gap:7px;
}

.footer-nav-column h3,
.footer-contact-column h3{
  margin:0 0 5px;
  font-size:11px;
}

.footer-nav-column>a,
.footer-contact-column>a{
  font-size:13px;
  line-height:1.4;
}

.footer-contact-column>p{
  margin-top:8px;
  max-width:320px;
  font-size:12px;
  line-height:1.45;
}

.footer-bottom{
  padding-top:13px;
  padding-bottom:2px;
}

.footer-bottom span,
.footer-bottom button{
  font-size:12px;
}

@media(max-width:760px){
  .footer-main{
    gap:22px;
    padding-top:24px;
    padding-bottom:14px;
  }

  .footer-brand-column .footer-brand{
    width:80px;
  }

  .footer-brand-column>p{
    margin-top:10px;
    font-size:13px;
    line-height:1.5;
  }

  .footer-brand-column .social-links{
    margin-top:12px;
  }

  .footer-brand-column .social-link{
    width:36px;
    height:36px;
  }

  .footer-bottom{
    padding-top:12px;
    padding-bottom:0;
  }
}


/* =========================================================
   v4 — BALANCED CITY CHIPS + ULTRA COMPACT FOOTER
   ========================================================= */

/* Presence block uses one centered statement in the final design. */
.city-list{
  display:grid;
  grid-template-columns:repeat(4,max-content);
  justify-content:end;
  align-items:center;
  gap:10px;
}

.city-list span{
  justify-content:center;
  white-space:nowrap;
}

/* Center the second row (3 items) under the first one */
.city-list span:nth-child(5){
  grid-column:2;
}

/* Footer: remove the large legacy vertical padding */
footer{
  padding:0!important;
}

.footer-main{
  grid-template-columns:minmax(240px,1fr) minmax(150px,.42fr) minmax(260px,.72fr);
  gap:34px;
  padding-top:20px!important;
  padding-bottom:14px!important;
}

.footer-brand-column .footer-brand{
  width:72px!important;
}

.footer-brand-column>p{
  margin-top:8px!important;
  max-width:290px;
  font-size:12px!important;
  line-height:1.45!important;
}

.footer-brand-column .social-links{
  margin-top:10px!important;
  gap:7px!important;
}

.footer-brand-column .social-link{
  width:32px!important;
  height:32px!important;
}

.footer-nav-column,
.footer-contact-column{
  gap:5px!important;
}

.footer-nav-column h3,
.footer-contact-column h3{
  margin:0 0 3px!important;
  font-size:10px!important;
  letter-spacing:.075em;
}

.footer-nav-column>a,
.footer-contact-column>a{
  font-size:12px!important;
  line-height:1.35!important;
}

.footer-contact-column>p{
  margin-top:5px!important;
  max-width:300px;
  font-size:11px!important;
  line-height:1.4!important;
}

.footer-bottom{
  min-height:34px;
  padding-top:9px!important;
  padding-bottom:9px!important;
  align-items:center;
}

.footer-bottom span,
.footer-bottom button{
  font-size:11px!important;
}

/* Mobile: chips become a tidy 2-column grid, footer stays compact */
@media(max-width:760px){
  .city-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    justify-content:stretch;
    gap:8px;
  }

  .city-list span:nth-child(5){
    grid-column:auto;
  }

  .city-list span{
    width:100%;
  }

  .footer-main{
    gap:18px!important;
    padding-top:18px!important;
    padding-bottom:12px!important;
  }

  .footer-brand-column .footer-brand{
    width:68px!important;
  }

  .footer-brand-column>p{
    margin-top:7px!important;
  }

  .footer-brand-column .social-links{
    margin-top:9px!important;
  }

  .footer-brand-column .social-link{
    width:32px!important;
    height:32px!important;
  }

  .footer-bottom{
    gap:6px!important;
    min-height:30px;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
}


/* =========================================================
   FORM LABEL ACCENTS — FINAL
   Light theme: burgundy
   Dark theme: champagne gold
   ========================================================= */

#consultation label,
#consultation .choice-caption{
  color:var(--red);
  font-size:14px;
  font-weight:750;
  letter-spacing:.005em;
}

#consultation .optional-label{
  color:var(--muted);
  font-weight:450;
}

/* Add a little more breathing room between labels and fields */
#consultation label > input,
#consultation label > textarea{
  margin-top:8px;
}

#consultation .choice-caption{
  margin-bottom:8px;
}

/* Dark theme */
html[data-theme="dark"] #consultation label,
html[data-theme="dark"] #consultation .choice-caption{
  color:#d6b36a;
}

html[data-theme="dark"] #consultation .optional-label{
  color:#9fb6c1;
  font-weight:450;
}

/* Keep the field text itself neutral */
#consultation input,
#consultation textarea,
#consultation .choice-trigger{
  color:var(--navy);
  font-weight:500;
}

html[data-theme="dark"] #consultation input,
html[data-theme="dark"] #consultation textarea,
html[data-theme="dark"] #consultation .choice-trigger{
  color:#f3efe6;
}

@media(max-width:760px){
  #consultation label,
  #consultation .choice-caption{
    font-size:13px;
    font-weight:750;
  }
}


/* =========================================================
   PRESENCE BLOCK — SINGLE CENTERED STATEMENT
   ========================================================= */

/* Remove the city chips completely */
.presence .city-list{
  display:none!important;
}

/* Turn the section into one centered statement */
.presence-grid{
  display:block!important;
  max-width:1280px;
  margin:0 auto;
  text-align:center;
}

.presence-copy{
  max-width:1180px;
  margin:0 auto;
}

.presence-copy .eyebrow{
  margin-bottom:16px;
  color:var(--gold);
  font-weight:800;
  letter-spacing:.12em;
}

.presence-copy h2{
  max-width:1180px!important;
  margin:0 auto!important;
  font-size:clamp(38px,4.4vw,68px)!important;
  line-height:1.08!important;
  font-weight:750!important;
  letter-spacing:-.045em!important;
  text-wrap:balance;
}

.presence-copy>p:last-child{
  max-width:760px!important;
  margin:20px auto 0!important;
  font-size:17px!important;
  line-height:1.65!important;
  color:var(--muted);
}

html[data-theme="dark"] .presence-copy h2{
  color:#f3efe6;
}

html[data-theme="dark"] .presence-copy>p:last-child{
  color:#9fb6c1;
}

@media(max-width:760px){
  .presence{
    padding:42px 0!important;
  }

  .presence-copy .eyebrow{
    margin-bottom:12px;
  }

  .presence-copy h2{
    font-size:clamp(28px,8vw,40px)!important;
    line-height:1.12!important;
    letter-spacing:-.035em!important;
  }

  .presence-copy>p:last-child{
    margin-top:16px!important;
    font-size:15px!important;
    line-height:1.6!important;
  }
}


/* =========================================================
   FINAL MOBILE UI / UX PASS
   Desktop remains untouched.
   ========================================================= */

.theme-icon,
.menu-icon{
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  line-height:0;
}

.theme-icon svg,
.menu-icon svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Prevent background scroll while a native dialog is open. */
html:has(dialog[open]){
  overflow:hidden;
}

@media(max-width:760px){

  :root{
    --header-height:72px;
    --section-space:52px;
  }

  /* ---------- GLOBAL MOBILE RHYTHM ---------- */

  .container,
  .header-inner{
    width:calc(100% - 36px);
  }

  .education,
  .why-poland,
  .about,
  .faq,
  .contact,
  .presence{
    padding-top:52px!important;
    padding-bottom:52px!important;
  }

  .services{
    padding-top:52px!important;
    padding-bottom:52px!important;
  }

  .section-heading{
    margin-bottom:24px!important;
  }

  .eyebrow{
    margin-bottom:12px!important;
  }

  /* ---------- MOBILE HEADER ---------- */

  .header{
    height:72px!important;
  }

  .header-inner{
    min-height:72px;
    gap:8px!important;
  }

  .header .brand{
    width:82px!important;
    height:56px!important;
    margin-right:auto!important;
  }

  .header .header-actions{
    display:flex!important;
    align-items:center;
    gap:8px!important;
    margin:0!important;
  }

  .language-toggle{
    width:auto!important;
    min-width:66px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 12px!important;
    gap:7px!important;
    font-size:13px!important;
    border-width:1px!important;
  }

  .language-toggle svg{
    display:none!important;
  }

  .language-toggle .language-chevron{
    width:8px;
    height:8px;
  }

  .theme-toggle,
  .menu-toggle{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    border:1px solid var(--line)!important;
    border-radius:999px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    background:transparent;
    color:var(--navy);
  }

  .theme-toggle{
    font-size:0!important;
  }

  .menu-toggle{
    font-size:0!important;
  }

  .theme-icon,
  .menu-icon{
    width:20px;
    height:20px;
  }

  html[data-theme="dark"] .theme-toggle{
    background:#d6b36a!important;
    border-color:#d6b36a!important;
    color:#0d2733!important;
  }

  html[data-theme="light"] .theme-toggle{
    background:transparent!important;
    color:#0d2733!important;
  }

  /* Mobile menu is a clean dropdown panel rather than a wrapping row. */
  .header nav{
    top:calc(100% + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    padding:8px!important;
    border:1px solid var(--line)!important;
    border-radius:16px!important;
    background:var(--cream)!important;
    box-shadow:0 18px 46px rgba(13,39,51,.14)!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    gap:0!important;
    max-height:calc(100dvh - 92px)!important;
    overflow:auto!important;
  }

  .header nav a{
    width:100%;
    min-height:50px!important;
    padding:0 12px;
    border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent);
    font-size:15px!important;
    font-weight:600;
  }

  .header nav a:last-child{
    border-bottom:0;
  }

  .header nav a:after{
    display:none;
  }

  html[data-theme="dark"] .header nav{
    background:#102832!important;
    border-color:#35505b!important;
    box-shadow:0 18px 50px rgba(0,0,0,.4)!important;
  }

  .language-menu{
    top:calc(100% + 8px)!important;
    right:0!important;
    min-width:184px!important;
    max-width:calc(100vw - 36px);
  }

  /* ---------- HERO / CTAs ---------- */

  .hero-grid{
    padding-top:34px!important;
    padding-bottom:22px!important;
  }

  .hero-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    margin-top:22px!important;
  }

  .hero-actions .button{
    width:100%!important;
    min-height:52px!important;
    justify-content:space-between!important;
  }

  .hero-actions .text-link{
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:4px 0;
  }

  /* ---------- TOUCH TARGETS ---------- */

  .tabs button,
  .process-tabs button,
  .faq-more-toggle,
  .faq-list summary,
  .choice-trigger,
  .language-menu [data-language-option]{
    min-height:44px;
  }

  /* Scrollable controls clearly read as swipeable. */
  .tabs,
  .process-tabs,
  .journey-overview{
    scroll-padding-inline:18px;
    overscroll-behavior-inline:contain;
  }

  .tabs,
  .process-tabs{
    padding-right:42px!important;
  }

  /* ---------- SERVICES ---------- */

  .service-bottom{
    display:grid!important;
    gap:10px!important;
    margin-top:26px!important;
  }

  .service-bottom .button{
    width:100%!important;
    min-height:52px!important;
    justify-content:space-between;
  }

  .service-bottom .text-link{
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  /* ---------- FOUNDERS ---------- */

  .about-grid{
    gap:24px!important;
  }

  .about-grid>div{
    min-height:0!important;
  }

  .about .lead{
    margin:16px 0 12px!important;
    font-size:15px!important;
    line-height:1.62!important;
  }

  .about p:not(.eyebrow):not(.lead){
    font-size:15px!important;
    line-height:1.62!important;
  }

  .founder-direct{
    margin-top:16px!important;
    padding:13px 14px!important;
    border-left-width:3px!important;
    font-size:14px!important;
    line-height:1.55!important;
    font-weight:650!important;
  }

  .about-grid>div .text-link,
  .about .text-link{
    width:100%!important;
    min-height:50px!important;
    margin-top:16px!important;
    padding:10px 0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    font-size:15px!important;
    font-weight:650!important;
  }

  .about-grid figure img,
  .about figure img{
    width:100%!important;
    height:auto!important;
    max-height:280px!important;
    aspect-ratio:16/10!important;
    object-fit:cover!important;
    object-position:center 38%!important;
    border-radius:14px!important;
  }

  .about-grid figcaption,
  .about figcaption{
    margin-top:10px!important;
    font-size:13px!important;
    line-height:1.45!important;
  }

  /* ---------- FAQ ---------- */

  .faq-grid{
    gap:24px!important;
  }

  .faq h2{
    font-size:clamp(34px,9.4vw,40px)!important;
    line-height:1.08!important;
    margin-bottom:16px!important;
  }

  .faq-grid>div>p:not(.eyebrow){
    margin-top:0!important;
    font-size:15px!important;
    line-height:1.62!important;
  }

  .faq .text-link{
    width:100%!important;
    min-height:48px!important;
    margin-top:16px!important;
    padding:8px 0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    font-size:15px!important;
    font-weight:650!important;
  }

  .faq-list summary{
    min-height:54px!important;
    padding:15px 36px 15px 0!important;
    display:flex;
    align-items:center;
    font-size:15px!important;
    line-height:1.45!important;
  }

  .faq-list details>p{
    padding:0 0 16px!important;
    font-size:14px!important;
    line-height:1.65!important;
  }

  .faq-more-toggle{
    min-height:46px!important;
    margin-top:12px!important;
    padding:10px 16px!important;
  }

  /* ---------- CONTACT / FORM ---------- */

  #consultation{
    padding:0!important;
  }

  #consultation [type=submit]{
    min-height:52px!important;
  }

  /* ---------- MODALS ---------- */

  #info-dialog{
    width:calc(100% - 24px)!important;
    max-height:82dvh!important;
    padding:58px 20px calc(22px + env(safe-area-inset-bottom))!important;
    border-radius:22px!important;
  }

  #info-dialog .dialog-close{
    top:12px!important;
    right:12px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
  }

  #info-dialog h2{
    font-size:clamp(27px,7.4vw,32px)!important;
    margin-bottom:18px!important;
  }

  #info-dialog p,
  #info-dialog li{
    font-size:14px!important;
    line-height:1.6!important;
  }

  /* ---------- FOOTER + SAFE AREA ---------- */

  .footer-main{
    gap:18px!important;
  }

  .footer-bottom{
    padding-bottom:calc(8px + env(safe-area-inset-bottom))!important;
  }
}

/* Very narrow phones */
@media(max-width:380px){
  .container,
  .header-inner{
    width:calc(100% - 28px);
  }

  .header .brand{
    width:74px!important;
  }

  .language-toggle{
    min-width:60px!important;
    padding-inline:10px!important;
  }

  .theme-toggle,
  .menu-toggle{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
  }
}


/* =========================================================
   PROTECTED PHOTOS
   Best-effort deterrence against save/copy/drag/long-press.
   ========================================================= */

.protected-media{
  position:relative;
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}

.protected-media img{
  -webkit-user-drag:none;
  user-drag:none;
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  pointer-events:none;
}

/* Transparent interaction layer prevents direct long-press/right-click on image */
.protected-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  background:transparent;
  pointer-events:auto;
}

/* Keep captions visible above/below the protection layer where necessary */
.protected-media figcaption{
  position:relative;
  z-index:5;
  pointer-events:none;
}



/* =========================================================
   BRAND + PHOTO ASSET PROTECTION
   Best-effort browser-side deterrence. Public assets can still
   be captured by screenshots or recovered by advanced users.
   ========================================================= */
.brand,
.footer-brand,
.brand-logo,
.footer-brand img,
.protected-media,
.protected-media img{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}

.brand-logo,
.footer-brand img,
.protected-media img{
  -webkit-user-drag:none!important;
  user-drag:none!important;
  pointer-events:none!important;
}

.brand,
.footer-brand{
  -webkit-tap-highlight-color:transparent;
}


/* =========================================================
   PRODUCTION FINAL
   ========================================================= */

/* Avoid accidental horizontal overflow from long translated words. */
body{
  overflow-x:hidden;
}

a,
button,
input,
textarea,
.choice-trigger,
summary{
  -webkit-tap-highlight-color:transparent;
}

/* Clear, consistent keyboard focus without changing mouse/touch visuals. */
:focus-visible{
  outline:3px solid color-mix(in srgb,var(--gold) 82%,white);
  outline-offset:3px;
}

html[data-theme="dark"] :focus-visible{
  outline-color:#e3c58f;
}

/* The anti-spam input never participates in layout or accessibility. */
.hp-field,
.hp-field input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
}


/* =========================================================
   TURNSTILE — PREVIEW INTEGRATION
   ========================================================= */
.turnstile-wrap{
  margin:4px 0 14px;
}
.turnstile-wrap .cf-turnstile{
  width:100%;
}
.turnstile-note{
  margin:7px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.4;
}
html[data-theme="dark"] .turnstile-note{
  color:#9fb6c1;
}
@media(max-width:760px){
  .turnstile-wrap{
    margin:2px 0 12px;
  }
  .turnstile-note{
    font-size:10px;
  }
}


/* =========================================================
   HERO PROTECTION POSITION FIX
   Keep the protected hero image absolutely positioned.
   ========================================================= */
.hero-image.protected-media{
  position:absolute;
}


/* =========================================================
   PATCH — CONTACT CARD + TURNSTILE UX CLEANUP
   ========================================================= */
.turnstile-status{
  margin:10px 0 0;
  font-size:13px;
  line-height:1.5;
  color:var(--red);
}
html[data-theme="dark"] .turnstile-status{
  color:#f0b3a5;
}
.footer-bottom{
  justify-content:space-between;
}

/* =========================================================
   V6 — MOBILE VERTICAL-ONLY LAYOUT
   Fix the actual overflow sources without clipping interactive
   sections or creating a new containing block on <body>.
   ========================================================= */

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

button,
a,
[role="tab"],
[role="button"]{
  touch-action:manipulation;
}

@media(max-width:760px){

  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
  }

  body{
    position:static!important;
  }

  .container,
  .header-inner,
  .hero-grid,
  .education-main,
  #education-panel,
  .facts,
  .service-grid,
  .process,
  #process-panel,
  .about-grid,
  .faq-grid,
  .contact-grid,
  #consultation,
  footer{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box;
  }

  /* Education tabs fit the viewport: no horizontal page movement. */
  .tabs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:4px!important;
    overflow:visible!important;
    border:1px solid var(--line)!important;
    border-radius:26px!important;
    scroll-snap-type:none!important;
  }

  .tabs button{
    width:100%!important;
    min-width:0!important;
    padding:10px 5px!important;
    font-size:10px!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
    text-align:center!important;
  }

  #education-panel{
    width:100%!important;
    overflow:visible!important;
  }

  .facts{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:0!important;
  }

  .facts>div{
    min-width:0!important;
    width:100%!important;
  }

  .facts dd,
  .facts dt{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  /* Service stages become a real grid instead of a horizontal rail. */
  .process{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:20px!important;
  }

  .process-tabs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 22px!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }

  .process-tabs button,
  .process-tabs button:last-child{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:11px 12px!important;
    border-radius:12px!important;
    white-space:normal!important;
    text-align:left!important;
    justify-content:flex-start!important;
    overflow-wrap:anywhere;
  }

  .process-tabs button:last-child{
    grid-column:1 / -1!important;
  }

  #process-panel{
    width:100%!important;
    min-width:0!important;
  }

  #process-panel li,
  #process-panel p,
  #process-panel h3,
  #process-panel h4{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  /* Prevent form/content columns from producing viewport overflow. */
  .form-row,
  .contact-grid,
  .about-grid,
  .faq-grid{
    grid-template-columns:1fr!important;
    min-width:0!important;
  }

  input,
  textarea,
  select,
  .choice-trigger,
  .choice-field{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box;
  }

  img,
  video,
  canvas{
    max-width:100%;
    height:auto;
  }

  /* CTA rows are contained, clickable and never wider than the viewport. */
  .service-bottom,
  .hero-actions,
  .telegram-links{
    max-width:100%!important;
    min-width:0!important;
  }

  .service-bottom .button,
  .hero-actions .button,
  #consultation [type="submit"]{
    max-width:100%!important;
  }
}

@media(max-width:380px){
  .tabs button{
    font-size:9px!important;
    padding-inline:3px!important;
  }

  .process-tabs{
    grid-template-columns:1fr!important;
  }

  .process-tabs button:last-child{
    grid-column:auto!important;
  }
}

/* V7: photo shields must never intercept page controls.
   A display:contents figure has no containing box, so its absolute
   pseudo-element can cover unrelated sections. */
.protected-media::after {
  pointer-events:none;
}
.hero-image.protected-media,
.hero-image.protected-media::after,
.hero::before {
  pointer-events:none;
}
.hero-copy {
  position:relative;
  z-index:1;
}
/* V9 responsive layout and readable controls */
.footer-brand-column>p,.footer-contact-column>p {color:#c7d4d9!important;}
.footer-brand-column .footer-brand {display:block;width:168px!important;max-width:100%;}
.footer-brand img {width:100%;height:auto;}
.footer-main>div {min-width:0;}
.footer-contact-column a {overflow-wrap:anywhere;}
.form-row {align-items:stretch;}
.form-row>label,.form-row>.choice-field {display:flex;flex-direction:column;min-width:0;}
.form-row .choice-trigger,.form-row input {flex:1;min-height:54px;}
.choice-trigger>span:first-child {min-width:0;white-space:normal;overflow-wrap:anywhere;}
.choice-trigger>span:last-child {flex-shrink:0;}
.about h2 {text-wrap:balance;}
@media(min-width:761px) and (max-width:1100px) {
 .about h2 {font-size:36px;}
 .footer-main {grid-template-columns:minmax(0,1fr) minmax(0,.7fr) minmax(0,1fr);gap:24px;}
}
@media(max-width:760px) {
 .container {width:calc(100% - 36px)!important;max-width:calc(100% - 36px)!important;margin-inline:auto;}
 .footer-main {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
 .footer-brand-column .footer-brand {width:128px!important;}
 .footer-nav-column a,.footer-contact-column a {display:flex;align-items:center;min-height:44px;}
 .footer-privacy,.privacy-link {min-height:44px;display:inline-flex;align-items:center;}
 .journey-overview {display:grid;grid-template-columns:minmax(0,1fr);width:100%;margin:28px 0 6px;padding:0;overflow:visible;gap:12px;}
 .journey-step {min-width:0;min-height:0;padding:18px;}
 .tabs {grid-template-columns:minmax(0,1fr)!important;border-radius:18px!important;}
 .tabs button {font-size:13px!important;min-height:44px;padding:12px!important;}
 .form-row {gap:20px;}
 .choice-options {max-height:min(280px,45dvh);}
}

#cookie-banner { position:fixed; bottom:16px; left:16px; right:16px; margin:auto; max-width:900px; z-index:60; padding:22px; background:var(--cream); color:var(--navy); border:1px solid var(--line); border-radius:16px; box-shadow:0 8px 40px #0003; max-height:80dvh; overflow:auto; }
#cookie-banner p { font-size:14px; line-height:1.65; margin:8px 0 16px; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:12px; }
.cookie-actions button { flex:1; min-height:48px; padding:12px 16px; border:1px solid var(--navy); border-radius:10px; background:var(--cream); color:var(--navy); font-size:14px; }
@media(max-width:600px){#cookie-banner { padding:18px; bottom:10px; left:10px; right:10px; }.cookie-actions{flex-direction:column;}}


/* UNIBRIDGE cookie consent — light/dark theme sync */
#cookie-banner{
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
}
#cookie-banner p{color:var(--muted);}
#cookie-reject{
  background:transparent;
  color:var(--navy);
  border-color:var(--line);
}
#cookie-accept{
  background:var(--navy);
  color:var(--cream);
  border-color:var(--navy);
}
.cookie-actions button{
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.cookie-actions button:hover{transform:translateY(-1px);}
#cookie-reject:hover{background:var(--paper);}
#cookie-accept:hover{filter:brightness(1.06);}

html[data-theme="dark"] #cookie-banner{
  background:#102832;
  color:#f4f0e7;
  border-color:#35505b;
  box-shadow:0 12px 48px #0008;
}
html[data-theme="dark"] #cookie-banner p{color:#acbac0;}
html[data-theme="dark"] #cookie-reject{
  background:transparent;
  color:#f4f0e7;
  border-color:#4b6975;
}
html[data-theme="dark"] #cookie-reject:hover{background:#193642;}
html[data-theme="dark"] #cookie-accept{
  background:#f4f0e7;
  color:#123343;
  border-color:#f4f0e7;
}
html[data-theme="dark"] #cookie-accept:hover{background:#ffffff;}

@media (prefers-reduced-motion:reduce){
  #cookie-banner,.cookie-actions button{transition:none!important;}
  .cookie-actions button:hover{transform:none;}
}


/* UNIBRIDGE cookie consent v2 — stronger primary CTA + mobile hardening */
#cookie-banner{
  box-sizing:border-box;
  width:min(900px,calc(100vw - 32px));
}
#cookie-banner strong{
  display:block;
  font-weight:800;
}
#cookie-accept{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
  font-weight:800;
  box-shadow:0 8px 20px rgba(149,67,74,.24);
}
#cookie-accept:hover,
#cookie-accept:focus-visible{
  background:#a84a53;
  border-color:#a84a53;
  filter:none;
  box-shadow:0 10px 24px rgba(149,67,74,.32);
}
#cookie-reject{
  font-weight:650;
}
#cookie-accept:focus-visible,
#cookie-reject:focus-visible{
  outline:3px solid color-mix(in srgb,var(--red) 35%,transparent);
  outline-offset:3px;
}

html[data-theme="dark"] #cookie-accept{
  background:#b34f58;
  color:#fff;
  border-color:#b34f58;
  box-shadow:0 8px 22px rgba(0,0,0,.32);
}
html[data-theme="dark"] #cookie-accept:hover,
html[data-theme="dark"] #cookie-accept:focus-visible{
  background:#c35a64;
  border-color:#c35a64;
}

@media(max-width:600px){
  #cookie-banner{
    width:calc(100vw - 20px);
    max-width:none;
    max-height:calc(100dvh - 20px);
    padding:16px;
    border-radius:14px;
    overscroll-behavior:contain;
  }
  #cookie-banner p{
    font-size:13.5px;
    line-height:1.55;
    margin:7px 0 14px;
  }
  .cookie-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .cookie-actions button{
    width:100%;
    min-height:52px;
    flex:none;
    padding:13px 14px;
    font-size:14px;
  }
  #cookie-accept{order:-1;}
}


/* UNIBRIDGE COOKIE CONSENT v3 — final production rules */
#cookie-banner{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:18px!important;
  transform:translateX(-50%)!important;
  width:min(920px,calc(100vw - 32px))!important;
  max-width:920px!important;
  max-height:min(76dvh,620px)!important;
  overflow:auto!important;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  z-index:10000!important;
  box-sizing:border-box;
  padding:20px 22px!important;
  border:1px solid #d6d9d2!important;
  border-radius:16px!important;
  background:#f8f6ef!important;
  color:#123343!important;
  box-shadow:0 18px 60px rgba(0,0,0,.22)!important;
}
#cookie-banner[hidden]{display:none!important;}
#cookie-banner>div:first-child{min-width:0;}
#cookie-banner strong{display:block;margin:0 0 4px;font-size:16px;font-weight:800;line-height:1.35;color:inherit;}
#cookie-banner p{margin:0!important;font-size:13.5px!important;line-height:1.55!important;color:#5f6d73!important;}
#cookie-banner .cookie-actions{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;align-items:stretch;}
#cookie-banner .cookie-actions button{
  appearance:none;
  min-height:48px!important;
  padding:11px 15px!important;
  border-radius:10px!important;
  font:inherit;
  font-size:13.5px!important;
  line-height:1.25;
  cursor:pointer;
  white-space:nowrap;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
#cookie-banner #cookie-reject{
  background:transparent!important;
  color:#123343!important;
  border:1px solid #9aa6aa!important;
  font-weight:650!important;
  box-shadow:none!important;
}
#cookie-banner #cookie-accept{
  background:#95434a!important;
  color:#fff!important;
  border:1px solid #95434a!important;
  font-weight:800!important;
  box-shadow:0 8px 20px rgba(149,67,74,.28)!important;
}
#cookie-banner #cookie-accept:hover,
#cookie-banner #cookie-accept:focus-visible{background:#a84a53!important;border-color:#a84a53!important;transform:translateY(-1px);}
#cookie-banner #cookie-reject:hover,
#cookie-banner #cookie-reject:focus-visible{background:#ece9df!important;transform:translateY(-1px);}

html[data-theme="dark"] #cookie-banner{
  background:#102832!important;
  color:#f4f0e7!important;
  border-color:#35505b!important;
  box-shadow:0 18px 60px rgba(0,0,0,.48)!important;
}
html[data-theme="dark"] #cookie-banner p{color:#acbac0!important;}
html[data-theme="dark"] #cookie-banner #cookie-reject{background:transparent!important;color:#f4f0e7!important;border-color:#58727d!important;}
html[data-theme="dark"] #cookie-banner #cookie-reject:hover,
html[data-theme="dark"] #cookie-banner #cookie-reject:focus-visible{background:#193642!important;}
html[data-theme="dark"] #cookie-banner #cookie-accept{background:#b34f58!important;color:#fff!important;border-color:#b34f58!important;}
html[data-theme="dark"] #cookie-banner #cookie-accept:hover,
html[data-theme="dark"] #cookie-banner #cookie-accept:focus-visible{background:#c35a64!important;border-color:#c35a64!important;}

@media(max-width:760px){
  #cookie-banner{
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    transform:none!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100dvh - 20px)!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:16px!important;
    border-radius:14px!important;
  }
  #cookie-banner strong{font-size:15px!important;}
  #cookie-banner p{font-size:13px!important;line-height:1.5!important;}
  #cookie-banner .cookie-actions{display:flex!important;flex-direction:column!important;gap:9px!important;width:100%!important;}
  #cookie-banner .cookie-actions button{width:100%!important;min-height:52px!important;white-space:normal!important;font-size:14px!important;}
  #cookie-banner #cookie-accept{order:-1;}
}

@media(max-width:380px){
  #cookie-banner{padding:14px!important;}
  #cookie-banner p{font-size:12.5px!important;}
}




#cookie-banner{position:fixed!important;left:50%!important;right:auto!important;bottom:18px!important;transform:translateX(-50%)!important;width:min(920px,calc(100vw - 32px))!important;max-width:920px!important;max-height:min(76dvh,620px)!important;overflow:auto!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;z-index:10000!important;box-sizing:border-box;padding:20px 22px!important;border:1px solid #d6d9d2!important;border-radius:16px!important;background:#f8f6ef!important;color:#123343!important;box-shadow:0 18px 60px rgba(0,0,0,.22)!important}
#cookie-banner[hidden]{display:none!important}#cookie-banner>div:first-child{min-width:0}#cookie-banner strong{display:block;margin:0 0 4px;font-size:16px;font-weight:800;line-height:1.35;color:inherit}#cookie-banner p{margin:0!important;font-size:13.5px!important;line-height:1.55!important;color:#5f6d73!important}#cookie-banner .cookie-actions{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;align-items:stretch}#cookie-banner .cookie-actions button{appearance:none;min-height:48px!important;padding:11px 15px!important;border-radius:10px!important;font:inherit;font-size:13.5px!important;line-height:1.25;cursor:pointer;white-space:nowrap;transition:.18s ease}#cookie-banner #cookie-reject{background:transparent!important;color:#123343!important;border:1px solid #9aa6aa!important;font-weight:650!important;box-shadow:none!important}#cookie-banner #cookie-accept{background:#95434a!important;color:#fff!important;border:1px solid #95434a!important;font-weight:800!important;box-shadow:0 8px 20px rgba(149,67,74,.28)!important}#cookie-banner #cookie-accept:hover,#cookie-banner #cookie-accept:focus-visible{background:#a84a53!important;border-color:#a84a53!important;transform:translateY(-1px)}#cookie-banner #cookie-reject:hover,#cookie-banner #cookie-reject:focus-visible{background:#ece9df!important;transform:translateY(-1px)}html[data-theme="dark"] #cookie-banner{background:#102832!important;color:#f4f0e7!important;border-color:#35505b!important;box-shadow:0 18px 60px rgba(0,0,0,.48)!important}html[data-theme="dark"] #cookie-banner p{color:#acbac0!important}html[data-theme="dark"] #cookie-banner #cookie-reject{background:transparent!important;color:#f4f0e7!important;border-color:#58727d!important}html[data-theme="dark"] #cookie-banner #cookie-reject:hover,html[data-theme="dark"] #cookie-banner #cookie-reject:focus-visible{background:#193642!important}html[data-theme="dark"] #cookie-banner #cookie-accept{background:#b34f58!important;color:#fff!important;border-color:#b34f58!important}html[data-theme="dark"] #cookie-banner #cookie-accept:hover,html[data-theme="dark"] #cookie-banner #cookie-accept:focus-visible{background:#c35a64!important;border-color:#c35a64!important}
@media(max-width:760px){#cookie-banner{left:10px!important;right:10px!important;bottom:10px!important;transform:none!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 20px)!important;grid-template-columns:1fr!important;gap:14px!important;padding:16px!important;border-radius:14px!important}#cookie-banner strong{font-size:15px!important}#cookie-banner p{font-size:13px!important;line-height:1.5!important}#cookie-banner .cookie-actions{display:flex!important;flex-direction:column!important;gap:9px!important;width:100%!important}#cookie-banner .cookie-actions button{width:100%!important;min-height:52px!important;white-space:normal!important;font-size:14px!important}#cookie-banner #cookie-accept{order:-1}}
@media(max-width:380px){#cookie-banner{padding:14px!important}#cookie-banner p{font-size:12.5px!important}}


#cookie-banner [data-policy-link]{display:inline-block;font-size:13px;text-decoration:underline;text-underline-offset:3px;padding:4px 0}.privacy-link,.footer-privacy{text-decoration:underline;text-underline-offset:3px}


/* Keep navigation attached to the viewport even when body clips overflow. */
.header {
  position:fixed;
  inset:0 0 auto;
  width:100%;
  z-index:1000;
}
body { padding-top:var(--header-height); }
@media(max-width:760px) {
  :root { --header-height:68px; }
}

/* Respect reduced-motion preferences throughout the existing design. */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
