/* ─── Header ─── */
.site-header {
  position: relative;
  z-index: 100;
  margin: 0 0 var(--section-gap);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: var(--radius-header);
  box-shadow: none;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 1px 0 rgba(26, 26, 26, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 4px 4px;
  min-height: var(--header-height);
  transition:
    padding 0.28s ease,
    min-height 0.28s ease,
    gap 0.28s ease;
}

.site-header.is-scrolled .site-header__inner {
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: calc(var(--header-height) - 12px);
  gap: 10px;
}

.site-header.is-scrolled .logo--icon-only .logo__mark {
  width: var(--header-chip-h-scrolled);
  height: var(--header-chip-h-scrolled);
  font-size: 0.58rem;
}

.site-header.is-scrolled .header-cta .btn--sm {
  height: var(--header-chip-h-scrolled);
  min-height: var(--header-chip-h-scrolled);
  padding: 0 16px;
  font-size: 0.8125rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  margin-left: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 4px 12px 4px 4px;
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding: 4px 14px 4px 4px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  text-decoration: none;
  min-width: 0;
}

.logo__mark {
  width: 42px;
  height: 42px;
  background: var(--color-accent);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo__mark {
    width: 46px;
    height: 46px;
    font-size: 0.88rem;
  }
}

.logo--icon-only {
  flex-shrink: 0;
  line-height: 0;
}

.logo--icon-only .logo__mark {
  width: var(--header-chip-h);
  height: var(--header-chip-h);
  border-radius: 9px;
  font-size: 0.72rem;
  transition: width 0.28s ease, height 0.28s ease, font-size 0.28s ease;
}

@media (min-width: 768px) {
  .logo--icon-only .logo__mark {
    font-size: 0.76rem;
  }

  .site-header.is-scrolled .logo--icon-only .logo__mark {
    font-size: 0.68rem;
  }
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(6px, 1.2vw, 14px);
  min-width: 0;
}

.site-nav a {
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.header-cta {
  display: inline-flex;
  flex-shrink: 0;
}

.header-cta .btn--sm {
  box-sizing: border-box;
  height: var(--header-chip-h);
  min-height: var(--header-chip-h);
  padding: 0 20px;
  font-size: 0.9375rem;
  line-height: 1;
  transition:
    height 0.28s ease,
    min-height 0.28s ease,
    padding 0.28s ease,
    font-size 0.28s ease;
}

.header-cta .btn__label--full {
  display: none;
}

.header-cta .btn__label--short {
  display: inline;
}

@media (min-width: 480px) {
  .header-cta .btn__label--full {
    display: inline;
  }

  .header-cta .btn__label--short {
    display: none;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-inner);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover:not(:disabled) {
  background: var(--color-accent-hover);
  color: #fff;
}

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

.btn--ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* ─── Hero ─── */
.hero {
  --hero-fg: #fff;
  --hero-fg-muted: rgba(255, 255, 255, 0.86);
  --hero-stat-value: #fff;
  --hero-scrim: linear-gradient(
    105deg,
    rgba(18, 18, 18, 0.58) 0%,
    rgba(18, 18, 18, 0.38) 52%,
    rgba(18, 18, 18, 0.2) 100%
  );
  --hero-stats-bg: rgba(0, 0, 0, 0.22);
  position: relative;
  min-height: clamp(340px, 55vh, 520px);
  overflow: hidden;
}

.hero--light-bg {
  --hero-fg: var(--color-text);
  --hero-fg-muted: var(--color-text-muted);
  --hero-stat-value: var(--color-accent);
  --hero-scrim: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.5) 52%,
    rgba(255, 255, 255, 0.12) 100%
  );
  --hero-stats-bg: rgba(255, 255, 255, 0.38);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-scrim);
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: blur(2px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(100%, 560px);
  padding: var(--section-pad);
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: clamp(340px, 55vh, 520px);
  background: none;
}

.hero__actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  margin-bottom: var(--section-pad);
  padding: 0 var(--section-pad);
}

@media (min-width: 768px) {
  .hero__actions {
    margin-bottom: 28px;
    padding: 0 28px;
  }
}

@media (min-width: 1024px) {
  .hero__actions {
    margin-bottom: 40px;
    padding: 0 40px;
  }
}

.hero__stats .stat__value {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  color: var(--hero-stat-value);
}

.hero__stats .stat__label {
  font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  color: var(--hero-fg-muted);
}

.hero__title {
  font-size: clamp(1.35rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--hero-fg);
}

.hero__subtitle {
  font-size: clamp(0.875rem, 2.2vw, 1.25rem);
  color: var(--hero-fg-muted);
  line-height: 1.5;
  max-width: 36ch;
}

.hero__stats {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
  padding: 18px 22px;
  background: var(--hero-stats-bg);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: none;
  border-radius: var(--radius-inner) 0 0 0;
  box-shadow: none;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  text-align: right;
}

.stat__value {
  font-size: clamp(1.25rem, 2.8vw, 1.625rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .hero {
    min-height: 400px;
  }

  .hero__content {
    padding: 28px 16px 28px 28px;
    gap: 28px;
    min-height: 400px;
    max-width: min(100%, 620px);
  }



  .hero__stats {
    gap: 18px 32px;
    padding: 22px 28px;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 480px;
  }

  .hero__content {
    padding: 40px 24px 40px 40px;
    gap: 32px;
    min-height: 480px;
    max-width: min(100%, 680px);
  }

  .hero__stats {
    gap: 20px 36px;
    padding: 24px 32px;
    border-radius: var(--radius-section) 0 0 0;
  }
}



@media (max-width: 479px) {
  .hero__stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    justify-content: space-between;
  }

  .stat {
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
  }
}
.section-pills {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  margin-bottom: var(--section-gap);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.section-pills::-webkit-scrollbar {
  display: none;
}

.section-pills a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all var(--transition);
}

.section-pills a.is-active,
.section-pills a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ─── Bullet list ─── */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

@media (min-width: 768px) {
  .bullet-list li {
    font-size: 1.05rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: clamp(2.4rem, 4.2vw, 4.2rem);
    line-height: 1.02;
  }

  .hero__subtitle {
    font-size: clamp(1.15rem, 1.45vw, 1.4rem);
    max-width: 36ch;
  }

  .section-title {
    font-size: clamp(2rem, 2.75vw, 3.2rem);
  }

  .section-lead {
    font-size: clamp(1.1rem, 1.15vw, 1.25rem);
  }

  .service-card {
    padding: 32px 36px;
    gap: 18px;
  }

  .service-card__icon {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
    border-radius: 12px;
  }

  .service-card__title {
    font-size: 3.5rem;
  }

  .service-card__desc {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.9);
  }

  .service-card__link {
    font-size: 1.0625rem;
  }

  .client-card {
    padding: 32px 36px;
  }

  .client-card__logo-text {
    font-size: 1.45rem;
  }

  .client-card__title {
    font-size: 1.25rem;
  }

  .client-card__desc {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .form-pd-card .section-title {
    font-size: clamp(1.85rem, 2.2vw, 2.6rem);
  }

  .form-info__pd {
    font-size: 1.05rem;
  }

  .form-group label {
    font-size: 1.05rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 16px 18px;
    font-size: 1.125rem;
  }
}

/* ─── Carousels (shared) ─── */
.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--color-text);
  transition: all var(--transition);
  flex-shrink: 0;
}

.carousel-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

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

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.carousel__controls--titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  height: auto;
  min-height: var(--carousel-titlebar-h);
  padding: 24px 28px 0;
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
}

.v-carousel__controls--dots-left .carousel-dots {
  flex: 1;
  justify-content: flex-start;
}

.v-carousel__controls--dots-right .carousel-dots {
  flex: 1;
  justify-content: flex-end;
}

.carousel__controls--bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  height: var(--carousel-titlebar-h);
  min-height: var(--carousel-titlebar-h);
  padding: 0 16px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-sizing: border-box;
}

.h-carousel__controls--dots-right .carousel-dots {
  justify-content: flex-end;
}

.h-carousel__controls--dots-left .carousel-dots {
  flex: 1;
  justify-content: flex-start;
}

.carousel__controls--titlebar .carousel-dots:only-child,
.carousel__controls--bottom .carousel-dots:only-child {
  flex: 1;
  width: 100%;
}

/* ─── Carousel row sections (services / works) ─── */
.section-card-row {
  margin-bottom: var(--section-gap);
}

.section-card-row.two-col {
  display: grid;
  gap: var(--section-gap);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .section-card-row.two-col {
    grid-template-columns: 2fr 3fr;
    gap: 16px;
    align-items: stretch;
  }

  .section-card-row.two-col--reverse {
    grid-template-columns: 3fr 2fr;
  }
}

@media (min-width: 1024px) {
  .section-card-row.two-col {
    gap: 20px;
  }
}

.section-card-row .section-card {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-card-row > .section-card.two-col__text {
  background: linear-gradient(
    180deg,
    var(--color-surface) 0%,
    var(--color-bg-alt) 100%
  );
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 var(--text-col-inset-top),
    inset 0 -1px 0 var(--text-col-inset-bottom);
}

.two-col__text--padded {
  position: relative;
  padding: var(--section-pad);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-text-salute {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-text-salute::before,
.section-text-salute::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
}

.section-text-salute--services::before {
  right: 10%;
  top: 32%;
  width: 9px;
  height: 9px;
  opacity: 0.62;
  box-shadow:
    -44px -64px 0 0 rgba(var(--color-accent-rgb), 0.48),
    -86px -32px 0 0 rgba(var(--color-accent-rgb), 0.38),
    -116px 10px 0 2px rgba(var(--color-accent-rgb), 0.52),
    -92px 44px 0 0 rgba(var(--color-accent-rgb), 0.32),
    -50px 56px 0 0 rgba(var(--color-accent-rgb), 0.42),
    -140px -60px 0 0 rgba(var(--color-accent-rgb), 0.28),
    -18px -44px 0 2px rgba(var(--color-accent-rgb), 0.46),
    -124px 32px 0 0 rgba(var(--color-accent-rgb), 0.36),
    -72px -82px 0 0 rgba(var(--color-accent-rgb), 0.4);
}

.section-text-salute--services::after {
  right: 16%;
  top: 38%;
  width: 6px;
  height: 6px;
  opacity: 0.68;
  box-shadow:
    -70px -20px 0 0 rgba(var(--color-accent-rgb), 0.5),
    -108px -50px 0 0 rgba(var(--color-accent-rgb), 0.34),
    -32px -66px 0 0 rgba(var(--color-accent-rgb), 0.44),
    -80px 34px 0 0 rgba(var(--color-accent-rgb), 0.4),
    -52px -88px 0 0 rgba(var(--color-accent-rgb), 0.3);
}

.section-text-salute--works::before {
  left: 14%;
  bottom: 18%;
  width: 9px;
  height: 9px;
  opacity: 0.6;
  box-shadow:
    38px -58px 0 0 rgba(var(--color-accent-rgb), 0.46),
    76px -28px 0 0 rgba(var(--color-accent-rgb), 0.36),
    102px 12px 0 2px rgba(var(--color-accent-rgb), 0.5),
    60px 46px 0 0 rgba(var(--color-accent-rgb), 0.3),
    12px -38px 0 2px rgba(var(--color-accent-rgb), 0.44),
    90px -68px 0 0 rgba(var(--color-accent-rgb), 0.26),
    48px 72px 0 0 rgba(var(--color-accent-rgb), 0.34);
}

.section-text-salute--works::after {
  left: 20%;
  bottom: 24%;
  width: 6px;
  height: 6px;
  opacity: 0.66;
  box-shadow:
    58px -16px 0 0 rgba(var(--color-accent-rgb), 0.48),
    92px -44px 0 0 rgba(var(--color-accent-rgb), 0.32),
    26px -60px 0 0 rgba(var(--color-accent-rgb), 0.4),
    70px 28px 0 0 rgba(var(--color-accent-rgb), 0.38);
}

.section-text-salute--news::before {
  right: 8%;
  top: 20%;
  width: 8px;
  height: 8px;
  opacity: 0.58;
  box-shadow:
    -56px -44px 0 0 rgba(var(--color-accent-rgb), 0.44),
    -96px -12px 0 0 rgba(var(--color-accent-rgb), 0.34),
    -70px 32px 0 0 rgba(var(--color-accent-rgb), 0.48),
    -122px -50px 0 0 rgba(var(--color-accent-rgb), 0.28),
    -28px -52px 0 2px rgba(var(--color-accent-rgb), 0.42),
    -104px 20px 0 0 rgba(var(--color-accent-rgb), 0.36);
}

.section-text-salute--news::after {
  right: 14%;
  top: 26%;
  width: 5px;
  height: 5px;
  opacity: 0.64;
  box-shadow:
    -82px -28px 0 0 rgba(var(--color-accent-rgb), 0.4),
    -44px -70px 0 0 rgba(var(--color-accent-rgb), 0.46),
    -100px 18px 0 0 rgba(var(--color-accent-rgb), 0.32),
    -62px 52px 0 0 rgba(var(--color-accent-rgb), 0.38);
}

.section-text-salute--articles::before {
  left: 10%;
  bottom: 14%;
  width: 9px;
  height: 9px;
  opacity: 0.58;
  box-shadow:
    50px -50px 0 0 rgba(var(--color-accent-rgb), 0.42),
    82px -10px 0 0 rgba(var(--color-accent-rgb), 0.34),
    44px 38px 0 0 rgba(var(--color-accent-rgb), 0.48),
    108px -38px 0 0 rgba(var(--color-accent-rgb), 0.26),
    16px -46px 0 2px rgba(var(--color-accent-rgb), 0.4),
    74px 64px 0 0 rgba(var(--color-accent-rgb), 0.32);
}

.section-text-salute--articles::after {
  left: 18%;
  bottom: 20%;
  width: 6px;
  height: 6px;
  opacity: 0.64;
  box-shadow:
    72px -22px 0 0 rgba(var(--color-accent-rgb), 0.44),
    34px -64px 0 0 rgba(var(--color-accent-rgb), 0.36),
    92px 24px 0 0 rgba(var(--color-accent-rgb), 0.4),
    56px -78px 0 0 rgba(var(--color-accent-rgb), 0.28);
}

.two-col__text--padded .section-tab-label {
  z-index: 1;
}

.two-col__text--padded .section-lead {
  position: relative;
  z-index: 1;
}

.section-card-row .two-col__text--padded {
  --text-col-inner-gap: 16px;
  --text-col-lead-gap: 10px;
  padding:
    calc(var(--section-pad) + 28px)
    calc(var(--section-pad) + var(--text-col-inner-gap))
    calc(var(--section-pad) + 28px)
    calc(var(--section-pad) + var(--text-col-inner-gap));
}

.section-card-row .two-col__text--padded .section-tab-label {
  font-size: 1.0625rem;
}

.section-card-row .two-col__text--padded .section-lead {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: var(--text-col-lead-gap);
}

.section-tab-btn {
  position: absolute;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--carousel-titlebar-h);
  min-height: var(--carousel-titlebar-h);
  padding: 0 18px;
  box-sizing: border-box;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
}

.section-tab-btn:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.section-tab-btn--edge-right {
  right: 0;
  border-radius: 0 0 0 var(--radius-inner);
}

.section-tab-btn--edge-left {
  left: 0;
  border-radius: 0 0 var(--radius-inner) 0;
}

.section-tab-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: calc(var(--carousel-titlebar-h) + 12px);
  margin: 0;
  padding: 16px 56px;
  box-sizing: border-box;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.section-tab-label--edge-left {
  border-radius: 0 0 var(--radius-inner) 0;
}

.section-tab-label--edge-right {
  border-radius: 0 0 0 var(--radius-inner);
}

@media (min-width: 768px) {
  .section-tab-btn {
    padding: 0 20px;
    font-size: 0.9375rem;
  }

  .section-tab-label {
    position: absolute;
    top: 0;
    z-index: 4;
    padding: 18px 64px;
    min-height: calc(var(--carousel-titlebar-h) + 14px);
    font-size: 1.25rem;
  }

  .section-tab-label--edge-left {
    left: 0;
  }

  .section-tab-label--edge-right {
    right: 0;
  }

  .two-col__text--padded {
    padding-top: calc(var(--section-pad) + var(--carousel-titlebar-h) + 16px);
  }

  .section-card-row .two-col__text--padded {
    --text-col-inner-gap: 20px;
    --text-col-lead-gap: 12px;
    padding:
      calc(var(--section-pad) + var(--carousel-titlebar-h) + 48px)
      calc(var(--section-pad) + var(--text-col-inner-gap))
      calc(var(--section-pad) + 28px)
      calc(var(--section-pad) + var(--text-col-inner-gap));
  }

  .section-card-row .two-col__text--padded .section-tab-label {
    font-size: 1.25rem;
    padding: 18px 72px;
    min-height: calc(var(--carousel-titlebar-h) + 16px);
  }

  .section-card-row .two-col__text--padded .section-lead {
    font-size: 1rem;
    margin-top: var(--text-col-lead-gap);
  }
}

@media (min-width: 1024px) {
  .section-card-row .two-col__text--padded {
    --text-col-inner-gap: 24px;
    --text-col-lead-gap: 14px;
    padding:
      calc(var(--section-pad) + var(--carousel-titlebar-h) + 56px)
      calc(var(--section-pad) + var(--text-col-inner-gap))
      calc(var(--section-pad) + 40px)
      calc(var(--section-pad) + var(--text-col-inner-gap));
  }

  .section-card-row .two-col__text--padded .section-tab-label {
    font-size: 1.375rem;
    padding: 20px 88px;
    min-height: calc(var(--carousel-titlebar-h) + 18px);
  }

  .section-card-row .two-col__text--padded .section-lead {
    font-size: 1.0625rem;
    margin-top: var(--text-col-lead-gap);
  }
}

.clients-section.section-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.clients-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--section-gap);
}

.clients-block__intro.section-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 1px solid var(--color-border);
  padding:
    calc(var(--section-pad) + 16px)
    calc(var(--section-pad) + 20px)
    calc(var(--section-pad) + 12px)
    calc(var(--section-pad) + 20px);
}

.clients-block__intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.05em;
  padding: 0 12px;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.85) 22%,
    rgba(0, 0, 0, 0.85) 78%,
    transparent 100%
  );
}

.clients-block__intro-line {
  padding-left: var(--row-offset, 0);
  color: rgba(26, 26, 26, 0.06);
  font-size: clamp(0.8125rem, 1.45vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
}

.clients-block__intro-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
}

.clients-block__intro-text {
  text-align: left;
  min-width: 0;
}

.clients-block__intro-text .section-title {
  margin-bottom: 8px;
}

.clients-block__intro-text .section-lead {
  margin-bottom: 0;
  max-width: 42ch;
}

.clients-block__stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 10px 16px 12px 56px;
  min-width: 6.5rem;
  overflow: visible;
}

.clients-block__stats-salute {
  position: absolute;
  right: -6px;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.clients-block__stats-salute::before,
.clients-block__stats-salute::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
}

.clients-block__stats-salute::before {
  right: 0;
  top: 0;
  width: 7px;
  height: 7px;
  opacity: 0.5;
  box-shadow:
    -32px -46px 0 0 rgba(var(--color-accent-rgb), 0.38),
    -62px -24px 0 0 rgba(var(--color-accent-rgb), 0.28),
    -86px 4px 0 2px rgba(var(--color-accent-rgb), 0.44),
    -68px 32px 0 0 rgba(var(--color-accent-rgb), 0.2),
    -36px 42px 0 0 rgba(var(--color-accent-rgb), 0.34),
    -104px -46px 0 0 rgba(var(--color-accent-rgb), 0.16),
    -14px -32px 0 2px rgba(var(--color-accent-rgb), 0.36),
    -94px 20px 0 0 rgba(var(--color-accent-rgb), 0.24),
    -52px -52px 0 0 rgba(var(--color-accent-rgb), 0.3),
    -78px -8px 0 0 rgba(var(--color-accent-rgb), 0.22);
}

.clients-block__stats-salute::after {
  right: 8px;
  top: 6px;
  width: 4px;
  height: 4px;
  opacity: 0.62;
  box-shadow:
    -50px -14px 0 0 rgba(var(--color-accent-rgb), 0.46),
    -78px -38px 0 0 rgba(var(--color-accent-rgb), 0.26),
    -24px -50px 0 0 rgba(var(--color-accent-rgb), 0.32),
    -100px -6px 0 0 rgba(var(--color-accent-rgb), 0.18),
    -58px 28px 0 0 rgba(var(--color-accent-rgb), 0.4),
    -82px 38px 0 0 rgba(var(--color-accent-rgb), 0.14),
    -112px -28px 0 0 rgba(var(--color-accent-rgb), 0.3),
    -40px 14px 0 0 rgba(var(--color-accent-rgb), 0.36),
    -66px 48px 0 0 rgba(var(--color-accent-rgb), 0.2),
    -18px -42px 0 0 rgba(var(--color-accent-rgb), 0.28);
}

.clients-block__stats .stat {
  position: relative;
  z-index: 1;
  align-items: flex-start;
  text-align: left;
}

.clients-block__stats .stat__value {
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.clients-block__stats .stat__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .clients-block__intro-head {
    grid-template-columns: 1fr auto;
    gap: 24px 40px;
    align-items: center;
  }

  .clients-block__stats {
    justify-content: flex-end;
  }

  .clients-block__stats .stat {
    align-items: flex-end;
    text-align: right;
  }
}

.clients-dual__panel.section-card {
  margin-bottom: 0;
  padding: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: none;
}

.clients-dual.section-card-row.two-col {
  gap: 0;
  margin-bottom: 0;
}

.clients-dual__col {
  display: flex;
  min-width: 0;
  min-height: 0;
}

.clients-dual__col + .clients-dual__col {
  border-top: 1px solid var(--color-border);
}

.clients-block .clients-dual .carousel-panel--stretch,
.clients-block .clients-dual .v-carousel__viewport,
.clients-block .clients-dual .v-carousel__window,
.clients-block .clients-dual .v-carousel__slide,
.clients-block .clients-dual .client-card {
  border-radius: 0;
}

.clients-block .clients-dual .carousel-panel--stretch {
  border: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .clients-dual__col + .clients-dual__col {
    border-top: none;
    border-left: 1px solid var(--color-border);
  }
}

.clients-dual {
  --carousel-window-h: 168px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .clients-dual.section-card-row.two-col {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .clients-dual {
    --carousel-window-h: 220px;
  }
}

@media (min-width: 1024px) {
  .clients-dual {
    --carousel-window-h: 260px;
  }
}

.clients-dual .v-carousel__slide .client-card__title {
  white-space: normal;
}

.two-col__media {
  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.carousel-panel--stretch {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: none;
  border-radius: inherit;
  box-shadow: none;
  background: var(--color-surface);
}

.v-carousel--stretch {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.section-card-row .two-col__media {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.section-card-row .carousel-panel--stretch {
  flex: 1;
  min-height: 0;
  border-radius: var(--radius-section);
  overflow: hidden;
}

.section-card-row .v-carousel--stretch {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: inherit;
  overflow: hidden;
}

.section-card-row .v-carousel--stretch .v-carousel__viewport {
  flex: 1;
  height: auto;
  min-height: var(--carousel-window-h);
}

@media (max-width: 767px) {
  .section-card-row .carousel-panel--stretch {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-inner);
    box-shadow: var(--shadow-sm);
  }
}

.v-carousel--stretch .v-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  min-height: var(--carousel-window-h);
}

.v-carousel--stretch .v-carousel__window {
  position: absolute;
  inset: 0;
  z-index: 0;
  flex: none;
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
}

.v-carousel--stretch .carousel__controls--titlebar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  padding: 24px 28px 0;
  height: auto;
  min-height: var(--carousel-titlebar-h);
  box-sizing: border-box;
  align-items: flex-start;
}

.v-carousel--stretch .carousel__controls--titlebar .carousel-dots,
.v-carousel--stretch .carousel__controls--titlebar .carousel-dot {
  pointer-events: auto;
}

.v-carousel--stretch .v-carousel__slide {
  flex: 0 0 var(--carousel-window-h);
  height: var(--carousel-window-h);
}



.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 26, 26, 0.22);
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.is-active {
  background: var(--color-accent);
  box-shadow: none;
  transform: scale(1.25);
}

.carousel__controls--titlebar .carousel-dots {
  gap: 8px;
}

.carousel__controls--titlebar .carousel-dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.carousel__controls--titlebar .carousel-dot.is-active {
  background: #fff;
  box-shadow: none;
  transform: scale(1.15);
}

@media (min-width: 768px) {
  .carousel__controls--titlebar {
    padding: 28px 32px 0;
  }

  .carousel__controls--titlebar .carousel-dots {
    gap: 9px;
  }

  .carousel__controls--titlebar .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .v-carousel--stretch .carousel__controls--titlebar {
    padding: 28px 32px 0;
  }
}

/* ─── Carousel panel ─── */
.carousel-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inner);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.carousel-panel--clients {
  margin-top: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid var(--color-border);
}

.section-card__inner--clients {
  padding: var(--section-pad) 0 0;
}

.clients-section__header {
  padding: 0 var(--section-pad);
  margin-bottom: 24px;
}

.section-card__inner--clients .carousel-panel--stretch {
  margin: 0 var(--section-pad) var(--section-pad);
  border-bottom-left-radius: var(--radius-section);
  border-bottom-right-radius: var(--radius-section);
}

.carousel-panel--clients .h-carousel__viewport {
  display: flex;
  flex-direction: column;
}

.carousel-panel--clients .h-carousel__window {
  order: 1;
  padding: 0;
}

.carousel-panel--clients .h-carousel__controls {
  order: 2;
}

.v-carousel {
  position: relative;
}

.v-carousel__viewport {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg);
}

.v-carousel__window {
  overflow: hidden;
  height: var(--carousel-window-h);
}

.v-carousel__track {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .v-carousel__track {
    transition: none;
  }
}

.v-carousel__slide {
  flex: 0 0 var(--carousel-window-h);
  height: var(--carousel-window-h);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.v-carousel__slide .service-card {
  flex: 1;
  min-height: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--color-bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit;
}

.v-carousel__slide .service-card {
  --slide-content-inset: 12px;
  overflow: hidden;
  border-radius: 0;
  padding-top: calc(var(--carousel-titlebar-h) + var(--slide-content-inset));
  padding-left: calc(var(--carousel-titlebar-h) + var(--slide-content-inset));
}

.service-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  pointer-events: none;
}

.v-carousel__slide.is-active .service-card__bg {
  filter: blur(2px);
  transform: scale(1.1);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26, 26, 26, 0.48);
  pointer-events: none;
}

.service-card[style*="background-image"]::before,
.service-card:has(.service-card__bg)::before {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.62) 0%,
    rgba(26, 26, 26, 0.42) 100%
  );
}

.service-card:not([style*="background-image"]):not(:has(.service-card__bg))::before {
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.78) 0%,
    rgba(26, 26, 26, 0.62) 55%,
    rgba(26, 26, 26, 0.5) 100%
  );
}

.service-card__icon,
.service-card__title,
.service-card__desc,
.service-card__link {
  position: relative;
  z-index: 2;
}

.service-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--color-accent-light);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-card__title {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.service-card__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin-top: 2px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__link {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-end;
  color: #fff;
  z-index: 2;
}

.service-card__link:hover {
  color: rgba(255, 255, 255, 0.85);
}

button.service-card__link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
}

@media (min-width: 768px) {
  .service-card {
    padding: 24px 26px;
    gap: 10px;
  }

  .v-carousel__slide .service-card {
    --slide-content-inset: 16px;
    padding-top: calc(var(--carousel-titlebar-h) + var(--slide-content-inset));
    padding-left: calc(var(--carousel-titlebar-h) + var(--slide-content-inset));
    padding-right: 26px;
    padding-bottom: 24px;
  }

  .section-card__inner--carousel-row .client-card,
  .section-card-row .client-card {
    padding-top: calc(var(--carousel-titlebar-h) + 16px);
  }

  .service-card__icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .service-card__title {
    font-size: 2.6rem;
  }

  .service-card__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.88);
  }

  .service-card__link {
    font-size: 1rem;
  }
}

/* ─── Client cards in vertical carousel ─── */
.v-carousel__slide .client-card {
  flex: unset;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-right: none;
  border-radius: 0;
  box-sizing: border-box;
  padding: 16px 18px;
  gap: 6px;
}

.v-carousel__slide .client-card__title {
  white-space: normal;
}

.v-carousel__slide .client-card__desc {
  flex: 1;
}

@media (min-width: 768px) {
  .v-carousel__slide .client-card {
    padding: 24px 26px;
    gap: 10px;
  }
}

.clients-block .clients-dual .v-carousel__slide .client-card {
  justify-content: flex-start;
  padding: 14px 18px 10px;
  gap: 4px;
}

.clients-block .clients-dual .client-card__logo {
  height: 36px;
  margin-bottom: 4px;
}

.clients-block .clients-dual .client-card__title {
  margin-bottom: 2px;
}

.clients-block .clients-dual .client-card__desc {
  flex: 0 1 auto;
}

@media (min-width: 768px) {
  .clients-block .clients-dual .v-carousel__slide .client-card {
    padding: 16px 26px 10px;
    gap: 5px;
  }

  .clients-block .clients-dual .client-card__logo {
    height: 40px;
    margin-bottom: 6px;
  }
}

/* ─── Clients grid (admin / legacy) ─── */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 var(--section-pad) var(--section-pad);
}

@media (min-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.clients-grid .client-card {
  flex: unset;
  width: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inner);
  box-shadow: var(--shadow-sm);
}

.clients-grid .client-card:last-child {
  border-right: 1px solid var(--color-border);
}

.clients-grid .client-card__title {
  white-space: normal;
}

/* ─── Horizontal carousel — clients (legacy) ─── */
.h-carousel {
  position: relative;
}

.h-carousel__viewport {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg);
}

.h-carousel__window {
  overflow: hidden;
}

.h-carousel__track {
  display: flex;
  gap: 0;
  transition: transform 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .h-carousel__track {
    transition: none;
  }
}

.h-carousel--autoplay .h-carousel__track {
  animation: scroll-clients 45s linear infinite;
}

.h-carousel--autoplay.h-carousel--reverse .h-carousel__track {
  animation: scroll-clients 50s linear infinite reverse;
}

.h-carousel--autoplay:hover .h-carousel__track,
.h-carousel--autoplay:focus-within .h-carousel__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .h-carousel--autoplay .h-carousel__track {
    animation: none;
  }
}

@keyframes scroll-clients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-card {
  flex: 0 0 min(85vw, 280px);
  padding: 18px 20px;
  background: var(--color-surface);
  border: none;
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  transition: background var(--transition);
}

.client-card:last-child {
  border-right: none;
}

.client-card:hover {
  background: var(--color-surface);
}

.client-card__logo {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter var(--transition), opacity var(--transition);
}

.client-card:hover .client-card__logo {
  filter: grayscale(0);
  opacity: 1;
}

.client-card__logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-muted);
  letter-spacing: -0.02em;
}

.client-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .client-card {
    flex: 0 0 320px;
    padding: 24px 26px;
  }
}

/* ─── Form ─── */
.form-section {
  margin-bottom: var(--section-gap);
  background: transparent;
}

.form-section__grid {
  display: grid;
  gap: var(--section-gap);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .form-section__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .form-section__grid {
    grid-template-columns: 2fr 3fr;
    gap: 20px;
  }
}

.form-section .section-card {
  margin-bottom: 0;
}

.form-pd-card.section-card {
  background: linear-gradient(
    180deg,
    var(--color-surface) 0%,
    var(--color-bg-alt) 100%
  );
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 var(--text-col-inset-top),
    inset 0 -1px 0 var(--text-col-inset-bottom);
}

.form-pd-card .section-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.form-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.form-info__pd {
  flex: 1;
  min-height: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-radius: 0;
}

.form-info__policy-link {
  flex-shrink: 0;
  margin-top: auto;
  align-self: flex-start;
  padding-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

@media (min-width: 768px) {
  .form-info__policy-link {
    padding-top: 16px;
    font-size: 0.875rem;
  }
}

.form-info__pd ul {
  list-style: disc;
  padding-left: 16px;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-info__pd-full {
  display: none;
}

.form-info__pd-full.is-expanded {
  display: block;
}

.pd-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 4px 0 0;
  margin-top: 4px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
}

.form-card .section-card__inner--form {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inner);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  box-sizing: border-box;
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}

.form-group textarea {
  min-height: 88px;
  resize: vertical;
}

.form-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  min-height: 0;
}

.form-body .form-group {
  padding: 0 var(--section-pad);
}

.form-body .form-group:first-child {
  padding-top: var(--section-pad);
}

.form-body .form-group:last-child {
  margin-bottom: 4px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 28px var(--section-pad) 24px;
  background: transparent;
  border: none;
}

.form-footer .form-checkbox {
  flex: 1;
  min-width: 0;
}

.form-footer .btn {
  flex-shrink: 0;
  border-radius: var(--radius-inner);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.form-checkbox input {
  margin-top: 0;
  accent-color: var(--color-accent);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .two-col {
    gap: 12px;
  }

  .two-col__text .section-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .two-col__text .section-lead {
    font-size: 0.8125rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .two-col__text .bullet-list li:nth-child(n+3) {
    display: none;
  }

  .section-tab-btn {
    position: static;
    display: inline-flex;
    height: var(--carousel-titlebar-h);
    min-height: var(--carousel-titlebar-h);
    margin-bottom: 12px;
    border-radius: var(--radius-inner);
  }

  .section-tab-label {
    position: static;
    margin-bottom: 12px;
    border-radius: var(--radius-inner);
  }

  .section-card__inner--carousel-row .two-col__text--padded {
    padding-top: var(--section-pad);
  }

  .form-info .section-title {
    font-size: 1.2rem;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 24px var(--section-pad) 20px;
    background: transparent;
    border: none;
  }

  .form-footer .btn {
    width: 100%;
    justify-content: center;
  }

  .form-info .section-lead {
    display: block;
    font-size: 0.8125rem;
    margin-bottom: 0;
  }

  .form-info__pd {
    padding: 12px 14px;
  }
}

/* Tablet + Desktop */
@media (min-width: 768px) {
  .pd-toggle {
    display: none;
  }

  .form-info__pd-short {
    display: none;
  }

  .form-info__pd-full {
    display: block;
  }

  .form-info__pd {
    font-size: 0.85rem;
    background: transparent;
    border: none;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .form-group label {
    font-size: 0.875rem;
  }
}

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: calc(var(--dock-height) + var(--fab-size) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--color-success);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-inner);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .toast {
    bottom: 28px;
    font-size: 0.9rem;
    padding: 14px 24px;
  }
}

/* ─── Footer ─── */
.site-footer {
  position: relative;
  background: var(--footer-bg, #1a1a1a);
  color: var(--footer-fg, rgba(255, 255, 255, 0.85));
  border: none;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.site-footer:has(.footer-dev-badge) .section-card__inner,
.site-footer:has(.footer-copy-badge) .section-card__inner {
  padding-bottom: calc(var(--section-pad) + var(--carousel-titlebar-h) + 6px);
}

.footer-copy-badge,
.footer-dev-badge,
a.footer-dev-badge {
  position: absolute;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--carousel-titlebar-h);
  min-height: var(--carousel-titlebar-h);
  margin: 0;
  padding: 0 18px;
  box-sizing: border-box;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
}

a.footer-dev-badge:hover {
  color: #fff;
  filter: brightness(1.06);
}

.footer-copy-badge {
  left: 0;
  border-radius: 0 var(--radius-inner) 0 var(--radius-section);
}

.footer-dev-badge {
  right: 0;
  border-radius: var(--radius-section) 0 0 0;
}

@media (min-width: 768px) {
  .footer-copy-badge,
  .footer-dev-badge {
    padding: 0 20px;
    font-size: 0.875rem;
  }
}

.footer-address {
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .site-public .site-footer.section-card {
    background: var(--footer-bg, #0a0a0a);
    color: var(--footer-fg, rgba(255, 255, 255, 0.85));
    border-color: rgba(255, 255, 255, 0.08);
  }
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-tagline {
  margin-top: 8px;
  font-size: 0.9375rem;
  opacity: 0.75;
  line-height: 1.5;
}

.footer-grid .logo {
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-nav span {
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.footer-nav--policy a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-nav--policy a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
  }
}

/* ─── Bottom dock + FAB ─── */
.bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: 6px var(--page-gutter) max(6px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: var(--dock-height);
  box-shadow: 0 -4px 16px rgba(26, 26, 26, 0.04);
}

@media (min-width: 768px) {
  .bottom-dock,
  .fab {
    display: none;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--transition);
  min-width: 44px;
}

.dock-item__icon {
  font-size: 1.15rem;
  line-height: 1;
}

.dock-item.is-active {
  color: var(--color-accent);
}

.dock-item:hover {
  color: var(--color-accent);
}

.fab {
  position: fixed;
  bottom: calc(var(--dock-height) + 10px);
  right: var(--page-gutter);
  z-index: 160;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.fab:hover {
  background: var(--color-accent-hover);
  transform: scale(1.04);
}

.carousel-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
