/* ==========================================================================
   Dr. Ramin Xəlilov — oftalmoloq cərrah
   Design system: one stylesheet, custom properties, no framework.
   Type: Fraunces (display, verified Azerbaijani glyph coverage) + Inter (text).
   Icons: inline SVG sprite; part of the UI geometry is adapted from Lucide
   (https://lucide.dev, ISC License, © Lucide Contributors).
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #0B2236;
  --ink-2: #123452;
  --ink-900: #061523;
  --text: #1C2B39;
  --muted: #566474;
  --line: #E3E8ED;
  --line-2: #CFD8E0;
  --bg: #FFFFFF;
  --bg-soft: #F4F7F9;
  --bg-tint: #ECF4F5;
  --accent: #0A6E80;
  --accent-600: #085C6B;
  --accent-700: #074B58;
  --accent-soft: #E2F0F2;
  --accent-bright: #5CC3D4;
  --gold: #B3843F;
  --gold-light: #DDBB82;
  --gold-soft: #F6EEDF;
  --warn: #8A4A0C;
  --warn-bg: #FFF5E6;
  --warn-line: #F0D3A8;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1.0625rem, 1.02rem + .18vw, 1.125rem);
  --fs-lead: clamp(1.14rem, 1.04rem + .45vw, 1.34rem);
  --fs-h4: clamp(1.06rem, 1.02rem + .2vw, 1.15rem);
  --fs-h3: clamp(1.18rem, 1.08rem + .45vw, 1.42rem);
  --fs-h2: clamp(1.85rem, 1.32rem + 2.1vw, 3.05rem);
  --fs-h1: clamp(2.2rem, 1.45rem + 3.2vw, 4rem);
  --fs-display: clamp(2.55rem, 1.5rem + 4.6vw, 5.25rem);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --section: clamp(4.25rem, 2.8rem + 5.6vw, 8rem);

  --radius-xs: 8px; --radius-sm: 12px; --radius: 18px; --radius-lg: 26px; --radius-xl: 34px;
  --shadow-xs: 0 1px 2px rgba(11, 34, 54, .06);
  --shadow-sm: 0 2px 6px -2px rgba(11, 34, 54, .08), 0 1px 2px rgba(11, 34, 54, .05);
  --shadow: 0 18px 40px -18px rgba(11, 34, 54, .22), 0 2px 6px -2px rgba(11, 34, 54, .06);
  --shadow-lg: 0 40px 80px -30px rgba(11, 34, 54, .38), 0 8px 20px -12px rgba(11, 34, 54, .14);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --gutter: clamp(1.125rem, .6rem + 2.4vw, 2.5rem);
  --header-h: 76px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--ease); }
a:hover { color: var(--accent-700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong, b { font-weight: 600; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }
::selection { background: #CBE7EC; color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -.018em;
  line-height: 1.06;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.28; letter-spacing: -.012em; }
h4 { font-size: var(--fs-h4); font-weight: 650; line-height: 1.35; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 500; color: var(--accent); }

:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle;
}
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.5em; height: 1.5em; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), #F6FAFA); }
.section--dark {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(92, 195, 212, .16), transparent 60%),
    radial-gradient(900px 480px at -10% 110%, rgba(179, 132, 63, .14), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, #0A1D2E 100%);
  color: #D5DEE6;
}
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark h2 em, .cta-box h2 em { color: #8ED8E4; }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .eyebrow::before { background: var(--gold-light); }
.section--dark a:not(.btn) { color: #9FDCE6; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2.4vw, 4rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.stack > * + * { margin-top: var(--s4); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; border-radius: 2px; opacity: .8; }
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: #2F3E4C; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lead); line-height: 1.6; margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.section-head--row > div { max-width: 720px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.45rem;
  font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease); }
.btn:hover .icon-go { transform: translateX(4px); }

.btn--primary {
  --btn-bg: linear-gradient(135deg, #0C7C90 0%, #0A6576 100%); --btn-fg: #fff;
  background: var(--btn-bg);
  box-shadow: 0 14px 30px -14px rgba(10, 110, 128, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
  min-height: 56px; padding-inline: 1.75rem; font-size: 1.04rem;
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 20px 40px -16px rgba(10, 110, 128, .85), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--primary:hover::after { background-position: -30% 0; }
.section--dark .btn--primary, .cta .btn--primary {
  background: linear-gradient(135deg, #F1D8A9 0%, #D9B271 100%); color: var(--ink);
  box-shadow: 0 18px 36px -16px rgba(217, 178, 113, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.section--dark .btn--primary:hover, .cta .btn--primary:hover { color: var(--ink); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--outline:hover { --btn-bd: var(--ink); --btn-bg: #fff; box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .22); }
.btn--light:hover { --btn-bg: rgba(255, 255, 255, .14); --btn-bd: rgba(255, 255, 255, .4); }
.btn--sm { min-height: 44px; padding: .55rem 1.05rem; font-size: .9375rem; }
.btn--block { width: 100%; }

.link-go {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--ink);
  padding-block: .35rem; border-bottom: 1.5px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.link-go .icon { width: 1.05em; height: 1.05em; color: var(--accent); transition: transform .3s var(--ease); }
.link-go:hover { color: var(--accent-700); border-color: currentColor; }
.link-go:hover .icon { transform: translateX(4px); }
.section--dark .link-go { color: #fff; }
.section--dark .link-go .icon { color: var(--gold-light); }

.icon-badge {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 16px; color: var(--accent);
  background: linear-gradient(145deg, #EAF5F6, #DDEDEF);
  box-shadow: inset 0 0 0 1px rgba(10, 110, 128, .1);
  transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}
.icon-badge .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.icon-badge--gold { color: #8C6428; background: linear-gradient(145deg, #F8F0E1, #F0E2C8); box-shadow: inset 0 0 0 1px rgba(179, 132, 63, .18); }
.icon-badge--dark { color: var(--gold-light); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.icon-badge--sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-badge--sm .icon { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- header */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed mobile drawer and clip it. */
.site-header {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  transition: background-color .35s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 34, 54, .35); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .94); }
.bar { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav > a, .sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: 999px; border: 0; background: none;
  font-size: .97rem; font-weight: 550; color: var(--text); text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav > a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { color: var(--ink); background: var(--bg-soft); }
.main-nav > a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--accent-700); }
.main-nav > a[aria-current="page"]::after, .has-sub.is-current > .sub-toggle::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold);
}
.sub-toggle .chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.main-nav > .nav-drawer-only { display: none; }

.has-sub { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(820px, calc(100vw - 48px));
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1rem; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega[data-open="true"] { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; list-style: none; margin: 0; padding: 0; }
.mega-grid a {
  display: flex; gap: .8rem; align-items: flex-start; padding: .8rem; border-radius: 14px; text-decoration: none; color: var(--ink);
  transition: background-color .2s var(--ease);
}
.mega-grid a:hover, .mega-grid a[aria-current="page"] { background: var(--bg-soft); }
.mega-grid a:hover .icon-badge { color: #fff; background: var(--accent); }
.mega-grid .t { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.mega-grid .d { display: block; font-size: .8125rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: .75rem; padding: .9rem 1rem; border-radius: 14px; background: var(--bg-soft); font-size: .92rem;
}
.mega-foot p { margin: 0; color: var(--muted); }

.tools { display: flex; align-items: center; gap: .5rem; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 46px; height: 46px; padding: 0 .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: .95rem; font-weight: 600; white-space: nowrap;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.tool-btn:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.tool-btn .icon { width: 20px; height: 20px; }
.tool-btn--icon { padding: 0; width: 46px; }
.tool-btn kbd {
  font: 600 .72rem/1 var(--font-text); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: .22rem .38rem; background: var(--bg-soft);
}
.tool-btn--card { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool-btn--card:hover { background: var(--ink-2); border-color: var(--ink-2); }
.tool-btn--card .avatar-dot { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin-left: -.45rem; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- breadcrumbs */
.crumbs { font-size: var(--fs-sm); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; gap: .35rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: rotate(45deg); margin-right: .25rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- home hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(2.5rem, 1rem + 5vw, 6rem) clamp(3.5rem, 2rem + 5vw, 7rem);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(92, 195, 212, .18), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(179, 132, 63, .10), transparent 60%),
    linear-gradient(180deg, #F3F8F9 0%, #FFFFFF 78%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem;
  padding: .45rem .9rem .45rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .875rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-xs);
}
.hero-kicker .dot { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.hero-kicker .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(10, 110, 128, .5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 110, 128, .45); } 70% { box-shadow: 0 0 0 9px rgba(10, 110, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 110, 128, 0); } }
.hero h1 { font-size: var(--fs-display); line-height: 1.0; margin-bottom: .35em; }
.hero h1 .role { display: block; margin-top: .14em; font-size: .52em; font-weight: 500; font-style: italic; letter-spacing: -.01em; color: var(--accent); }
.hero .lead { max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; list-style: none; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.hero-facts li { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 550; color: var(--ink); }
.hero-facts .icon { color: var(--accent); width: 20px; height: 20px; }

/* Hero image: a soft rounded-rectangle card — even corners, no arch, no outline frame. */
.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-card {
  position: relative; z-index: 2; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 32px; background: #DDE8EC;
  box-shadow:
    0 44px 80px -40px rgba(11, 34, 54, .45),
    0 18px 38px -22px rgba(10, 110, 128, .28),
    0 0 0 1px rgba(11, 34, 54, .05);
}
.hero-card picture { display: block; width: 100%; height: 100%; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.01); transition: transform 1.6s var(--ease); }
.hero-card:hover img { transform: scale(1.045); }
.hero-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 34, 54, 0) 58%, rgba(11, 34, 54, .18) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.hero-glow {
  position: absolute; z-index: 0; inset: -10% -16%; pointer-events: none;
  background:
    radial-gradient(46% 40% at 74% 24%, rgba(92, 195, 212, .42), transparent 72%),
    radial-gradient(42% 38% at 24% 80%, rgba(221, 187, 130, .32), transparent 72%);
  filter: blur(26px);
}
.hero-dots {
  position: absolute; z-index: 1; right: -38px; bottom: -30px; width: 150px; height: 150px; pointer-events: none;
  background-image: radial-gradient(rgba(10, 110, 128, .32) 1.6px, transparent 1.8px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(circle at 65% 65%, #000 38%, transparent 72%);
  mask-image: radial-gradient(circle at 65% 65%, #000 38%, transparent 72%);
}
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.05rem .7rem .7rem; border-radius: 16px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 40px -22px rgba(11, 34, 54, .35), 0 2px 6px -2px rgba(11, 34, 54, .06);
  font-size: .875rem; line-height: 1.3; color: var(--muted); max-width: 250px;
  animation: floaty 8s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .95rem; }
.float-card--a { left: -11%; bottom: 11%; }
.float-card--b { right: -9%; top: 8%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* entrance for hero (runs without JS) */
.hero .enter { animation: enter 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-media.enter { animation-name: enter-media; }
@keyframes enter-media { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- page hero (inner) */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background:
    radial-gradient(760px 380px at 92% 0%, rgba(92, 195, 212, .16), transparent 62%),
    linear-gradient(180deg, #F3F8F9 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s6); }
.page-hero h1 { max-width: 18ch; margin-bottom: .45em; }
.page-hero h1.wide { max-width: 24ch; }
.page-hero .lead { max-width: 44em; margin: 0; }
.page-hero .lead + p { margin-top: 1rem; }
.page-hero .icon-hero {
  width: 132px; height: 132px; border-radius: 36px; display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(150deg, #fff 0%, #E6F2F3 100%); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.page-hero .icon-hero .icon { width: 64px; height: 64px; stroke-width: 1.35; }
.page-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.6rem 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.page-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.page-meta .icon { width: 18px; height: 18px; color: var(--accent); }
.hero-deco { position: absolute; right: -120px; top: -140px; width: 520px; opacity: .35; z-index: -1; pointer-events: none; }

/* ---------------------------------------------------------------- trust strip */
.trust { position: relative; z-index: 3; margin-top: clamp(-3.5rem, -2rem - 2vw, -2rem); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust-item { display: flex; gap: 1rem; padding: 1.6rem 1.5rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item h3 { font-size: 1rem; margin: .1rem 0 .3rem; letter-spacing: -.005em; }
.trust-item p { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.svc-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.75rem 1.6rem 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px 220px at 100% 0%, rgba(92, 195, 212, .16), transparent 70%);
  transition: opacity .5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover .icon-badge { color: #fff; background: linear-gradient(145deg, #0C7C90, #0A6576); transform: rotate(-6deg); }
.svc-card .num { position: absolute; top: 1.4rem; right: 1.5rem; font: 500 .8rem/1 var(--font-text); letter-spacing: .1em; color: #9AA7B3; }
.svc-card h3 { margin: 1.25rem 0 .5rem; font-size: 1.22rem; }
.svc-card p { margin: 0 0 1.1rem; font-size: .975rem; line-height: 1.6; color: var(--muted); }
.svc-card .hint { display: flex; gap: .5rem; align-items: flex-start; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-size: .875rem; line-height: 1.5; color: #3E4C59; }
.svc-card .hint .icon { color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }
.svc-card .go { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.svc-card .go .icon { color: var(--accent); width: 18px; height: 18px; transition: transform .35s var(--ease); }
.svc-card:hover .go .icon { transform: translateX(5px); }

/* ---------------------------------------------------------------- feature split */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split--rev > .split-media { order: 2; }
.split-media { position: relative; }
.photo {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-xl); background: #dfe8ec; box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.035); }
.photo figcaption, .fig-cap { font-size: .8125rem; color: var(--muted); margin-top: .75rem; line-height: 1.5; }
.photo-stack { position: relative; padding: 0 12% 14% 0; }
.photo-stack .photo--main { aspect-ratio: 512 / 660; max-width: 420px; }
.photo-stack .photo--doc {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 632 / 890; border-radius: 16px;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(3deg);
  transition: transform .6s var(--ease);
}
.photo-stack .photo--doc:hover { transform: rotate(0deg) translateY(-6px); }
.zoomable { cursor: zoom-in; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.zoom-hint {
  position: absolute; right: 10px; bottom: 10px; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(11, 34, 54, .78); color: #fff; pointer-events: none;
}
.zoom-hint .icon { width: 16px; height: 16px; }

.inst-list { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: .75rem; }
.inst-list li {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.inst-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.inst-list .flag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: auto; white-space: nowrap; }
.inst-list .name { font-weight: 600; color: var(--ink); line-height: 1.35; }
.inst-list .name small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.section--dark .inst-list li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .inst-list .name { color: #fff; }
.section--dark .inst-list .flag, .section--dark .inst-list .name small { color: #9FB2C2; }

/* ---------------------------------------------------------------- timeline */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.25rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(var(--gold), rgba(179, 132, 63, .1)); }
.timeline > li { position: relative; padding-bottom: 2rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -2.25rem; top: .3rem; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--gold); box-shadow: 0 0 0 5px var(--gold-soft);
}
.timeline > li::after { content: ""; position: absolute; left: calc(-2.25rem + 8px); top: calc(.3rem + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.timeline .when { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8C6428; margin-bottom: .35rem; }
.timeline h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .98rem; }
.timeline .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 550; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line);
}
.tag .icon { width: 14px; height: 14px; color: var(--accent); }

/* ---------------------------------------------------------------- cards / panels */
.panel { padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.panel h3 { margin-top: .9rem; }
.panel p:last-child { margin-bottom: 0; }
.panel--soft { background: var(--bg-soft); border-color: transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.feature { display: flex; gap: 1.1rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature h3 { font-size: 1.08rem; margin: .1rem 0 .4rem; }
.feature p { margin: 0; font-size: .97rem; color: var(--muted); line-height: 1.6; }

.kv-list { margin: 0; display: grid; gap: .1rem; }
.kv-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.kv-list > div:last-child { border-bottom: 0; }
.kv-list dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
.kv-list dd { margin: 0; color: var(--ink); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 550;
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .3s var(--ease);
}
.chip .icon { width: 18px; height: 18px; color: var(--accent); }
a.chip:hover, button.chip:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); transform: translateY(-1px); }

/* ---------------------------------------------------------------- checklist */
.checklist { list-style: none; margin: 0 0 1.25em; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2.1rem; line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6E80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; }
.checklist--dot li::before { background: none; width: 8px; height: 8px; top: .72em; left: .4rem; border-radius: 50%; background-color: var(--gold); }
.section--dark .checklist li::before { background-color: rgba(92, 195, 212, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FDCE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- callouts */
.callout {
  display: flex; gap: 1rem; align-items: flex-start; margin: 1.75rem 0; padding: 1.15rem 1.35rem;
  border-radius: var(--radius); background: var(--bg-tint); border: 1px solid #D3E7EA; color: #22404A;
}
.callout > .icon { width: 22px; height: 22px; color: var(--accent); margin-top: .2rem; }
.callout h3, .callout h4 { font-size: 1.02rem; margin: 0 0 .25rem; color: var(--ink); font-family: var(--font-text); letter-spacing: 0; }
.callout p { margin: 0; font-size: .98rem; line-height: 1.6; }
.callout p + p { margin-top: .5rem; }
.callout--warn { background: var(--warn-bg); border-color: var(--warn-line); color: #5B3A12; }
.callout--warn > .icon { color: var(--warn); }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 1.5rem 1.25rem 1.4rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 1rem;
  font: 600 2.1rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: -.02em;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 2.35rem; right: -1rem; width: 1rem; height: 1.5px; background: var(--line-2);
}
.steps h3 { font-size: 1.04rem; margin: 0 0 .45rem; }
.steps p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--muted); }

/* ---------------------------------------------------------------- article layout */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.prose { max-width: 70ch; }
.prose > * + h2 { margin-top: 2.6em; }
.prose h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 .h-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); vertical-align: -.2em; margin-right: .6rem; }
.prose h2 .h-ico .icon { width: 22px; height: 22px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose .callout h3 { margin-top: 0; font-size: 1.02rem; }
.prose .panel h3 { margin-top: .9rem; }
.prose p, .prose li { color: #2A3845; }
.method-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.method { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.method h3 { margin: .1rem 0 .35rem; font-size: 1.1rem; }
.method p { margin: 0; font-size: .98rem; }

.rail { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.rail-card { padding: 1.35rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.rail-card h2, .rail-card .rail-title { font: 700 .75rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem; }
.rail-card .rail-title .icon { width: 16px; height: 16px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a {
  display: block; position: relative; padding: .5rem .75rem .5rem 1rem; border-radius: 10px; font-size: .95rem; line-height: 1.35; color: var(--text); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.toc a::before { content: ""; position: absolute; left: 0; top: .55rem; bottom: .55rem; width: 2px; border-radius: 2px; background: var(--line); transition: background-color .25s var(--ease); }
.toc a:hover { background: var(--bg-soft); color: var(--ink); }
.toc a[aria-current="true"] { color: var(--accent-700); font-weight: 600; background: var(--accent-soft); }
.toc a[aria-current="true"]::before { background: var(--accent); }
.doc-card { display: flex; gap: .85rem; align-items: center; }
.doc-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.doc-card strong { display: block; font-size: 1rem; line-height: 1.25; }
.doc-card span { font-size: .85rem; color: var(--muted); }
.rail-contact { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .95rem; }
.rail-contact a { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.rail-contact a:hover { color: var(--accent); }
.rail-contact .icon { width: 18px; height: 18px; color: var(--accent); }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: .75rem; max-width: 900px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq details[open] { border-color: #C7DEE2; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.15rem 1.35rem; font-weight: 600; font-size: 1.04rem; line-height: 1.45; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-700); }
.faq .plus {
  flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--bg-soft); color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .4s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .answer { padding: 0 1.35rem 1.25rem; color: #33424F; }
.faq .answer p { margin: 0; line-height: 1.7; }
.faq .answer p + p { margin-top: .6rem; }
.faq-groups { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group > h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); display: flex; align-items: center; gap: .75rem; }

/* ---------------------------------------------------------------- media */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.media-card {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.media-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.media-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-thumb {
  position: relative; aspect-ratio: 16 / 7; overflow: hidden; display: grid; place-items: center; color: #fff;
  background:
    repeating-radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .055) 0 1px, transparent 1px 18px),
    radial-gradient(360px 200px at 85% 0%, rgba(92, 195, 212, .35), transparent 70%),
    linear-gradient(150deg, var(--ink-2), var(--ink));
}
.media-card .media-thumb--youtube .glyph { background: #E62E2E; box-shadow: 0 14px 30px -12px rgba(230, 46, 46, .8); }
.media-card .media-thumb--instagram .glyph { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%); box-shadow: 0 14px 30px -12px rgba(221, 42, 123, .7); }
.media-card .media-thumb--facebook .glyph { background: #1877F2; box-shadow: 0 14px 30px -12px rgba(24, 119, 242, .7); }
.media-card .media-thumb--press .glyph { color: var(--gold-light); background: rgba(221, 187, 130, .12); box-shadow: inset 0 0 0 1px rgba(221, 187, 130, .45); }
.media-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.media-card:hover .media-thumb img { transform: scale(1.05); }
.media-thumb .glyph { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .5s var(--ease), background-color .4s var(--ease); }
.media-thumb .glyph .icon { width: 30px; height: 30px; }
.media-card:hover .glyph { transform: scale(1.08); }
.media-thumb .source-mark { position: absolute; left: 1rem; bottom: .9rem; font: 600 .75rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.media-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.4rem; }
.media-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; font-size: .8125rem; color: var(--muted); margin-bottom: .65rem; }
.media-type { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px; font-weight: 600; color: var(--accent-700); background: var(--accent-soft); }
.media-type .icon { width: 14px; height: 14px; }
.media-card h3 { font-size: 1.1rem; line-height: 1.35; margin: 0 0 .55rem; }
.media-card p { font-size: .95rem; line-height: 1.6; color: var(--muted); margin: 0 0 1rem; }
.media-card .link-go { margin-top: auto; align-self: flex-start; }
.media-card .stretch::after { content: ""; position: absolute; inset: 0; }
.media-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.media-note .icon { color: var(--accent); margin-top: .15rem; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.contact-card { border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.contact-card__head {
  display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.75rem; color: #fff;
  background: radial-gradient(420px 200px at 100% 0%, rgba(92, 195, 212, .3), transparent 70%), linear-gradient(150deg, var(--ink-2), var(--ink));
}
.contact-card__head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold-light); }
.contact-card__head strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.contact-card__head span { font-size: .9rem; color: #BFD0DC; }
.contact-card__body { padding: .5rem 1.75rem 1.75rem; }
.c-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.c-row:last-of-type { border-bottom: 0; }
.c-row .k { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-row .v { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.45; text-decoration: none; }
.c-row a.v:hover { color: var(--accent); }
.c-row .v small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.copy-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.copy-btn .icon { width: 18px; height: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.map-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 4 / 3.2; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; font: inherit; color: var(--ink); display: grid; place-content: center; justify-items: center; gap: .9rem; padding: 1.5rem; text-align: center;
  background:
    linear-gradient(0deg, rgba(244, 247, 249, .92), rgba(244, 247, 249, .92)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(10, 110, 128, .08) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(10, 110, 128, .08) 38px 39px);
}
.map-facade p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 30ch; }
.map-facade strong { font-size: 1.1rem; }
.pin-pulse { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.pin-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: pulse-ring 2.6s var(--ease) infinite; box-shadow: 0 0 0 0 rgba(10, 110, 128, .35); }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(10, 110, 128, .35); } 80%, 100% { box-shadow: 0 0 0 22px rgba(10, 110, 128, 0); } }
.pin-pulse .icon { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- CTA band */
.cta { padding-block: var(--section); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 1.5rem + 3.5vw, 4.75rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; color: #CFDAE3;
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(92, 195, 212, .22), transparent 62%),
    radial-gradient(520px 320px at 0% 100%, rgba(179, 132, 63, .18), transparent 62%),
    linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 55%, #081A2A 100%);
  box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #fff; margin-bottom: .35em; max-width: 20ch; }
.cta-box p { margin: 0; max-width: 46em; font-size: var(--fs-lead); line-height: 1.6; }
.cta-box .cta-side { display: grid; justify-items: start; gap: .9rem; }
.cta-box .cta-phones { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .95rem; }
.cta-box .cta-phones a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-weight: 600; }
.cta-box .cta-phones a:hover { color: var(--gold-light); }
.cta-box .cta-phones .icon { width: 17px; height: 17px; color: var(--gold-light); }
.cta-rings { position: absolute; right: -180px; bottom: -220px; width: 560px; opacity: .22; z-index: -1; pointer-events: none; }

/* ---------------------------------------------------------------- contact strip (home) */
.info-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.info-tile {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.info-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-tile .k { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.info-tile .v { color: var(--ink); font-weight: 600; line-height: 1.55; font-size: 1.05rem; }
.info-tile a.v, .info-tile .v a { color: var(--ink); text-decoration: none; }
.info-tile a.v:hover, .info-tile .v a:hover { color: var(--accent); }
.info-tile button.v { border: 0; background: none; padding: 0; text-align: left; display: inline-flex; gap: .45rem; align-items: center; cursor: pointer; }
.info-tile button.v:hover { color: var(--accent); }
.info-tile button.v .icon { color: var(--accent); transition: transform .3s var(--ease); }
.info-tile button.v:hover .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- misc components */
.source-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.75rem 0 0; padding: .9rem 1.1rem; border-radius: 14px; background: var(--bg-soft); font-size: .875rem; line-height: 1.55; color: var(--muted); }
.source-note .icon { width: 17px; height: 17px; color: var(--accent); margin-top: .15rem; }
.source-note a { color: var(--accent-700); }
.faq-group .source-note { margin: -.25rem 0 1.25rem; }
.h3-like { font-family: var(--font-text); font-size: var(--fs-h3); font-weight: 650; letter-spacing: -.012em; line-height: 1.28; margin-top: .9rem; }

.section-head--icon { display: flex; gap: 1.1rem; align-items: flex-start; max-width: 820px; }
.section-head--icon h2 { margin-bottom: .3em; }
.section-head--icon .icon-badge { margin-top: .35rem; }

.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.area-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .45s var(--ease), transform .45s var(--ease), border-color .3s var(--ease); }
.area-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.area-card header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.1rem; }
.area-card h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); margin: 0; }
.area-kv { margin: 0 0 1.25rem; display: grid; gap: .8rem; }
.area-kv > div { display: grid; grid-template-columns: 104px 1fr; gap: .9rem; }
.area-kv dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-700); padding-top: .2rem; }
.area-kv dd { margin: 0; color: #33424F; line-height: 1.6; font-size: .98rem; }
.area-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px dashed var(--line-2); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.gallery figure { margin: 0; }
.gallery .photo { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 0; border: 0; }
.gallery .photo picture, .gallery .photo img { width: 100%; height: 100%; }
.gallery .photo img { object-fit: cover; object-position: 50% 30%; }
.gallery .photo--contain { background: #fff; }
.gallery .photo--contain img { object-fit: contain; object-position: 50% 50%; }
.cta-box .eyebrow { color: var(--gold-light); }

.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.profile-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .3s var(--ease);
}
.profile-card:hover { color: var(--text); box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--line-2); }
.profile-card:hover .icon-badge { background: var(--accent); color: #fff; }
.profile-card > span:nth-child(2) { flex: 1; min-width: 0; }
.profile-card strong { display: block; color: var(--ink); }
.profile-card span span { display: block; font-size: .875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-card .go { color: #9AA7B3; width: 18px; height: 18px; }

.media-links { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-top: auto; }
.media-card .arch { position: relative; z-index: 2; font-size: .8125rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.media-card .arch:hover { color: var(--accent); }
.media-card .link-go { margin-top: 0; }

.faq-jump { margin-top: 1.6rem; }
.faq-group > h2 .icon-badge { vertical-align: middle; }
.socials--light a { color: var(--ink); border-color: var(--line); background: #fff; }
.socials--light a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.c-row .sub { display: block; margin-top: .2rem; font-size: .85rem; color: var(--muted); }
.c-row .sub a { color: var(--accent-700); font-weight: 600; text-decoration: none; }
.copy-btn--wa { color: #128C4A; border-color: #CDEBD8; background: #F1FBF4; }
.copy-btn--wa:hover { color: #fff; border-color: #1FA855; background: #1FA855; }
.c-row--social .vs-links { display: flex; gap: .45rem; margin-top: .45rem; flex-wrap: wrap; }
.vs-links a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.vs-links a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.vs-links .icon { width: 18px; height: 18px; }
.cta-box .cta-phones .lbl { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9FB2C2; margin-left: .15rem; }
.rail-contact small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: .35rem; }
.foot-col small { font-size: .78rem; color: #7F92A2; margin-left: .2rem; }
#card-dlg .dlg-panel { display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 20px); max-height: calc(100dvh - var(--header-h) - 20px); }
#card-dlg .vcard-body { overflow-y: auto; overscroll-behavior: contain; }
#card-dlg .vcard-body .c-row { padding: .62rem 0; gap: .85rem; }
#card-dlg .vcard-body .c-row .v { font-size: .98rem; }
#card-dlg .vcard-body .c-row .k { font-size: .7rem; }
#card-dlg .vcard-body .icon-badge--sm { width: 36px; height: 36px; border-radius: 11px; }
#card-dlg .vcard-actions { padding-top: .85rem; padding-bottom: 1.1rem; }
@media (max-height: 860px) {
  #card-dlg .vcard-note { display: none; }
  #card-dlg .vcard-head { padding-top: 1.2rem; padding-bottom: 1.1rem; }
  #card-dlg .vcard-label { margin-bottom: .75rem; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; color: #A9B8C5; background: var(--ink-900); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: .95rem; }
.site-footer a { color: #D9E3EA; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-emergency {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: rgba(221, 187, 130, .08); border: 1px solid rgba(221, 187, 130, .22); color: #E4D5BC; margin-bottom: 3rem;
}
.foot-emergency .icon { color: var(--gold-light); width: 24px; height: 24px; margin-top: .1rem; }
.foot-emergency strong { color: #fff; display: block; margin-bottom: .15rem; }
.foot-emergency p { margin: 0; font-size: .92rem; line-height: 1.6; }
.foot-emergency a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot-top { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 2.5rem; padding-bottom: 2.75rem; }
.foot-brand .brand-name { color: #fff; font-size: 1.45rem; }
.foot-brand .brand-sub { color: var(--gold-light); display: block; margin: .35rem 0 1rem; }
.foot-brand p { color: #95A6B4; font-size: .92rem; line-height: 1.65; max-width: 34ch; }
.foot-col h2 { font: 700 .75rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: .5rem 0 1.1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-col li { line-height: 1.5; }
.foot-col .with-ico { display: inline-flex; gap: .55rem; align-items: flex-start; }
.foot-col .with-ico .icon { width: 17px; height: 17px; color: var(--gold-light); margin-top: .2rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease); }
.socials a:hover { background: rgba(255, 255, 255, .08); border-color: var(--gold-light); transform: translateY(-2px); }
.socials .icon { width: 19px; height: 19px; }
.disclaimer { font-size: .84rem; line-height: 1.65; color: #7F92A2; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 0; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; padding: 1.25rem 0 1.75rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #7F92A2; }
.foot-bottom .credit a { color: #fff; font-weight: 700; letter-spacing: .04em; border-bottom: 1px solid rgba(221, 187, 130, .6); padding-bottom: 1px; }
.foot-bottom .credit a:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------------------------------------------------------------- dialogs */
dialog.dlg { padding: 0; border: 0; background: transparent; color: var(--text); max-width: none; max-height: none; overflow: visible; }
dialog.dlg::backdrop { background: rgba(6, 21, 35, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s var(--ease) both; }
dialog.dlg[open] .dlg-panel { animation: dlg-in .42s var(--ease-out) both; }
dialog.dlg.is-closing .dlg-panel { animation: dlg-out .22s var(--ease) both; }
dialog.dlg.is-closing::backdrop { animation: fade .22s var(--ease) reverse both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dlg-in { from { opacity: 0; transform: translateY(-14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes dlg-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px) scale(.99); } }
.dlg-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 50px 120px -30px rgba(6, 21, 35, .55); overflow: hidden; }
.dlg-close {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .2s var(--ease), transform .3s var(--ease);
}
.dlg-close:hover { background: var(--bg-soft); transform: rotate(90deg); }
.dlg-close .icon { width: 20px; height: 20px; }
html.dlg-open { overflow: hidden; }

/* search */
#search-dlg { width: min(760px, calc(100vw - 32px)); margin: min(11vh, 110px) auto auto; }
.search-top { display: flex; align-items: center; gap: .75rem; padding: 1rem 1rem 1rem 1.35rem; border-bottom: 1px solid var(--line); }
.search-top > .icon { width: 24px; height: 24px; color: var(--accent); }
.search-top input {
  flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font-size: 1.2rem; font-weight: 500; color: var(--ink);
}
.search-top input::placeholder { color: #8A97A3; font-weight: 400; }
.search-top input::-webkit-search-cancel-button { display: none; }
.search-body { max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: .75rem; }
.search-sect { padding: .5rem .6rem .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.search-list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.search-item {
  display: flex; align-items: center; gap: .9rem; padding: .75rem .8rem; border-radius: 14px; text-decoration: none; color: var(--text);
  transition: background-color .15s var(--ease);
}
.search-item[aria-selected="true"], .search-item:hover { background: var(--bg-soft); color: var(--text); }
.search-item[aria-selected="true"] .icon-badge { background: var(--accent); color: #fff; }
.search-item .txt { flex: 1; min-width: 0; }
.search-item .t { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.search-item .s { display: block; font-size: .875rem; color: var(--muted); line-height: 1.45; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.search-item .ctx { display: block; font-size: .75rem; font-weight: 600; color: var(--accent-700); margin-bottom: .1rem; }
.search-item .go { color: #A0ACB7; width: 18px; height: 18px; }
.search-item mark { background: #FDEBC8; color: inherit; border-radius: 3px; padding: 0 1px; }
.search-empty { padding: 1.5rem 1rem; text-align: center; color: var(--muted); }
.search-empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .35rem; }
.search-suggest { padding: .5rem .6rem 1rem; }
.search-suggest .chips { margin-top: .5rem; }
.search-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 1.25rem; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: .8125rem; color: var(--muted); }
.search-foot kbd { font: 600 .72rem/1 var(--font-text); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: .2rem .4rem; background: #fff; color: var(--ink); }
.search-foot .keys { display: flex; gap: 1rem; flex-wrap: wrap; }

/* vizitkart */
#card-dlg { width: min(410px, calc(100vw - 24px)); margin: calc(var(--header-h) + 8px) max(12px, calc((100vw - var(--container)) / 2 + var(--gutter) - 8px)) auto auto; }
.vcard-head {
  position: relative; padding: 1.6rem 1.5rem 1.4rem; color: #CFDAE3; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(360px 220px at 100% 0%, rgba(92, 195, 212, .32), transparent 70%),
    radial-gradient(320px 200px at 0% 120%, rgba(179, 132, 63, .28), transparent 70%),
    linear-gradient(150deg, var(--ink-2), var(--ink));
}
.vcard-head .dlg-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.vcard-head .dlg-close:hover { background: rgba(255, 255, 255, .16); }
.vcard-label { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
.vcard-label .icon { width: 15px; height: 15px; }
.vcard-id { display: flex; align-items: center; gap: 1rem; }
.vcard-id img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold-light), 0 12px 24px -10px rgba(0, 0, 0, .5); }
.vcard-id strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.vcard-id span { display: block; font-size: .9rem; color: #BFD0DC; margin-top: .2rem; }
.vcard-rings { position: absolute; right: -70px; bottom: -90px; width: 240px; opacity: .18; z-index: -1; }
.vcard-social { display: flex; gap: .45rem; margin-top: 1.1rem; padding-left: calc(78px + 1rem); }
.vcard-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease); }
.vcard-social a:hover { background: rgba(255, 255, 255, .16); border-color: var(--gold-light); transform: translateY(-2px); }
.vcard-social .icon { width: 17px; height: 17px; }
.vcard-body { padding: .35rem 1.5rem .5rem; }
.vcard-body .c-row { grid-template-columns: auto 1fr auto; padding: .85rem 0; }
.vcard-body .c-row .v { font-size: 1rem; }
.vcard-actions { display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding: 1rem 1.5rem 1.5rem; }
.vcard-note { margin: 0; padding: 0 1.5rem 1.3rem; font-size: .8125rem; color: var(--muted); line-height: 1.5; display: flex; gap: .5rem; }
.vcard-note .icon { width: 16px; height: 16px; color: var(--accent); margin-top: .15rem; }

/* lightbox */
#lightbox { width: min(760px, calc(100vw - 24px)); margin: auto; }
#lightbox .dlg-panel { background: #0B1824; position: relative; padding: .75rem; }
#lightbox img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: 12px; background: #fff; }
#lightbox .dlg-close { position: absolute; top: 1.25rem; right: 1.25rem; }
#lightbox p { margin: .75rem .25rem .25rem; color: #C2CFDA; font-size: .9rem; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-lg); transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: var(--accent-bright); width: 18px; height: 18px; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.nf .code { font: 600 clamp(5rem, 3rem + 10vw, 9rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: .5rem; }
.nf .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .media-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-btn kbd { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li:nth-child(3)::after { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .tool-btn .lbl { display: none; }
  .tool-btn { padding: 0; width: 46px; }
  .tool-btn--card .avatar-dot { margin: 0; width: 30px; height: 30px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(420px, 100vw); z-index: 55;
    flex-direction: column; align-items: stretch; gap: .15rem; padding: 1.25rem var(--gutter) 2rem;
    background: #fff; border-left: 1px solid var(--line); box-shadow: -30px 0 60px -30px rgba(11, 34, 54, .3);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .main-nav[data-open="true"] { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-scrim { position: fixed; inset: var(--header-h) 0 0 0; z-index: 54; background: rgba(6, 21, 35, .35); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
  .nav-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
  .main-nav > a, .sub-toggle { justify-content: space-between; width: 100%; padding: .95rem .9rem; font-size: 1.08rem; border-radius: 14px; }
  .main-nav > a[aria-current="page"]::after { left: auto; right: 1rem; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  .has-sub.is-current > .sub-toggle::after { display: none; }
  .main-nav > .nav-drawer-only { display: flex; }
  .has-sub { width: 100%; }
  .mega {
    position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 .5rem; display: none; transition: none;
  }
  .mega[data-open="true"] { display: block; transform: none; }
  .mega::before { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-grid a { padding: .6rem .7rem; }
  .mega-grid .d { display: none; }
  .mega-grid .icon-badge { width: 36px; height: 36px; border-radius: 10px; }
  .mega-grid .icon-badge .icon { width: 19px; height: 19px; }
  .mega-grid .t { margin-top: .45rem; }
  .mega-foot { display: none; }
  .drawer-contact { margin-top: 1.25rem; padding: 1.1rem; border-radius: var(--radius); background: var(--bg-soft); display: grid; gap: .5rem; }
  .drawer-contact a { display: inline-flex; gap: .6rem; align-items: center; font-weight: 600; color: var(--ink); text-decoration: none; }
  .drawer-contact .icon { color: var(--accent); width: 18px; height: 18px; }
  .drawer-contact .k { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

  .article-grid { grid-template-columns: 1fr; }
  .rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail--top { order: -1; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .faq-groups { grid-template-columns: 1fr; }
  .faq-groups .rail { display: none; }
}

@media (min-width: 1081px) {
  .nav-scrim, .drawer-contact { display: none; }
  .faq-jump:not(.faq-jump--all) { display: none; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .split--rev, .contact-grid { grid-template-columns: 1fr; }
  .split--rev > .split-media { order: 0; }
  .hero-media { width: min(100%, 400px); margin-top: 1rem; }
  .float-card--a { left: -4%; }
  .float-card--b { right: -4%; }
  .trust { margin-top: 0; padding-top: 2.5rem; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-grid, .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-4, .info-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-box { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .icon-hero { display: none; }
  .photo-stack { max-width: 520px; }
  .area-grid { grid-template-columns: 1fr; }
  .gallery, .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .grid-2, .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .kv-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .rail { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  #card-dlg { width: 100%; margin: auto 0 0; }
  #card-dlg .dlg-panel { border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-bottom: env(safe-area-inset-bottom); }
  #card-dlg[open] .dlg-panel { animation-name: sheet-in; }
  #card-dlg.is-closing .dlg-panel { animation-name: sheet-out; }
  #search-dlg { width: 100%; height: 100%; margin: 0; }
  #search-dlg .dlg-panel { height: 100%; border-radius: 0; display: flex; flex-direction: column; }
  #search-dlg .search-body { max-height: none; flex: 1; }
  .search-foot .keys { display: none; }
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheet-out { from { transform: none; } to { transform: translateY(100%); } }

@media (max-width: 600px) {
  .svc-grid, .media-grid, .grid-3, .grid-4, .info-strip { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-facts { gap: .6rem 1.1rem; }
  .float-card { max-width: 210px; padding: .6rem .8rem .6rem .6rem; font-size: .8rem; }
  .float-card .icon-badge--sm { width: 34px; height: 34px; }
  .float-card--b { top: 6%; right: 0; }
  .float-card--a { left: 0; }
  .hero-card { border-radius: 26px; }
  .hero-dots { right: -14px; bottom: -18px; width: 110px; height: 110px; }

  .c-row .copy-btn:not(.copy-btn--wa) { display: none; }
  .hero-actions .btn { width: 100%; }
  .cta-box .btn { width: 100%; }
  .bar { gap: .75rem; }
  .tools { gap: .35rem; }
  .gallery, .profile-grid { grid-template-columns: 1fr; }
  .area-kv > div { grid-template-columns: 1fr; gap: .15rem; }
  .contact-actions .btn { width: 100%; }
  .section-head--icon { flex-direction: column; gap: .75rem; }
}

@media (max-width: 400px) {
  .brand-mark { display: none; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.06rem; }
  .tool-btn, .tool-btn--icon { width: 42px; min-width: 42px; height: 42px; }
}

/* ---------------------------------------------------------------- motion / print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer .foot-top, .cta, .rail, dialog, .toast, .skip-link, .hero-glow, .hero-dots, .float-card { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-hero { padding-block: 1rem; background: none; }
  a { color: #000; }
  .faq details { border: 0; }
  .faq .answer { display: block; }
}
.contact-card__head img.portrait-crop { width: 84px; height: 84px; object-position: 50% 18%; }
