:root {
  --color-primary: #f4c542;
  --color-primary-hover: #dba41a;
  --color-primary-soft: rgba(244, 197, 66, 0.16);
  --color-dark: #10131a;
  --color-dark-elevated: #161b25;
  --color-overlay: rgba(13, 16, 24, 0.82);
  --color-muted-dark: #272d38;
  --color-muted: #5f6673;
  --color-muted-light: #8d94a3;
  --color-border: #e6ded3;
  --color-surface: #f7f1ea;
  --color-white: #ffffff;
  --color-success: #1fa97a;
  --color-warning: #f2a007;
  --color-error: #d64545;
  --shadow-soft: 0 16px 32px rgba(17, 20, 23, 0.12);
  --shadow-strong: 0 20px 40px rgba(17, 20, 23, 0.16);
  --shadow-card: 0 12px 28px rgba(17, 20, 23, 0.14);
  --container-width: min(1200px, 92vw);
  --gutter: 24px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --gradient-primary: linear-gradient(135deg, rgba(244, 197, 66, 0.92), rgba(219, 164, 26, 0.82));
  --gradient-dark: radial-gradient(circle at top left, rgba(244, 197, 66, 0.12), transparent 55%), linear-gradient(135deg, #111620, #0b101c 45%, #161c27 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body.site {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-muted-dark);
  background-color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body.site.is-locked {
  overflow: hidden;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.site-flash {
  padding: 1.2rem 0 0;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.75rem, 4vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.2vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.45rem, 2.8vw, 1.8rem); line-height: 1.3; }

p { margin: 0; }

a { color: inherit; }

a:focus { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 190;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 232, 236, 0.6);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem calc((100vw - var(--container-width)) / 2);
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
  gap: 1rem;
}

.topbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.topbar__group--right {
  justify-content: flex-end;
}

.topbar__item {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

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

.topbar__social {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.navbar {
  position: relative;
  padding: 1rem 0;
}

.navbar__inner {
  width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}


.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  text-align: center;
}

.brand-link img {
  display: block;
  margin: 0 auto;
}

.brand-logos {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: min(100%, 420px);
}

.brand-logos__item {
  max-height: 48px;
  max-width: 90px;
  width: auto;
  display: block;
}

.brand-logos__item--partner {
  max-height: 42px;
  max-width: 82px;
}

.brand-logos__item--social {
  max-height: 34px;
  max-width: 46px;
}

@media (min-width: 901px) {
  .brand-logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1rem;
    max-width: none;
  }
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(18, 22, 32, 0.08);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.nav-toggle-label:hover {
  border-color: rgba(244, 197, 66, 0.35);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--color-muted-dark);
  height: 2px;
  width: 22px;
  border-radius: 999px;
  position: relative;
  transition: transform 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-label span::before { top: -6px; }
.nav-toggle-label span::after { top: 6px; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.navbar__link {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-muted-dark);
  position: relative;
  transition: color 0.2s ease;
}

.navbar__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.navbar__link:hover,
.navbar__link:focus { color: var(--color-primary); }

.navbar__link:hover::after,
.navbar__link:focus::after {
  width: 100%;
}

.navbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.navbar__cta {
  margin-left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  position: relative;
}

.btn:disabled { cursor: not-allowed; opacity: 0.6; }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(244, 197, 66, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(244, 197, 66, 0.98), rgba(244, 197, 66, 0.88));
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(219, 164, 26, 0.32);
}

.btn-secondary {
  color: var(--color-primary);
  background: rgba(244, 197, 66, 0.1);
  border: 1px solid rgba(244, 197, 66, 0.35);
}

.btn-secondary:hover {
  background: rgba(244, 197, 66, 0.18);
  border-color: rgba(244, 197, 66, 0.45);
}

.btn-outline {
  border: 1px solid var(--color-muted-dark);
  color: var(--color-muted-dark);
  background: transparent;
}

.btn--with-arrow::after {
  content: '\2197';
  font-size: 1.05em;
  transition: transform 0.2s ease;
}

.btn--with-arrow:hover::after {
  transform: translate(2px, -2px);
}

.banner-carousel {
  position: relative;
  min-height: clamp(420px, 68vh, 720px);
  width: 100%;
  overflow: hidden;
  background: #000000;
  color: var(--color-white);
  display: flex;
  align-items: stretch;
  touch-action: pan-y;
}

.banner-carousel__slides {
  position: relative;
  flex: 1;
  min-height: inherit;
  display: flex;
}

.banner-carousel__slide {
  position: relative;
  display: none;
  min-height: inherit;
}

.banner-carousel__slide.is-active {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
}

.banner-carousel__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070707;
}

.banner-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
}

.banner-carousel__overlay {
  position: relative;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  z-index: 1;
  pointer-events: none;
}

.banner-carousel__content {
  pointer-events: auto;
  width: 100%;
  background: rgba(5, 7, 10, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(1.4rem, 4.2vw, 2.4rem) clamp(1.35rem, 3.6vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 1.1vw, 0.6rem);
}

.banner-carousel__title {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  color: #ffffff;
}

.banner-carousel__description {
  font-size: clamp(0.85rem, 1.6vw, 0.98rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 880px;
  margin: 0;
}

.banner-carousel__controls {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(0.6rem, 2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding: 0;
  z-index: 3;
}

.banner-carousel__control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 22, 32, 0.58);
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.banner-carousel__control:hover,
.banner-carousel__control:focus {
  background: rgba(244, 197, 66, 0.65);
  color: #11161f;
  transform: translateY(-2px);
}

.banner-carousel__dots {
  display: flex;
  gap: 0.6rem;
}

.banner-carousel__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.banner-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.25);
}

.banner-carousel__dot:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .banner-carousel {
    min-height: clamp(380px, 62vh, 620px);
  }

  .banner-carousel__controls {
    gap: 2rem;
  }

  .banner-carousel__control {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 720px) {
  .banner-carousel {
    min-height: clamp(320px, 58vh, 540px);
  }

  .banner-carousel__overlay {
    align-items: flex-end;
  }

  .banner-carousel__content {
    padding: clamp(0.45rem, 4.5vw, 0.8rem) clamp(0.9rem, 4vw, 1.4rem) clamp(1rem, 4vw, 1.6rem);
    gap: 0.6rem;
  }

  .banner-carousel__description {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .banner-carousel__controls {
    bottom: 0.7rem;
    gap: 0.6rem;
    padding: 0;
  }

  .banner-carousel__control {
    display: none;
  }

  .banner-carousel__dot {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-carousel__slide {
    transition: none;
    transform: none;
  }

  .banner-carousel__control,
  .banner-carousel__dot {
    transition: none;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: clamp(96px, 12vw, 140px) calc((100vw - var(--container-width)) / 2);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(244, 197, 66, 0.18), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero__copy {
  display: grid;
  gap: 1.75rem;
  max-width: 560px;
  animation: fade-up 0.8s ease-out;
}

/* Feedback messages */
.flash {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(16, 19, 26, 0.12);
  border-left: 4px solid transparent;
}

.flash__icon {
  font-size: 1.2rem;
}

.flash__message {
  flex: 1;
}

.flash__close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.flash--success {
  background: rgba(31, 169, 122, 0.12);
  border-left-color: var(--color-success);
  color: #0d5e49;
}

.flash--danger {
  background: rgba(214, 69, 69, 0.12);
  border-left-color: var(--color-error);
  color: #661c1c;
}

.flash--neutral {
  background: rgba(95, 102, 115, 0.1);
  border-left-color: var(--color-muted);
}

.btn-danger {
  background: rgba(214, 69, 69, 0.12);
  color: #661c1c;
  border: 1px solid rgba(214, 69, 69, 0.4);
}

.btn-danger:hover {
  background: rgba(214, 69, 69, 0.18);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* Admin area */
.admin-auth {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: 2rem;
}

.admin-auth__wrapper {
  width: min(420px, 100%);
}

.admin-auth__panel {
  background: rgba(15, 19, 29, 0.82);
  backdrop-filter: blur(22px);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem;
  box-shadow: 0 28px 46px rgba(5, 8, 18, 0.45);
  display: grid;
  gap: 1.6rem;
}

.admin-auth__header {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.admin-auth__logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(244, 197, 66, 0.2);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.admin-auth__header h1 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-auth__header p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.admin-auth__flash .flash {
  box-shadow: none;
}

.admin-auth form {
  display: grid;
  gap: 1.1rem;
}

.admin-auth label {
  font-size: 0.95rem;
  font-weight: 500;
}

.admin-auth input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 21, 32, 0.45);
  color: #fff;
}

.admin-auth input:focus {
  outline: 2px solid rgba(244, 197, 66, 0.6);
  outline-offset: 1px;
}

.admin-auth__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-auth__remember {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.admin-auth__remember input {
  width: auto;
}

.admin-auth__actions a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 0.9rem;
}

.admin-auth__actions a:hover {
  color: var(--color-primary);
}

.admin-auth button {
  width: 100%;
}

.admin-auth__hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.admin-auth__hint a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.admin-auth__hint a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .admin-auth__panel {
    padding: 2.2rem 1.6rem;
  }
}

.admin-layout {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 0%, #fff8ee 0%, #f5f0ea 45%, #efe7dd 100%);
  color: var(--color-muted-dark);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 296px 1fr;
}

.admin-sidebar {
  background: linear-gradient(180deg, #10131a 0%, #0c1018 55%, #0a0e15 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-sidebar__logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(244, 197, 66, 0.2);
  color: var(--color-primary);
  font-weight: 700;
}

.admin-sidebar__nav {
  display: grid;
  gap: 0.65rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 197, 66, 0.45) rgba(255, 255, 255, 0.08);
}

.admin-sidebar__link {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-sidebar__link:hover,
.admin-sidebar__link.is-active {
  background: rgba(244, 197, 66, 0.16);
  color: #fff;
  border-color: rgba(244, 197, 66, 0.45);
  transform: translateX(2px);
}

.admin-sidebar__footer {
  margin-top: auto;
  display: grid;
  gap: 1.2rem;
}

.admin-sidebar__user {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.admin-sidebar__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 197, 66, 0.26);
  font-weight: 600;
}

.admin-sidebar__logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-sidebar__logout:hover {
  background: rgba(255, 255, 255, 0.12);
}

.admin-content {
  padding: 2.8rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 24px rgba(16, 19, 26, 0.08);
}

.admin-header__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin: 0;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

.admin-header__actions {
  display: flex;
  gap: 0.75rem;
}

.admin-flash {
  min-height: 1px;
}

.admin-main {
  display: grid;
  gap: 2.35rem;
  padding-bottom: 1rem;
}

.admin-section {
  display: grid;
  gap: 1.1rem;
}

.admin-welcome {
  padding: 1.6rem 1.8rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.admin-grid {
  display: grid;
  gap: 1.2rem;
}

.admin-grid--stats {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-grid--links {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(16, 19, 26, 0.06);
  display: grid;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.admin-card--stat {
  padding: 1.8rem;
}

.admin-card__value {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-dark);
}

.admin-card__label {
  color: var(--color-muted);
  font-weight: 500;
}

.admin-card--link {
  border: 1px solid rgba(16, 19, 26, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.admin-card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(244, 197, 66, 0.45);
}

.admin-card--stat:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(16, 19, 26, 0.12);
}

.admin-card__badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(244, 197, 66, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.admin-card__title {
  font-size: 1.1rem;
}

.admin-card__description {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.admin-card.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-section__header {
  display: grid;
  gap: 0.35rem;
}

.admin-section__header h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}

.admin-section__header p {
  margin: 0;
  color: var(--color-muted);
  max-width: 76ch;
  line-height: 1.55;
  font-size: 0.96rem;
}

.admin-table {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(16, 19, 26, 0.06);
}

.admin-table__header,
.admin-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.92rem 1.35rem;
  border-bottom: 1px solid rgba(16, 19, 26, 0.06);
}

.admin-table--actions .admin-table__header,
.admin-table--actions .admin-table__row {
  grid-template-columns: 1.1fr 1.4fr 0.8fr 0.8fr;
}

.admin-table__header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  background: rgba(16, 19, 26, 0.04);
}

.admin-table__row {
  font-size: 0.96rem;
  line-height: 1.45;
}

.admin-table__row:hover {
  background: rgba(244, 197, 66, 0.08);
}

.admin-table__row:nth-child(even) {
  background: rgba(16, 19, 26, 0.015);
}

.admin-table__row:nth-child(even):hover {
  background: rgba(244, 197, 66, 0.09);
}

.admin-table__row:last-child {
  border-bottom: none;
}

.admin-table__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-table__primary-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.admin-table__primary-link:hover {
  text-decoration: underline;
}

.admin-table--banners .admin-table__header,
.admin-table--banners .admin-table__row {
  grid-template-columns: minmax(120px, 0.8fr) 1.2fr 1.4fr 0.6fr 0.8fr;
}

.admin-table__thumb {
  display: flex;
  align-items: center;
}

.admin-table__thumb-image {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 18px rgba(16, 19, 26, 0.16);
}

.admin-table__thumb-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(16, 19, 26, 0.2);
  color: var(--color-muted);
  font-size: 1.2rem;
}

.admin-empty {
  background: rgba(16, 19, 26, 0.04);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  text-align: center;
  color: var(--color-muted);
  font-weight: 500;
}

.admin-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.3rem;
  border: 1px solid rgba(16, 19, 26, 0.06);
}

.admin-form__group {
  display: grid;
  gap: 0.45rem;
}

.admin-form__group label {
  font-weight: 600;
  font-size: 0.93rem;
}

.admin-form__preview {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-form__preview img {
  max-width: 180px;
  max-height: 100px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 19, 26, 0.16);
  background: #fff;
  padding: 0.5rem;
}

.admin-form__preview-text {
  display: grid;
  gap: 0.25rem;
}

.admin-form__hint {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.admin-radio-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
}

.admin-radio-group label {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-form__group input,
.admin-form__group textarea,
.admin-form__group select {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 19, 26, 0.16);
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form__group input:focus,
.admin-form__group textarea:focus,
.admin-form__group select:focus {
  outline: none;
  border-color: rgba(244, 197, 66, 0.75);
  box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.2);
}

.admin-form__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.segment-documents {
  gap: 1.2rem;
}

.segment-documents__header {
  display: grid;
  gap: 0.35rem;
}

.segment-documents__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.segment-documents__list {
  display: grid;
  gap: 1rem;
}

.segment-document {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid rgba(18, 22, 32, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.segment-document__preview {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  text-align: center;
}

.segment-document__preview-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 24px rgba(16, 20, 30, 0.12);
}

.segment-document__filename {
  font-size: 0.85rem;
  color: var(--color-muted);
  word-break: break-word;
}

.segment-document__placeholder {
  font-size: 0.9rem;
  color: var(--color-muted-light);
}

.segment-document__inputs {
  display: grid;
  gap: 0.75rem;
}

.segment-document__field {
  display: grid;
  gap: 0.35rem;
}

.segment-document__field--inline {
  max-width: 140px;
}

.segment-document__remove,
.segment-document__remove-button {
  font-size: 0.9rem;
  color: var(--color-error);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.segment-document__remove-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.segment-document__remove-button:hover {
  text-decoration: underline;
}

.segment-documents__add {
  justify-self: start;
}


.segment-videos {
  gap: 1rem;
}

.segment-videos__header {
  display: grid;
  gap: 0.35rem;
}

.segment-videos__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.segment-videos__list {
  display: grid;
  gap: 1rem;
}

.segment-video {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  border: 1px solid rgba(18, 22, 32, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.segment-video__field {
  display: grid;
  gap: 0.35rem;
}

.segment-video__field--inline {
  max-width: 140px;
}

.segment-video__remove-button {
  align-self: end;
  justify-self: start;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-error);
  cursor: pointer;
}

.segment-video__remove-button:hover {
  text-decoration: underline;
}

.segment-videos__add {
  justify-self: start;
}

@media (min-width: 720px) {
  .segment-document {
    grid-template-columns: minmax(0, 220px) 1fr;
    align-items: start;
  }
}

.admin-segment-preview {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 2rem;
}

.admin-segment-preview__hero {
  display: grid;
  gap: 1.8rem;
}

.admin-segment-preview__carousel {
  position: relative;
}

.admin-segment-preview__slides {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-segment-preview__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
  display: flex;
}

.admin-segment-preview__slide.is-active {
  opacity: 1;
}

.admin-segment-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-segment-preview__empty {
  position: relative;
  inset: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: rgba(16, 19, 26, 0.06);
  color: var(--color-muted);
  font-weight: 500;
}

.admin-segment-preview__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 19, 26, 0.6);
  border: none;
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.admin-segment-preview__control:hover {
  background: rgba(244, 197, 66, 0.9);
}

.admin-segment-preview__control--prev {
  left: 1rem;
}

.admin-segment-preview__control--next {
  right: 1rem;
}

.admin-segment-preview__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.admin-segment-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}

.admin-segment-preview__dot.is-active {
  background: var(--color-primary);
}

.admin-segment-preview__summary {
  display: grid;
  gap: 1.2rem;
}

.admin-segment-preview__headline {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
}

.admin-segment-preview__description {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.admin-segment-preview__solutions h3 {
  margin-bottom: 0.6rem;
}

.admin-segment-preview__solutions ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.admin-segment-preview__cta {
  margin: 0;
}

.admin-segment-preview__cta-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.admin-segment-preview__cta-link:hover {
  text-decoration: underline;
}

@media (min-width: 960px) {
  .admin-segment-preview__hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }
}

.admin-form__errors {
  background: rgba(214, 69, 69, 0.1);
  border-left: 4px solid var(--color-error);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

.admin-form__errors h3 {
  margin-top: 0;
}

.admin-form__errors ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    gap: 1.5rem;
    position: static;
    height: auto;
    border-right: none;
    box-shadow: none;
  }

  .admin-sidebar__nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    scrollbar-width: thin;
  }

  .admin-sidebar__link {
    white-space: nowrap;
  }

  .admin-sidebar__footer {
    margin-top: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }

  .admin-sidebar__logout {
    padding: 0.55rem 0.9rem;
  }

  .admin-header {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 720px) {
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-table {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: grid;
    gap: 0.75rem;
  }

  .admin-table__header,
  .admin-table__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .admin-table__header {
    display: none;
  }

  .admin-table__row {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(16, 19, 26, 0.08);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }

  .admin-table__row:last-child {
    border-bottom: 1px solid rgba(16, 19, 26, 0.08);
  }

  .admin-table__actions {
    justify-content: flex-start;
  }

  .admin-form {
    padding: 1.25rem;
  }

  .admin-form__actions {
    justify-content: flex-start;
  }
}

.hero__index {
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.hero__index::after {
  content: '';
  display: inline-flex;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero__eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.68);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 3.7rem);
  line-height: 1.05;
}

.hero p { color: rgba(255, 255, 255, 0.78); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.hero-highlights li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.82);
  box-shadow: 0 0 0 6px rgba(244, 197, 66, 0.18);
}

.hero__media {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  pointer-events: none;
}

.hero__media--video {
  pointer-events: auto;
}

.hero__image {
  width: min(520px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(7, 10, 18, 0.58);
  position: relative;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 20, 0.05), rgba(9, 12, 20, 0.55));
}

.hero__video {
  width: min(560px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(7, 10, 18, 0.58);
  background: #000;
  position: relative;
}

.hero__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero__stamp {
  pointer-events: auto;
  position: static;
  background: rgba(16, 19, 26, 0.84);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(8, 11, 19, 0.5);
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.35rem;
  min-width: 220px;
  margin-top: 1.5rem;
  justify-self: start;
}

.hero__stamp span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__stamp strong {
  font-size: 1.1rem;
  color: var(--color-white);
}

.hero__media--video .hero__stamp {
  justify-self: center;
}

.section {
  width: 100%;
  padding: clamp(72px, 10vw, 120px) calc((100vw - var(--container-width)) / 2);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.section-title {
  max-width: 640px;
  display: grid;
  gap: 1rem;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.6rem);
  line-height: 1.2;
  color: var(--color-dark);
}

.section-title p {
  color: var(--color-muted);
  margin: 0;
}

.section-title__index {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

.section-title__index::after {
  content: '';
  display: inline-flex;
  width: 72px;
  height: 1px;
  background: rgba(244, 197, 66, 0.22);
}

.section-title__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.section-title--light h2,
.section-title--light p,
.section-title--light .section-title__tag {
  color: var(--color-white);
}

.section-title--light .section-title__index::after { background: rgba(255, 255, 255, 0.26); }
.section-title--light .section-title__tag { color: rgba(255, 255, 255, 0.72); }

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.intro-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.35rem;
  border: 1px solid rgba(18, 22, 32, 0.06);
  box-shadow: 0 24px 48px rgba(15, 19, 27, 0.08);
  display: grid;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card h3 { margin: 0; color: var(--color-dark); }
.intro-card p { color: var(--color-muted); }

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 197, 66, 0.14);
  color: var(--color-primary);
}

.icon-circle svg { width: 28px; height: 28px; }

.intro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15, 19, 27, 0.14);
}

.metrics {
  background: linear-gradient(135deg, #101520, #080d18 55%, #141a27 100%);
  color: var(--color-white);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.metrics__wrapper {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  gap: 2.8rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.metric {
  background: rgba(17, 21, 30, 0.72);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(5, 9, 18, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.metric::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(244, 197, 66, 0.6), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.3;
}

.metric__value {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
}

.metric__label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid--services {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards-grid--projects {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.segments {
  background: var(--color-white);
}

.segments-grid {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.segment-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 52px rgba(16, 20, 30, 0.1);
  border: 1px solid rgba(18, 22, 32, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.segment-card__media {
  position: relative;
  padding-top: 56%;
  overflow: hidden;
}

.segment-carousel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-areas: "viewport";
}

.segment-carousel__viewport {
  grid-area: viewport;
  position: relative;
  width: 100%;
  height: 100%;
}

.segment-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.segment-carousel__slide.is-active {
  opacity: 1;
}

.segment-carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(16, 20, 32, 0.55);
  color: var(--color-white);
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}

.segment-carousel__control:hover {
  background: rgba(244, 197, 66, 0.85);
}

.segment-carousel__control--prev { left: 0.75rem; }
.segment-carousel__control--next { right: 0.75rem; }

.segment-carousel__dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.segment-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.segment-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.1);
}

.segment-carousel__dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.segment-card__body {
  padding: 2rem 1.9rem;
  display: grid;
  gap: 0.9rem;
}


.segment-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.segment-card__title-link:hover {
  color: var(--color-primary);
}

.segment-card__body h3 { margin: 0; color: var(--color-dark); }
.segment-card__body p { color: var(--color-muted); }

.segment-card__solutions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--color-muted);
}

.segment-card__solutions li {
  position: relative;
  padding-left: 1.2rem;
}

.segment-card__solutions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.segment-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.segment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 72px rgba(16, 20, 30, 0.2);
  border-color: rgba(244, 197, 66, 0.22);
}

.segment-page {
  padding: 4.5rem 0 6rem;
  background: #ffffff;
}

.segment-page__container {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  gap: 2.8rem;
}

.segment-page__breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.segment-page__crumb-separator {
  color: rgba(16, 19, 26, 0.35);
}

.segment-page__crumb {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.segment-page__crumb:hover {
  color: var(--color-primary);
}

.segment-page__crumb--current {
  color: var(--color-dark);
  font-weight: 600;
}

.segment-page__header {
  display: grid;
  gap: 1.1rem;
}

.segment-page__title {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  margin: 0;
  color: var(--color-dark);
}

.segment-page__subtitle {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 720px;
}

.segment-page__hero {
  position: relative;
}

.segment-page__gallery {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-content: center;
  align-items: stretch;
}

.segment-page__videos {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.4rem;
}

.segment-page__videos-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.segment-page__videos-grid {
  display: grid;
  gap: 1.2rem;
}

.segment-page__video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #06080d;
  box-shadow: 0 32px 60px rgba(10, 12, 18, 0.18);
  aspect-ratio: 16 / 9;
}

.segment-page__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 720px) {
  .segment-page__videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.segment-page__image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 60px rgba(10, 12, 18, 0.18);
  background: var(--color-white);
  aspect-ratio: 4 / 3;
  width: min(100%, 320px);
  margin: 0 auto;
}

.segment-page__image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.segment-page__image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.segment-page__image-button:focus {
  outline: none;
}

.segment-page__image-button:focus-visible {
  outline: 3px solid rgba(244, 197, 66, 0.6);
  outline-offset: 4px;
}

.segment-page__content {

  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.segment-page__section {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(16, 20, 30, 0.12);
  display: grid;
  gap: 1.1rem;
}

.segment-page__section h2 {
  margin: 0;
  font-size: 1.6rem;
}

.segment-page__solutions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.segment-page__solutions li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-muted);
}

.segment-page__solutions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.segment-page__cta-button {
  justify-self: flex-start;
}

.segment-page__related {
  display: grid;
  gap: 1.5rem;
}

.segment-page__related-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.segment-page__related-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.segment-page__related-link:hover {
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .segment-page__gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .segment-page__gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .segment-page__image-card {
    max-width: 280px;
  }
}

@media (max-width: 600px) {
  .segment-page__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 420px) {
  .segment-page__gallery {
    grid-template-columns: 1fr;
  }
}

.segment-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 18, 0.86);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: clamp(24px, 6vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.segment-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.segment-lightbox__overlay {
  position: absolute;
  inset: 0;
}

.segment-lightbox__content {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.segment-lightbox__image {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(6, 8, 12, 0.45);
  background: #0b0f18;
}

.segment-lightbox__close {
  position: absolute;
  top: clamp(-52px, -7vw, -24px);
  right: clamp(-12px, -1vw, -4px);
  border: none;
  background: rgba(16, 20, 32, 0.8);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.segment-lightbox__close:hover {
  background: rgba(244, 197, 66, 0.75);
  color: var(--color-dark);
  transform: scale(1.06);
}

.segment-lightbox__close:focus-visible {
  outline: 3px solid rgba(244, 197, 66, 0.6);
  outline-offset: 4px;
}

.segment-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 6vw, 56px);
  height: clamp(44px, 6vw, 56px);
  border-radius: 50%;
  border: none;
  background: rgba(16, 20, 32, 0.8);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.segment-lightbox__nav--prev {
  left: clamp(12px, 4vw, 32px);
}

.segment-lightbox__nav--next {
  right: clamp(12px, 4vw, 32px);
}

.segment-lightbox__nav:hover {
  background: rgba(244, 197, 66, 0.85);
  color: var(--color-dark);
  transform: translateY(-50%) scale(1.08);
}

.segment-lightbox__nav:focus-visible {
  outline: 3px solid rgba(244, 197, 66, 0.6);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .segment-lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }
}

.approach {
  background: var(--color-surface);
}

.approach-steps {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.approach-step {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem 1.9rem;
  border: 1px solid rgba(244, 197, 66, 0.18);
  box-shadow: 0 20px 42px rgba(15, 19, 27, 0.08);
  display: grid;
  gap: 0.8rem;
}

.approach-step__index {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.approach-step h3 {
  margin: 0;
  color: var(--color-dark);
}

.approach-step p {
  margin: 0;
  color: var(--color-muted);
}
.service-card,
.project-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(16, 20, 30, 0.12);
  border: 1px solid rgba(18, 22, 32, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.cards-grid--projects .project-card {
  background: rgba(18, 22, 32, 0.88);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(8, 11, 19, 0.5);
}

.card-image {
  position: relative;
  padding-top: 58%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.card-content {
  padding: 1.9rem 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.card-content h3 { margin: 0; color: var(--color-dark); }
.card-content p { color: var(--color-muted); }

.cards-grid--projects .card-content p { color: rgba(255, 255, 255, 0.72); }
.cards-grid--projects .card-content h3 { color: var(--color-white); }

.card-link {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-link::after {
  content: '\2197';
  transition: transform 0.2s ease;
}

.card-link:hover::after { transform: translate(3px, -3px); }

.service-card:hover .card-image,
.project-card:hover .card-image { transform: scale(1.05); }

.service-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 72px rgba(16, 20, 30, 0.2);
  border-color: rgba(244, 197, 66, 0.25);
}

.cards-grid--projects .project-card:hover {
  border-color: rgba(244, 197, 66, 0.4);
  box-shadow: 0 38px 80px rgba(8, 11, 19, 0.58);
}

.projects {
  background: linear-gradient(135deg, rgba(17, 20, 23, 0.96), rgba(28, 31, 36, 0.92));
}

.partners {
  background: var(--color-white);
}

.partners-grid {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.partner-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 22, 32, 0.06);
  box-shadow: 0 22px 48px rgba(15, 19, 27, 0.08);
  padding: 2rem 1.8rem;
  display: grid;
  gap: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.partner-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(15, 19, 27, 0.12); }

.partner-card--highlight {
  border: 1px solid rgba(244, 197, 66, 0.4);
  box-shadow: 0 28px 70px rgba(244, 197, 66, 0.25);
}

.partner-card__logo {
  width: 100%;
  min-height: 150px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--partner-color), var(--partner-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.08em;
  padding: 1.6rem;
}

.partner-card__logo--image {
  background: #fff;
  border: 1px solid rgba(18, 22, 32, 0.1);
  padding: clamp(1rem, 4vw, 1.8rem);
  color: inherit;
}

.partner-card__logo--image img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.partner-card__logo span {
  text-transform: uppercase;
}

.partner-card__body { display: grid; gap: 0.6rem; }
.partner-card__body h3 { margin: 0; color: var(--color-dark); }
.partner-card__body p { color: var(--color-muted); }

.partner-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.14);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  align-items: stretch;
  background: var(--color-dark);
  color: var(--color-white);
}

.testimonial__image {
  background: linear-gradient(180deg, rgba(17, 20, 23, 0.65), rgba(244, 197, 66, 0.45)),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.testimonial__content {
  padding: clamp(60px, 8vw, 90px) calc((100vw - var(--container-width)) / 2);
  display: grid;
  gap: 1.2rem;
}

.testimonial__label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.testimonial__label .section-title__index::after {
  background: rgba(255, 255, 255, 0.28);
  width: 60px;
}

.testimonial__label .section-title__tag {
  color: rgba(255, 255, 255, 0.72);
}

.testimonial blockquote {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.45;
  margin: 0;
}

.testimonial__author { color: rgba(255, 255, 255, 0.72); font-weight: 600; }

.newsletter {
  background: var(--color-white);
  padding: clamp(72px, 10vw, 100px) calc((100vw - var(--container-width)) / 2);
  border-top: 1px solid rgba(18, 22, 32, 0.05);
  border-bottom: 1px solid rgba(18, 22, 32, 0.05);
}

.newsletter-content {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.newsletter__label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.3rem;
}

.newsletter__label .section-title__index::after {
  background: rgba(244, 197, 66, 0.25);
  width: 60px;
}

.newsletter__label .section-title__tag {
  color: var(--color-muted);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(220px, 360px) auto;
  gap: 1rem;
  width: 100%;
}

.newsletter-form input {
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(244, 197, 66, 0.18);
  outline: none;
}

.cta-panel {
  position: relative;
  background: linear-gradient(135deg, #101622, #0b111d 55%, #1a2231 100%);
  color: var(--color-white);
  padding: clamp(72px, 10vw, 100px) calc((100vw - var(--container-width)) / 2);
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(244, 197, 66, 0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(244, 197, 66, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-panel__content {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.cta-panel__label .section-title__index::after {
  background: rgba(255, 255, 255, 0.3);
  width: 60px;
}

.cta-panel__label .section-title__tag {
  color: rgba(255, 255, 255, 0.72);
}

.cta-copy h2 { color: var(--color-white); }
.cta-copy p { color: rgba(255, 255, 255, 0.76); }

.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(72px, 10vw, 96px) calc((100vw - var(--container-width)) / 2) clamp(48px, 8vw, 72px);
}

.footer-content {
  width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-logo { max-height: 42px; margin-bottom: 1rem; }

.footer-brand h3 { margin: 0 0 0.6rem 0; color: var(--color-white); }
.footer-highlight { margin-top: 1rem; font-weight: 600; }

.footer-links h4 { margin: 0 0 0.7rem 0; color: var(--color-white); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.8); }
.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
  width: var(--container-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 0.85rem;
}

.forms-feedback { font-size: 0.9rem; margin-top: 0.5rem; }
.forms-feedback--error { color: var(--color-error); }
.forms-feedback--success { color: var(--color-success); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .navbar__inner {
    gap: 1.5rem;
  }

  .hero {
    padding-left: clamp(32px, 6vw, 48px);
    padding-right: clamp(32px, 6vw, 48px);
  }

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

  .hero__media {
    justify-items: flex-start;
  }

  .hero__image {
    width: min(460px, 100%);
  }

  .hero__stamp {
    margin-top: 1.5rem;
    margin-left: 0;
    justify-self: flex-start;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar__inner {
    position: relative;
    justify-content: space-between;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .navbar__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: min(480px, calc(100% - 32px));
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(9, 12, 20, 0.16);
    border: 1px solid rgba(18, 22, 32, 0.08);
    border-radius: 18px;
    padding: 1.6rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 140;
  }

  .navbar__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .navbar__actions {
    margin-left: 0;
    width: 100%;
  }

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

  .nav-toggle:checked ~ .navbar__menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }

  .hero__stamp {
    margin-left: 0;
    width: 100%;
    max-width: 260px;
    justify-self: stretch;
  }

  .intro-grid,
  .metrics-grid,
  .cards-grid--services,
  .cards-grid--projects,
  .segments-grid,
  .approach-steps,
  .partners-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .segment-card__body,
  .approach-step {
    padding: 1.6rem;
  }

  .testimonial { grid-template-columns: 1fr; }
  .testimonial__image { min-height: 280px; }

  .newsletter-form { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  body.site { font-size: 0.95rem; }
  .hero { min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero__index::after { width: 48px; }
  .topbar { padding-left: 1.2rem; padding-right: 1.2rem; }
  .navbar { padding-left: 1.2rem; padding-right: 1.2rem; }
  .navbar__menu {
    width: calc(100% - 24px);
    padding: 1.4rem;
  }
  .testimonial__content { padding: 3rem 1.5rem; }
  .cta-panel { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.whatsapp-widget {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: calc(20px + env(safe-area-inset-right, 0px));
  z-index: 260;
  pointer-events: none;
}

.whatsapp-widget__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  pointer-events: auto;
  box-shadow: 0 20px 35px rgba(31, 164, 99, 0.35);
  animation: whatsapp-bounce 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, #2ed977, #1fa463);
  overflow: hidden;
}

.whatsapp-widget__button:hover,
.whatsapp-widget__button:focus {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 26px 42px rgba(31, 164, 99, 0.4);
}

.whatsapp-widget__button:active {
  transform: translateY(0);
}

.whatsapp-widget__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(244, 255, 248, 0.42);
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

.whatsapp-widget__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 34px;
  height: 34px;
}

.whatsapp-widget__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.whatsapp-widget__sr-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes whatsapp-bounce {
  0%, 20%, 55%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40% {
    transform: translate3d(0, -12px, 0);
  }
  70% {
    transform: translate3d(0, -6px, 0);
  }
  85% {
    transform: translate3d(0, -3px, 0);
  }
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  60% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@media (max-width: 680px) {
  .whatsapp-widget {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }

  .whatsapp-widget__button {
    width: 60px;
    height: 60px;
  }

  .whatsapp-widget__icon {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-widget__button,
  .whatsapp-widget__ring {
    animation: none;
  }
}
 
/* Component imports */
@import "components/radio_player.css";
@import "components/promo_popup.css";
@import "components/multi_upload.css";
