@font-face {
  font-family: "Eurodoc Serif";
  src: url("../fonts/NimbusRoman-Regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Eurodoc Sans";
  src: url("../fonts/Cantarell-Regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Eurodoc Sans";
  src: url("../fonts/Cantarell-Bold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --navy-950: #061827;
  --navy-925: #071c2c;
  --navy-900: #082033;
  --navy-800: #0d2a40;
  --cream-100: #f4efe4;
  --cream-50: #faf7f0;
  --gold-500: #c69a55;
  --gold-400: #d3ad6c;
  --text-light: #f4efe5;
  --text-muted: #aab4bd;
  --text-dark: #172331;
  --border-dark: rgba(198, 154, 85, 0.32);
  --border-light: rgba(23, 35, 49, 0.16);
  --font-serif: "Eurodoc Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Eurodoc Sans", Arial, sans-serif;
  --header-height: 78px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: dark;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-light);
  background: var(--navy-950);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.scroll-locked {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img,
picture,
svg {
  display: block;
}

img {
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-kerning: normal;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-400);
}

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--navy-950);
  background: var(--cream-50);
  border: 1px solid var(--gold-500);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

section,
footer {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(5, 20, 32, 0.96);
  border-bottom: 1px solid rgba(211, 173, 108, 0.17);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(24px, 3vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
}

.brand-word {
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.075em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 38px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 4px;
  color: #d9dee2;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--gold-400);
}

.site-nav a:hover::after,
.site-nav a[aria-current="location"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-outline {
  color: var(--gold-400);
  background: transparent;
  border-color: rgba(198, 154, 85, 0.68);
}

.button-outline:hover {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.button-gold {
  color: #152231;
  background: linear-gradient(100deg, #dfb979, var(--gold-500));
  border-color: #ddb473;
  box-shadow: 0 8px 26px rgba(1, 11, 19, 0.18);
}

.button-gold:hover {
  background: linear-gradient(100deg, #edc98c, #d7a65c);
}

.button-arrow {
  gap: 14px;
}

.button-arrow svg {
  width: 18px;
  height: 18px;
}

.header-cta {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--gold-400);
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-500);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-ornament {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -4;
}

.hero-media img {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 19, 31, 0.98) 0%, rgba(4, 19, 31, 0.92) 28%, rgba(5, 20, 33, 0.56) 58%, rgba(4, 17, 27, 0.28) 100%),
    linear-gradient(180deg, rgba(3, 15, 25, 0.2) 0%, rgba(2, 15, 24, 0.1) 62%, rgba(4, 18, 29, 0.78) 100%);
}

.hero-ornament {
  z-index: -2;
  width: 44%;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 15% 28%, transparent 0 36px, rgba(211, 173, 108, 0.22) 37px 38px, transparent 39px),
    radial-gradient(circle at 22% 36%, transparent 0 88px, rgba(211, 173, 108, 0.12) 89px 90px, transparent 91px),
    linear-gradient(125deg, transparent 0 35%, rgba(211, 173, 108, 0.12) 35.2% 35.5%, transparent 35.7%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  min-height: 680px;
  padding-block: 66px;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #8f6b35;
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 23px;
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: clamp(52px, 5vw, 74px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.012em;
}

.gold-rule {
  display: block;
  width: 68px;
  height: 2px;
  margin-block: 24px 29px;
  background: linear-gradient(90deg, var(--gold-400), #91672e);
}

.hero-lead {
  margin-bottom: 35px;
  color: var(--gold-400);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.42;
}

.consult-card {
  width: min(100%, 390px);
  min-width: 0;
  justify-self: end;
  padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(135deg, rgba(5, 25, 39, 0.88), rgba(9, 31, 46, 0.7));
  border: 1px solid rgba(211, 173, 108, 0.78);
  box-shadow: 0 20px 56px rgba(1, 11, 19, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.consult-card p {
  color: #dce1e4;
  font-size: 15px;
  line-height: 1.58;
}

.consult-card .consult-kicker {
  margin-bottom: 15px;
  color: var(--gold-400);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.card-rule {
  width: 100%;
  height: 1px;
  margin-block: 22px;
  background: linear-gradient(90deg, var(--gold-500), rgba(198, 154, 85, 0.08));
}

.consult-card .consult-list-title {
  margin-bottom: 13px;
  color: var(--text-light);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #e2e5e6;
  font-size: 14px;
  line-height: 1.5;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--gold-400);
}

.benefits {
  border-bottom: 1px solid var(--border-dark);
  background: linear-gradient(180deg, #061a2a, #071e30);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 31px;
}

.benefit {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  align-items: center;
  min-width: 0;
  padding-inline: 26px;
  border-right: 1px solid rgba(211, 173, 108, 0.2);
}

.benefit:first-child {
  padding-left: 0;
}

.benefit:last-child {
  padding-right: 0;
  border-right: 0;
}

.benefit > svg {
  width: 42px;
  height: 42px;
  color: var(--gold-500);
}

.benefit h2 {
  margin-bottom: 5px;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.benefit p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.countries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 345px;
  background: var(--navy-950);
}

.country {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  isolation: isolate;
}

.country:first-child {
  border-right: 1px solid rgba(211, 173, 108, 0.3);
}

.country-media,
.country-media img,
.country-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.country-media img {
  object-fit: cover;
}

.country-romania .country-media img {
  object-position: 35% center;
}

.country-bulgaria .country-media img {
  object-position: 70% center;
}

.country-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 20, 32, 0.76), rgba(4, 20, 32, 0.36) 48%, rgba(4, 20, 32, 0.85));
}

.country-romania .country-overlay {
  background: linear-gradient(90deg, rgba(4, 20, 32, 0.18), rgba(4, 20, 32, 0.82) 48%, rgba(4, 20, 32, 0.96));
}

.country-bulgaria .country-overlay {
  background: linear-gradient(90deg, rgba(4, 20, 32, 0.96), rgba(4, 20, 32, 0.74) 50%, rgba(4, 20, 32, 0.22));
}

.country-content {
  position: relative;
  width: min(470px, calc(100% - 54px));
  padding-block: 50px 44px;
}

.country-romania .country-content {
  margin-right: 7%;
  margin-left: auto;
}

.country-bulgaria .country-content {
  margin-right: auto;
  margin-left: 7%;
}

.country-index {
  position: absolute;
  top: 40px;
  right: 0;
  margin: 0;
  color: rgba(211, 173, 108, 0.46);
  font-family: var(--font-serif);
  font-size: 20px;
}

.country h2 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(44px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.flag-line {
  display: flex;
  width: 235px;
  height: 3px;
  margin-bottom: 29px;
}

.flag-line span {
  flex: 1;
}

.flag-romania span:nth-child(1) { background: #0d5cb6; }
.flag-romania span:nth-child(2) { background: #ffd423; }
.flag-romania span:nth-child(3) { background: #cf233a; }
.flag-bulgaria span:nth-child(1) { background: #f2f3f2; }
.flag-bulgaria span:nth-child(2) { background: #19895d; }
.flag-bulgaria span:nth-child(3) { background: #d9223d; }

.country-content > p:not(.country-index) {
  max-width: 440px;
  margin-bottom: 18px;
  color: #d7dde0;
  font-size: 16px;
  line-height: 1.58;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
  gap: 8px;
  color: var(--gold-400);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(211, 173, 108, 0.56);
  cursor: pointer;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.light-section {
  color: var(--text-dark);
  background: var(--cream-100);
}

.dark-section {
  background: var(--navy-950);
}

.services {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.services-texture {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(250, 247, 240, 0.1), rgba(250, 247, 240, 0.02)), url("../images/services-texture.webp");
  background-position: center;
  background-size: cover;
}

.services-inner {
  position: relative;
  padding-block: clamp(62px, 7vw, 90px);
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-heading .gold-rule {
  margin-block: 20px 35px;
}

.services .section-heading,
.service-list {
  width: min(610px, 58%);
}

.service-list {
  display: grid;
}

.service-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 118px;
  padding-block: 17px;
  border-bottom: 1px solid var(--border-light);
}

.service-item:last-child {
  border-bottom: 0;
}

.icon-circle {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--gold-400);
  background: var(--navy-950);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(12, 29, 40, 0.12);
}

.icon-circle svg {
  width: 29px;
  height: 29px;
}

.service-item h3 {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.006em;
}

.service-item p {
  max-width: 530px;
  margin-bottom: 0;
  color: #43505a;
  line-height: 1.6;
}

.monogram {
  position: absolute;
  right: 1%;
  bottom: 8%;
  display: grid;
  width: 116px;
  height: 158px;
  place-items: center;
  color: rgba(166, 116, 55, 0.42);
  border: 2px solid rgba(198, 154, 85, 0.34);
  border-radius: 58px;
}

.monogram::before {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(198, 154, 85, 0.28);
  border-radius: inherit;
}

.monogram span {
  font-family: var(--font-serif);
  font-size: 66px;
}

.process {
  padding-block: clamp(62px, 7vw, 90px) clamp(70px, 7vw, 96px);
  border-bottom: 1px solid var(--border-dark);
}

.section-heading-centered {
  text-align: center;
}

.section-heading-centered .gold-rule {
  margin-inline: auto;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  counter-reset: steps;
}

.process-step {
  position: relative;
  min-height: 224px;
  padding: 8px clamp(24px, 2.7vw, 42px) 0;
  border-right: 1px solid rgba(211, 173, 108, 0.26);
}

.process-step:first-child {
  padding-left: 0;
}

.process-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.process-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 31px;
  right: -7px;
  width: 13px;
  height: 13px;
  content: "";
  background: var(--navy-950);
  border-top: 1px solid var(--gold-500);
  border-right: 1px solid var(--gold-500);
  transform: rotate(45deg);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 17px;
  color: var(--gold-500);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 1;
}

.step-top svg {
  width: 37px;
  height: 37px;
}

.process-step h3 {
  margin-bottom: 9px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.22;
}

.process-step p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #101b24, #071927 58%, #061827);
  border-bottom: 1px solid var(--border-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(300px, 0.75fr) minmax(260px, 0.62fr);
  align-items: center;
  gap: clamp(34px, 4vw, 66px);
  min-height: 430px;
}

.about-media {
  align-self: stretch;
  min-width: 0;
  margin-left: calc((100vw - min(calc(100vw - (var(--gutter) * 2)), var(--container))) / -2);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 33% center;
  filter: saturate(0.76) brightness(0.8);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 74%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 74%, transparent 100%);
}

.about-copy {
  padding-block: 54px;
}

.about-copy h2 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about-copy > p:not(.eyebrow) {
  color: #c9d0d4;
  line-height: 1.6;
}

.person-name {
  display: grid;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(211, 173, 108, 0.22);
}

.person-name strong {
  color: var(--gold-400);
  font-size: 18px;
  font-weight: 400;
}

.person-name span {
  color: var(--text-muted);
  font-size: 14px;
}

.about-points {
  display: grid;
  gap: 25px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  align-items: start;
  color: #dbe0e3;
  line-height: 1.6;
}

.about-points svg {
  width: 34px;
  height: 34px;
  color: var(--gold-500);
}

.privacy-band {
  padding-block: 28px;
  background: #071d2d;
  border-bottom: 1px solid var(--border-dark);
}

.privacy-band-inner {
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.privacy-title-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lock-medallion {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-400);
  border: 1px solid var(--gold-500);
  border-radius: 50%;
}

.lock-medallion svg {
  width: 32px;
  height: 32px;
}

.privacy-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.privacy-divider {
  width: 1px;
  height: 54px;
  background: var(--gold-500);
}

.privacy-band p {
  max-width: 720px;
  margin: 0;
  color: #c9d0d4;
  line-height: 1.6;
}

.faq {
  position: relative;
  padding-block: clamp(62px, 7vw, 90px) 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(198, 154, 85, 0.08), transparent 34%),
    var(--cream-100);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 8vw, 125px);
}

.accordion {
  border-top: 1px solid rgba(23, 35, 49, 0.24);
}

.accordion-item {
  border-bottom: 1px solid rgba(23, 35, 49, 0.24);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 16px 0;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.accordion-item button > span {
  position: relative;
  width: 20px;
  height: 20px;
}

.accordion-item button > span::before,
.accordion-item button > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.accordion-item button > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item button[aria-expanded="true"] > span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-panel {
  padding: 0 48px 20px 0;
}

.accordion-panel p {
  margin: 0;
  color: #4a5660;
  font-size: 15px;
  line-height: 1.65;
}

.final-cta-wrap {
  padding-block: clamp(64px, 7vw, 94px);
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(198, 154, 85, 0.6);
  background: rgba(250, 247, 240, 0.48);
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 22px;
  height: 22px;
  content: "";
}

.final-cta::before {
  top: 9px;
  left: 9px;
  border-top: 1px solid var(--gold-500);
  border-left: 1px solid var(--gold-500);
}

.final-cta::after {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid var(--gold-500);
  border-bottom: 1px solid var(--gold-500);
}

.cta-monogram {
  display: grid;
  width: 78px;
  height: 106px;
  place-items: center;
  color: rgba(166, 116, 55, 0.64);
  font-family: var(--font-serif);
  font-size: 49px;
  border: 1px solid rgba(198, 154, 85, 0.54);
  border-radius: 39px;
}

.final-cta h2 {
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3vw, 45px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.final-cta p {
  max-width: 620px;
  margin: 0;
  color: #52606b;
  line-height: 1.6;
}

.final-cta .button {
  min-width: 230px;
}

.site-footer {
  padding-block: 56px 25px;
  background:
    linear-gradient(145deg, rgba(9, 34, 51, 0.5), transparent 52%),
    #051725;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 2.3fr 0.8fr;
  gap: clamp(42px, 6vw, 90px);
  padding-bottom: 39px;
}

.footer-brand > p {
  max-width: 265px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-left: 24px;
  border-left: 1px solid rgba(211, 173, 108, 0.2);
}

.footer-nav h2,
.footer-contacts h2 {
  margin-bottom: 5px;
  color: #e4e6e7;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-nav a,
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-nav a:hover,
.footer-contacts a:hover,
.footer-legal a:hover {
  color: var(--gold-400);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.whatsapp-text {
  gap: 8px;
}

.whatsapp-text svg {
  width: 19px;
  height: 19px;
  color: var(--gold-400);
}

.footer-legal {
  padding-top: 25px;
  border-top: 1px solid rgba(211, 173, 108, 0.16);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #8f9aa2;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.floating-whatsapp {
  position: fixed;
  z-index: 10010;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  display: grid !important;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(5, 70, 42, 0.35);
  isolation: isolate;
  transition: transform 180ms ease, filter 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.floating-whatsapp::before,
.floating-whatsapp::after {
  position: absolute;
  z-index: -1;
  inset: -18px;
  content: "";
  pointer-events: none;
  border: 1px solid #25d366;
  border-radius: 50%;
  opacity: 0;
  backface-visibility: hidden;
  animation: whatsapp-ripple 1.5s linear infinite;
}

.floating-whatsapp::after {
  animation-delay: 0.5s;
}

.floating-whatsapp svg {
  width: 33px;
  height: 33px;
  stroke-width: 1.7;
}

@keyframes whatsapp-ripple {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  45% { opacity: 0.85; }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.scroll-locked .floating-whatsapp,
.quiz-is-open .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Standalone privacy page */
.legal-page {
  min-height: 100vh;
  color: var(--text-dark);
  background: var(--cream-100);
}

.legal-page .site-header {
  color: var(--text-light);
}

.legal-main {
  padding-block: clamp(54px, 8vw, 100px);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 400;
  line-height: 1.02;
}

.legal-content h2 {
  margin: 35px 0 12px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 400;
}

.legal-content a {
  color: #8a612c;
  text-decoration: underline;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    display: flex;
    width: min(86vw, 390px);
    height: calc(100dvh - var(--header-height));
    padding: 30px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 3px;
    overflow-y: auto;
    background: #071d2e;
    border-left: 1px solid var(--border-dark);
    box-shadow: -16px 24px 54px rgba(0, 8, 14, 0.35);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transition: opacity 230ms ease, clip-path 230ms var(--ease), visibility 230ms ease;
  }

  .site-nav::before {
    position: fixed;
    z-index: -1;
    top: var(--header-height);
    right: min(86vw, 390px);
    bottom: 0;
    left: 0;
    content: "";
    pointer-events: none;
    background: rgba(1, 10, 16, 0.6);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    clip-path: inset(0);
  }

  .site-nav a {
    min-height: 54px;
    font-size: 16px;
    border-bottom: 1px solid rgba(211, 173, 108, 0.14);
  }

  .header-cta {
    margin-left: 0;
  }

  .benefit {
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding-inline: 18px;
  }

  .benefit > svg {
    width: 36px;
    height: 36px;
  }

  .about-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.9fr);
  }

  .about-points {
    grid-column: 2;
    padding-bottom: 55px;
  }

  .about-copy {
    align-self: end;
    padding: 55px 0 22px;
  }

  .about-media {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 62px);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 10px;
  }

  .benefit,
  .benefit:first-child,
  .benefit:last-child {
    min-height: 112px;
    padding: 22px 26px;
    border-right: 1px solid rgba(211, 173, 108, 0.2);
    border-bottom: 1px solid rgba(211, 173, 108, 0.2);
  }

  .benefit:nth-child(2n) {
    border-right: 0;
  }

  .benefit:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .country-content {
    width: calc(100% - 44px);
  }

  .country-romania .country-content {
    margin-right: 22px;
  }

  .country-bulgaria .country-content {
    margin-left: 22px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 42px;
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(2)::after {
    content: none;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .final-cta {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .final-cta .button {
    grid-column: 2;
    justify-self: start;
  }

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

  .footer-contacts {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    padding-top: 25px;
    border-top: 1px solid rgba(211, 173, 108, 0.16);
  }

  .footer-contacts h2 {
    width: 100%;
  }
}

@media (max-width: 880px) {
  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 69% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(4, 19, 31, 0.76), rgba(4, 19, 31, 0.95) 70%, #061827 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px 58px;
  }

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

  .consult-card {
    width: min(100%, 580px);
    justify-self: start;
  }

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

  .country:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .country-content {
    width: min(540px, calc(100% - (var(--gutter) * 2)));
    margin-inline: auto !important;
  }

  .country-romania .country-overlay {
    background: linear-gradient(90deg, rgba(4, 20, 32, 0.34), rgba(4, 20, 32, 0.8) 64%, rgba(4, 20, 32, 0.94));
  }

  .country-bulgaria .country-overlay {
    background: linear-gradient(90deg, rgba(4, 20, 32, 0.93), rgba(4, 20, 32, 0.65) 70%, rgba(4, 20, 32, 0.24));
  }

  .services .section-heading,
  .service-list {
    width: min(650px, 75%);
  }

  .monogram {
    right: 3%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-media {
    grid-row: auto;
    min-height: 440px;
    margin-inline: calc(var(--gutter) * -1);
  }

  .about-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .about-copy {
    padding: 46px 0 30px;
  }

  .about-points {
    grid-column: auto;
    padding-bottom: 60px;
  }

  .privacy-band-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
  }

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

@media (max-width: 700px) {
  :root {
    --gutter: 22px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-cta {
    order: 2;
    display: inline-flex;
    min-height: 40px;
    margin-left: auto;
    padding: 8px 12px;
    font-size: 12px;
  }

  .menu-toggle {
    order: 3;
    margin-left: 0;
  }

  .site-nav {
    order: 4;
  }

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

  .hero h1 {
    font-size: clamp(40px, 11vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.01em;
  }

  .hero-lead {
    font-size: 20px;
    line-height: 1.42;
  }

  .section-heading h2 {
    font-size: clamp(37px, 10vw, 42px);
    line-height: 1.09;
  }

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

  .benefit,
  .benefit:first-child,
  .benefit:last-child,
  .benefit:nth-child(2n),
  .benefit:nth-last-child(-n + 2) {
    min-height: 102px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(211, 173, 108, 0.2);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .service-item {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .icon-circle {
    width: 54px;
    height: 54px;
  }

  .service-item h3 {
    font-size: 23px;
    line-height: 1.24;
  }

  .services .section-heading,
  .service-list {
    width: 100%;
  }

  .services-texture {
    opacity: 0.42;
    background-position: 64% center;
  }

  .monogram {
    display: none;
  }

  .process-list {
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-top: 0;
  }

  .process-step,
  .process-step:first-child,
  .process-step:nth-child(3),
  .process-step:last-child {
    min-height: 0;
    padding: 21px 0 25px 57px;
    border-right: 0;
    border-bottom: 1px solid rgba(211, 173, 108, 0.18);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 1px;
    content: "";
    background: rgba(211, 173, 108, 0.33);
  }

  .process-step:first-child::before {
    top: 37px;
  }

  .process-step:last-child::before {
    bottom: calc(100% - 37px);
  }

  .process-step:not(:last-child)::after,
  .process-step:nth-child(2)::after {
    top: 31px;
    right: auto;
    left: 15px;
    display: block;
    width: 11px;
    height: 11px;
    content: "";
    background: var(--navy-950);
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    transform: none;
  }

  .process-step:last-child::after {
    position: absolute;
    z-index: 2;
    top: 31px;
    left: 15px;
    display: block;
    width: 11px;
    height: 11px;
    content: "";
    background: var(--navy-950);
    border: 1px solid var(--gold-500);
    border-radius: 50%;
  }

  .process-step p {
    font-size: 14.5px;
    line-height: 1.58;
  }

  .step-top {
    margin-bottom: 10px;
  }

  .step-number {
    font-size: 42px;
  }

  .privacy-title-wrap {
    align-items: center;
  }

  .privacy-band h2 {
    font-size: 31px;
  }

  .lock-medallion {
    width: 58px;
    height: 58px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .cta-monogram {
    width: 62px;
    height: 82px;
    font-size: 39px;
  }

  .final-cta .button {
    grid-column: auto;
    width: 100%;
  }

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

  .footer-nav {
    gap: 24px;
  }

  .footer-nav > div {
    padding: 0 0 18px;
    border-left: 0;
    border-bottom: 1px solid rgba(211, 173, 108, 0.16);
  }

  .footer-contacts {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .floating-whatsapp {
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

}

@media (max-width: 430px) {
  :root {
    --gutter: 19px;
  }

  .brand-word {
    font-size: 24px;
  }

  .header-cta {
    padding-inline: 9px;
    font-size: 11px;
  }

  .hero-grid {
    gap: 38px;
    padding-block: 56px 46px;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 43px);
    line-height: 1.04;
  }

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

  .hero-copy .button,
  .consult-card {
    width: 100%;
  }

  .consult-card {
    padding: 24px 20px;
  }

  .country {
    min-height: 390px;
  }

  .country-content {
    width: calc(100% - (var(--gutter) * 2));
    padding-block: 52px 38px;
  }

  .country h2 {
    font-size: 43px;
    line-height: 1.05;
  }

  .flag-line {
    width: 190px;
    margin-bottom: 23px;
  }

  .country-content > p:not(.country-index) {
    font-size: 16px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 9.7vw, 40px);
  }

  .service-item {
    align-items: start;
    padding-block: 22px;
  }

  .about-media {
    min-height: 360px;
  }

  .about-copy h2 {
    font-size: 37px;
    line-height: 1.1;
  }

  .privacy-title-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .accordion-item button {
    min-height: 68px;
    font-size: 16px;
  }

  .final-cta {
    padding: 28px 22px;
  }

  .final-cta h2 {
    font-size: 33px;
    line-height: 1.12;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
