:root {
  --bg: #090909;
  --bg-2: #101010;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.03);
  --text: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.74);
  --muted-soft: rgba(245, 241, 232, 0.54);
  --yellow: #f1bb17;
  --yellow-soft: rgba(241, 187, 23, 0.14);
  --yellow-soft-2: rgba(241, 187, 23, 0.08);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
  --anchor-offset: 118px;
  --section-gap: 54px;
  --ease: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(241, 187, 23, 0.10), transparent 20%),
    radial-gradient(circle at 100% 18%, rgba(241, 187, 23, 0.07), transparent 18%),
    linear-gradient(180deg, #141108 0%, #0d0d0d 16%, #090909 55%, #0d0d0d 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10001;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(circle at center, rgba(241, 187, 23, 0.08), transparent 26%),
    #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introFadeOut 0.9s ease 2.5s forwards;
}

.intro-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.intro-logo {
  width: min(72vw, 460px);
  opacity: 0;
  transform: scale(0.95);
  filter: drop-shadow(0 0 34px rgba(241, 187, 23, 0.09));
  animation: introLogoIn 1.1s ease 0.2s forwards;
}

@keyframes introLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(9, 9, 9, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  transition: transform var(--ease);
}

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

.brand-logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.04);
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand-copy span {
  display: block;
  font-size: 0.80rem;
  color: var(--muted);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(245, 241, 232, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--ease), transform var(--ease);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ease);
}

.nav a:hover {
  color: var(--yellow);
  transform: translateY(-1px);
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), filter var(--ease), box-shadow var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: #090909;
  box-shadow: 0 12px 30px rgba(241, 187, 23, 0.18);
}

.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(241, 187, 23, 0.22);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(241, 187, 23, 0.18);
}

.section-block {
  position: relative;
  scroll-margin-top: var(--anchor-offset);
}

.section-block + .section-block {
  margin-top: var(--section-gap);
}

.section-divider {
  width: min(100% - 32px, 1120px);
  height: 92px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(241, 187, 23, 0.08) 20%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(241, 187, 23, 0.08) 80%,
    transparent 100%
  );
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.section-divider::after {
  content: "";
  width: 82px;
  height: 82px;
  background-image: url("logo-latribu.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.07;
  filter: grayscale(0.1) blur(0.2px);
  border-radius: 50%;
}

.hero {
  padding: 34px 0 0;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(140deg, rgba(17,17,17,0.96), rgba(10,10,10,0.94));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.hero-shell::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -130px;
  top: -120px;
  border-radius: 50%;
  background: rgba(241, 187, 23, 0.08);
}

.hero-shell::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(241, 187, 23, 0.05);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 68px 56px 60px;
  justify-items: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--yellow-soft);
  border: 1px solid rgba(241, 187, 23, 0.12);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5.3vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.09em;
  max-width: 11ch;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  max-width: 60ch;
  font-size: 1.07rem;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-highlight {
  margin-top: 24px;
  font-size: clamp(1.06rem, 2vw, 1.36rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.03em;
  max-width: 30ch;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.hero-point {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.84);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.hero-point:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 187, 23, 0.18);
  background: rgba(255,255,255,0.065);
}

section {
  padding: 0;
}

.section-head {
  margin-bottom: 18px;
  padding-inline: 2px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 72ch;
  color: var(--muted);
  text-wrap: pretty;
}

.section-shell {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(241, 187, 23, 0.04);
  filter: blur(18px);
  transform: translate(-35%, -35%);
  pointer-events: none;
}

.services-grid,
.price-grid,
.team-grid,
.contact-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.price-card,
.team-card,
.contact-card,
.legal-card {
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.service-card {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 187, 23, 0.18);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  text-wrap: pretty;
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(241, 187, 23, 0.10);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 187, 23, 0.20);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.price-card h3 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.price-value {
  margin: 0 0 10px;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.info-banner {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(241,187,23,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(241,187,23,0.10);
  border-radius: 24px;
  padding: 22px;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.info-banner strong {
  color: var(--yellow);
}

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

.team-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 88px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  opacity: 0.9;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(241, 187, 23, 0.18);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.30);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.045));
}

.team-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.team-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(241, 187, 23, 0.18);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  flex: 0 0 auto;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.team-card:hover .team-photo {
  transform: scale(1.03);
  border-color: rgba(241, 187, 23, 0.30);
  box-shadow: 0 14px 28px rgba(0,0,0,0.28);
}

.team-photo-placeholder {
  display: grid;
  place-items: center;
  color: #f1bb17;
  font-weight: 800;
  font-size: 1.2rem;
  background: rgba(241,187,23,0.12);
}

.team-copy {
  min-width: 0;
}

.team-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.team-role {
  margin-top: 4px;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 700;
}

.team-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(245,241,232,0.82);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  text-wrap: pretty;
}

.contact-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.contact-card {
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.contact-card:hover {
  border-color: rgba(241, 187, 23, 0.14);
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.contact-card p {
  margin: 0 0 18px;
  color: var(--muted);
  text-wrap: pretty;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease), transform var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245,241,232,0.44);
}

input:focus,
textarea:focus {
  border-color: rgba(241,187,23,0.40);
  box-shadow: 0 0 0 4px rgba(241,187,23,0.10);
  background: rgba(255,255,255,0.05);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.form-note {
  color: var(--muted-soft);
  font-size: 0.88rem;
}

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

.legal-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(241,187,23,0.10);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.legal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 187, 23, 0.18);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.26);
}

.legal-card h3 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.legal-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 8px;
}

.footer {
  padding: 36px 0 48px;
}

.footer-inner {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  transition: color var(--ease), transform var(--ease);
}

.footer-links a:hover {
  color: var(--yellow);
  transform: translateY(-1px);
}

@media (max-width: 1080px) {
  .services-grid,
  .price-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --anchor-offset: 100px;
    --section-gap: 40px;
  }

  .nav {
    display: none;
  }

  .topbar-inner {
    min-height: 78px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .hero-grid {
    padding: 38px 24px 34px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .hero-copy p,
  .hero-highlight {
    max-width: 100%;
  }

  .services-grid,
  .price-grid,
  .team-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .section-shell,
  .contact-card,
  .legal-card,
  .team-card,
  .price-card {
    padding: 22px;
  }

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

  .hero-point,
  .btn {
    width: 100%;
  }

  .brand-copy span {
    display: none;
  }

  .intro-logo {
    width: min(80vw, 360px);
  }

  .team-head {
    align-items: flex-start;
  }

  .team-photo {
    width: 78px;
    height: 78px;
  }

  .section-divider {
    height: 72px;
  }

  .section-divider::after {
    width: 62px;
    height: 62px;
    opacity: 0.06;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .intro-screen {
    display: none;
  }
}