:root {
  --bg: #07090d;
  --panel: rgba(255, 255, 255, .06);
  --panel2: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .10);
  --text: #e9eef7;
  --muted: rgba(233, 238, 247, .72);
  --muted2: rgba(233, 238, 247, .55);
  --accent: #ff8a00;
  --accent2: #ffb24a;
  --shadow: 0 18px 45px rgba(0, 0, 0, .55);
  --radius: 18px;
  --radius2: 24px;
  --max: 1160px;
  --brand-accent: #ff8a00;
  --brand-accent-hover: #2f6bff;

  --headerH: 84px;
  --scrollPad: 12px;
}

section[id] {
  scroll-margin-top: calc(var(--headerH));
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 65% 15%, rgba(255, 138, 0, .14), transparent 60%),
    radial-gradient(900px 600px at 20% 70%, rgba(0, 175, 255, .10), transparent 62%),
    linear-gradient(180deg, #05070b 0%, #070a10 35%, #05070b 100%);
  overflow-x: hidden;
  padding-top: var(--headerH);
}


#net {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.1) contrast(1.02);
  background: radial-gradient(1200px 800px at 55% 20%, rgba(20, 45, 80, .35), rgba(5, 7, 11, .98) 70%);
}

.wrap {
  width: 100%;
  padding: 0 40px;
}

.brandLogo {
  width: 60px;
  height: 60px;
  --icon-accent: rgba(253, 156, 44, 0.92);
}

.secondnamepart {
  color: rgba(253, 156, 44, 0.92);
}

.brand:hover .brandLogo {
  --icon-accent: var(--brand-accent-hover);
}

.brand:hover .name b {
  color: var(--brand-accent-hover);
}

.brandLogo * {
  transition: fill .75s ease, stroke .75s ease;
}

.card:hover .icon {
  transform: translateY(-1px);
  transition: transform .25s ease;
}

.icon * {
  transition: fill .25s ease, stroke .25s ease;
}

.name b {
  transition: color .75s ease;
}

.glowline {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 138, 0, .55) 50%, transparent 100%);
  opacity: .55;
}

input.error,
textarea.error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, .25);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(5, 7, 11, .86), rgba(5, 7, 11, .50));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 220px;
}

.brand .name {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 25px;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: .2s ease;
  border: 1px solid transparent;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06)
}

nav a.active {
  color: var(--text);
  background: rgba(255, 138, 0, .14);
  border: 1px solid rgba(255, 138, 0, .28);
  box-shadow: 0 10px 22px rgba(255, 138, 0, .08);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  justify-content: flex-end;
}

.btn {
  border: 1px solid rgba(255, 138, 0, .35);
  background: linear-gradient(180deg, rgba(255, 138, 0, .95), rgba(255, 138, 0, .78));
  color: #130a00;
  font-weight: 800;
  letter-spacing: .2px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(255, 138, 0, .18);
  transition: .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03)
}

.btn:active {
  transform: translateY(0px);
  filter: brightness(.98)
}

.btn.secondary {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
  font-weight: 800;
}

.cardBtn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
  width: fit-content;
  margin-top: auto;
  margin-bottom: 0;
}

.cardBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 0, .35);
  background: rgba(255, 138, 0, .08);
}

.cardBtn svg {
  opacity: .9
}

/* Custom Language Dropdown */
.langDropdown {
  position: relative;
  display: inline-block;
}

.langBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 8px;
  border-radius: 14px;
  cursor: pointer;
  color: var(--text);
  transition: .2s ease;
}

.langBtn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
}

.langBtn .flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  display: block;
}

.chevron {
  opacity: 0.7;
  transition: transform .2s ease;
}

.langBtn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.langMenu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: .2s ease;
  z-index: 100;
}

.langDropdown.open .langMenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.langItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  /* reserve border space to prevent jump */
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: .15s ease;
  font-size: 14px;
  font-weight: 600;
}

.langItem:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .1);
}

.langItem.active {
  background: rgba(255, 138, 0, .14);
  border: 1px solid rgba(255, 138, 0, .28);
  box-shadow: 0 10px 22px rgba(255, 138, 0, .08);
  color: var(--text);
}

.flagIcon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  display: block;
}

.hero {
  padding: 56px 0 32px;
  position: relative;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.kdot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 138, 0, .18);
}

h1 {
  margin: 14px 0 10px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -.8px;
}

.accent {
  color: var(--accent)
}

.sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 75ch;
}

.heroActions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.heroArt {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
  background:
    radial-gradient(500px 320px at 65% 30%, rgba(255, 138, 0, .25), transparent 20%),
    radial-gradient(540px 340px at 35% 70%, rgba(0, 175, 255, .18), transparent 20%),
    url("../assets/images/FirstImage.png") 77% 50% / 125% no-repeat,
    rgba(255, 255, 255, .03);
}

section {
  padding: 26px 0
}

.sectionTitle {
  font-size: 28px;
  letter-spacing: -.3px;
  margin: 0 0 6px;
}

.sectionSub {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;

}

/* --- Centered section header (modern / Apple-like) --- */
.sectionHeader {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 26px;
}

.sectionHeader .sectionTitle {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sectionHeader .sectionSub {
  margin: 12px auto 0;
  max-width: 92ch;
  font-size: 16px;
  line-height: 1.7;
  opacity: .88;
}

/* small divider under subtitle */
.sectionHeader::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 138, 0, .85), rgba(47, 107, 255, .85));
  opacity: .55;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 16px;
  padding-bottom: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  position: relative;
  overflow: hidden;
  min-height: 230px;
  transition: .22s ease;
  display: flex;
  flex-direction: column;
}

.card:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(320px 160px at 30% 0%, rgba(255, 138, 0, .18), transparent 60%),
    radial-gradient(280px 160px at 75% 100%, rgba(0, 175, 255, .10), transparent 60%);
  opacity: .9;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .14)
}

.card>* {
  position: relative;
  z-index: 1
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -.2px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(233, 238, 247, 0.8);
  font-weight: 700;
  font-size: 12px;
  width: fit-content;

  margin-top: auto;
  /* прижимает вниз */
  margin-bottom: 15px;
  /* отступ снизу */
}

.cta {
  padding: 26px;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 138, 0, .10), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.cta:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(520px 260px at 75% 45%, rgba(255, 138, 0, .18), transparent 60%),
    radial-gradient(520px 260px at 30% 60%, rgba(0, 175, 255, .12), transparent 60%);
  opacity: .95;
  pointer-events: none;
}

.cta>* {
  position: relative;
  z-index: 1
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.cta p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.ctaArt {
  min-height: 220px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, .10);
  overflow: hidden;
  background:
    radial-gradient(500px 320px at 65% 30%, rgba(255, 138, 0, .25), transparent 20%),
    radial-gradient(540px 340px at 35% 70%, rgba(0, 175, 255, .18), transparent 20%),
    url("../assets/images/SecondImage.png") center / 100% no-repeat;
}

footer {
  padding: 20px 0 26px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(5, 7, 11, .25), rgba(5, 7, 11, .55));
  backdrop-filter: blur(10px);
}

.footerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.copy {
  color: var(--muted2);
  font-size: 12px
}

.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.soc {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: .2s ease;
  text-decoration: none;
  color: var(--text);
}

.soc:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 0, .35)
}

/* Mobile Language Menu */
.mobileLang {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.mobileLangItem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: .2s ease;
}

.mobileLangItem:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--text);
}

.mobileLangItem.active {
  background: rgba(255, 138, 0, .14);
  border: 1px solid rgba(255, 138, 0, .28);
  box-shadow: 0 4px 12px rgba(255, 138, 0, .08);
  color: var(--text);
}

/* -----------------------------
   Modal (Booking + Learn More)
   ----------------------------- */

.modalBack {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background:
    radial-gradient(1200px 700px at 65% 15%, rgba(255, 138, 0, .14), transparent 60%),
    radial-gradient(900px 600px at 20% 70%, rgba(0, 175, 255, .10), transparent 62%),
    linear-gradient(180deg, #05070b 0%, #070a10 35%, #05070b 100%);
  overflow: auto;
}

/* Fullscreen modal container */
.modal {
  min-height: 100%;
  width: 100%;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.modalHead {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(180deg, rgba(5, 7, 11, .86), rgba(5, 7, 11, .50));
  backdrop-filter: blur(12px);
}

.modalTitle {
  font-weight: 900;
  letter-spacing: -.2px;
}

.xbtn {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s ease;
}

.xbtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 138, 0, .35);
  background: rgba(255, 138, 0, .08);
}

/* Inner panel for content, centered with max width */
.modalInner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 28px 40px;
}

/* Learn-more typography upgrade */
.lmTitle {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.4px;
}

.lmSub {
  font-size: 16px;
  line-height: 1.75;
  max-width: 70ch;
}

.lmList {
  margin-top: 22px;
  gap: 14px;
}

.lmItem {
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.65;
  border-radius: 18px;
}

.modalCard {
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Booking form grid */
.modalBody {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
}

.field textarea {
  min-height: 92px;
  resize: vertical
}

.modalFoot {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .06));
}

.smallNote {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 6px;
}

/* Learn-more fullscreen modal content */
.lmTitle {
  margin: 0;
  font-size: 26px;
  letter-spacing: -.3px;
  line-height: 1.15;
}

.lmSub {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.lmList {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.lmItem {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: rgba(233, 238, 247, .88);
  line-height: 1.55;
  font-size: 14px;
}

.lmItem b {
  color: var(--text);
}

.lmActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Responsive */
.mobileMenuBtn {
  display: none;
  gap: 10px;
}


.menuIcon {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

/* make native datetime picker fit dark UI */
.field input[type="datetime-local"] {
  color-scheme: dark;
  /* важно для темных системных пикеров */
}

.menuIcon span {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: rgba(233, 238, 247, .9);
  transition: transform .25s ease, opacity .2s ease, background .25s ease;
}

/* hover accent */
.mobileMenuBtn:hover .menuIcon span {
  background: rgba(255, 138, 0, .92);
}

/* "X" state when open */
.mobileMenuBtn.isOpen .menuIcon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobileMenuBtn.isOpen .menuIcon span:nth-child(2) {
  opacity: 0;
}

.mobileMenuBtn.isOpen .menuIcon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== APPLE STYLE MODAL ANIMATION ===== */

.modalBack {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.22, .61, .36, 1);
}

.modalBack.show {
  opacity: 1;
  pointer-events: auto;
}

/* blur фон как у Apple */
.modalBack::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: .9;
}

/* сам modal */
.modal {
  transform: scale(.96) translateY(24px);
  opacity: 0;
  transition:
    transform .45s cubic-bezier(.22, .61, .36, 1),
    opacity .3s ease;
}

.modalBack.show .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}



/* Learn-more: centered header + accordion sections (+ / -) */
.lmWrap {
  padding: 18px;
}

.lmHeader {
  text-align: center;
  padding: 8px 4px 14px;
}

.lmTitle {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.35px;
  line-height: 1.12;
  font-weight: 900;
}

.lmSub {
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 72ch;
}

/* Container of sections */
#lmSections {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.icon {
  --icon-accent: rgba(255, 138, 0, .92);
}

/* hover — синий */
.card:hover .icon {
  --icon-accent: #2f6bff;
}

/* Card */
.lmAcc {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

/* Header row (clickable) */
.lmAccHead {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  cursor: pointer;
  user-select: none;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.lmAccHead:hover {
  background: rgba(255, 255, 255, .03);
}

.lmAccTitle {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.1px;
  color: rgba(233, 238, 247, .92);
}

/* Toggle (+ / -) */
.lmAccToggle {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.lmAccToggle span {
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  color: rgba(233, 238, 247, .92);
}

/* Body animated height */
.lmAccBody {
  height: 0;
  overflow: hidden;
  transition: height 320ms cubic-bezier(.2, .8, .2, 1);
  will-change: height;
  padding-top: 14px;
}

.lmAccInner {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}

/* Bullet card (each item) */
.lmAccItem {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: rgba(233, 238, 247, .88);
  line-height: 1.55;
  font-size: 14px;
}

.lmAccItem b {
  color: var(--text);
}

/* Open state */
.lmAcc.open .lmAccHead {
  background: rgba(255, 138, 0, .06);
}

.lmAcc.open .lmAccToggle {
  border-color: rgba(255, 138, 0, .30);
  background: rgba(255, 138, 0, .10);
}

.lmAcc.open .lmAccToggle span {
  color: rgba(255, 138, 0, .95);
}

/* Optional paragraph */
.lmAccPara {
  margin: 0;
  color: rgba(233, 238, 247, .86);
  line-height: 1.75;
  font-size: 14px;
}

/* Optional: text paragraph section */
.lmPara {
  margin: 0;
  color: rgba(233, 238, 247, .86);
  line-height: 1.75;
  font-size: 14px;
}

/* Fullscreen CV modal */
.cvBack {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 20, .82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: stretch;
  justify-content: stretch;
}

.cvModal {
  width: 100%;
  height: 100%;
  background: rgba(18, 24, 34, .98);
  border: 1px solid rgba(233, 238, 247, .10);
  color: rgba(233, 238, 247, .92);
  display: flex;
  flex-direction: column;
}

.cvHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(233, 238, 247, .10);
}

.cvTitle {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}

.cvMeta {
  margin-top: 2px;
  font-size: 12px;
  opacity: .85;
}

.cvHeadRight {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cvInner {
  flex: 1;
  overflow: auto;
}

.cvGrid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  padding: 18px;
}

.privacy-notice {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 80px);
  opacity: 0;

  max-width: 520px;
  width: calc(100% - 40px);
  padding: 14px 18px;
  border-radius: 12px;

  background: rgba(20, 20, 25, 0.95);
  color: #e9eef7;
  font-size: 14px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  z-index: 9999;

  transition: transform .45s ease, opacity .45s ease;
}

.privacy-notice.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.privacy-notice button {
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.privacy-notice.is-closing {
  transform: translate(-50%, 60px);
  opacity: 0;
}


@media (max-width: 920px) {
  .cvGrid {
    grid-template-columns: 1fr;
  }
}

.cvSide,
.cvMain {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(233, 238, 247, .08);
  border-radius: 16px;
  padding: 14px;
}



.cvBlock {
  margin-top: 14px;
}

.cvBlockTitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .78;
  margin-bottom: 8px;
}

.cvText {
  line-height: 1.55;
  opacity: .92;
}

.cvKV {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.cvKV .row {
  display: flex;
  gap: 10px;
}

.cvKV .k {
  width: 86px;
  opacity: .7;
}

.cvKV .v {
  flex: 1;
}

.cvChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cvChip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(233, 238, 247, .10);
}

.cvLinks a {
  display: block;
  color: rgba(233, 238, 247, .9);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(233, 238, 247, .08);
  margin-bottom: 8px;
}

.cvLinks a:hover {
  background: rgba(255, 255, 255, .06);
}

.cvTimeline {
  display: grid;
  gap: 12px;
}

.cvJob {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(233, 238, 247, .08);
}

.cvJobTop {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cvJobRole {
  font-weight: 700;
}

.cvJobMeta {
  opacity: .78;
  font-size: 12px;
}

.cvJobBullets {
  margin: 8px 0 0 0;
  padding-left: 18px;
  opacity: .92;
  line-height: 1.5;
}

.cvList {
  display: grid;
  gap: 10px;
}

.cvItem {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(233, 238, 247, .08);
}

.cvItemTop {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cvItemTitle {
  font-weight: 700;
}

.cvItemMeta {
  opacity: .78;
  font-size: 12px;
}



#modalBack {
  z-index: 9998;
}

#cvBack {
  z-index: 9999;
}

#fullCvModalBack {
  z-index: 10000;
}

/* ================================
   FLATPICKR DARK IAM THEME
================================ */

/* основной контейнер */
.flatpickr-calendar {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6) !important;
  color: #e6edf7 !important;
}

/* месяц / год header */
.flatpickr-months {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* название месяца */
.flatpickr-current-month {
  color: #ff8a00 !important;
  font-weight: 600;
}

/* убрать рамки month/year select */
.flatpickr-current-month select,
.flatpickr-current-month input {
  border: none !important;
  background: transparent !important;
  color: #ff8a00 !important;
  font-weight: 600;
}

/* стрелки месяцев */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #ff8a00 !important;
  transition: .2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: transparent !important;
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  fill: #ffb347 !important;
  transform: scale(1.05);
}

/* дни недели (Mo Di Mi…) */
.flatpickr-weekday {
  color: #ff8a00 !important;
  font-weight: 600;
  letter-spacing: .05em;
  opacity: .85;
}

/* обычные дни */
.flatpickr-day {
  color: #d7e1ef !important;
  border-radius: 10px !important;
}

/* hover день */
.flatpickr-day:hover {
  background: rgba(255, 138, 0, .15) !important;
  border-color: transparent !important;
}

/* выбранный день */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #ff8a00 !important;
  border-color: #ff8a00 !important;
  color: #111 !important;
  font-weight: 600;
}

/* сегодня */
.flatpickr-day.today {
  border: 1px solid #ff8a00 !important;
}

/* disabled дни */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
  color: rgba(255, 255, 255, .2) !important;
  background: transparent !important;
}

/* время */
.flatpickr-time {
  background: #0b1220 !important;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/* поля времени */
.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
  color: #ff8a00 !important;
  background: transparent !important;
  border: none !important;
}

/* hover время */
.flatpickr-time input:hover {
  background: rgba(255, 138, 0, .12) !important;
}

/* scrollbar (если длинный список времени) */
.flatpickr-calendar ::-webkit-scrollbar {
  width: 6px;
}

.flatpickr-calendar ::-webkit-scrollbar-thumb {
  background: rgba(255, 138, 0, .4);
  border-radius: 4px;
}

/* ================================
   FLATPICKR DARK IAM THEME (extras)
   - disabled days styling
   - year arrows (up/down) orange
================================ */

/* --- Недоступные (disabled) дни: более явные --- */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover,
.flatpickr-day.prevMonthDay.disabled,
.flatpickr-day.nextMonthDay.disabled {
  color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: transparent !important;
  cursor: not-allowed !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 138, 0, 0.55);
}

/* можно сделать «плитку» disabled чуть темнее при наведении (но без подсветки) */
.flatpickr-day.disabled:hover {
  background: rgba(255, 255, 255, 0.035) !important;
}

/* если хочешь выделять полностью отключённые даты (например, целый день) */
.flatpickr-day.disabled.flatpickr-disabled {
  opacity: 0.9;
}

/* --- Стрелки переключения ГОДА (в поле yearInput) --- */
.flatpickr-current-month .numInputWrapper span.arrowUp:after,
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-bottom-color: #ff8a00 !important;
  /* arrowUp */
}

/* для arrowDown нужно верхнюю границу */
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-bottom-color: transparent !important;
  border-top-color: #ff8a00 !important;
}

/* убрать hover-фон у стрелок года + лёгкое подсвечивание */
.flatpickr-current-month .numInputWrapper span:hover {
  background: transparent !important;
}

.flatpickr-current-month .numInputWrapper span:hover.arrowUp:after,
.flatpickr-current-month .numInputWrapper span:hover.arrowDown:after {
  border-top-color: #ffb347 !important;
  border-bottom-color: #ffb347 !important;
}

/* на всякий случай — цвет текста года */
.flatpickr-current-month .numInputWrapper input.cur-year {
  color: #ff8a00 !important;
  font-weight: 600;
  border: none !important;
  background: transparent !important;
}

/* TIME PANEL — 80% width centered */
.flatpickr-time {
  width: 80% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  background: #0b1220 !important;
  border-top: 1px solid rgba(255, 255, 255, .06) !important;
  border-radius: 10px !important;
  padding: 6px 0 !important;
}

/* ===== Dropdown arrow (month/year) ===== */
.flatpickr-current-month select {
  color: #ff8a00 !important;
  background-color: transparent !important;
  border: none !important;

  /* кастомная стрелка */
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%23ff8a00' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px;
  padding-right: 22px;
}


/* ===== Dropdown list background ===== */
.flatpickr-monthDropdown-months,
.flatpickr-monthDropdown-months option,
.flatpickr-current-month select option {
  background: #0f172a !important;
  /* тот же фон что календарь */
  color: #ff8a00 !important;
}


/* Hover option (если браузер поддерживает) */
.flatpickr-current-month select option:hover {
  background: rgba(255, 138, 0, .15) !important;
}


/* Focus без синей рамки */
.flatpickr-current-month select:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ===== ЧАСЫ — стрелки слева ===== */
.flatpickr-time .numInputWrapper:first-child span.arrowUp,
.flatpickr-time .numInputWrapper:first-child span.arrowDown {
  left: 0px !important;
  right: auto !important;
}

/* отступ текста часов */
.flatpickr-time .numInputWrapper:first-child input {
  padding-left: 22px !important;
  padding-right: 6px !important;
}

/* ===== МИНУТЫ — остаются справа ===== */
.flatpickr-time .numInputWrapper:nth-child(2) span.arrowUp,
.flatpickr-time .numInputWrapper:nth-child(2) span.arrowDown {
  right: 4px !important;
  left: auto !important;
}

/* цвет стрелок */
.flatpickr-time .numInputWrapper span.arrowUp:after {
  border-bottom-color: #ff8a00 !important;
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
  border-top-color: #ff8a00 !important;
}

/* убрать hover фон */
.flatpickr-time .numInputWrapper span:hover {
  background: transparent !important;
}

#mobilePanel {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--headerH);
  /* под фикс-хедером */
  z-index: 9999;
}

.mobilePanel {
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .23s ease, opacity .23s ease;
}

#mobilePanel.isOpen {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.modalBack.closing .modal {
  transform: scale(.97) translateY(18px);
  opacity: 0;
}

/* CV overlay: скрыт по умолчанию */
#cvBack {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.22, .61, .36, 1);
}

/* показываем overlay */
#cvBack.show {
  opacity: 1;
  pointer-events: auto;
}

/* анимация самой карточки */
#cvBack .cvModal {
  transform: scale(.96) translateY(24px);
  opacity: 0;
  transition:
    transform .45s cubic-bezier(.22, .61, .36, 1),
    opacity .3s ease;
}

/* в открытом состоянии */
#cvBack.show .cvModal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* закрытие */
#cvBack.closing .cvModal {
  transform: scale(.97) translateY(18px);
  opacity: 0;
}






/* PHONE */
@media (max-width: 560px) {

  .brand .name {
    display: none;
  }



  /* 3) прячем второстепенное из шапки */
  #cvBtnTop {
    display: none !important;
  }

  /* язык оставляем */
  .actions .lang {
    display: inline-flex !important;
    align-items: center;
  }

  /* 4) топбар: логотип слева, справа блок actions */
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  /* 5) бренд не сжимается слишком */
  .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  /* (опционально) если имя длинное — скрыть текст, оставить только лого */
  /* .brand .name { display: none; } */

  /* 6) actions занимает остаток, кнопки не ломают строку */
  .actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }

  /* 7) Menu фиксированной ширины, Book растягивается */
  #menuBtn {
    flex: 0 0 auto;
  }

  #bookBtnTop {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Desktop / tablet ≥981px */
@media (min-width: 981px) {

  #mobilePanel,
  .mobilePanel {
    display: none !important;
  }

}

/* <= 980px: один хедер + dropdown меню под ним */
@media (max-width: 980px) {
  :root {
    --headerH: 100px;
  }

  /* 1) В строке хедера скрываем обычный nav */
  .topbar>nav {
    display: none !important;
  }

  .heroGrid,
  .cta {
    grid-template-columns: 1fr;
  }

  .chip {
    margin-bottom: 5px;
  }

  h1 {
    font-size: 40px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modalBody {
    grid-template-columns: 1fr;
  }

  .actions {
    min-width: auto;
  }

  .wrap {
    padding: 0 5px;
  }

  .hero {
    padding: 5px 0;
  }

  .brand {
    margin: 0;
    min-width: auto;
  }

  /* 2) В actions оставляем ТОЛЬКО кнопку Menu */
  .topbar .actions> :not(#menuBtn):not(.lang) {
    display: none !important;
  }

  /* 3) Кнопку Menu показываем */
  #menuBtn {
    display: inline-flex !important;
  }

  /* 4) Выпадающее меню под шапкой */
  #mobilePanel,
  .mobilePanel {
    position: static;
    display: block;


    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
  }

  /* когда открыто */
  #mobilePanel.isOpen,
  .mobilePanel.isOpen {
    max-height: 700px;
    opacity: 1;
    transform: translateY(0);
  }

  /* пункты меню — 2 колонки */
  .mobileNav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobileNav a {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    text-align: center;
    width: 100%;
  }

  /* кнопки Book / CV — в колонку */
  .mobileActions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .mobileActions .btn {
    width: 100%;
    text-align: center;
  }

  /* язык на всю ширину */
  .mobileActions .lang {
    grid-column: 1 / -1;
  }

  .mobileActions .langSelect {
    width: 100%;
  }
}

/* ====== очень узкие экраны: обратно в 1 колонку ====== */
@media (max-width: 380px) {
  .mobileNav {
    grid-template-columns: 1fr;
  }

  .mobileActions {
    grid-template-columns: 1fr;
  }

  .mobileActions .lang {
    grid-column: auto;
  }
}





@media (max-width: 520px) {
  h1 {
    font-size: 34px
  }

  .cards {
    grid-template-columns: 1fr
  }



  .ctaArt {
    display: none;
  }

  .heroArt {
    display: none;
  }

  .heroActions {
    flex-direction: column
  }

  .heroGrid {
    padding: 18px
  }

  .cta {
    padding: 18px
  }

  .modalInner {
    padding: 15px 14px;
  }
}

@media (max-width: 380px) {
  #menuBtn .menuText {
    display: none;
  }
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  will-change: opacity, transform;
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  will-change: opacity, transform;
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.fade-up.in-view,
.fade-left.in-view,
.fade-right.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 768px) {

  .fade-left,
  .fade-right {
    transform: translateY(30px);
  }
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}