/* ==========================================================================
   Op. Dr. Ruslan Hummatov — site styles
   Theme reference: editorial, calm, cream + charcoal + soft blue
   ========================================================================== */

:root {
  --cream: #f7f5f1;
  --sand: #eeeae2;
  --paper: #ffffff;
  --ink: #2f2f35;
  --ink-soft: #5d5d66;
  --muted: #8a8a93;
  --line: rgba(47, 47, 53, 0.12);
  --blue: #8bc3de;
  --blue-deep: #6aaed0;
  --navy: #0046a5;
  --navy-deep: #003680;
  --night: #12161c;
  --night-2: #1a212a;
  --green: #1c534e;
  --lime: #caf9a8;

  --serif: "Source Serif 4", "Lyon Display", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Nunito Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --pill: 999px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.h1, .h2, .h3 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; margin: 0; letter-spacing: -0.022em; }
.h1 em, .h2 em, .h3 em, .popup__title em { font-style: normal; }
.h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.14; }
.h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.16; }
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 400; letter-spacing: -0.015em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); margin: 18px 0 0; max-width: 60ch; }
.serif-i { font-family: var(--serif); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--pill);
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35); }
.btn--blue:hover { --bg: var(--blue-deep); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: #000; }
.btn--ghost-light { --bg: rgba(47, 47, 53, 0.92); --fg: #fff; border: 2px solid #fff; }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--sm { min-height: 40px; padding: 0 22px; font-size: 13px; letter-spacing: 0.06em; border-width: 1.5px; border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px var(--gutter) 0;
  transition: padding 0.3s var(--ease);
}
.site-header__bar {
  max-width: 1320px;
  margin: 0 auto;
  height: 72px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 28px 0 34px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px -14px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}
.logo { flex: none; display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-size: 26px; font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; }
.logo__dash { display: inline-block; width: 22px; height: 1.5px; background: currentColor; }
.logo small { font-size: 1em; color: var(--ink-soft); }

.nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; }
.nav a { white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

.header-actions { flex: none; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-dd { position: relative; }
.lang-dd__btn { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.lang-dd__btn:hover, .lang-dd.is-open .lang-dd__btn { background: var(--sand); }
.lang-dd__btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.lang-dd.is-open .lang-dd__btn svg { transform: rotate(180deg); }
.lang-dd__menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 170px; padding: 6px; background: #fff; border-radius: 8px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 5; }
.lang-dd.is-open .lang-dd__menu { opacity: 1; visibility: visible; transform: none; }
.lang-dd__menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 14px; }
.lang-dd__menu button b { font-weight: 600; font-size: 12px; letter-spacing: 0.06em; width: 22px; }
.lang-dd__menu button:hover { background: var(--sand); }
.lang-dd__menu button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 8px; place-items: center; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cream);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 30px; font-weight: 300; letter-spacing: -0.02em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  height: min(92vh, 820px);
  min-height: 600px;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.slide.is-active .slide__media img { transform: scale(1); }
.slide__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(18, 22, 28, 0.75) 18%, rgba(18, 22, 28, 0.15) 50%, rgba(18, 22, 28, 0) 75%),
    linear-gradient(0deg, rgba(18, 22, 28, 0.65) 0%, rgba(18, 22, 28, 0) 35%);
}
.slide__media--portrait { width: 46%; right: 4%; }
.slide__media--portrait img { object-position: center top; }
.slide__media--portrait::after {
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(18, 22, 28, 0) 30%),
    linear-gradient(270deg, var(--night) 0%, rgba(18, 22, 28, 0) 22%),
    linear-gradient(0deg, var(--night) 0%, rgba(18, 22, 28, 0) 30%);
}
.slide__media--ba { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 44%; right: var(--gutter); top: 120px; bottom: 90px; border-radius: 16px; overflow: hidden; }
.slide__media--ba figure { margin: 0; position: relative; overflow: hidden; }
.slide__media--ba::after { display: none; }
.ba-tag {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: rgba(18, 22, 28, 0.75); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--pill); backdrop-filter: blur(6px);
}
.ba-tag--after { background: var(--blue); color: var(--ink); border-color: var(--blue); }

.slide__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 60px;
}
.slide__content > * { max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: 0.12s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: 0.24s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: 0.36s; }
.slide__content .eyebrow { color: #fff; }
.slide__content .lead { color: #fff; font-size: clamp(17px, 1.5vw, 21px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero__dots { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero__dots button {
  position: relative; width: 54px; height: 22px; border: 0; background: transparent; padding: 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); text-align: left;
}
.hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.25); }
.hero__dots button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); }
.hero__dots button[aria-current="true"] { color: #fff; }
.hero__dots button[aria-current="true"]::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.hero__arrows { display: flex; gap: 10px; }

.circle-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid currentColor; background: transparent;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease), opacity 0.2s;
}
.circle-btn svg { width: 18px; height: 18px; }
.hero .circle-btn { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hero .circle-btn:hover { background: #fff; color: var(--ink); }
.circle-btn--ink { color: var(--ink); border-color: var(--line); background: var(--paper); }
.circle-btn--ink:hover { background: var(--ink); color: #fff; }
.circle-btn:disabled { opacity: 0.35; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--night { background: var(--night); color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }

/* Topic chips */
.topics { text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 34px auto 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 24px;
  border-radius: var(--pill); background: var(--blue); border: 1.5px solid var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s, transform 0.25s var(--ease);
}
.chip:hover { background: var(--blue-deep); transform: translateY(-2px); }
.chip--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--dark:hover { background: #000; }

/* Horizontal carousel */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 3 * 20px) / 4));
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; }

/* Before/after card */
.ba-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; text-align: left;
  aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #0d0f13; color: #fff;
}
.ba-card__pair { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba-card__pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.ba-card:hover .ba-card__pair img { transform: scale(1.05); }
.ba-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 16, 0.92) 0%, rgba(10, 12, 16, 0.2) 45%, rgba(10, 12, 16, 0) 60%); }
.ba-card__labels { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; }
.mini-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; background: rgba(10, 12, 16, 0.75); color: #fff; }
.mini-tag--blue { background: var(--blue); color: var(--ink); }
.mini-tag--green { background: var(--green); color: #fff; }
.mini-tag--lime { background: var(--lime); color: var(--ink); }
.ba-card__body { position: absolute; left: 18px; right: 18px; bottom: 18px; text-align: center; }
.ba-card__title { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.2; margin: 0 0 10px; font-weight: 300; letter-spacing: -0.015em; }
.ba-card__meta { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; }

/* Compare widget */
.compare-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 600 / 1100; height: min(78vh, 720px); width: auto; max-width: 100%; margin: 0 auto;
  border-radius: 16px; overflow: hidden; background: #0d0f13; user-select: none; touch-action: pan-y;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__knob {
  position: absolute; top: 50%; left: var(--pos); width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); pointer-events: none;
}
.compare__knob svg { width: 26px; height: 26px; }
.compare__range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; margin: 0; }
.compare .ba-tag { bottom: auto; top: 16px; transform: none; }
.compare .ba-tag--before { left: 16px; }
.compare .ba-tag--after { left: auto; right: 16px; }
.compare-thumbs { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.compare-thumbs button { width: 58px; height: 72px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: none; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.compare-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.compare-thumbs button[aria-pressed="true"], .compare-thumbs button:hover { opacity: 1; border-color: var(--ink); }

.check-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2f35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Procedures */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.proc-card { display: flex; flex-direction: column; background: var(--paper); border-radius: 12px; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.proc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.4); }
.proc-card__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.proc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.proc-card:hover .proc-card__img img { transform: scale(1.05); }
.proc-card__img .mini-tag { position: absolute; left: 12px; bottom: 12px; }
.proc-card__img--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.proc-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proc-card__body p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.proc-card__body .link-arrow { margin-top: auto; padding-top: 8px; }

/* Approach pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 34px 28px 10px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar__num { font-family: var(--serif); font-size: 15px; color: var(--muted); }
.pillar h3 { margin: 10px 0 10px; }
.pillar p { margin: 0; color: var(--ink-soft); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--serif); font-size: 52px; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.section--night .eyebrow { color: var(--blue); }
.section--night .lead { color: rgba(255, 255, 255, 0.75); }

/* Stories */
.story-card { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--night-2); color: #fff; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.story-card:hover img { transform: scale(1.05); }
.story-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 16, 0.85) 0%, rgba(10, 12, 16, 0) 50%); }
.story-card blockquote { position: absolute; left: 20px; right: 20px; bottom: 20px; margin: 0; }
.story-card blockquote p { font-family: var(--serif); font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.story-card cite { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.story-card--quote { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 26px; background: var(--green); }
.story-card--quote .q-mark { font-family: var(--serif); font-size: 90px; line-height: 0.6; color: var(--lime); }
.story-card--quote p { font-family: var(--serif); font-weight: 300; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.25; margin: 0; }

/* Press */
.press { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.press__img { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.5); }
.press blockquote { margin: 30px 0; padding-left: 22px; border-left: 3px solid var(--blue); font-weight: 300; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.015em; }
.press__source { font-size: 13px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about__text p { color: var(--ink-soft); font-size: 17px; margin: 0 0 18px; }
.about__text .about__signature { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-top: 28px !important; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.about__facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 20px; }
.about__media { position: relative; }
.about__media .main { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); }
.about__media .main img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about__media .inset { position: absolute; left: -48px; bottom: -40px; width: 52%; border-radius: 12px; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.45); aspect-ratio: 1; }
.about__media .inset img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--sans); font-size: 20px; transition: transform 0.3s var(--ease), background 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq details p { margin: 0 0 24px; color: var(--ink-soft); max-width: 70ch; }
.faq__badge { display: inline-block; margin-right: 10px; vertical-align: middle; }

/* Consultation band */
.consult { background: var(--blue); padding: clamp(56px, 7vw, 90px) 0; }
.consult__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.consult .lead { color: var(--ink); opacity: 0.8; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 22px; border: 0; border-radius: 28px;
  background: #fff; color: var(--ink); font: inherit; font-size: 15px; appearance: none;
}
.field textarea { min-height: 96px; border-radius: 22px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2f35' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; padding-right: 48px; }
.form .btn { width: 100%; }
.form__note { grid-column: 1 / -1; font-size: 13px; opacity: 0.75; margin: 4px 0 0; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--paper); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.45); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; margin-bottom: 8px; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card .h3 { word-break: break-word; }
.contact-card > span:not(.contact-card__icon) { color: var(--ink-soft); font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { font-size: 14px; opacity: 0.85; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-brand .logo { color: #fff; font-size: 28px; }
.footer-brand p { font-size: 14px; opacity: 0.8; margin: 14px 0 0; max-width: 32ch; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12px; opacity: 0.75; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: var(--pill);
  background: #25d366; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
  transform: translateY(120px); transition: transform 0.4s var(--ease);
}
.wa-float.is-visible { transform: none; }
.wa-float svg { width: 26px; height: 26px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 16, 0.94); display: grid; place-items: center; padding: 70px 70px 40px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox .circle-btn { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.lightbox .circle-btn:hover { background: #fff; color: var(--ink); }
.lightbox__count { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-size: 13px; letter-spacing: 0.1em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .carousel__track { grid-auto-columns: minmax(250px, 42%); }
  .compare-wrap, .press, .about, .consult__inner { grid-template-columns: 1fr; }
  .compare { margin: 0 auto; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .about__media { max-width: 520px; margin: 20px auto 40px; }
  .about__media .inset { left: -16px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-header { padding: 8px 10px 0; }
  .site-header__bar { height: 56px; padding: 0 6px 0 16px; gap: 10px; }
  .logo { font-size: 20px; }
  .logo__dash { display: none; }
  .header-actions .btn--consult { display: none; }
  .hero { height: auto; min-height: 100svh; }
  .slide__media, .slide__media--portrait { width: 100%; right: 0; height: 62%; bottom: auto; }
  .slide__media::after, .slide__media--portrait::after { background: linear-gradient(0deg, var(--night) 0%, rgba(18, 22, 28, 0.6) 30%, rgba(18, 22, 28, 0) 60%); }
  .slide__media--ba { top: 84px; left: 16px; right: 16px; width: auto; height: auto; bottom: 46%; }
  .slide__content { justify-content: flex-end; padding-bottom: 120px; }
  .slide__content .h1 { font-size: 34px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__controls { bottom: 28px; }
  .hero__dots button { width: 34px; font-size: 0; }
  .circle-btn { width: 42px; height: 42px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .carousel__track { grid-auto-columns: 78%; }
  .proc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 70px 12px 80px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: calc(50% - 56px); }
  .lightbox__next { right: calc(50% - 56px); }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
}

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

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* Inner page hero */
.page-hero { position: relative; background: var(--night); color: #fff; padding: calc(var(--header-h) + 110px) 0 80px; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 10%, rgba(18, 22, 28, 0.55) 60%, rgba(18, 22, 28, 0.2)), linear-gradient(0deg, var(--night), rgba(18, 22, 28, 0) 50%); }
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { color: #fff; max-width: 56ch; font-size: clamp(17px, 1.5vw, 20px); }
.page-hero .hero__actions { margin-top: 30px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 26px; color: rgba(255, 255, 255, 0.65); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: 0.5; }

.section__more { margin-top: 36px; display: flex; justify-content: center; }

/* Results page grid + filter */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter button { min-height: 40px; padding: 0 22px; border-radius: var(--pill); border: 1.5px solid var(--ink); background: transparent; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.filter button[aria-pressed="true"], .filter button:hover { background: var(--ink); color: #fff; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.poster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.poster-grid button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--night); aspect-ratio: 4 / 5; }
.poster-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; }
.poster-grid button:hover img { transform: scale(1.05); }

/* Stories page grid */
.stories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Procedure detail blocks */
.proc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.proc-detail:first-child { border-top: 0; }
.proc-detail:nth-child(even) .proc-detail__media { order: 2; }
.proc-detail__media { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--night); position: relative; }
.proc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.proc-detail__media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.proc-detail__media .ba-tag { bottom: 14px; }
.proc-detail__text p { color: var(--ink-soft); font-size: 17px; margin: 18px 0 0; }
.proc-detail__text .check-list { margin: 26px 0 30px; }
.proc-detail__text .hero__actions { margin-top: 0; }

/* Home CTA band */
.cta-band { background: var(--blue); padding: clamp(56px, 7vw, 84px) 0; text-align: center; }
.cta-band .lead { color: var(--ink); margin: 16px auto 30px; }
.cta-band .hero__actions { justify-content: center; margin-top: 0; }

/* ---------- Popup (lead capture) ---------- */
.popup { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.45s; }
.popup.is-open { transition-delay: 0s; }
.popup.is-open { visibility: visible; pointer-events: auto; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(18, 22, 28, 0.6); opacity: 0; transition: opacity 0.4s var(--ease); backdrop-filter: blur(2px); }
.popup.is-open .popup__backdrop { opacity: 1; }
.popup__dialog {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(940px, 100%); max-height: calc(100vh - 40px);
  background: var(--cream); border-radius: 6px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(30px) scale(0.97); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.popup.is-open .popup__dialog { opacity: 1; transform: none; }
.popup__body { padding: clamp(32px, 5vw, 60px) clamp(28px, 4.5vw, 54px); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.popup__body .eyebrow { color: var(--green); }
.popup__title { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.022em; margin: 0; }
.popup__lead { font-size: 15px; color: var(--ink-soft); margin: 16px 0 24px; }
.popup__form { display: grid; gap: 10px; }
.popup__form input, .popup__form select { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid rgba(47, 47, 53, 0.35); border-radius: 2px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); appearance: none; }
.popup__form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f2f35' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding-right: 40px; }
.popup__form input:focus, .popup__form select:focus { outline: 2px solid var(--green); outline-offset: 0; }
.popup__submit { --bg: var(--green); --fg: #fff; width: 100%; margin-top: 6px; min-height: 50px; font-size: 14px; }
.popup__submit:hover { --bg: #143f3b; }
.popup__later { margin-top: 14px; align-self: center; border: 0; background: none; color: var(--green); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.popup__media { position: relative; background: var(--night); min-height: 100%; }
.popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.popup__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); transition: transform 0.2s var(--ease); }
.popup__close:hover { transform: rotate(90deg); }
.popup__close svg { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .results-grid, .stories-grid { grid-template-columns: repeat(3, 1fr); }
  .poster-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .proc-detail { grid-template-columns: 1fr; }
  .proc-detail:nth-child(even) .proc-detail__media { order: 0; }
}
@media (max-width: 760px) {
  .page-hero { padding: calc(var(--header-h) + 60px) 0 56px; }
  .results-grid, .stories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .results-grid .ba-card__title { font-size: 16px; }
  .popup { padding: 12px; align-items: end; }
  .popup__dialog { grid-template-columns: 1fr; border-radius: 12px; }
  .popup__media { display: none; }
  .popup__body { padding: 40px 22px 24px; }
}

.proc-detail__media--inset { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px; background: var(--sand); }
.proc-detail__media--inset figure { margin: 0; position: relative; flex: 0 1 260px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.4); }
.proc-detail__num { color: var(--ink); }
.proc-detail__num span { color: var(--muted); font-weight: 600; }

.page-hero + .section--night { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.proc-detail__media--split figure { height: 100%; }

/* ---------- Instagram-style patient feed ---------- */
.ig-section { background: var(--sand); padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.ig-head .h2 { max-width: 20ch; }
.ig-profile { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.ig-profile__avatar { width: 58px; height: 58px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: none; }
.ig-profile__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--sand); }
.ig-profile__meta { display: flex; flex-direction: column; line-height: 1.3; }
.ig-profile__meta strong { font-weight: 600; font-size: 15px; }
.ig-profile__meta small { font-size: 13px; color: var(--ink-soft); }
.ig-profile__btn { margin-left: 8px; gap: 8px; }
.ig-profile__btn svg { width: 16px; height: 16px; }

.ig-marquee { display: grid; gap: 14px; }
.ig-marquee__row { display: flex; gap: 14px; width: max-content; animation: ig-scroll 80s linear infinite; }
.ig-marquee__row--rev { animation-direction: reverse; animation-duration: 95s; }
.ig-marquee:hover .ig-marquee__row { animation-play-state: paused; }
@keyframes ig-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ig-marquee .ig-post { width: clamp(180px, 19vw, 270px); }

.ig-post { position: relative; display: block; padding: 0; border: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night-2); border-radius: 6px; cursor: zoom-in; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ig-post__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; color: #fff; background: rgba(18, 22, 28, 0.32); opacity: 0; transition: opacity 0.3s; }
.ig-post__overlay svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); transform: scale(0.7); transition: transform 0.35s var(--ease); }
.ig-post:hover img, .ig-post:focus-visible img { transform: scale(1.06); }
.ig-post:hover .ig-post__overlay, .ig-post:focus-visible .ig-post__overlay { opacity: 1; }
.ig-post:hover .ig-post__overlay svg { transform: scale(1); }

.ig-feed { max-width: 980px; }
.ig-profile--lg { width: 100%; padding-bottom: 28px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.ig-profile--lg .ig-profile__avatar { width: 86px; height: 86px; padding: 3px; }
.ig-profile--lg .ig-profile__avatar img { border-color: var(--paper); }
.ig-profile--lg .ig-profile__meta strong { font-size: 20px; }
.ig-profile--lg .ig-profile__btn { margin-left: auto; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.ig-grid .ig-post { border-radius: 0; }

@media (max-width: 760px) {
  .ig-head { flex-direction: column; align-items: flex-start; }
  .ig-marquee .ig-post { width: 150px; }
  .ig-marquee, .ig-marquee__row { gap: 8px; }
  .ig-profile__btn span { display: none; }
  .ig-profile__btn { padding: 0 12px; }
  .ig-profile--lg .ig-profile__avatar { width: 64px; height: 64px; }
  .ig-grid { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-marquee__row { animation: none; }
  .ig-marquee { overflow-x: auto; }
}

.proc-detail__media--split { aspect-ratio: 9 / 10; max-width: 520px; width: 100%; justify-self: center; }
@media (min-width: 961px) { .compare-wrap { grid-template-columns: 1.1fr 0.9fr; } }
@media (max-width: 960px) { .compare { height: min(70vh, 620px); } }

/* ---------- Flags ---------- */
.flag { display: inline-block; flex: none; width: 21px; height: 14px; border-radius: 2.5px; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); vertical-align: -2px; }
.flag--tr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23E30A17'/%3E%3Ccircle cx='11.25' cy='10' r='5' fill='%23fff'/%3E%3Ccircle cx='12.5' cy='10' r='4' fill='%23E30A17'/%3E%3Cpolygon fill='%23fff' points='14.00,10.00 15.38,9.55 15.38,8.10 16.24,9.27 17.62,8.82 16.76,10.00 17.62,11.18 16.24,10.73 15.38,11.90 15.38,10.45'/%3E%3C/svg%3E"); }
.flag--ro { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%23002B7F'/%3E%3Crect x='1' width='1' height='2' fill='%23FCD116'/%3E%3Crect x='2' width='1' height='2' fill='%23CE1126'/%3E%3C/svg%3E"); }
.flag--en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='c'%3E%3Cpath d='M0,0 v30 h60 v-30 z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
.eyebrow--flag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flag-route { display: inline-flex; align-items: center; gap: 6px; }
.flag-route i { font-style: normal; opacity: 0.7; }

/* ---------- UX polish ---------- */
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 6px; font-weight: 600; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.lang-dd__btn { gap: 7px; }
.lang-dd__menu button { gap: 12px; }
.contact-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.contact-card__actions .btn svg { width: 16px; height: 16px; }
.footer-made { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .logo small { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 760px) { .logo small { display: inline; } }

/* ---------- Inner page hero (text left, crisp visual right) ---------- */
.page-hero { padding: calc(var(--header-h) + 70px) 0 72px; background: radial-gradient(120% 90% at 85% 40%, #1f2733 0%, var(--night) 60%); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero__text .h1 { max-width: 19ch; }
.page-hero__media { position: relative; display: flex; justify-content: center; }
.page-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-frame { position: relative; margin: 0; width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.ph-badge { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.ph-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: min(100%, 460px); aspect-ratio: 9 / 10; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.ph-pair figure { position: relative; margin: 0; height: 100%; }
.ph-fan { position: relative; width: min(100%, 500px); aspect-ratio: 5 / 4; }
.ph-fan__card { position: absolute; top: 14%; left: 50%; width: 44%; aspect-ratio: 9 / 10; margin: 0 0 0 -22%; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 14px; overflow: hidden; background: #0d0f13; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75); transition: transform 0.6s var(--ease); }
.ph-fan__card:nth-child(1) { transform: translateX(-52%) rotate(-7deg) scale(0.9); }
.ph-fan__card:nth-child(2) { z-index: 2; top: 6%; transform: none; width: 50%; margin-left: -25%; }
.ph-fan__card:nth-child(3) { transform: translateX(52%) rotate(7deg) scale(0.9); }
.ph-fan:hover .ph-fan__card:nth-child(1) { transform: translateX(-58%) rotate(-10deg) scale(0.9); }
.ph-fan:hover .ph-fan__card:nth-child(3) { transform: translateX(58%) rotate(10deg) scale(0.9); }
.ph-collage { position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1; }
.ph-collage figure { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75); }
.ph-collage figure:nth-child(1) { left: 0; top: 8%; width: 46%; aspect-ratio: 4 / 5; }
.ph-collage figure:nth-child(2) { right: 0; top: 0; width: 50%; aspect-ratio: 4 / 5; z-index: 2; }
.ph-collage figure:nth-child(3) { left: 22%; bottom: 0; width: 44%; aspect-ratio: 1 / 1; z-index: 3; border: 5px solid var(--night); }
@media (max-width: 960px) {
  .page-hero { padding: calc(var(--header-h) + 50px) 0 56px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; }
  .ph-frame, .ph-pair { width: min(100%, 360px); }
  .ph-frame { aspect-ratio: 4 / 3.4; }
  .ph-fan, .ph-collage { width: min(100%, 360px); }
}

/* ---------- Compare stage (drag anywhere, case navigation) ---------- */
.compare-stage { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.compare { cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.compare img { -webkit-user-drag: none; }
.compare:focus-within { outline: 2px solid var(--navy); outline-offset: 4px; }
.compare__knob { transition: transform 0.2s var(--ease); }
.compare.is-dragging .compare__knob { transform: scale(1.12); }
.compare__hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill);
  background: rgba(18, 22, 28, 0.72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  backdrop-filter: blur(6px); pointer-events: none; transition: opacity 0.4s; animation: hint-pulse 2.4s ease-in-out infinite;
}
.compare__hint svg { width: 16px; height: 16px; }
.compare.is-touched .compare__hint { opacity: 0; animation: none; }
@keyframes hint-pulse { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 6px)); } }
.compare-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.compare-nav__count { min-width: 64px; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.compare-thumbs { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 16px; max-width: 100%; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; scrollbar-width: none; }
.compare-thumbs::-webkit-scrollbar { display: none; }
.compare-thumbs button { flex: none; width: 52px; height: 66px; scroll-snap-align: center; }

/* ==========================================================================
   Mobile refinements (kept last so they win over everything above)
   ========================================================================== */
@media (max-width: 760px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .h1 { font-size: 32px; line-height: 1.15; }
  .h2 { font-size: 27px; line-height: 1.2; }
  .h3 { font-size: 21px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.06em; margin-bottom: 10px; }
  .lead { font-size: 16px; margin-top: 12px; }
  .btn { min-height: 50px; padding: 0 22px; font-size: 14px; letter-spacing: 0.08em; }
  .hero__actions { gap: 10px; margin-top: 24px; }

  /* Header: compact, nothing overflows */
  .site-header { padding: 8px 10px 0; }
  .site-header__bar { height: 56px; padding: 0 4px 0 16px; gap: 6px; }
  .logo { font-size: 19px; gap: 5px; min-width: 0; overflow: hidden; }
  .logo small { font-size: 0.85em; }
  .header-actions { gap: 2px; }
  .lang-dd__btn { padding: 0 8px; }
  .lang-dd__current { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle span { width: 20px; }

  /* Hero: image on top, text below — never overlapping */
  .hero { display: grid; height: auto; min-height: 0; }
  .slide { position: relative; grid-area: 1 / 1; inset: auto; display: flex; flex-direction: column; }
  .slide__media, .slide__media--portrait, .slide__media--ba {
    position: relative; inset: auto; top: auto; right: auto; left: auto; bottom: auto;
    width: 100%; height: 50svh; min-height: 330px; max-height: 470px; flex: none; margin: 0;
  }
  .slide__media::after, .slide__media--portrait::after { background: linear-gradient(0deg, var(--night) 0%, rgba(18, 22, 28, 0) 38%); }
  .slide__media--portrait img { object-position: center 12%; }
  .slide__media--ba { margin: 76px 20px 0; width: auto; height: 44svh; min-height: 300px; border-radius: 14px; }
  .slide__media--ba .ba-tag { bottom: 12px; font-size: 10px; padding: 5px 10px; }
  .slide__content { height: auto; justify-content: flex-start; padding: 6px 20px 104px; margin-top: -40px; }
  .slide__media--ba + .slide__content { margin-top: 0; padding-top: 24px; }
  .slide__content > * { max-width: none; }
  .slide__content .h1 { font-size: 31px; }
  .slide__content .lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__controls { bottom: 28px; padding: 0 20px; }

  /* Inner page heroes */
  .page-hero { padding: calc(var(--header-h) + 34px) 0 48px; }
  .page-hero__grid { gap: 26px; }
  .crumbs { margin-bottom: 16px; font-size: 12px; }

  /* Before / after */
  .compare-wrap { gap: 30px; }
  .compare { width: min(100%, calc(72svh * 0.545)); height: auto; aspect-ratio: 600 / 1100; }
  .check-list { margin: 20px 0 0; gap: 10px; }
  .check-list li { font-size: 15px; }
  .ba-card__title { font-size: 17px; }
  .ba-card__body { left: 12px; right: 12px; bottom: 14px; }
  .results-grid .ba-card__title { font-size: 14px; margin: 0; }
  .results-grid .ba-card__labels { top: 8px; left: 8px; right: 8px; }
  .results-grid .mini-tag { font-size: 9px; padding: 3px 6px; }
  .filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { flex: none; }
  .section__head { gap: 16px; margin-bottom: 26px; }

  /* Cards & lists */
  .proc-card__body { padding: 18px 18px 22px; }
  .proc-detail { padding: 48px 0; gap: 24px; }
  .proc-detail__text p { font-size: 15px; }
  .proc-detail__media--inset { padding: 16px; gap: 8px; }
  .steps { gap: 28px; }
  .step::before { font-size: 40px; margin-bottom: 10px; }
  .pillar h3 { margin: 6px 0; }
  .faq summary { font-size: 19px; padding: 20px 0; gap: 14px; }
  .about__media .inset { left: 10px; bottom: -24px; width: 44%; }
  .about__facts { gap: 14px; margin: 26px 0; }
  .press blockquote { font-size: 21px; margin: 22px 0; }
  .contact-card { padding: 22px; }
  .cta-band .hero__actions .btn { flex: 1 1 100%; }
  .footer-grid { gap: 28px 20px; }
  .footer-bottom { flex-direction: column; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (max-width: 380px) {
  .logo { font-size: 17px; }
  .h1, .slide__content .h1 { font-size: 28px; }
}
.eyebrow--flag { flex-wrap: nowrap; align-items: flex-start; }
.eyebrow--flag .flag { margin-top: 1px; }
