:root {
  --ink: #102c3c;
  --ink-2: #183e50;
  --ocean: #0d6f75;
  --aqua: #73c7c5;
  --paper: #f4f7f6;
  --white: #ffffff;
  --text: #20353e;
  --muted: #60727a;
  --line: rgba(16, 44, 60, 0.15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --shell: min(1160px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: white; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: .92rem; font-weight: 650; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--aqua); font: 700 .72rem/1 var(--sans); letter-spacing: .07em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .79rem; }
.main-nav a { text-decoration: none; color: rgba(255,255,255,.78); transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: white; }
.main-nav .nav-cta { padding: 9px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: white; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 760px;
  padding: 160px 0 52px;
  color: white;
  background: var(--ink);
}
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 78% 27%, rgba(48,154,158,.22), transparent 34%), linear-gradient(125deg, #102c3c 0%, #102c3c 54%, #0f3a4b 100%); }
.hero-backdrop { position: absolute; z-index: -1; inset: 0; opacity: .28; background-image: linear-gradient(90deg, rgba(16,44,60,.35), rgba(16,44,60,.82)), url("./hero-abstract.png"), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: cover, cover, 80px 80px, 80px 80px; background-position: center; mask-image: linear-gradient(to right, black, transparent 82%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--ocean); font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--aqua); }
.eyebrow span { display: inline-block; width: 30px; height: 1px; margin: 0 10px 4px 0; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
h1 { max-width: 760px; font-size: clamp(3.1rem, 5.9vw, 5.35rem); }
h1 em { color: var(--aqua); font-weight: 400; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: 1.08rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--aqua); color: var(--ink); }
.button-primary:hover { background: #8cdbd8; }
.text-link { text-decoration: none; color: white; font-size: .86rem; }
.text-link span { display: inline-block; margin-left: 7px; color: var(--aqua); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 430px; }
.visual-frame { position: relative; width: min(390px, 100%); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 100px rgba(73,190,188,.12); }
.visual-frame > img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: cover; object-position: 50% 25%; border-radius: 50%; opacity: 1; filter: saturate(.78) contrast(1.04); }
.visual-frame::before, .visual-frame::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(115,199,197,.23); }
.visual-frame::before { inset: 13%; }
.visual-frame::after { inset: 27%; }
.visual-orbit { position: absolute; border-radius: 50%; border-top: 1px solid var(--aqua); border-right: 1px solid transparent; animation: orbit 22s linear infinite; }
.visual-orbit-one { inset: -7%; }
.visual-orbit-two { inset: 21%; animation-direction: reverse; animation-duration: 16s; }
.experience-card { position: absolute; right: 0; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 17px 20px; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.experience-card strong { color: var(--ocean); font: 400 2.4rem/1 var(--serif); }
.experience-card span { font-size: .72rem; line-height: 1.35; }
.trust-row { display: flex; gap: 44px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: .77rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 10px; }
.trust-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }

.section { padding: 116px 0; }
.split-layout { display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: start; }
h2 { color: var(--ink); font-size: clamp(2.3rem, 4.3vw, 4rem); }
.intro h2 { max-width: 850px; }
.two-col-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 46px; }
.two-col-copy p { margin: 0; color: var(--muted); }

.section-dark { color: white; background: var(--ink); }
.section-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.section-head h2, .section-dark h2 { color: inherit; }
.section-head > p { margin: 0 0 4px; color: var(--muted); }
.section-dark .section-head > p { color: rgba(255,255,255,.62); }
.request-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.request-card { min-height: 280px; padding: 38px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); transition: background .25s ease; }
.request-card:hover { background: rgba(115,199,197,.07); }
.card-number { color: var(--aqua); font-size: .7rem; letter-spacing: .14em; }
.request-card h3 { margin: 58px 0 10px; font: 400 1.55rem/1.25 var(--serif); }
.request-card p { max-width: 420px; margin: 0; color: rgba(255,255,255,.62); font-size: .91rem; }

.approach { background: white; }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.approach-title { position: sticky; top: 40px; }
.approach-title p:last-child { max-width: 500px; margin: 34px 0 0; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--ocean); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.steps h3 { margin: -5px 0 10px; color: var(--ink); font: 400 1.55rem/1.25 var(--serif); }
.steps p { margin: 0; color: var(--muted); }

.about { background: #dfeceb; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; align-items: start; }
.about-media { position: sticky; top: 32px; margin: 0; }
.photo-carousel { position: relative; outline: none; }
.photo-carousel:focus-visible { outline: 3px solid var(--ocean); outline-offset: 6px; }
.carousel-viewport { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #bfd0cf; box-shadow: 0 24px 60px rgba(16,44,60,.16); }
.carousel-slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transform: scale(1.025); transition: opacity .45s ease, transform .7s ease; }
.carousel-slide-city { object-position: 64% center; }
.carousel-slide.is-active { z-index: 1; opacity: 1; transform: scale(1); }
.carousel-arrow { position: absolute; z-index: 3; top: 50%; display: grid; width: 46px; height: 46px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.88); box-shadow: 0 8px 26px rgba(16,44,60,.2); cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.carousel-arrow:hover { background: white; transform: translateY(-50%) scale(1.05); }
.carousel-arrow:focus-visible, .carousel-dots button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.carousel-arrow-prev { left: 14px; }
.carousel-arrow-next { right: 14px; }
.carousel-dots { position: absolute; z-index: 3; left: 50%; bottom: 17px; display: flex; gap: 8px; padding: 8px 11px; border-radius: 999px; background: rgba(9,35,48,.58); transform: translateX(-50%); }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.48); cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dots button[aria-current="true"] { width: 24px; border-radius: 999px; background: white; }
.about-media figcaption { margin-top: 14px; color: var(--muted); font-size: .72rem; letter-spacing: .05em; }
.about-content { padding-top: 6px; }
.about-role { margin: 12px 0 34px; color: var(--ocean); font-weight: 700; }
blockquote { margin: 0; padding: 28px 0 0; border-top: 1px solid rgba(16,44,60,.2); color: var(--ink); font: 400 1.5rem/1.48 var(--serif); }
.about-facts { padding-top: 26px; }
.fact { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(16,44,60,.18); }
.fact strong { color: var(--ocean); font: 400 2.6rem/1 var(--serif); }
.fact strong.fact-word { font-size: 1.35rem; }
.fact span { color: var(--ink); }
.about-facts > p:last-child { color: var(--muted); }

.personal { position: relative; isolation: isolate; min-height: 650px; overflow: hidden; color: white; background: #0e3140; }
.personal::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,30,42,.97) 0%, rgba(7,30,42,.88) 37%, rgba(7,30,42,.28) 69%, rgba(7,30,42,.04) 100%); }
.personal-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.personal-grid { min-height: 418px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; }
.personal-copy { grid-column: 1; }
.personal-copy .section-kicker { color: var(--aqua); }
.personal-copy h2 { color: white; }
.personal-copy p:last-child { max-width: 610px; margin: 34px 0 0; color: rgba(255,255,255,.67); }

.education { background: var(--paper); }
.education-list { border-top: 1px solid var(--line); }
.education-item { display: grid; grid-template-columns: 190px 1fr; gap: 48px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.education-item time { color: var(--ocean); font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.education-item h3 { margin: -5px 0 8px; color: var(--ink); font: 400 1.5rem/1.25 var(--serif); }
.education-item p { max-width: 750px; margin: 0; color: var(--muted); }

.closing { padding: 130px 0; color: white; background: linear-gradient(120deg, var(--ocean), #10505f); }
.closing-inner { max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 310px); gap: 68px; align-items: center; }
.closing .section-kicker { color: #bfe8e6; }
.closing h2 { color: white; }
.closing p { margin: 28px 0 36px; color: rgba(255,255,255,.74); }
.button-light { background: white; color: var(--ink); }
.contact-actions { display: flex; justify-content: flex-start; gap: 16px; flex-wrap: wrap; }
.contact-button { min-width: 286px; padding-inline: 26px; flex-direction: column; gap: 2px; line-height: 1.35; }
.contact-button span { font-size: .72rem; font-weight: 650; opacity: .7; }
.contact-button strong { font-size: .92rem; letter-spacing: .01em; }
.button-outline { border: 1px solid rgba(255,255,255,.55); color: white; background: rgba(255,255,255,.07); }
.button-outline:hover { background: rgba(255,255,255,.14); }
.telegram-qr { display: block; width: 100%; max-width: 310px; justify-self: end; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 70px rgba(4,24,34,.3); transition: transform .2s ease, box-shadow .2s ease; }
.telegram-qr:hover { transform: translateY(-4px); box-shadow: 0 34px 76px rgba(4,24,34,.38); }
.telegram-qr:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.telegram-qr img { display: block; width: 100%; height: auto; }
.site-footer { padding: 34px 0; color: rgba(255,255,255,.67); background: #0a202d; font-size: .76rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: center; }
.footer-inner div { display: flex; flex-direction: column; }
.footer-inner strong { color: white; }
.footer-inner p { margin: 0; }
.footer-contacts { flex-direction: row !important; gap: 24px; }
.footer-contacts a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-contacts a:hover, .footer-contacts a:focus-visible { color: white; text-decoration: underline; text-underline-offset: 4px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
  :root { --shell: min(100% - 34px, 680px); }
  .site-header { position: absolute; }
  .main-nav { position: absolute; top: 72px; left: 17px; right: 17px; display: none; padding: 22px; flex-direction: column; align-items: stretch; gap: 14px; color: var(--ink); background: white; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
  .main-nav.is-open { display: flex; }
  .main-nav a, .main-nav .nav-cta { color: var(--ink); }
  .nav-toggle { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: white; background: transparent; }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; background: currentColor; }
  .hero { min-height: auto; padding-top: 138px; }
  .hero-grid, .split-layout, .section-head, .approach-grid, .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { min-height: 350px; }
  .visual-frame { width: 310px; }
  .trust-row { flex-wrap: wrap; gap: 14px 28px; }
  .section { padding: 82px 0; }
  .two-col-copy { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .approach-title { position: static; }
  .about-grid { gap: 54px; }
  .about-media { position: static; max-width: 520px; }
  .personal { min-height: 580px; }
  .personal::after { background: linear-gradient(90deg, rgba(7,30,42,.95), rgba(7,30,42,.64)); }
  .personal-grid { min-height: 416px; grid-template-columns: 1fr; }
  .personal-copy { grid-column: 1; max-width: 580px; }
  .closing-inner { grid-template-columns: 1fr; gap: 46px; text-align: center; }
  .closing p { margin-inline: auto; }
  .contact-actions { justify-content: center; }
  .telegram-qr { max-width: 300px; justify-self: center; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .brand > span:last-child { display: none; }
  .hero { padding: 122px 0 36px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { min-height: 320px; }
  .visual-frame { width: 250px; }
  .experience-card { right: 2px; bottom: 3px; }
  .trust-row { margin-top: 34px; }
  .request-grid { grid-template-columns: 1fr; }
  .request-card { min-height: 240px; padding: 28px; }
  .request-card h3 { margin-top: 42px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .fact { grid-template-columns: 72px 1fr; }
  .carousel-arrow { width: 42px; height: 42px; }
  .education-item { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; }
  .footer-contacts { flex-direction: column !important; gap: 5px; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-button { width: 100%; min-width: 0; }
  .personal { min-height: 640px; }
  .personal-background { object-position: 62% center; }
  .personal::after { background: rgba(7,30,42,.68); }
}

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