@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:      #0e0f11;
  --panel:   #f5f6f2;
  --black:   #060606;
  --text:    #0f1117;
  --muted:   #6e7580;
  --line:    #dde0da;
  --white:   #fff;
  --violet:  #1a5fff;
  --violet2: #6ea8ff;
  --light:   #ececec;
  --radius:  18px;
  --blue-lt: #e8f1ff;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #0e0f11;
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

/* STAGE */
.stage {
  min-height: 100vh;
  padding: 36px 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(26,95,255,.18), transparent),
    radial-gradient(ellipse 40% 30% at 90% 5%, rgba(110,168,255,.10), transparent),
    #0e0f11;
}

/* SITE CARD */
.site {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 44px 28px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow:
    0 40px 100px rgba(0,0,0,.52),
    0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
}

/* HEADER */
.header {
  height: 60px;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--text);
}
.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.nav a { position: relative; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: .22s;
}
.nav a:hover::after { transform: scaleX(1); }

.header-btn {
  justify-self: end;
  min-height: 40px;
  padding: 0 10px 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--text);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: .22s;
  color: var(--text);
}
.header-btn:hover { background: var(--text); color: var(--white); transform: translateY(-2px); }
.header-btn span, .white-btn span {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 13px;
  transition: .22s;
}
.header-btn:hover span { background: var(--violet); }

/* ---- HERO ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr .95fr;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-main {
  min-height: 420px;
  position: relative;
  padding: 44px 48px 44px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #050b18;
  color: #fff;
}

/* RICH BG */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 65%, rgba(26,95,255,.75), transparent 52%),
    radial-gradient(ellipse 40% 50% at 75% 20%, rgba(110,168,255,.45), transparent 45%),
    radial-gradient(ellipse 30% 40% at 60% 80%, rgba(0,200,255,.18), transparent 40%),
    linear-gradient(135deg, #050b18 0%, #091422 55%, #0d1c30 100%);
}

/* 3D ring */
.hero-ring {
  position: absolute;
  right: 44px; top: 36px;
  width: 370px; height: 320px;
  border-radius: 46% 54% 42% 58%;
  border: 20px solid rgba(26,95,255,.38);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,.05),
    inset 0 0 80px rgba(110,168,255,.22),
    0 0 80px rgba(26,95,255,.28),
    0 0 160px rgba(26,95,255,.10);
  transform: rotate(-28deg);
  animation: ringFloat 8s ease-in-out infinite;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: -36px;
  border-radius: 40% 60% 48% 52%;
  border: 1px solid rgba(110,168,255,.22);
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: -70px;
  border-radius: 52% 48% 44% 56%;
  border: 1px solid rgba(26,95,255,.14);
}
@keyframes ringFloat {
  0%, 100% { transform: rotate(-28deg) translateY(0); }
  50% { transform: rotate(-28deg) translateY(-12px); }
}

/* floating square accent */
.hero-main::after {
  content: '';
  position: absolute;
  right: 80px; bottom: 52px;
  width: 100px; height: 100px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(26,95,255,.9), rgba(110,168,255,.8));
  opacity: .75;
  transform: rotate(14deg);
  animation: squareFloat 6s ease-in-out infinite .5s;
}
@keyframes squareFloat {
  0%, 100% { transform: rotate(14deg) translateY(0); }
  50% { transform: rotate(14deg) translateY(-8px); }
}

.eyebrow {
  position: relative; z-index: 2;
  display: block;
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--violet2);
}

.hero-main h1 {
  position: relative; z-index: 2;
  max-width: 640px;
  margin: 0 0 24px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 800;
}

.hero-main p {
  position: relative; z-index: 2;
  max-width: 380px;
  margin: 0 0 36px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.65;
}

.white-btn {
  position: relative; z-index: 3;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.white-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.white-btn span { background: var(--violet); color: #fff; }

/* SIDE CARDS */
.hero-side { display: grid; gap: 20px; }

.side-card {
  min-height: 196px;
  position: relative;
  overflow: hidden;
  padding: 28px 28px 52px;
  border-radius: var(--radius);
  transition: transform .3s;
}
.side-card:hover { transform: translateY(-3px); }
.side-card h2 {
  position: relative; z-index: 2;
  max-width: 300px;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.side-card p {
  position: relative; z-index: 2;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.65);
}
.side-card a {
  position: absolute;
  left: 28px; bottom: 22px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 16px;
  z-index: 3;
  color: #fff;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.side-card a:hover { background: rgba(255,255,255,.2); transform: scale(1.1) rotate(-5deg); }

.side-card.black {
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(110,168,255,.5), transparent 50%),
    linear-gradient(140deg, #091420, #050b18);
  color: #fff;
}
.wave {
  position: absolute;
  right: -50px; top: -30px;
  width: 300px; height: 240px;
  background: radial-gradient(ellipse at center, rgba(110,168,255,.8), rgba(110,168,255,.05) 40%, transparent 65%);
  filter: blur(1px);
  transform: rotate(-30deg);
}

.side-card.violet {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255,255,255,.28), transparent 45%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(26,95,255,.4), transparent 40%),
    linear-gradient(135deg, #1a5fff, #4a8aff);
  color: #fff;
}
.violet-lines {
  position: absolute;
  right: -60px; top: -10px;
  width: 320px; height: 220px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(-22deg);
}
.violet-lines::before, .violet-lines::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.22);
}
.violet-lines::before { inset: 22px; }
.violet-lines::after { inset: 48px; }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1.08fr;
  gap: 14px;
  margin-bottom: 24px;
}
.feature {
  min-height: 156px;
  position: relative;
  padding: 24px 24px 60px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s;
}
.feature:hover { transform: translateY(-3px); }
.feature span {
  display: block;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  opacity: .6;
}
.feature h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.feature p {
  max-width: 300px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: .72;
}
.feature a {
  position: absolute;
  right: 20px; bottom: 20px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .55;
  transition: opacity .2s, transform .2s;
}
.feature:hover a { opacity: 1; transform: rotate(-10deg) scale(1.08); }

.violet-fill {
  background:
    radial-gradient(ellipse 50% 50% at 90% 15%, rgba(255,255,255,.22), transparent 40%),
    linear-gradient(135deg, #1a5fff, #4a90ff);
  color: #fff;
}
.light {
  background: linear-gradient(140deg, #fff, #edf1f8);
  color: var(--text);
  border: 1px solid rgba(0,0,0,.06);
}
.black-fill {
  background:
    radial-gradient(ellipse 50% 50% at 85% 18%, rgba(110,168,255,.35), transparent 40%),
    linear-gradient(135deg, #091420, #050b18);
  color: #fff;
}

/* SKILLS */
.skills { margin: 20px 0 28px; }
.section-title h2, .projects-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chips span {
  min-height: 34px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #c4cad0;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: .22s;
  cursor: default;
}
.chips span:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,95,255,.28);
}

/* PROJECTS */
.projects { margin-bottom: 20px; }
.projects-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.projects-head a {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
}
.projects-head a:hover { color: var(--violet); gap: 10px; }
.projects-head a span { font-size: 14px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-card {
  min-height: 152px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 14px;
  transition: transform .3s, box-shadow .3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.14); }


.project-price {background: #3d83ff; padding: 3px 7px; border-radius: 10px; color: #fff;}

/* category tag */
.project-card > span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3px 10px;
  border-radius: 4px;
  position: relative; z-index: 3;
}
.dark-card > span, .black-card > span { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.light-card > span { background: rgba(0,0,0,.07); color: rgba(0,0,0,.5); }

.project-card h3 {
  position: relative; z-index: 3;
  max-width: 210px;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
.project-card p {
  position: relative; z-index: 3;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  opacity: .6;
}

/* arrow badge */
.project-card::before {
  content: '↗';
  position: absolute;
  top: 16px; right: 16px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 13px;
  z-index: 4;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.project-card:hover::before { opacity: 1; transform: scale(1.1); }
.dark-card::before, .black-card::before { border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); }
.light-card::before { border: 1px solid rgba(0,0,0,.15); color: rgba(0,0,0,.45); }

/* card visuals */
.dark-card {
  background:
    radial-gradient(ellipse 55% 55% at 85% 20%, rgba(26,95,255,.4), transparent 50%),
    linear-gradient(140deg, #0d1526, #07101e);
  color: #fff;
}
.light-card {
  background: linear-gradient(140deg, #fff, #eef2fa);
  color: var(--text);
  border: 1px solid rgba(0,0,0,.07);
}
.black-card {
  background:
    radial-gradient(ellipse 50% 50% at 82% 22%, rgba(110,168,255,.3), transparent 48%),
    linear-gradient(140deg, #091420, #050b18);
  color: #fff;
}

/* --- project visuals --- */
.mini-dashboard {
  position: absolute;
  right: 0; bottom: 0;
  width: 200px; height: 115px;
  background:
    linear-gradient(160deg, transparent, rgba(26,95,255,.15)),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(110,168,255,.3) 15px 16px);
}
.mini-dashboard::after {
  content: '';
  position: absolute;
  left: 16px; bottom: 16px;
  width: 120px; height: 48px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(26,95,255,.4), rgba(110,168,255,.3));
}

.chair-card {
  position: absolute;
  right: 16px; bottom: 8px;
  width: 150px; height: 110px;
}
.chair-card::before {
  content: '';
  position: absolute;
  right: 10px; top: 4px;
  width: 100px; height: 90px;
  background: linear-gradient(135deg, #c5c9d8, #8890a8);
  border-radius: 55% 55% 35% 35%;
}
.chair-card::after {
  content: '';
  position: absolute;
  right: 42px; bottom: 4px;
  width: 34px; height: 44px;
  background: linear-gradient(180deg, #9498b0, #6670880);
  border-radius: 3px;
}

.analytics-card {
  position: absolute;
  right: 10px; bottom: 8px;
  width: 175px; height: 106px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0c1430, #1a2a5e);
  overflow: hidden;
}
.analytics-card::before {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  height: 52px;
  background: repeating-linear-gradient(90deg, rgba(110,168,255,.55) 0 7px, transparent 7px 14px);
  border-radius: 2px;
}
.analytics-card::after {
  content: '';
  position: absolute;
  top: 12px; left: 14px; right: 14px;
  height: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
}

.law-card {
  position: absolute;
  right: 0; bottom: 0;
  width: 185px; height: 115px;
  background:
    repeating-linear-gradient(76deg, transparent 0 13px, rgba(0,0,0,.1) 13px 14px),
    linear-gradient(#f0f4ff, #d8dff0);
}

.app-card {
  position: absolute;
  right: 20px; bottom: 6px;
  width: 68px; height: 112px;
  background: linear-gradient(180deg, #1a2850, #0d1838);
  border-radius: 12px;
  border: 1px solid rgba(26,95,255,.2);
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 10px; left: 8px; right: 8px;
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
}
.app-card::after {
  content: '';
  position: absolute;
  top: 22px; left: 8px; right: 8px;
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
}

/* second phone */
.black-card .app-card {
  right: 90px;
  opacity: .55;
}

.launch-card {
  position: absolute;
  right: 0; bottom: 0;
  width: 185px; height: 110px;
  background:
    radial-gradient(circle at 62% 42%, #111 0 30px, transparent 31px),
    linear-gradient(135deg, #fff, #dce4ee);
}

/* BOTTOM ROW */
.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  margin-bottom: 20px;
}

/* ABOUT */
.about {
  min-height: 230px;
  display: grid;
  grid-template-columns: 180px 1fr;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(110,168,255,.18), transparent 45%),
    linear-gradient(135deg, #071018, #111820);
  color: #fff;
}
.portrait {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(110,168,255,.1), transparent 35%),
    #0a1520;
}
.head {
  position: absolute;
  left: 50%; top: 40px;
  width: 72px; height: 88px;
  transform: translateX(-50%);
  border-radius: 45%;
  background: linear-gradient(#c8a88a, #9a6e58);
  box-shadow: 0 -12px 0 #161616;
}
.body {
  position: absolute;
  left: 50%; bottom: -44px;
  width: 160px; height: 160px;
  transform: translateX(-50%);
  border-radius: 80px 80px 0 0;
  background: #162030;
}
.about-text { padding: 28px 24px 100px; }
.about-text > span {
  display: block;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.35);
}
.about-text p {
  margin: 0;
  max-width: 400px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
}
.signature {
  margin-top: 18px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: rgba(255,255,255,.22);
}
.about-stats {
  position: absolute;
  left: 204px; right: 24px; bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.about-stats b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}
.about-stats span {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

/* CONTACT */
.contact {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.05);
}
.contact-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.contact-head p {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.form { display: grid; gap: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form input, .form textarea {
  width: 100%;
  border: 1.5px solid #dde0da;
  border-radius: 8px;
  background: #f9fafb;
  outline: 0;
  padding: 0 14px;
  color: var(--text);
  transition: border-color .2s;
}
.form input { height: 38px; }
.form textarea { height: 80px; padding-top: 12px; resize: none; }
.form input:focus, .form textarea:focus { border-color: var(--violet); background: #fff; }
.form button {
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(26,95,255,.3);
}
.form button:hover { background: #0a3fd4; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(26,95,255,.4); }
.form button span {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2);
  border-radius: 6px;
  font-size: 15px;
}

/* FOOTER */
.footer {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.footer b { color: var(--text); font-size: 18px; letter-spacing: -.06em; font-weight: 900; }
.footer div { justify-self: end; display: flex; gap: 28px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--violet); }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}
.reveal.show { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1020px) {
  .header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero-grid, .features, .project-grid, .bottom-row { grid-template-columns: 1fr; }
  .site { padding: 20px; }
  .hero-ring { opacity: .3; }
}
@media (max-width: 620px) {
  .stage { padding: 0; }
  .site { width: 100%; border-radius: 0; padding: 16px; }
  .header-btn { display: none; }
  .hero-main { min-height: 420px; padding: 28px; }
  .hero-main h1 { font-size: 36px; }
  .hero-ring { right: -120px; top: 100px; }
  .side-card { min-height: 190px; }
  .features { gap: 12px; }
  .feature { min-height: 160px; }
  .project-card { min-height: 160px; }
  .about { grid-template-columns: 1fr; min-height: 440px; }
  .portrait { min-height: 190px; }
  .about-stats { position: relative; left: auto; right: auto; bottom: auto; padding: 0 24px 24px; }
  .form-grid { grid-template-columns: 1fr; }
}


/* ============================================
   WEBMES.RU — additions: logo, kupos, photo, cursor
   ============================================ */

/* LOGO with icon */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  text-decoration: none;
}
.logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(26,95,255,.35));
}

/* KUPOS CARD */
.kupos-card {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  min-height: 152px;
  cursor: pointer;
}
.kupos-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .5s cubic-bezier(.33,1,.68,1);
}
.kupos-card:hover .kupos-screenshot {
  transform: scale(1.04);
}
.kupos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,16,30,.92) 0%, rgba(7,16,30,.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  transition: background .3s;
}
.kupos-card:hover .kupos-overlay {
  background: linear-gradient(to top, rgba(7,16,30,.97) 0%, rgba(7,16,30,.5) 60%, transparent 100%);
}
.kupos-overlay span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  padding: 3px 10px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  width: fit-content;
}
.kupos-overlay h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.kupos-overlay p {
  margin: 0;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* FOUNDER PHOTO */
.portrait {
  position: relative;
  overflow: hidden;
  background: #0a1520;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

/* ---- LOGO redesign ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--text);
  text-decoration: none;
}
.logo-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--violet);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  margin-right: 7px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26,95,255,.35);
}
.logo-text {
  color: var(--text);
  letter-spacing: -.04em;
}
.logo-dot-text {
  color: var(--violet);
}



/* ============================================
   PREMIUM CUSTOM CURSOR — заметный рабочий курсор v2
   ============================================ */

.premium-cursor-ready,
.premium-cursor-ready * {
  cursor: none !important;
}

.premium-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.premium-cursor.is-visible {
  opacity: 1;
}

.premium-cursor__dot,
.premium-cursor__ring,
.premium-cursor__glow {
  position: fixed;
  left: 0;
  top: 0;
  display: block;
  pointer-events: none;
  border-radius: 999px;
  will-change: transform, width, height, opacity;
}

.premium-cursor__dot {
  width: 11px;
  height: 11px;
  background: #ffffff;
  border: 2px solid #1a5fff;
  box-shadow:
    0 0 0 4px rgba(26, 95, 255, .18),
    0 0 24px rgba(26, 95, 255, .75),
    0 0 48px rgba(26, 95, 255, .35);
  transition:
    width .22s cubic-bezier(.16, 1, .3, 1),
    height .22s cubic-bezier(.16, 1, .3, 1),
    background .22s ease,
    border-color .22s ease,
    opacity .22s ease;
}

.premium-cursor__ring {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(26, 95, 255, .9);
  background: rgba(26, 95, 255, .08);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.14),
    0 0 34px rgba(26,95,255,.28);
  backdrop-filter: blur(0px);
  transition:
    width .32s cubic-bezier(.16, 1, .3, 1),
    height .32s cubic-bezier(.16, 1, .3, 1),
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.premium-cursor__glow {
  width: 96px;
  height: 96px;
  background: radial-gradient(circle, rgba(26,95,255,.22), rgba(26,95,255,.08) 38%, transparent 70%);
  filter: blur(1px);
  opacity: .85;
  transition:
    width .32s cubic-bezier(.16, 1, .3, 1),
    height .32s cubic-bezier(.16, 1, .3, 1),
    opacity .22s ease;
}

.premium-cursor.is-link .premium-cursor__ring {
  width: 60px;
  height: 60px;
  background: rgba(26,95,255,.14);
  border-color: rgba(26,95,255,1);
}

.premium-cursor.is-link .premium-cursor__dot {
  width: 7px;
  height: 7px;
  background: #1a5fff;
}

.premium-cursor.is-card .premium-cursor__ring {
  width: 82px;
  height: 82px;
  background: rgba(26,95,255,.16);
  border-color: rgba(255,255,255,.72);
  box-shadow:
    inset 0 0 24px rgba(255,255,255,.16),
    0 0 52px rgba(26,95,255,.35);
}

.premium-cursor.is-card .premium-cursor__glow {
  width: 130px;
  height: 130px;
  opacity: 1;
}

.premium-cursor.is-button .premium-cursor__ring {
  width: 54px;
  height: 54px;
  background: rgba(26,95,255,.22);
  border-color: #1a5fff;
  box-shadow: 0 0 54px rgba(26,95,255,.42);
}

.premium-cursor.is-button .premium-cursor__dot {
  width: 15px;
  height: 15px;
  background: #1a5fff;
  border-color: #ffffff;
}

.premium-cursor.is-input .premium-cursor__ring {
  width: 18px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
}

.premium-cursor.is-input .premium-cursor__dot {
  opacity: 0;
}

.premium-cursor.is-down .premium-cursor__ring {
  width: 30px;
  height: 30px;
  background: rgba(26,95,255,.28);
}

.premium-cursor.is-down .premium-cursor__dot {
  width: 16px;
  height: 16px;
}

@media (pointer: coarse) {
  .premium-cursor-ready,
  .premium-cursor-ready * {
    cursor: auto !important;
  }

  .premium-cursor {
    display: none !important;
  }
}

.header {
  min-height: 72px;
  height: auto;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr minmax(190px, auto);
  align-items: center;
  gap: 28px;
  margin: -6px 0 0 0;
  padding: 0 0 18px 0;
  border-bottom: none;
  background: #f5f6f2;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #111722;
  min-width: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  width: 54px;
  height: 42px;
  flex: 0 0 auto;
}

.logo-mark i {
  display: block;
  width: 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, #79bdff 0%, #3d86ff 48%, #175cff 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.46),
    0 8px 18px rgba(26,95,255,.18);
}

.logo-mark i:nth-child(1) {
  height: 38px;
  transform: skewX(-16deg);
}

.logo-mark i:nth-child(2) {
  height: 36px;
  transform: skewX(-16deg);
}

.logo-mark i:nth-child(3) {
  height: 34px;
  transform: skewX(-16deg);
}

.logo-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  line-height: 1;
}

.logo-title {
  display: block;
  font-size: 23px;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -0.055em;
  color: #111722;
  white-space: nowrap;
}

.logo-accent {
  color: #1a5fff;
}

.logo-subtitle {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #5e6673;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-left: -100px;
}

.nav a {
  position: relative;
  color: #1d2430;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav a:hover {
  color: #1a5fff;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #1a5fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-dot {
  color: #1d2430;
  opacity: .72;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.header-btn {
  justify-self: end;
  min-height: 52px;
  padding: 8px 8px 8px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f78ff 0%, #1a5fff 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(26,95,255,.22);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(26,95,255,.28);
  color: #fff;
  background: linear-gradient(135deg, #2f78ff 0%, #1a5fff 100%);
}

.header-btn span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: #1a5fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.logo-w,
.logo-text,
.logo-dot-text,
.logo-icon {
  display: none !important;
}

@media (max-width: 1020px) {
  .header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    min-height: 68px;
    margin-top: 0;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .header {
    padding-bottom: 16px;
  }

  .header-btn {
    display: none;
  }

  .logo {
    gap: 12px;
  }

  .logo-mark {
    width: 46px;
    height: 34px;
  }

  .logo-mark i {
    width: 13px;
  }

  .logo-mark i:nth-child(1) { height: 32px; }
  .logo-mark i:nth-child(2) { height: 30px; }
  .logo-mark i:nth-child(3) { height: 28px; }

  .logo-title {
    font-size: 20px;
  }

  .logo-subtitle {
    font-size: 11px;
  }
}


/* ============================================
   EXACT LOGO FROM SCREENSHOT
   ============================================ */

.logo-image-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-mark,
.logo-box,
.logo-title,
.logo-accent,
.logo-subtitle,
.logo-w,
.logo-text,
.logo-dot-text,
.logo-icon {
  display: none !important;
}

@media (max-width: 620px) {
  .logo-image {
    width: 220px;
  }
}


/* CONTACT FORM — вариант 3 с макета */
.contact.contact-v3{position:relative;min-height:0;padding:0;overflow:hidden;border:2px solid rgba(26,95,255,.95);border-radius:16px;background:radial-gradient(ellipse 58% 52% at 100% 0%,rgba(26,95,255,.14),transparent 52%),radial-gradient(ellipse 46% 42% at 0% 100%,rgba(110,168,255,.10),transparent 56%),linear-gradient(145deg,#fff 0%,#f8fbff 100%);box-shadow:0 16px 48px rgba(26,95,255,.12),inset 0 0 0 1px rgba(255,255,255,.65)}
.contact-v3::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(26,95,255,.06) 1px,transparent 1px),linear-gradient(0deg,rgba(26,95,255,.045) 1px,transparent 1px);background-size:42px 42px;opacity:.24}
.contact-v3::after{content:'';position:absolute;right:-48px;top:-48px;width:160px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(26,95,255,.22),transparent 68%);filter:blur(4px);pointer-events:none}
.contact-v3__inner{position:relative;z-index:2;padding:30px 34px 28px}
.contact-v3__head{margin-bottom:22px}
.contact-v3__label{display:inline-flex;align-items:center;margin-bottom:12px;color:#1a5fff;font-size:11px;line-height:1;font-weight:900;text-transform:uppercase;letter-spacing:.14em}
.contact-v3__head h2{margin:0 0 8px;color:#0d1526;font-size:30px;line-height:1;font-weight:900;letter-spacing:-.055em}
.contact-v3__head p{max-width:420px;margin:0;color:#6d7480;font-size:14px;line-height:1.55}
.contact-v3__form{display:grid;gap:12px}
.contact-v3__field{position:relative;display:block}
.contact-v3__field input,.contact-v3__field textarea{width:100%;border:1.5px solid #dfe7f4;border-radius:10px;background:rgba(255,255,255,.86);color:#0d1526;outline:0;box-shadow:0 8px 20px rgba(13,21,38,.035),inset 0 1px 0 rgba(255,255,255,.9);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease}
.contact-v3__field input{height:48px;padding:0 16px 0 48px}
.contact-v3__field textarea{height:96px;padding:15px 16px 15px 48px;resize:none}
.contact-v3__field input::placeholder,.contact-v3__field textarea::placeholder{color:#7c8796}
.contact-v3__field:focus-within input,.contact-v3__field:focus-within textarea{border-color:#1a5fff;background:#fff;box-shadow:0 0 0 4px rgba(26,95,255,.10),0 12px 28px rgba(26,95,255,.10);transform:translateY(-1px)}
.contact-v3__icon{position:absolute;left:17px;top:15px;z-index:2;width:18px;height:18px;color:#7d8795;pointer-events:none;transition:color .2s ease,transform .2s ease}
.contact-v3__field--textarea .contact-v3__icon{top:16px}
.contact-v3__icon svg{display:block;width:100%;height:100%;fill:currentColor}
.contact-v3__field:focus-within .contact-v3__icon{color:#1a5fff;transform:scale(1.05)}
.contact-v3__submit{width:100%;height:54px;margin-top:4px;border:0;border-radius:10px;background:linear-gradient(135deg,#1a5fff 0%,#126dff 54%,#0052e6 100%);color:#fff;display:flex;align-items:center;justify-content:center;gap:14px;padding:0 10px 0 24px;font-size:13px;line-height:1;font-weight:900;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;box-shadow:0 12px 28px rgba(26,95,255,.32),inset 0 1px 0 rgba(255,255,255,.28);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.contact-v3__submit:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(26,95,255,.38),inset 0 1px 0 rgba(255,255,255,.34);filter:saturate(1.08)}
.contact-v3__submit span{margin-left:auto;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff;color:#1a5fff;font-size:20px;font-weight:800;line-height:1}
.contact-v3__safe{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;color:#8a94a3;font-size:11px;line-height:1.35;text-align:center}
.contact-v3__safe svg{width:13px;height:13px;flex:0 0 auto;fill:currentColor}
@media(max-width:1020px){.contact-v3__inner{padding:28px 24px 26px}}
@media(max-width:620px){.contact-v3__head h2{font-size:25px}.contact-v3__inner{padding:24px 18px}.contact-v3__submit{font-size:12px;letter-spacing:.05em}}

/* WEBMES portfolio: gallery/video/example-link update */
.pf-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  background: #f7f9ff;
}

.pf-modal-gallery img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}

.pf-modal-gallery img:hover {
  border-color: #1a5fff;
  transform: translateY(-2px);
}

.pf-modal-channel {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(26,95,255,.10);
  color: #1a5fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-left: 8px;
}

.pf-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.pf-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.90);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}


/* WEBMES: визуальный блок-карусель кейсов маркетолога */
.wm-cases {
  position: relative;
  margin: 0 0 18px;
  padding: 12px 0 4px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.wm-cases-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 54px 18px;
  scrollbar-width: none;
  cursor: grab;
}

.wm-cases-slider::-webkit-scrollbar { display: none; }

.wm-case {
  flex: 0 0 260px;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #101014;
  color: #fff;
  box-shadow: 0 16px 44px rgba(6,12,24,.14);
  isolation: isolate;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.wm-case:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(6,12,24,.20);
}

.wm-case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.wm-case-1::before {
  background:
    linear-gradient(180deg, rgba(40,55,110,.18), rgba(0,0,0,.58)),
    radial-gradient(circle at 55% 25%, rgba(78,88,255,.28), transparent 42%),
    linear-gradient(135deg, #242838, #090b12);
}

.wm-case-2::before {
  background:
    linear-gradient(180deg, rgba(255,185,70,.05), rgba(0,0,0,.52)),
    url('https://images.unsplash.com/photo-1568901346375-23c9450c58cd?q=80&w=900&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.wm-case-3::before,
.wm-case-5::before {
  background:
    radial-gradient(circle at top, rgba(255,255,255,.10), transparent 42%),
    linear-gradient(135deg, #202126, #090a0d);
}

.wm-case-4::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.68)),
    url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?q=80&w=900&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.wm-case-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.16) 58%, rgba(0,0,0,.22));
}

.wm-case-top,
.wm-case-bottom,
.wm-case-play {
  position: relative;
  z-index: 2;
}

.wm-case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 0;
}

.wm-case-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 20px 22px;
}

.wm-case-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(92,86,255,.94);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.wm-case-label {
  display: inline-block;
  max-width: 210px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255,255,255,.94);
  color: #151515;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.wm-case-text {
  margin: 0 0 18px;
  color: rgba(255,255,255,.93);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

.wm-case-review {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1.42;
  font-weight: 500;
}

.wm-case-mini {
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.4;
}

.wm-case-stamp {
  width: fit-content;
  max-width: 180px;
  margin: 14px 0 0 auto;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.90);
  color: #111;
  font-size: 12px;
  line-height: 1.13;
  font-weight: 900;
  text-align: center;
  transform: rotate(-3deg);
}

.wm-case-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.wm-case-person strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.wm-case-avatar {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  border: 3px solid #4f4cff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.10);
}

.wm-case-avatar-1 { background: linear-gradient(135deg, #ffeff2, #c02f67); }
.wm-case-avatar-2 { background: linear-gradient(135deg, #e8f1ff, #2d65d8); }
.wm-case-avatar-3 { background: linear-gradient(135deg, #ffce73, #b35010); }
.wm-case-avatar-4 { background: linear-gradient(135deg, #e2f0ff, #1a5fff); }
.wm-case-avatar-5 { background: linear-gradient(135deg, #f2f7ff, #16b45f); }

.wm-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.wm-case-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

.wm-case-tags .main {
  background: rgba(92,86,255,.92);
  border-color: rgba(92,86,255,.92);
}

.wm-case-tags .green {
  background: rgba(22,180,95,.88);
  border-color: rgba(22,180,95,.88);
}

.wm-case-tags .orange {
  background: rgba(255,143,43,.88);
  border-color: rgba(255,143,43,.88);
}

.wm-case-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 46px rgba(0,0,0,.24);
  cursor: pointer;
}

.wm-case-play::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 27px;
  width: 0;
  height: 0;
  border-left: 19px solid #111;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.wm-case-logo {
  color: rgba(255,255,255,.92);
  font-size: 26px;
  line-height: .86;
  font-weight: 950;
  font-style: italic;
}

.wm-cases-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(14,15,17,.84);
  color: #fff;
  font-size: 38px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  transition: transform .2s, background .2s;
}

.wm-cases-arrow:hover {
  background: #0e0f11;
  transform: translateY(-50%) scale(1.04);
}

.wm-cases-arrow-prev { left: 8px; }
.wm-cases-arrow-next { right: 8px; }

@media (max-width: 900px) {
  .wm-cases {
    margin-left: -8px;
    margin-right: -8px;
  }

  .wm-cases-slider {
    padding: 8px 18px 18px;
    gap: 14px;
  }

  .wm-case {
    flex-basis: 78vw;
    max-width: 300px;
    height: 480px;
    border-radius: 28px;
  }

  .wm-cases-arrow {
    display: none;
  }
}


/* WEBMES FAQ block under projects */
.wm-faq {
  margin: 28px 0 24px;
  padding: 0 0 20px;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.wm-faq-head {
  border-bottom: 1px solid #d4d9df;
  padding-bottom: 24px;
}

.wm-faq-head h2 {
    margin: 0;
    font-size: clamp(28px, 5.4vw, 28px);
    line-height: 1;
    font-weight: 800;
    color: #060606;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.wm-faq-list {
  border-bottom: 1px solid #d4d9df;
}

.wm-faq-item {
  border-bottom: 1px solid #d4d9df;
}

.wm-faq-item:last-child {
  border-bottom: none;
}

.wm-faq-question {
  width: 100%;
  min-height: 78px;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #000;
  cursor: pointer;
  text-align: left;
}

.wm-faq-question span {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.03em;
}

.wm-faq-question i {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
}

.wm-faq-question i::before,
.wm-faq-question i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #182338;
  transform: translate(-50%, -50%);
  transition: transform .22s ease, opacity .22s ease;
}

.wm-faq-question i::before {
  width: 24px;
  height: 2px;
}

.wm-faq-question i::after {
  width: 2px;
  height: 24px;
}

.wm-faq-item.is-open .wm-faq-question i::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.wm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.wm-faq-answer p {
  margin: 0;
  padding: 0 70px 24px 0;
  color: #5d6470;
  font-size: 15px;
  line-height: 1.65;
}

.wm-faq-bottom {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: center;
  padding-top: 38px;
}

.wm-faq-bottom strong {
  color: #000;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.055em;
}

.wm-faq-bottom a {
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--violet);
    color: #fff;
    display: block;
    align-items: center;
    justify-content: space-between;
    line-height: 44px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(26, 95, 255, .3);
    text-align: center;
}

.wm-faq-bottom a:hover {
  transform: translateY(-2px);
  filter: brightness(.96);
}

@media (max-width: 760px) {
  .wm-faq {
    margin-top: 22px;
  }

  .wm-faq-question {
    min-height: 68px;
  }

  .wm-faq-answer p {
    padding-right: 0;
  }

  .wm-faq-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 26px;
  }

  .wm-faq-bottom a {
    width: 100%;
  }
}


/* WEBMES update: shop + dynamic examples */
.wm-cases-empty {
  flex: 1 0 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.wm-case-photo::before {
  background: inherit !important;
  filter: brightness(.82);
}

.wm-case-photo .wm-case-layer {
  background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.18) 58%, rgba(0,0,0,.28));
}

.projects-head.show {
  opacity: 1;
  transform: none;
}


/* WEBMES modal media compact view */
.pf-media-viewer {
  position: relative;
  width: 100%;
  min-height: 260px;
  max-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(26,95,255,.10), transparent 45%), #07101e;
  overflow: hidden;
}

.pf-modal-main-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

.pf-media-viewer video.pf-modal-main-media {
  width: 100%;
  max-height: 460px;
  background: #05070c;
}

.pf-media-zoom-btn {
  position: absolute;
  right: 54px;
  top: 14px;
  z-index: 5;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #07101e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
  transition: transform .18s ease, background .18s ease;
}

.pf-media-zoom-btn:hover {
  transform: translateY(-2px);
  background: #fff;
}

.pf-media-viewer.is-zoomed {
  max-height: none;
  overflow: auto;
  align-items: flex-start;
  background: #05070c;
}

.pf-media-viewer.is-zoomed .pf-modal-main-media {
  max-height: none;
  width: 100%;
  height: auto;
  object-fit: initial;
}

@media (max-width: 760px) {
  .pf-media-viewer {
    min-height: 220px;
    max-height: 360px;
  }

  .pf-modal-main-media,
  .pf-media-viewer video.pf-modal-main-media {
    max-height: 360px;
  }

  .pf-media-zoom-btn {
    right: 10px;
    top: 10px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 11px;
  }
}



.pf-media-viewer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 76px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.42), transparent);
}

.pf-media-viewer .pf-media-zoom-btn {
  z-index: 6;
}


/* WEBMES new footer like pill nav */
.footer.footer-nav-shell {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  gap: 0;
  border-top: 0;
  padding: 34px 0 8px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}

.footer-pill-nav {
  width: min(1120px, 100%);
  min-height: 82px;
  padding: 10px 12px 10px 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.58),
    0 18px 45px rgba(6,12,24,.06);
  display: grid;
  grid-template-columns: repeat(5, auto) minmax(190px, 220px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3.1vw, 52px);
  backdrop-filter: blur(14px);
}

.footer-pill-nav a {
  color: #22242a;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.055em;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.footer-pill-nav a:hover {
  color: var(--violet);
  transform: translateY(-2px);
}

.footer-pill-cta {
  min-height: 70px;
  padding: 0 24px 0 30px;
  border-radius: 999px;
  background: #292934;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,.13);
}

.footer-pill-cta i {
  width: 32px;
  height: 32px;
  position: relative;
  display: inline-block;
  flex: 0 0 32px;
  animation: footerSpinner 4s linear infinite;
}

.footer-pill-cta i::before,
.footer-pill-cta i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      transparent 0 8%,
      #fff 8% 13%,
      transparent 13% 21%,
      #fff 21% 26%,
      transparent 26% 34%,
      #fff 34% 39%,
      transparent 39% 47%,
      #fff 47% 52%,
      transparent 52% 60%,
      #fff 60% 65%,
      transparent 65% 73%,
      #fff 73% 78%,
      transparent 78% 86%,
      #fff 86% 91%,
      transparent 91% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 42%, #000 44% 100%);
  mask: radial-gradient(circle, transparent 0 42%, #000 44% 100%);
}

.footer-pill-cta i::after {
  inset: 10px;
  background: #fff;
  -webkit-mask: none;
  mask: none;
}

@keyframes footerSpinner {
  to { transform: rotate(360deg); }
}

/* WEBMES mobile bottom nav */
.mobile-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 99990;
  width: min(430px, calc(100% - 22px));
  min-height: 72px;
  padding: 8px 10px;
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow:
    0 18px 55px rgba(6,12,24,.22),
    inset 0 0 0 1px rgba(255,255,255,.45);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mobile-bottom-nav a {
  flex: 1;
  min-width: 0;
  height: 56px;
  border-radius: 20px;
  color: #20232b;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.mobile-bottom-nav a:hover {
  background: rgba(26,95,255,.09);
  color: var(--violet);
  transform: translateY(-2px);
}

.mobile-bottom-nav .mbn-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.mobile-bottom-nav em {
  max-width: 100%;
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 850;
  letter-spacing: -.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-bottom-nav .mbn-main {
  flex: 0 0 62px;
  height: 62px;
  margin: -18px 2px 0;
  border-radius: 24px;
  background: #292934;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.mobile-bottom-nav .mbn-main span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-1px);
}

.mobile-bottom-nav .mbn-main:hover {
  background: #1a5fff;
  color: #fff;
}

@media (max-width: 1020px) {
  .footer-pill-nav {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 18px;
    padding: 18px;
    border-radius: 34px;
  }

  .footer-pill-cta {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 104px;
  }

  .footer.footer-nav-shell {
    padding: 28px 0 24px;
  }

  .footer-pill-nav {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: 28px;
  }

  .footer-pill-nav a {
    font-size: 17px;
    letter-spacing: -.04em;
  }

  .footer-pill-cta {
    width: 100%;
    min-height: 58px;
  }

  .mobile-bottom-nav {
    display: flex;
  }
}



/* WEBMES fixed bottom screen nav correction */
.mobile-bottom-nav {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
  pointer-events: auto;
}

.footer.footer-nav-shell {
  position: relative;
  z-index: 1;
}

.footer-pill-nav {
  position: relative;
}


/* WEBMES exact footer from photo 3 */
.footer.footer-photo3 {
  width: 100%;
  min-height: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  grid-template-columns: none !important;
  gap: 0 !important;
  border-top: 0 !important;
  padding: 42px 0 20px !important;
  margin: 0 !important;
  color: #25252c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: transparent;
}

.footer-photo3__bar {
  width: min(1140px, 100%);
  min-height: 92px;
  padding: 12px 12px 12px 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 18px 50px rgba(9, 12, 20, .055),
    inset 0 0 0 1px rgba(255,255,255,.74);
  display: grid;
  grid-template-columns: repeat(5, auto) 214px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 58px);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.footer-photo3__bar > a:not(.footer-photo3__cta) {
  color: #24242c;
  font-size: clamp(20px, 2.25vw, 30px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.06em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.footer-photo3__bar > a:not(.footer-photo3__cta):hover {
  color: var(--violet);
  transform: translateY(-2px);
}

.footer-photo3__cta {
  min-height: 70px;
  padding: 0 24px 0 31px;
  border-radius: 999px;
  background: #2b2b35;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  box-shadow:
    0 16px 34px rgba(0,0,0,.12),
    inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform .18s ease, background .18s ease;
}

.footer-photo3__cta:hover {
  background: #202029;
  transform: translateY(-2px);
}

.footer-photo3__cta span {
  color: #fff;
  font-size: clamp(22px, 2.45vw, 31px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.06em;
}

.footer-photo3__cta i {
  width: 34px;
  height: 34px;
  position: relative;
  display: inline-block;
  flex: 0 0 34px;
  animation: webmesFooterSpin 4.5s linear infinite;
}

.footer-photo3__cta i::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 0deg,
      transparent 0 7%,
      #fff 7% 12%,
      transparent 12% 20%,
      #fff 20% 25%,
      transparent 25% 33%,
      #fff 33% 38%,
      transparent 38% 46%,
      #fff 46% 51%,
      transparent 51% 59%,
      #fff 59% 64%,
      transparent 64% 72%,
      #fff 72% 77%,
      transparent 77% 85%,
      #fff 85% 90%,
      transparent 90% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 43%, #000 45% 100%);
  mask: radial-gradient(circle, transparent 0 43%, #000 45% 100%);
}

.footer-photo3__cta i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

@keyframes webmesFooterSpin {
  to { transform: rotate(360deg); }
}

/* WEBMES fixed bottom nav must be separate from footer */
.mobile-bottom-nav {
  position: fixed !important;
  left: 50% !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
}

@media (max-width: 1020px) {
  .footer-photo3__bar {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    border-radius: 38px;
    padding: 20px;
    gap: 18px 26px;
  }

  .footer-photo3__cta {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 64px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 104px;
  }

  .footer.footer-photo3 {
    padding: 28px 0 26px !important;
  }

  .footer-photo3__bar {
    width: 100%;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 14px;
  }

  .footer-photo3__bar > a:not(.footer-photo3__cta) {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    font-size: 17px;
    letter-spacing: -.04em;
  }

  .footer-photo3__cta {
    grid-column: 1 / -1;
    min-height: 58px;
  }

  .footer-photo3__cta span {
    font-size: 22px;
  }

  .mobile-bottom-nav {
    display: flex;
  }
}


/* WEBMES required footer: big information footer */
.footer.webmes-info-footer {
  display: block !important;
  grid-template-columns: none !important;
  min-height: auto !important;
  width: 100%;
  margin: 42px 0 0 !important;
  padding: 0 0 24px !important;
  border: 0 !important;
  color: #11141d !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: transparent;
}

.webmes-info-footer__top {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.15fr;
  gap: 32px;
  align-items: start;
  padding: 10px 0 34px;
}

.webmes-info-footer__brand {
  color: #11141d;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.065em;
  text-decoration: none;
}

.webmes-info-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: flex-start;
  align-items: center;
}

.webmes-info-footer__socials a {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #65cfff, #2eb4f3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.05em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 10px 24px rgba(46,180,243,.18);
  transition: transform .18s ease, filter .18s ease;
}

.webmes-info-footer__socials a:hover {
  transform: translateY(-2px);
  filter: brightness(.98);
}

.webmes-info-footer__socials span {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.24);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.webmes-info-footer__line {
  width: 100%;
  height: 1px;
  background: #d9dde4;
}

.webmes-info-footer__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 44px;
  padding: 44px 0;
}

.webmes-info-footer__email > a:first-child {
  display: inline-block;
  margin-bottom: 34px;
  color: #05070c;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1;
  font-weight: 780;
  letter-spacing: -.055em;
  text-decoration: none;
}

.webmes-info-footer__review {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #eeeeef;
  color: #11141d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.035em;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.webmes-info-footer__review:hover {
  background: #e3e5e8;
  transform: translateY(-2px);
}

.webmes-info-footer__city h3 {
  margin: 0 0 22px;
  color: #05070c;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.055em;
}

.webmes-info-footer__city p {
  margin: 0 0 16px;
  color: #6b707d;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.35;
  font-weight: 450;
  letter-spacing: -.04em;
}

.webmes-info-footer__city a {
  color: #05070c;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1;
  font-weight: 620;
  letter-spacing: -.04em;
  text-decoration: none;
}

.webmes-info-footer__docs {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 28px;
  align-items: start;
  padding: 44px 0 22px;
}

.webmes-info-footer__doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.webmes-info-footer__doc-links a {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #f0f0f1;
  color: #11141d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1.35vw, 20px);
  line-height: 1;
  font-weight: 480;
  letter-spacing: -.04em;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.webmes-info-footer__doc-links a:hover {
  background: #e5e7ea;
  transform: translateY(-2px);
}

.webmes-info-footer__resident {
  width: 150px;
  min-height: 126px;
  border-radius: 8px;
  background: #f1f1f2;
  color: #05070c;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
}

.webmes-info-footer__resident strong {
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.webmes-info-footer__resident span {
  display: block;
  color: #05070c;
  font-size: 21px;
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.webmes-info-footer__legal {
  margin: 0;
  padding: 0 0 8px;
  color: #6b707d;
  font-size: clamp(13px, 1.25vw, 18px);
  line-height: 1.45;
  font-weight: 430;
  letter-spacing: -.035em;
}

/* Keep bottom nav fixed and separate */
.mobile-bottom-nav {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
}

@media (max-width: 1020px) {
  .webmes-info-footer__top,
  .webmes-info-footer__contacts,
  .webmes-info-footer__docs {
    grid-template-columns: 1fr;
  }

  .webmes-info-footer__resident {
    width: 100%;
    min-height: 88px;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 104px;
  }

  .footer.webmes-info-footer {
    margin-top: 30px !important;
    padding-bottom: 34px !important;
  }

  .webmes-info-footer__top {
    gap: 24px;
    padding-bottom: 28px;
  }

  .webmes-info-footer__socials {
    gap: 10px;
  }

  .webmes-info-footer__socials a {
    min-height: 44px;
    padding: 0 16px;
    font-size: 17px;
  }

  .webmes-info-footer__contacts {
    gap: 28px;
    padding: 32px 0;
  }

  .webmes-info-footer__docs {
    gap: 20px;
    padding: 32px 0 22px;
  }

  .webmes-info-footer__doc-links {
    gap: 10px;
  }

  .webmes-info-footer__doc-links a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 18px;
  }

  .mobile-bottom-nav {
    display: flex;
  }
}

