/* ============================================================
   BERG.LV — Signature Premium Edition
   Loaded after style.css to preserve the existing component API.
   ============================================================ */

:root {
  --bg-primary: #070708;
  --bg-secondary: #0b0b0d;
  --bg-elevated: #111114;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --accent-gold: #d0af6d;
  --accent-gold-light: #f0d69a;
  --accent-gold-dark: #8d6c35;
  --accent-cyan: #b7d9e9;
  --accent-purple: #806c9f;
  --accent-glow: rgba(208, 175, 109, 0.12);
  --text-primary: #f5f2ec;
  --text-secondary: #a19d94;
  --text-muted: #66635d;
  --border-color: rgba(240, 214, 154, 0.12);
  --border-accent: rgba(208, 175, 109, 0.42);
  --font-main: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --radius: 16px;
  --radius-lg: 28px;
  --transition: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 30px 80px rgba(0, 0, 0, 0.38), 0 0 50px rgba(208, 175, 109, 0.07);
}

html {
  background: var(--bg-primary);
  scroll-padding-top: 100px;
}

body {
  position: relative;
  background:
    radial-gradient(circle at 12% 4%, rgba(208, 175, 109, 0.075), transparent 28rem),
    var(--bg-primary);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

main { overflow: hidden; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-gold-light);
  outline-offset: 5px;
}

::selection {
  color: #080808;
  background: var(--accent-gold-light);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #070708; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-gold-dark), var(--accent-gold));
  border: 2px solid #070708;
  border-radius: 10px;
}

.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x, -50rem) - 50%), calc(var(--cursor-y, -50rem) - 50%), 0);
  background: radial-gradient(circle, rgba(208, 175, 109, 0.075), transparent 67%);
  transition: opacity 0.5s ease;
}

body.has-pointer .cursor-aura { opacity: 1; }

.rich-copy > :first-child { margin-top: 0; }
.rich-copy > :last-child { margin-bottom: 0; }
.rich-copy p { margin: 0 0 0.7em; color: inherit; font: inherit; line-height: inherit; }
.rich-copy ul,
.rich-copy ol { margin: 0.7em 0 0.7em 1.25em; }
.rich-copy a { color: var(--accent-gold-light); text-decoration: underline; text-underline-offset: 0.2em; }

/* Header ---------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.25rem 0;
  transition: padding var(--transition), background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(7, 7, 8, 0.82);
  border-bottom-color: rgba(240, 214, 154, 0.1);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.site-header__inner {
  width: min(100% - 3rem, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--text-primary);
  text-decoration: none;
}

.brand:hover { color: var(--text-primary); }

.brand__mark {
  width: 39px;
  height: 47px;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(0 9px 20px rgba(208, 175, 109, 0.17));
  transition: transform var(--transition), filter var(--transition);
}

.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 10px 24px rgba(208, 175, 109, 0.28));
}

.brand__word {
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.brand__word span { color: var(--accent-gold); }

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.site-nav a {
  position: relative;
  color: #8b8881;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.55rem;
  height: 1px;
  background: var(--accent-gold);
  transition: right var(--transition);
}

.site-nav a:hover { color: var(--text-primary); }
.site-nav a:hover::after { right: 0; }

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.webmail-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(240, 214, 154, 0.14);
  border-radius: 100px;
  color: #99958d;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.webmail-tab svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent-gold-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.webmail-tab:hover {
  color: #080808;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  border-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(208, 175, 109, 0.16);
}

.webmail-tab:hover svg { stroke: #080808; }

.lang-switcher {
  display: flex;
  gap: 0.12rem;
  padding: 0.22rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 100px;
}

.lang-btn {
  min-width: auto;
  justify-content: center;
  gap: 0.32rem;
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
  color: #77746e;
  font-size: 0.62rem;
  font-weight: 700;
}

.lang-btn__flag { font-size: 0.78rem; line-height: 1; }
.lang-btn__name { white-space: nowrap; }
.lang-btn__short { display: none; }

.lang-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn.active {
  color: #080808;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  box-shadow: 0 7px 20px rgba(208, 175, 109, 0.16);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta span { color: var(--accent-gold-light); }

.header-cta:hover {
  color: #080808;
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
}

.header-cta:hover span { color: #080808; }

/* Hero ------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: block;
  padding: 9.5rem 0 7rem;
  text-align: left;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(ellipse 45% 42% at 73% 45%, rgba(208, 175, 109, 0.12), transparent 70%),
    radial-gradient(ellipse 38% 30% at 13% 24%, rgba(129, 102, 61, 0.08), transparent 70%),
    linear-gradient(125deg, #070708 15%, #0a0a0c 53%, #070708 88%);
  animation: premiumGlow 11s ease-in-out infinite alternate;
}

.hero::after {
  z-index: -2;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(240, 214, 154, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 214, 154, 0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, black, transparent 93%);
}

@keyframes premiumGlow {
  from { transform: translate3d(-1%, -1%, 0) scale(1); }
  to { transform: translate3d(1%, 1%, 0) scale(1.04); }
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(208, 175, 109, 0.07) 50%, transparent 50.1%),
    radial-gradient(circle at 73% 47%, transparent 0 19rem, rgba(208, 175, 109, 0.06) 19.05rem, transparent 19.15rem);
}

.hero__grid {
  min-height: calc(100svh - 16.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  margin-bottom: 2.4rem;
  border: 0;
  background: none;
  color: #969188;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease 0.1s both;
}

.hero__badge span {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ad29a;
  box-shadow: 0 0 0 6px rgba(154, 210, 154, 0.08), 0 0 18px rgba(154, 210, 154, 0.5);
}

.hero__role {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.38rem;
  margin-bottom: 1.15rem;
  animation: fadeInUp 0.85s ease 0.2s both;
}

.hero__role strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__role span {
  color: var(--accent-gold-light);
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__role a,
.about-title a {
  color: inherit;
  border-bottom: 1px solid rgba(240, 214, 154, 0.35);
}

.hero__role a:hover,
.about-title a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--accent-gold-light);
}

.hero__title {
  margin: 0 0 1.65rem;
  font-size: inherit;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

.hero__title-brand {
  display: block;
  margin-bottom: 0.28rem;
  font-family: var(--font-display);
  font-size: clamp(4.3rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
  background: linear-gradient(112deg, #fffdf7 4%, #dbc69b 47%, #8c7040 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero__title-line {
  display: block;
  max-width: 680px;
  font-size: clamp(2.15rem, 4.25vw, 4.6rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.062em;
  text-wrap: balance;
  animation: fadeInUp 0.9s ease 0.42s both;
}

.hero__subtitle {
  max-width: 640px;
  margin: 0 0 2.35rem;
  color: #99958c;
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  animation: fadeInUp 0.9s ease 0.52s both;
}

.hero__cta {
  justify-content: flex-start;
  gap: 0.8rem;
  animation: fadeInUp 0.9s ease 0.62s both;
}

.btn {
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.btn span { font-size: 1rem; transition: transform var(--transition); }
.btn:hover span { transform: translate(2px, -2px); }

.btn-primary {
  color: #0a0907;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  box-shadow: 0 14px 34px rgba(208, 175, 109, 0.18), inset 0 1px rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  color: #0a0907;
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(208, 175, 109, 0.28), inset 0 1px rgba(255, 255, 255, 0.55);
}

.btn-outline {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(240, 214, 154, 0.18);
}

.btn-outline:hover {
  color: var(--accent-gold-light);
  background: rgba(208, 175, 109, 0.07);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.hero__disciplines {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin-top: 3.7rem;
  animation: fadeInUp 0.9s ease 0.75s both;
}

.hero__disciplines span {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  padding: 0 1.35rem;
  border-left: 1px solid rgba(240, 214, 154, 0.14);
  color: #77736c;
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__disciplines span:first-child { padding-left: 0; border-left: 0; }
.hero__disciplines b { color: var(--accent-gold); font-size: 0.62rem; }

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 530px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: heroVisualIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(35px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: 66%;
  height: 66%;
  border-radius: 50%;
  background: rgba(208, 175, 109, 0.08);
  filter: blur(70px);
}

.hero__orbit {
  position: absolute;
  border: 1px solid rgba(240, 214, 154, 0.13);
  border-radius: 50%;
}

.hero__orbit::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  box-shadow: 0 0 18px rgba(240, 214, 154, 0.8);
}

.hero__orbit--outer {
  inset: 1.5%;
  animation: orbitSpin 34s linear infinite;
}

.hero__orbit--inner {
  inset: 13%;
  border-style: dashed;
  opacity: 0.6;
  animation: orbitSpin 25s linear infinite reverse;
}

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

.logo-stage {
  position: relative;
  z-index: 3;
  width: 69%;
  min-height: 74%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: visible;
  aspect-ratio: auto;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -8% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 175, 109, 0.14), rgba(208, 175, 109, 0.025) 52%, transparent 72%);
  filter: blur(18px);
}

.logo-stage__eyebrow {
  margin-bottom: 0.55rem;
  color: #8f887d;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.38em;
}

.logo-stage__mark {
  width: clamp(160px, 19vw, 230px);
  height: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 22px rgba(208, 175, 109, 0.12));
}

.logo-stage__word {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.17em;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.logo-stage__word span { color: var(--accent-gold); }

.logo-stage p {
  margin-top: 0.62rem;
  color: #8a847a;
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__chip {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(240, 214, 154, 0.2);
  border-radius: 17px;
  color: var(--accent-gold-light);
  background: rgba(12, 12, 14, 0.8);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero__chip--code { left: 4%; top: 25%; animation: chipFloat 5s ease-in-out infinite; }
.hero__chip--design { right: 2%; top: 18%; animation: chipFloat 5.8s ease-in-out 0.7s infinite; }
.hero__chip--seo { right: 5%; bottom: 24%; animation: chipFloat 5.4s ease-in-out 1.2s infinite; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero__qr {
  position: absolute;
  z-index: 8;
  left: -1%;
  bottom: 3%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0.65rem 0.9rem 0.65rem 0.65rem;
  border: 1px solid rgba(240, 214, 154, 0.17);
  border-radius: 18px;
  background: rgba(9, 9, 10, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  animation: fadeInUp 0.8s ease 1s both;
}

.hero__qr .qr-img {
  width: 66px;
  height: 66px;
  border: 1px solid rgba(208, 175, 109, 0.25);
  border-radius: 10px;
  box-shadow: none;
  background: #090909;
}

.hero__qr div { display: flex; flex-direction: column; gap: 0.25rem; }

.hero__qr strong {
  color: var(--accent-gold-light);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
}

.hero__qr span {
  max-width: 120px;
  color: #77736c;
  font-size: 0.62rem;
  line-height: 1.35;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.7rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: #6f6b64;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: none;
  transform: translateX(-50%);
}

.scroll-indicator i {
  position: relative;
  display: block;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(240, 214, 154, 0.12);
}

.scroll-indicator i::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--accent-gold-light);
  animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator::after { display: none; }

@keyframes scrollLine { to { top: 100%; } }

/* Shared sections ------------------------------------------ */

.container {
  width: min(100% - 3rem, 1240px);
  max-width: none;
  padding: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(240, 214, 154, 0.16) 50%, transparent 96%);
}

.section { position: relative; padding: clamp(6rem, 10vw, 10rem) 0; }

.section--alt {
  background:
    radial-gradient(circle at 86% 20%, rgba(208, 175, 109, 0.055), transparent 25rem),
    linear-gradient(180deg, #09090a, #0d0d0f 48%, #09090a);
}

.section__header {
  max-width: 900px;
  margin: 0 0 clamp(3.5rem, 6vw, 5.5rem);
  text-align: left;
}

.section__label {
  position: relative;
  margin-bottom: 1.1rem;
  padding-left: 3.2rem;
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.section__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.3rem;
  height: 1px;
  background: var(--accent-gold);
}

.section__title {
  max-width: 870px;
  margin-bottom: 1.3rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.3vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section__desc {
  max-width: 720px;
  margin: 0;
  color: #8d8981;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 55%),
    rgba(13, 13, 15, 0.84);
  border: 1px solid rgba(240, 214, 154, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.card:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 58%),
    rgba(15, 15, 17, 0.92);
  border-color: rgba(240, 214, 154, 0.28);
  box-shadow: var(--shadow-glow);
}

/* Expertise ------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: stretch;
}

.about-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 4vw, 3.3rem);
  overflow: hidden;
}

.about-card::before {
  content: "B";
  position: absolute;
  top: -5rem;
  right: -1rem;
  color: rgba(208, 175, 109, 0.045);
  font-family: var(--font-display);
  font-size: 24rem;
  line-height: 1;
  pointer-events: none;
}

.about-card__index {
  position: absolute;
  top: 2rem;
  left: 2.2rem;
  color: #5f5c56;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.about-name {
  position: relative;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.about-title {
  position: relative;
  margin-bottom: 1.6rem;
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-text {
  position: relative;
  max-width: 520px;
  color: #918d85;
  line-height: 1.8;
}

.about-card__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(240, 214, 154, 0.12);
  color: var(--text-primary);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.about-card__link span { color: var(--accent-gold); font-size: 1rem; }
.about-card__link:hover { color: var(--accent-gold-light); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.expertise-card {
  position: relative;
  min-height: 250px;
  padding: 1.7rem;
  overflow: hidden;
  border: 1px solid rgba(240, 214, 154, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.expertise-card:first-child { grid-row: span 2; min-height: 516px; }

.expertise-card::after {
  content: "";
  position: absolute;
  left: -25%;
  bottom: -55%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(208, 175, 109, 0.08);
  filter: blur(35px);
  opacity: 0;
  transition: opacity var(--transition);
}

.expertise-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(240, 214, 154, 0.27);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

.expertise-card:hover::after { opacity: 1; }

.expertise-card__number {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  color: #5f5c56;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.expertise-card__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: clamp(3rem, 8vw, 9rem);
  border: 1px solid rgba(240, 214, 154, 0.18);
  border-radius: 15px;
  color: var(--accent-gold-light);
  background: rgba(208, 175, 109, 0.06);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.expertise-card:not(:first-child) .expertise-card__icon { margin-bottom: 2.8rem; }

.expertise-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.expertise-card p {
  position: relative;
  z-index: 1;
  color: #837f78;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Contact -------------------------------------------------- */

.section--contact {
  background:
    radial-gradient(circle at 18% 55%, rgba(208, 175, 109, 0.06), transparent 28rem),
    #080809;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-btn {
  position: relative;
  min-height: 100px;
  gap: 1rem;
  padding: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.026);
  border: 1px solid rgba(240, 214, 154, 0.1);
  border-radius: 18px;
  color: var(--text-primary);
}

.contact-btn::after {
  content: "↗";
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  color: #5f5b54;
  font-size: 0.85rem;
  transition: color var(--transition), transform var(--transition);
}

.contact-btn:hover {
  color: var(--text-primary);
  background: rgba(208, 175, 109, 0.055);
  border-color: rgba(240, 214, 154, 0.26);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.contact-btn:hover::after {
  color: var(--accent-gold-light);
  transform: translate(2px, -2px);
}

.contact-btn__icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(240, 214, 154, 0.13);
  border-radius: 14px;
  background: rgba(208, 175, 109, 0.055) !important;
  font-size: 1.05rem;
}

.contact-btn__icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-btn__label {
  margin-bottom: 0.2rem;
  color: #68655f;
  font-size: 0.59rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.contact-btn__value {
  max-width: 220px;
  overflow: hidden;
  color: #d8d4cd;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Social --------------------------------------------------- */

#social .section__header { margin-bottom: 3rem; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.social-link {
  position: relative;
  min-height: 118px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid rgba(240, 214, 154, 0.1);
  border-radius: 18px;
  color: #a19d94;
  background: rgba(255, 255, 255, 0.025);
}

.social-link::after {
  content: "↗";
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #5d5952;
}

.social-link .icon {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(240, 214, 154, 0.14);
  border-radius: 10px;
  color: var(--accent-gold-light);
  font-family: var(--font-display);
}

.social-link .icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-link:hover {
  color: var(--text-primary);
  background: rgba(208, 175, 109, 0.055);
  border-color: rgba(240, 214, 154, 0.28);
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.social-link:hover::after { color: var(--accent-gold-light); }

/* Footer --------------------------------------------------- */

.footer {
  padding: 3.2rem 0;
  text-align: left;
  background: #060607;
  border-top: 1px solid rgba(240, 214, 154, 0.11);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  flex-direction: initial;
  align-items: center;
  gap: 2rem;
}

.footer__brand { justify-self: start; }
.footer__brand .brand__mark { width: 38px; height: 46px; }

.footer__links {
  gap: 1.25rem;
  justify-content: center;
}

.footer__links a {
  color: #77736c;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.footer__links a:hover { color: var(--accent-gold-light); }

.footer__copy {
  color: #5f5c56;
  font-size: 0.68rem;
}

.footer__meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.footer__developer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(240, 214, 154, 0.13);
  color: #5f5c56;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.footer__developer a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #9a968e;
  transition: color var(--transition), transform var(--transition);
}

.footer__developer strong {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer__e24-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  overflow: hidden;
}

.footer__e24-logo img {
  width: 60px;
  height: 60px;
  max-width: none;
  transform: translate(-15px, -15px);
  filter: drop-shadow(0 5px 10px rgba(236, 0, 24, 0.12));
}

.footer__developer a:hover {
  color: var(--accent-gold-light);
  transform: translateY(-1px);
}

.footer__admin {
  position: absolute;
  right: 1rem;
  bottom: 0.65rem;
  color: #4d4a45;
}

.footer__admin:hover { color: var(--accent-gold); }

/* Motion --------------------------------------------------- */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive ----------------------------------------------- */

@media (max-width: 1100px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr); gap: 2.5rem; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { padding: 0.8rem 0; }
  .site-header__inner { width: min(100% - 2rem, 1240px); }
  .header-cta { display: none; }
  .webmail-tab { width: 38px; min-height: 38px; justify-content: center; padding: 0; }
  .webmail-tab span { display: none; }
  .lang-btn__name { display: none; }
  .lang-btn__short { display: inline; }
  .brand__word { font-size: 0.86rem; }
  .brand__mark { width: 35px; height: 42px; }

  .hero { min-height: auto; padding: 8.5rem 0 5.5rem; }
  .hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }
  .hero__content { max-width: 680px; }
  .hero__visual { width: min(100%, 480px); }
  .scroll-indicator { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-card { min-height: 480px; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .footer__meta { justify-self: end; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 2rem, 1240px); }
  .site-header__inner { width: min(100% - 1.4rem, 1240px); }
  .brand { gap: 0.45rem; }
  .brand__mark { width: 31px; height: 37px; }
  .brand__word { font-size: 0.76rem; letter-spacing: 0.11em; }
  .site-header__actions { gap: 0.4rem; }
  .lang-switcher { border-color: transparent; background: none; }
  .lang-btn { min-width: 2.85rem; padding: 0.3rem 0.38rem; font-size: 0.55rem; }

  .hero { padding-top: 7.5rem; }
  .hero__badge { margin-bottom: 1.8rem; font-size: 0.58rem; }
  .hero__role { line-height: 1.6; }
  .hero__title-brand { font-size: clamp(4.1rem, 22vw, 6.3rem); }
  .hero__title-line { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .hero__subtitle { font-size: 0.96rem; line-height: 1.65; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: space-between; width: 100%; }
  .hero__disciplines { grid-template-columns: 1fr; gap: 0.85rem; margin-top: 2.8rem; }
  .hero__disciplines span { padding: 0; border: 0; }

  .hero__visual { width: min(100%, 380px); margin-top: -1rem; }
  .hero__chip { width: 45px; height: 45px; border-radius: 13px; font-size: 0.9rem; }
  .logo-stage { width: 74%; min-height: 76%; padding: 0.8rem; }
  .logo-stage__mark { width: 145px; }
  .logo-stage__word { font-size: 1.45rem; }
  .logo-stage p { font-size: 0.48rem; }
  .hero__qr { left: 0; bottom: -1%; padding: 0.45rem; }
  .hero__qr .qr-img { width: 54px; height: 54px; }
  .hero__qr div { display: none; }

  .section { padding: 5.5rem 0; }
  .section__header { margin-bottom: 3rem; }
  .section__title { font-size: clamp(2.65rem, 14vw, 4rem); }
  .section__desc { font-size: 0.95rem; }

  .about-card { min-height: 440px; padding: 1.5rem; }
  .about-card__index { top: 1.5rem; left: 1.5rem; }
  .about-card::before { font-size: 18rem; }
  .about-title { line-height: 1.6; }
  .about-card__link { font-size: 0.72rem; }

  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card,
  .expertise-card:first-child { grid-row: auto; min-height: 270px; }
  .expertise-card__icon,
  .expertise-card:not(:first-child) .expertise-card__icon { margin-bottom: 3.5rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-btn { min-height: 92px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-link { min-height: 108px; padding: 1rem; font-size: 0.75rem; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand,
  .footer__meta { justify-self: start; }
  .footer__links { grid-column: auto; grid-row: auto; justify-content: flex-start; }
  .footer__meta { flex-direction: column; align-items: flex-start; gap: 0.7rem; white-space: normal; }
  .footer__developer { padding-left: 0; border-left: 0; }
}

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

  .animate-on-scroll { opacity: 1; transform: none; }
  .cursor-aura { display: none; }
}
