:root {
  --bg: #f1eee7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #16202b;
  --muted: #5b6773;
  --line: rgba(22, 32, 43, 0.10);
  --brand: #1f5f5b;
  --brand-dark: #102f2d;
  --accent: #d7a046;
  --shadow: 0 18px 48px rgba(18, 32, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 160, 70, 0.18), transparent 30%),
    radial-gradient(circle at right 20%, rgba(31, 95, 91, 0.10), transparent 24%),
    linear-gradient(180deg, #f7f4ee 0%, #f1eee8 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 95, 91, 0.28), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(215, 160, 70, 0.24), transparent 18%),
    radial-gradient(circle at 65% 72%, rgba(31, 95, 91, 0.18), transparent 24%),
    radial-gradient(circle at 32% 82%, rgba(215, 160, 70, 0.18), transparent 20%);
  filter: blur(10px);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: ambientFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.scene-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 17, 0.96), rgba(10, 28, 27, 0.9)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 16px
    ),
    radial-gradient(circle at 20% 20%, rgba(110, 164, 154, 0.18), transparent 30%),
    radial-gradient(circle at 80% 24%, rgba(227, 188, 109, 0.14), transparent 28%);
  overflow: hidden;
  transform: scale(1.02);
}

.scene-transition::before,
.scene-transition::after,
.scene-transition .transition-rain {
  content: "01011010010100110100101101011010010101100101001011010010101100100110100101101001010110010100110100101010010110010100110100101101001011010010101100101010011010010110100101011001010011010010110100101101001010110010101001101001011010010101100101001101001011010010101100101010011010010110100101011001010011010010010110100101001101001011010010101100101010011010010110100101100101001101001011010010101100101010011010010110100101011001010011010010";
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 8.6%;
  color: rgba(221, 250, 244, 0.5);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 0.74;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-shadow:
    0 0 10px rgba(144, 241, 220, 0.28),
    0 0 24px rgba(144, 241, 220, 0.18);
  opacity: 0;
}

.scene-transition::before {
  left: -1%;
}

.scene-transition::after {
  right: -1%;
}

.scene-transition .transition-rain:nth-of-type(1) { left: 7%; }
.scene-transition .transition-rain:nth-of-type(2) { left: 15%; }
.scene-transition .transition-rain:nth-of-type(3) { left: 23%; }
.scene-transition .transition-rain:nth-of-type(4) { left: 31%; }
.scene-transition .transition-rain:nth-of-type(5) { left: 39%; }
.scene-transition .transition-rain:nth-of-type(6) { left: 47%; }
.scene-transition .transition-rain:nth-of-type(7) { left: 55%; }
.scene-transition .transition-rain:nth-of-type(8) { left: 63%; }
.scene-transition .transition-rain:nth-of-type(9) { left: 71%; }
.scene-transition .transition-rain:nth-of-type(10) { left: 79%; }
.scene-transition .transition-rain:nth-of-type(11) { left: 87%; }

body.is-transitioning .scene-transition {
  animation: sceneWash 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.is-transitioning .scene-transition::before {
  animation: matrixColumnLeft 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.is-transitioning .scene-transition .transition-rain {
  animation: matrixColumnCenter 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.is-transitioning .scene-transition .transition-rain:nth-of-type(1),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(4),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(7),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(10) {
  animation: matrixColumnLeft 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
  animation-delay: 40ms;
}

body.is-transitioning .scene-transition .transition-rain:nth-of-type(2),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(5),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(8),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(11) {
  animation: matrixColumnRight 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
  animation-delay: 70ms;
}

body.is-transitioning .scene-transition .transition-rain:nth-of-type(3),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(6),
body.is-transitioning .scene-transition .transition-rain:nth-of-type(9) {
  animation: matrixColumnCenter 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
  animation-delay: 25ms;
}

body.is-transitioning .scene-transition::after {
  animation: matrixColumnRight 860ms cubic-bezier(0.2, 0.9, 0.2, 1);
  animation-delay: 30ms;
}

body.is-transitioning .page-shell {
  filter: blur(1.5px) saturate(0.92);
}

.data-rain {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 0.4vw;
  padding: 0 1vw;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.48;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 18%, rgba(0, 0, 0, 0.85) 78%, transparent 100%);
}

.data-column {
  justify-self: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(25, 96, 91, 0.24);
  text-shadow: 0 0 12px rgba(31, 95, 91, 0.12);
  animation: dataFall linear infinite;
}

.data-column:nth-child(1) { animation-duration: 18s; animation-delay: -2s; }
.data-column:nth-child(2) { animation-duration: 14s; animation-delay: -7s; }
.data-column:nth-child(3) { animation-duration: 20s; animation-delay: -5s; }
.data-column:nth-child(4) { animation-duration: 16s; animation-delay: -10s; }
.data-column:nth-child(5) { animation-duration: 22s; animation-delay: -3s; }
.data-column:nth-child(6) { animation-duration: 15s; animation-delay: -8s; }
.data-column:nth-child(7) { animation-duration: 19s; animation-delay: -4s; }
.data-column:nth-child(8) { animation-duration: 17s; animation-delay: -11s; }
.data-column:nth-child(9) { animation-duration: 13s; animation-delay: -6s; }
.data-column:nth-child(10) { animation-duration: 21s; animation-delay: -9s; }
.data-column:nth-child(11) { animation-duration: 16s; animation-delay: -1s; }
.data-column:nth-child(12) { animation-duration: 24s; animation-delay: -12s; }
.data-column:nth-child(13) { animation-duration: 15s; animation-delay: -4s; }
.data-column:nth-child(14) { animation-duration: 19s; animation-delay: -7s; }
.data-column:nth-child(15) { animation-duration: 17s; animation-delay: -2s; }
.data-column:nth-child(16) { animation-duration: 23s; animation-delay: -10s; }
.data-column:nth-child(17) { animation-duration: 14s; animation-delay: -5s; }
.data-column:nth-child(18) { animation-duration: 20s; animation-delay: -8s; }
.data-column:nth-child(19) { animation-duration: 12s; animation-delay: -3s; }
.data-column:nth-child(20) { animation-duration: 22s; animation-delay: -11s; }
.data-column:nth-child(21) { animation-duration: 18s; animation-delay: -6s; }
.data-column:nth-child(22) { animation-duration: 16s; animation-delay: -9s; }
.data-column:nth-child(23) { animation-duration: 21s; animation-delay: -4s; }
.data-column:nth-child(24) { animation-duration: 15s; animation-delay: -12s; }

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34vw;
  height: 34vw;
  min-width: 240px;
  min-height: 240px;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

.page-shell::before {
  top: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(31, 95, 91, 0.22), rgba(31, 95, 91, 0.04) 55%, transparent 72%);
  animation: orbDriftOne 16s ease-in-out infinite alternate;
}

.page-shell::after {
  bottom: 2%;
  left: -8%;
  background: radial-gradient(circle, rgba(215, 160, 70, 0.24), rgba(215, 160, 70, 0.05) 54%, transparent 74%);
  animation: orbDriftTwo 18s ease-in-out infinite alternate;
}

.page-shell {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 22px 20px 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(22, 32, 43, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-name,
.brand-tag,
.eyebrow,
.panel-label,
.contact-note {
  margin: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-tag {
  font-size: 0.82rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.nav-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  position: relative;
  padding: 11px 16px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-tab::after {
  content: "";
  position: absolute;
  inset: auto 12px 8px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-tab:hover,
.nav-tab.is-active {
  background: rgba(31, 95, 91, 0.08);
  color: var(--brand-dark);
}

.nav-tab:hover::after,
.nav-tab.is-active::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  min-width: 52px;
  padding: 12px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-btn:hover,
.lang-btn.is-active {
  background: rgba(31, 95, 91, 0.08);
  color: var(--brand-dark);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 34px 0 22px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.trust-strip,
.info-card,
.accent-section,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76)),
    linear-gradient(135deg, rgba(31, 95, 91, 0.12), rgba(215, 160, 70, 0.08));
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 95, 91, 0.14), transparent 70%);
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 1.9vw, 1.85rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 24ch;
  font-weight: 600;
}

.hero-text {
  max-width: 24ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-copy .hero-actions {
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.panel-badge,
.mini-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.tab-section {
  padding-top: 12px;
}

.pillar-system {
  position: relative;
  padding-top: 292px;
  isolation: isolate;
}

.pillar-roof {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 368px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(16, 50, 48, 0.99), rgba(77, 145, 138, 0.86));
  border: 1px solid rgba(31, 95, 91, 0.24);
  box-shadow: var(--shadow);
  pointer-events: none;
  z-index: 0;
}

.pillar-roof::before {
  content: "";
  position: absolute;
  inset: 18px 18px 42px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 52%);
}

.pillar-roof::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -6px;
  height: 34px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 52, 49, 0.98), rgba(90, 155, 149, 0.82));
  box-shadow: 0 10px 18px rgba(18, 32, 43, 0.10);
}

.pillar-roof-grid {
  position: absolute;
  inset: 56px 6% 38px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 3px,
      transparent 3px,
      transparent 34px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 70%);
  opacity: 0.95;
}

.pillar-foundation {
  margin-top: 14px;
  height: 36px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(198, 215, 211, 0.9));
  border: 1px solid rgba(31, 95, 91, 0.14);
  box-shadow: var(--shadow);
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.service-tab {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: 0 20px 54px;
  border-radius: 30px;
  border: 1px solid rgba(31, 95, 91, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 243, 0.92));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.service-tab::before {
  content: "";
  position: absolute;
  inset: 138px 0 44px;
  border-radius: 0 0 22px 22px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(18, 47, 45, 0.07) 0,
      rgba(18, 47, 45, 0.07) 3px,
      rgba(255, 255, 255, 0.58) 3px,
      rgba(255, 255, 255, 0.58) 14px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(31, 95, 91, 0.04));
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(31, 95, 91, 0.08);
  opacity: 0.9;
}

.service-tab::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 18px;
  border-radius: 18px 18px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(205, 220, 216, 0.92));
  border: 1px solid rgba(31, 95, 91, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.service-tab:hover {
  transform: translateY(-10px);
  border-color: rgba(31, 95, 91, 0.34);
  box-shadow: 0 24px 54px rgba(18, 32, 43, 0.14);
}

.service-tab.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 243, 0.94));
  border-color: rgba(31, 95, 91, 0.22);
}

.service-bar {
  width: calc(100% + 40px);
  height: 132px;
  margin: 0 -20px 6px;
  background:
    linear-gradient(180deg, rgba(31, 95, 91, 0.92), rgba(56, 120, 114, 0.76));
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.service-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.02));
}

.service-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-100%);
  animation: barSweep 4.4s ease-in-out infinite;
}

.service-tab-label {
  position: relative;
  z-index: 1;
  margin: -102px 0 74px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 1px 8px rgba(16, 47, 45, 0.28);
}

.service-tab p:last-child {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 16ch;
  padding-bottom: 18px;
}

.service-tab h3 {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  margin-bottom: 20px;
}

.service-tab-label,
.service-tab h3,
.service-tab p:last-child {
  padding-left: 20px;
  padding-right: 20px;
}

.hero-panel {
  padding: 24px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(19, 40, 38, 0.96), rgba(16, 47, 45, 0.88)),
    linear-gradient(135deg, rgba(215, 160, 70, 0.14), transparent);
  color: #eff5f4;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 160, 70, 0.38), transparent 70%);
}

.panel-label {
  font-weight: 800;
  color: #eff5f4;
}

.panel-badge {
  margin-bottom: 18px;
  color: #eff5f4;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  width: fit-content;
}

.panel-list {
  display: grid;
  gap: 14px;
  padding-left: 20px;
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.panel-list-plain {
  padding-left: 0;
  list-style: none;
}

.panel-list-plain li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  z-index: 1;
}

.panel-list-plain span,
.hero-metric span {
  color: rgba(239, 245, 244, 0.76);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.trust-strip div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.trust-strip span,
.info-card p,
.step p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding-top: 56px;
}

.tab-panels {
  position: relative;
}

.content-panel {
  display: none;
}

.content-panel.is-active {
  display: block;
}

.scene-panel {
  min-height: calc(100vh - 140px);
}

.services-scene,
.profile-scene,
.contact-scene {
  padding-top: 34px;
}

.panel-spacer {
  margin-top: 20px;
}

.offer-grid {
  display: grid;
  gap: 20px;
}

.value-card,
.offer-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.mini-label,
.mini-label {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.section-heading {
  max-width: 560px;
  margin-bottom: 18px;
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

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

.info-card {
  padding: 22px;
  border-radius: 22px;
}

.info-card h3,
.step h3,
.offer-card h3,
.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}

.profile-avatar-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-avatar-wrap::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 163, 156, 0.34), rgba(123, 163, 156, 0.06) 58%, transparent 72%);
  filter: blur(6px);
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  height: auto;
  object-fit: cover;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.18));
}

.profile-intro {
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.profile-list {
  margin: 18px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.profile-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.5;
}

.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(31, 95, 91, 0.95), rgba(90, 155, 149, 0.88));
  box-shadow: 0 0 0 4px rgba(31, 95, 91, 0.08);
}

.offer-card {
  padding: 22px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.accent-section {
  padding: 24px;
  border-radius: 26px;
}

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

.step {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-strong);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  padding: 24px;
  border-radius: 26px;
}

.contact-card-minimal {
  min-height: 260px;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-card-minimal .contact-actions {
  width: 100%;
  justify-content: center;
}

.contact-card-minimal .button {
  min-width: 320px;
}

.contact-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 40px 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .contact-card,
  .steps,
  .trust-strip,
  .card-grid,
  .offer-grid,
  .service-tabs {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .data-rain {
    grid-template-columns: repeat(16, minmax(0, 1fr));
    opacity: 0.42;
  }

  .service-tab {
    min-height: 320px;
  }

  .pillar-system {
    padding-top: 216px;
  }

  .pillar-roof {
    height: 272px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 12px 12px 48px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .header-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .nav-tab,
  .lang-btn {
    min-width: 0;
    padding: 11px 10px;
    font-size: 0.92rem;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .hero-copy,
  .hero-panel,
  .accent-section,
  .contact-card,
  .profile-intro {
    padding: 18px;
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.9rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .trust-strip {
    padding: 10px;
    gap: 10px;
  }

  .data-rain {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    opacity: 0.18;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-card-minimal .button {
    min-width: 0;
  }

  .button {
    width: 100%;
  }

  .profile-avatar-wrap {
    min-height: 220px;
    border-radius: 22px;
  }

  .profile-avatar {
    width: 152px;
    height: 152px;
  }

  .profile-avatar-wrap::before {
    width: 170px;
    height: 170px;
  }

  .service-tabs,
  .card-grid,
  .offer-grid,
  .steps {
    gap: 10px;
  }

  .services-scene,
  .profile-scene,
  .contact-scene {
    padding-top: 20px;
  }

  .pillar-system {
    padding-top: 24px;
  }

  .pillar-roof,
  .pillar-foundation {
    display: none;
  }

  .service-tab {
    min-height: 0;
    padding: 0 16px 34px;
    border-radius: 20px;
  }

  .service-tab::before {
    inset: 102px 0 32px;
  }

  .service-tab::after {
    left: 14px;
    right: 14px;
    bottom: 10px;
    height: 20px;
  }

  .service-bar {
    width: calc(100% + 32px);
    height: 94px;
    margin: 0 -16px 4px;
  }

  .service-tab-label {
    margin: -76px 0 56px;
    font-size: 0.92rem;
  }

  .trust-strip div,
  .info-card,
  .offer-card,
  .step {
    padding: 16px;
    border-radius: 18px;
  }
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(4%, -3%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-4%, 2%, 0) scale(1.05);
  }
}

@keyframes sceneWash {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }

  18% {
    opacity: 1;
    transform: scale(1);
  }

  62% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes matrixColumnLeft {
  0% {
    opacity: 0;
    transform: translateY(-18%) translateX(-4%);
  }

  22% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }

  68% {
    opacity: 1;
    transform: translateY(12%) translateX(2%);
  }

  100% {
    opacity: 0;
    transform: translateY(28%) translateX(4%);
  }
}

@keyframes matrixColumnRight {
  0% {
    opacity: 0;
    transform: translateY(14%) translateX(4%);
  }

  22% {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }

  68% {
    opacity: 1;
    transform: translateY(-12%) translateX(-2%);
  }

  100% {
    opacity: 0;
    transform: translateY(-28%) translateX(-4%);
  }
}

@keyframes matrixColumnCenter {
  0% {
    opacity: 0;
    transform: translateY(-10%) scaleY(0.92);
  }

  20% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }

  70% {
    opacity: 1;
    transform: translateY(10%) scaleY(1.02);
  }

  100% {
    opacity: 0;
    transform: translateY(22%) scaleY(1.06);
  }
}


@keyframes dataFall {
  0% {
    transform: translateY(-120%);
  }

  100% {
    transform: translateY(120%);
  }
}

@keyframes barSweep {
  0% {
    transform: translateX(-100%);
  }

  45%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes orbDriftOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-8%, 6%, 0) scale(1.12);
  }
}

@keyframes orbDriftTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(10%, -8%, 0) scale(1.1);
  }
}
