@font-face {
  font-family: "Dino";
  src: url("assets/fonts/dino.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Zarafxana";
  src: url("assets/fonts/zarafxana.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "BPG Nino Mtavruli Bold";
  src: url("assets/fonts/bpg_nino_mtavruli_bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #070707;
  --bg-soft: #121212;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --accent: #8e0f16;
  --accent-bright: #c51f28;
  --accent-soft: rgba(197, 31, 40, 0.2);
  --text: #f7f1eb;
  --muted: #bfb6af;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Dino", "Noto Sans Georgian", sans-serif;
  --font-body: "Zarafxana", "Noto Sans Georgian", sans-serif;
  --font-hero: "BPG Nino Mtavruli Bold", "Dino", "Noto Sans Georgian", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(197, 31, 40, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #0c0c0c 0%, #070707 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

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

button,
a,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 18% 0%, rgba(197, 31, 40, 0.18), transparent 34%),
    rgba(14, 9, 11, 0.92);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(197, 31, 40, 0.95), rgba(140, 15, 22, 0.55), rgba(197, 31, 40, 0));
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(197, 31, 40, 0.42), rgba(255, 255, 255, 0.06), rgba(197, 31, 40, 0.18));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f1eb 0%, #e6dbd3 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.brand-mark img {
  width: 40px;
  display: block;
  mix-blend-mode: multiply;
  transform: translateX(-1px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong,
.section-heading h2,
.mission-panel h2,
.contact-copy h2,
.service-card h3,
.audience-card h3,
.specialist-copy h3,
.contact-card strong,
.site-footer p {
  font-family: var(--font-display);
}

.brand-copy strong {
  font-family: var(--font-hero);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  padding: 10px 0;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-bright), #eb4949);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a,
.button {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
  padding: 48px 0 72px;
}

.section-tag {
  margin: 0 0 14px;
  color: #d6c7be;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-quote {
  margin: 0;
  display: grid;
  gap: 8px;
  padding-left: 20px;
  border-left: 3px solid var(--accent-bright);
  font-family: var(--font-hero);
  font-size: clamp(1.45rem, 3.8vw, 2.8rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.7;
}

.hero-lead span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff7f2;
  box-shadow: 0 18px 40px rgba(142, 15, 22, 0.35);
}

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

.button-wide {
  min-width: min(100%, 320px);
  padding-inline: 26px;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}

.hero-highlights li {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  color: #ebe2dc;
  font-size: 1.04rem;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(26px) scale(0.96);
  transition:
    transform 380ms cubic-bezier(0.22, 0.85, 0.22, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    opacity 420ms ease,
    filter 420ms ease;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -18%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 31, 40, 0.18), transparent 72%);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 260ms ease,
    transform 360ms ease;
}

.hero-highlights li::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -38%;
  width: 34%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transform: skewX(-18deg);
  transition: opacity 220ms ease;
}

.hero-highlights li.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.hero-highlights li:nth-child(1) {
  transition-delay: 0ms;
}

.hero-highlights li:nth-child(2) {
  transition-delay: 70ms;
}

.hero-highlights li:nth-child(3) {
  transition-delay: 140ms;
}

.hero-highlights li:nth-child(4) {
  transition-delay: 210ms;
}

.hero-highlights li:nth-child(5) {
  transition-delay: 280ms;
}

.hero-highlights li:nth-child(6) {
  transition-delay: 350ms;
}

.hero-highlights li:hover,
.hero-highlights li:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(197, 31, 40, 0.08);
  transform: translateY(-6px) scale(1.015);
}

.hero-highlights li:hover::before,
.hero-highlights li:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.hero-highlights li:hover::after,
.hero-highlights li:focus-within::after {
  opacity: 1;
  animation: hero-highlight-shimmer 720ms ease;
}

.hero-highlight-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf5;
  transition:
    transform 320ms cubic-bezier(0.22, 0.85, 0.22, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-highlight-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 320ms cubic-bezier(0.22, 0.85, 0.22, 1);
}

.hero-highlight-text {
  display: block;
}

.hero-highlights li:hover .hero-highlight-icon,
.hero-highlights li:focus-within .hero-highlight-icon {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 8px rgba(197, 31, 40, 0.08);
  transform: translateY(-1px) scale(1.08);
}

.hero-highlights li:hover .hero-highlight-icon svg,
.hero-highlights li:focus-within .hero-highlight-icon svg {
  transform: rotate(8deg) scale(1.05);
}

@keyframes hero-highlight-shimmer {
  from {
    left: -38%;
  }

  to {
    left: 126%;
  }
}

.hero-visual {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.beam {
  position: absolute;
  inset: 18px auto 18px 50%;
  width: min(26vw, 180px);
  transform: translateX(-50%);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(197, 31, 40, 0.92) 0%, rgba(102, 8, 14, 0.82) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 34px 70px rgba(110, 7, 13, 0.28);
}

.beam::after {
  content: "";
  position: absolute;
  inset: auto -48px 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0), rgba(7, 7, 7, 1));
}

.poster-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
}

.hero-carousel-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: min(100%, 470px);
  margin: auto;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transform-origin: center center;
  transition:
    transform 420ms cubic-bezier(0.22, 0.85, 0.22, 1),
    opacity 320ms ease,
    filter 360ms ease,
    box-shadow 360ms ease;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  border-radius: 22px;
}

.hero-slide.is-active {
  z-index: 3;
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) scale(1);
  cursor: default;
}

.hero-slide.is-prev {
  z-index: 1;
  opacity: 0.38;
  filter: blur(4px) saturate(0.72);
  transform: translateX(-18%) scale(0.88) rotate(-6deg);
}

.hero-slide.is-next {
  z-index: 1;
  opacity: 0.38;
  filter: blur(4px) saturate(0.72);
  transform: translateX(18%) scale(0.88) rotate(6deg);
}

.hero-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.82);
}

.hero-carousel-controls {
  position: relative;
  z-index: 4;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-carousel-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  color: #fff7f2;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.hero-carousel-button:hover,
.hero-carousel-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(26, 26, 26, 0.82);
}

.hero-carousel-button svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

.hero-carousel-dot.is-active {
  transform: scale(1.35);
  background: #fff7f2;
}

.hero-carousel-dot.is-adjacent {
  background: rgba(255, 255, 255, 0.54);
}

.section {
  position: relative;
  padding: 74px 0;
  scroll-margin-top: 28px;
}

.section.is-targeted {
  animation: section-arrival 760ms cubic-bezier(0.2, 0.85, 0.22, 1);
}

@keyframes section-arrival {
  0% {
    opacity: 0.72;
    transform: translateY(22px) scale(0.988);
  }

  55% {
    opacity: 1;
    transform: translateY(-4px) scale(1);
  }

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

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.04;
  text-wrap: balance;
}

.mission-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.about-grid,
.mission-services,
.contact {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.about-copy,
.about-note,
.mission-panel,
.service-card,
.audience-card,
.specialist-card,
.contact-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.about-copy,
.about-note,
.mission-panel {
  border-radius: 28px;
  padding: 24px;
}

.about-copy p,
.mission-panel p,
.contact-copy p,
.specialist-copy p,
.service-card p,
.audience-card p,
.about-note p {
  margin: 0;
  color: var(--muted);
}

.about-copy {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
}

.about-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent-bright), transparent);
}

.about-note {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
}

.about-note::before,
.mission-panel::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent-bright), transparent);
}

.note-label {
  margin: 0 0 12px;
  color: #f5ece4;
  font-size: 1rem;
}

.mission-services {
  position: relative;
  isolation: isolate;
  grid-template-columns: 1fr;
  align-items: start;
}

.mission-services::before {
  content: "";
  position: absolute;
  inset: 28px 8% auto;
  height: 220px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 50%, rgba(197, 31, 40, 0.18), transparent 34%),
    radial-gradient(circle at 75% 45%, rgba(140, 15, 22, 0.14), transparent 32%);
  filter: blur(34px);
  opacity: 0.9;
  z-index: -1;
}

.services-heading {
  margin-bottom: 0;
  max-width: 920px;
}

.services-heading h2 {
  text-shadow:
    0 0 18px rgba(197, 31, 40, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-banner-section {
  padding: 0 0 24px;
}

.about-banner-card {
  width: min(100%, 860px);
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.about-banner-card img {
  width: 100%;
  display: block;
}

.mission-panel {
  position: relative;
  min-height: 100%;
}

.services-panel,
.audience-grid,
.specialists-grid,
.contact-links {
  display: grid;
  gap: 18px;
}

.services-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.service-card,
.audience-card {
  border-radius: 24px;
  padding: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top left, rgba(197, 31, 40, 0.12), transparent 36%),
    rgba(22, 18, 19, 0.92);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 26px rgba(140, 15, 22, 0.09);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(197, 31, 40, 0.6), rgba(255, 255, 255, 0.06), rgba(197, 31, 40, 0.22));
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -34% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 31, 40, 0.12), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.service-card h3,
.audience-card h3,
.specialist-copy h3 {
  margin: 0;
  font-size: 1.18rem;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(197, 31, 40, 0.08);
  color: #fff8f2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 20px rgba(197, 31, 40, 0.08);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

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

.audience-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.audience-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf5;
}

.audience-icon svg {
  width: 22px;
  height: 22px;
}

.audience-card {
  position: relative;
  overflow: hidden;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
}

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

.specialist-card {
  overflow: hidden;
  border-radius: 30px;
}

.specialist-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: linear-gradient(180deg, #191919 0%, #0b0b0b 100%);
  padding: 16px;
}

.specialist-copy {
  display: grid;
  gap: 14px;
  padding: 0 24px 24px;
}

.role {
  margin: 0;
  color: #efe3dc;
  font-weight: 600;
}

.specialist-summary {
  font-size: 0.98rem;
}

.specialist-badge {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff7f2;
  box-shadow:
    0 16px 30px rgba(142, 15, 22, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.specialist-badge span {
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: rgba(255, 247, 242, 0.92);
}

.specialist-badge strong {
  font-size: 1rem;
  line-height: 1.35;
}

.specialist-meta {
  display: grid;
  gap: 10px;
}

.specialist-detail {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.specialist-detail span {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.specialist-detail strong {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  word-break: break-word;
}

.specialist-detail:hover,
.specialist-detail:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.button-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.contact {
  position: relative;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border-radius: 32px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(140, 15, 22, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy h2,
.contact-copy > p,
.team-offer > p {
  font-family: var(--font-hero);
}

.team-offer {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.team-offer-link {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: #f5ece4;
  font-weight: 600;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.team-offer-link:hover,
.team-offer-link:focus-visible {
  color: #ffffff;
}

.contact-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
}

.contact-card {
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top left, rgba(197, 31, 40, 0.12), transparent 40%),
    rgba(20, 15, 17, 0.92);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.2),
    0 0 28px rgba(140, 15, 22, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fffaf5;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card span {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.contact-card strong {
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-card-email strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-card-title-ge {
  font-family: var(--font-hero) !important;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.22),
    0 0 34px rgba(197, 31, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.nav-transition.is-active {
  opacity: 1;
}

.nav-transition__trail,
.nav-transition__ball {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity;
  transform: translate3d(-160px, -160px, 0);
}

.nav-transition__trail {
  width: 140px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.42),
    rgba(197, 31, 40, 0.16)
  );
  filter: blur(10px);
  opacity: 0;
  transform-origin: left center;
}

.nav-transition__ball {
  width: clamp(108px, 11vw, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fffaf5;
  opacity: 0;
  filter:
    drop-shadow(0 12px 28px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 22px rgba(197, 31, 40, 0.18));
}

.nav-transition__ball-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
  user-select: none;
  -webkit-user-drag: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-hero);
}

.site-footer span,
.site-footer small {
  color: var(--muted);
}

.site-footer small {
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .hero,
  .mission-services,
  .contact,
  .about-grid,
  .audience-grid,
  .specialists-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 10px;
  }

  .beam {
    width: 160px;
  }

  .contact-links,
  .services-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .site-header,
  .site-footer,
  .hero-actions,
  .contact-links,
  .services-panel {
    gap: 12px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    padding: 20px;
    border-radius: 26px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 48px;
  }

  .hero-quote {
    font-size: clamp(1.25rem, 7.2vw, 2rem);
    line-height: 1.1;
  }

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

  .section {
    padding: 64px 0;
  }

  .poster-frame {
    width: min(100%, 420px);
  }

  .hero-carousel-stage {
    min-height: 560px;
  }

  .hero-slide {
    width: min(100%, 360px);
  }

  .hero-slide.is-prev {
    transform: translateX(-10%) scale(0.9) rotate(-4deg);
  }

  .hero-slide.is-next {
    transform: translateX(10%) scale(0.9) rotate(4deg);
  }

  .services-panel,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .hero-highlights li {
    min-height: 68px;
    font-size: 0.98rem;
  }

  .contact {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .nav-transition__trail {
    width: 132px;
  }

  .hero-carousel-stage {
    min-height: 500px;
  }

  .hero-slide {
    width: min(100%, 320px);
    padding: 10px;
  }

  .hero-carousel-controls {
    gap: 12px;
  }

  .hero-slide.is-prev {
    transform: translateX(-6%) scale(0.92);
  }

  .hero-slide.is-next {
    transform: translateX(6%) scale(0.92);
  }
}
