/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

/* Decorative blurred glow (Figma «Ellipse 1») */
/* left/top = centre of the circle, as in Figma (cx, cy relative to the section) */
.glow {
  position: absolute;
  width: var(--glow-size);
  height: var(--glow-size);
  transform: translate(-50%, -50%);
  background: var(--glow-primary);
  pointer-events: none;
}

.glow--dark {
  background: var(--glow-accent);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-height);
  background: var(--gradient-header);
  color: var(--color-text-inverse);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header__logo {
  flex: none;
  display: block;
  width: var(--logo-width);
  height: var(--logo-height);
}

.site-header__logo img {
  width: 100%;
  height: 100%;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-30);
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-inline: var(--space-10);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
  font-weight: var(--fw-semibold);
  color: var(--color-text-inverse);
  white-space: nowrap;
}

.nav__link[aria-disabled="true"] {
  cursor: default;
}

/* Active page: lime underline 10px below the link text */
.nav__link[aria-current="page"]::after,
.nav__item--active > .nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * (var(--space-10) + var(--nav-underline)));
  height: var(--nav-underline);
  background: var(--color-accent-bright);
}

.nav__chevron {
  width: var(--space-14);
  height: auto;
}

/* Dropdown — not designed in Figma, see PLAN.md «Решения и отклонения» */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: var(--dropdown-width);
  padding: var(--space-xs);
  margin-top: var(--space-20);
  background: var(--color-bg-dark);
  border: var(--stroke-1) solid var(--color-border-inverse);
  border-radius: var(--radius-20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(var(--space-xs) * -1));
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

/* Invisible bridge between the link and the panel keeps :hover while moving down */
.dropdown::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--space-20)) 0 100%;
}

/* Empty dropdowns (items to be added later) never open */
.dropdown:not(:has(li)) {
  display: none;
}

.nav__item--dropdown:hover > .dropdown,
.nav__item--dropdown:focus-within > .dropdown,
.nav__item--dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown__link {
  display: block;
  padding: var(--space-10) var(--space-14);
  border-radius: var(--space-12);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
  color: var(--color-text-inverse-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown__link:hover,
.dropdown__link[aria-current="page"] {
  background: var(--color-white-5);
  color: var(--color-text-inverse);
}

.lang {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  height: var(--lang-height);
  padding-inline: var(--space-12);
  border: var(--stroke-1) solid var(--color-white-24);
  border-radius: var(--radius-pill);
  background: var(--color-white-14);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
  font-weight: var(--fw-semibold);
  cursor: default;
}

.lang img {
  width: var(--icon-20);
  height: var(--icon-20);
}

/* =========================================================
   Buttons & links
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  height: var(--btn-height);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-pill);
  font-size: var(--fs-button);
  line-height: var(--lh-button);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-text);
}

.btn--outline {
  gap: var(--space-10);
  height: calc(var(--btn-height) + 2 * var(--stroke-1));
  border: var(--stroke-1) solid var(--color-border);
  color: var(--color-border);
}

.btn__icon {
  width: var(--space-12);
  height: var(--space-12);
}

.btn--outline .btn__icon {
  width: auto;
  height: var(--icon-20);
}

/* Round dark button with an arrow (60×60) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--btn-icon);
  height: var(--btn-icon);
  border-radius: 50%;
  background: var(--color-grey-10);
  color: var(--color-text-inverse);
}


.icon-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.icon-btn img {
  width: var(--icon-16);
  height: var(--icon-16);
}

.icon-btn--slider img {
  width: auto;
  height: var(--space-30);
}

.icon-btn--next img {
  transform: scaleX(-1);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
}

.link-more img {
  width: var(--icon-18);
  height: var(--icon-18);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: var(--chip-height);
  padding-inline: var(--space-14);
  border-radius: var(--radius-pill);
  background: var(--color-bg-muted);
  color: var(--color-text-muted);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  font-weight: var(--fw-semibold);
}

.chip--accent {
  color: var(--color-chartreuse-30);
}

/* =========================================================
   Breadcrumbs
   ========================================================= */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-10);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
  font-weight: var(--fw-semibold);
  color: var(--color-text-inverse-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.breadcrumbs li + li::before {
  content: "/";
}


.breadcrumbs [aria-current="page"] {
  color: var(--color-text-inverse);
}

.breadcrumbs__home img {
  width: var(--icon-20);
  height: var(--icon-20);
}

/* =========================================================
   Hero (shared by inner pages and service pages)
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--hero-height);
  padding-top: var(--header-height);
  padding-bottom: var(--space-100);
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  overflow: hidden;
}

.hero__media,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  z-index: 1;
  background: var(--gradient-hero);
}

.hero::after {
  content: "";
  z-index: 1;
  background: var(--gradient-hero-page-side);
  opacity: var(--opacity-70);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-s-plus);
}

.hero__title {
  max-width: var(--width-780);
}

.hero__lead {
  max-width: var(--width-600);
  color: var(--color-white-88);
}

/* Technologies: the 3-line title sits 20px lower in Figma */
.hero--low {
  padding-bottom: var(--space-80);
}

.hero--service {
  min-height: var(--hero-service-height);
}

.hero--service::before {
  background: var(--gradient-hero-service);
}

.hero--service::after {
  content: none;
}

.hero--service .hero__content {
  gap: var(--space-28);
}

.hero--service .hero__title {
  max-width: none;
}

.hero--service .hero__lead {
  max-width: var(--width-820);
}

/* =========================================================
   Dark section with column cards («Niyə bizi seçirlər?», «Dəyərlərimiz»)
   ========================================================= */
.feature-cols {
  position: relative;
  overflow: hidden;
}

/* Glows: top-right (#79B354) and bottom-left (#4B7830), same place on home and about */
.feature-cols__glow-1 {
  left: var(--glow-why-1-x);
  top: var(--glow-why-1-y);
}

.feature-cols__glow-2 {
  left: var(--glow-why-2-x);
  top: var(--glow-why-2-y);
}

.feature-cols__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding-top: var(--space-90);
  padding-bottom: var(--space-60);
}

/* flex-basis 0 keeps the content width equal while edge columns get the page gutter */
.feature-cols__grid {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: var(--container-width);
  margin-inline: auto;
}

.feature-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: var(--feature-col-height);
  padding: var(--space-28);
  background: var(--color-white-5);
}

.feature-col + .feature-col {
  border-left: var(--stroke-1) solid var(--color-border-inverse);
}

.feature-col:first-child {
  padding-left: var(--page-gutter);
}

.feature-col:last-child {
  padding-right: var(--page-gutter);
}

.feature-col__num {
  margin-bottom: var(--space-14);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  font-weight: var(--fw-medium);
  color: var(--color-accent-bright);
}

.feature-col__icon {
  flex: none;
  width: var(--btn-icon);
  height: var(--btn-icon);
  margin-bottom: var(--space-14);
  color: var(--color-accent-bright);
}

/* «Dəyərlərimiz»: only the first column gets the page gutter (375/355/355/355 in Figma) */
.feature-cols--icons .feature-col:last-child {
  padding-right: var(--space-28);
}

.feature-col__title {
  margin-bottom: var(--space-13-5);
}

.feature-col__text {
  color: var(--color-text-inverse-muted);
}

/* =========================================================
   Numbered steps (service pages)
   ========================================================= */
.steps__row {
  display: grid;
  grid-template-columns: var(--steps-aside-width) 1fr;
  border-bottom: var(--stroke-1) solid var(--color-border);
}

.steps__row:last-child {
  border-bottom: 0;
}

.steps__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-22);
  padding: var(--space-60) var(--page-gutter);
  border-right: var(--stroke-1) solid var(--color-border);
}

.steps__num {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  font-weight: var(--fw-medium);
  color: var(--color-accent);
}

.steps__title {
  font-size: var(--fs-h3-lg);
  line-height: var(--lh-h3-lg);
  letter-spacing: var(--ls-h3-lg);
  font-weight: var(--fw-semibold);
}

.steps__text {
  padding: var(--space-60) var(--page-gutter);
  color: var(--color-text-muted);
}

/* =========================================================
   Related projects («Əlaqəli layihələr»)
   ========================================================= */
.related {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-80);
}

.related__title {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-30);
  text-align: center;
}

.related__list {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: var(--container-width);
  margin-inline: auto;
}

.related-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: var(--related-card-height);
  padding: var(--space-28);
  background: var(--color-white-5);
}

.related-card + .related-card {
  border-left: var(--stroke-1) solid var(--color-border-inverse);
}

.related-card:first-child {
  padding-left: var(--page-gutter);
}

.related-card:last-child {
  padding-right: var(--page-gutter);
}

.related-card:only-child {
  flex: 0 0 var(--related-card-width);
  padding-right: var(--space-28);
}

.related-card__text {
  margin-top: var(--space-10);
  color: var(--color-text-inverse-muted);
}

.related-card__meta {
  margin-top: auto;
  padding-top: var(--space-20);
  border-top: var(--stroke-1) solid var(--color-border-inverse);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
  font-weight: var(--fw-semibold);
  color: var(--color-accent-bright);
}

/* =========================================================
   CTA banner (service pages)
   ========================================================= */
.cta {
  position: relative;
  padding-block: var(--space-80);
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  text-align: center;
  overflow: hidden;
}

.cta__media,
.cta::before {
  position: absolute;
  inset: 0;
}

.cta__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta::before {
  content: "";
  z-index: 1;
  background: var(--overlay-cta);
}

.cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-30);
}

/* =========================================================
   Contact form (dark)
   ========================================================= */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

.form__field--wide {
  grid-column: 1 / -1;
}

.form__input {
  display: block;
  width: 100%;
  padding: var(--space-10);
  border: 0;
  border-bottom: var(--stroke-1) solid var(--color-text-inverse-muted);
  border-radius: 0;
  background: transparent;
  color: var(--color-text-inverse);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-semibold);
}

.form__input::placeholder {
  color: var(--color-text-inverse-muted);
  opacity: 1;
}

.form__input:focus {
  outline: none;
  border-bottom-color: var(--color-accent-bright);
}

.form__input--textarea {
  padding-block: var(--space-16) var(--space-14);
  min-height: calc(var(--lh-body) + var(--space-30));
  resize: none;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
}

.form__alt {
  display: flex;
  align-items: center;
  gap: var(--space-20);
}

.form__alt-note {
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  font-weight: var(--fw-semibold);
  color: var(--color-border);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  font-size: var(--fs-link);
  line-height: var(--lh-link);
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: var(--space-64);
  padding-bottom: var(--space-50);
}

.site-footer__logo {
  display: block;
  width: var(--logo-footer-width);
  height: var(--logo-footer-height);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  color: var(--color-text-inverse-muted);
}


.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.site-footer__label {
  color: var(--color-text-inverse-muted);
}

.site-footer__value {
  font-weight: var(--fw-semibold);
  font-style: normal;
}

.socials {
  display: flex;
  gap: var(--space-xs);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--social-size);
  height: var(--social-size);
  border: var(--stroke-1) solid var(--color-white-24);
  border-radius: 50%;
}


.socials img {
  width: var(--icon-16);
  height: var(--icon-16);
}

.site-footer__bottom {
  padding-block: var(--space-28) var(--space-68);
  border-top: var(--stroke-1) solid var(--color-border-inverse);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--color-text-inverse-muted);
  text-align: center;
}

/* =========================================================
   Responsive (no tablet/mobile frames in Figma — PLAN.md)
   ========================================================= */
.menu-toggle {
  display: none;
}

@media (max-width: 1200px) {
  .nav__list {
    gap: var(--space-10);
  }
}

@media (max-width: 1100px) {
  /* Header → burger + full-screen panel */
  .site-header__inner {
    gap: var(--space-16);
  }

  .site-header__logo {
    margin-right: auto;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--lang-height);
    height: var(--lang-height);
    border: var(--stroke-1) solid var(--color-white-24);
    border-radius: 50%;
    background: var(--color-white-14);
  }

  .menu-toggle__bar,
  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    position: absolute;
    width: var(--space-16);
    height: var(--stroke-15);
    background: var(--color-white);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    content: "";
    left: 0;
  }

  .menu-toggle__bar::before {
    transform: translateY(calc(-1 * var(--space-6)));
  }

  .menu-toggle__bar::after {
    transform: translateY(var(--space-6));
  }

  .menu-open .menu-toggle__bar {
    background: transparent;
  }

  .menu-open .menu-toggle__bar::before {
    background: var(--color-white);
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle__bar::after {
    background: var(--color-white);
    transform: rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 20;
    display: block;
    padding: var(--space-s-plus) var(--page-gutter) var(--space-40);
    background: var(--color-bg-dark);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
  }

  .menu-open .nav {
    visibility: visible;
    opacity: 1;
  }

  .menu-open {
    overflow: hidden;
  }

  .menu-open .site-header {
    position: fixed;
    background: var(--color-bg-dark);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item {
    border-bottom: var(--stroke-1) solid var(--color-border-inverse);
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: var(--space-16) 0;
    font-size: var(--fs-body);
  }

  .nav__link[aria-current="page"]::after,
  .nav__item--active > .nav__link::after {
    content: none;
  }

  .nav__link[aria-current="page"],
  .nav__item--active > .nav__link {
    color: var(--color-accent-bright);
  }

  .dropdown,
  .nav__item--dropdown:hover > .dropdown,
  .nav__item--dropdown:focus-within > .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 var(--space-10);
    padding: 0;
    border: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown::before {
    content: none;
  }

  .nav__item--dropdown.is-open > .dropdown {
    display: block;
  }

  .nav__item--dropdown.is-open .nav__chevron {
    transform: rotate(180deg);
  }

  .dropdown__link {
    padding-inline: var(--space-12);
  }

  .lang {
    order: 0;
  }
}

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

  .hero--service {
    min-height: var(--hero-service-height);
  }

  .feature-cols__grid {
    flex-wrap: wrap;
  }

  .feature-col {
    flex: 1 1 calc(100% / 3);
    min-height: 0;
    padding-inline: var(--page-gutter);
    border-top: var(--stroke-1) solid var(--color-border-inverse);
  }

  .feature-cols--icons .feature-col {
    flex-basis: 50%;
  }

  .feature-cols--icons .feature-col:last-child {
    padding-right: var(--page-gutter);
  }

  .steps__row {
    grid-template-columns: 1fr 2fr;
  }

  .related__list {
    flex-wrap: wrap;
  }

  .related-card,
  .related-card:only-child {
    flex: 1 1 100%;
    min-height: 0;
    padding-inline: var(--page-gutter);
  }

  .related-card + .related-card {
    border-left: 0;
    border-top: var(--stroke-1) solid var(--color-border-inverse);
  }

  .related-card__meta {
    margin-top: var(--space-20);
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-40);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: var(--space-60);
  }

  .hero--service .hero__content {
    gap: var(--space-20);
  }

  .feature-col {
    flex-basis: 50%;
  }

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

  .steps__aside {
    gap: var(--space-10);
    padding-bottom: 0;
    border-right: 0;
  }

  .steps__text {
    padding-top: var(--space-20);
  }

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

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

  .form__alt {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .feature-col,
  .feature-cols--icons .feature-col {
    flex-basis: 100%;
  }

  .feature-col + .feature-col {
    border-left: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Scroll reveal (by request, not in Figma). Types are assigned in js/main.js;
   the hidden state applies only when JS added .reveal-ready to <html>.
   Only opacity/transform are animated, so the GPU compositor does the work.
   ========================================================= */
.reveal-ready main {
  overflow-x: clip; /* elements sliding in from the right must not widen the page */
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready [data-reveal]:not(.is-revealed) {
  will-change: opacity, transform;
}

.reveal-ready [data-reveal="up"] {
  transform: translateY(var(--reveal-distance));
}

.reveal-ready [data-reveal="left"] {
  transform: translateX(calc(-1 * var(--reveal-shift)));
}

.reveal-ready [data-reveal="right"] {
  transform: translateX(var(--reveal-shift));
}

.reveal-ready [data-reveal="scale"] {
  transform: scale(var(--reveal-scale));
}

/* «Wipe» on photos: a cover in the surrounding colour slides away (transform only) */
.reveal-ready [data-reveal^="wipe"] {
  position: relative;
  opacity: 1;
  overflow: hidden;
}

.reveal-ready [data-reveal^="wipe"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--reveal-cover, var(--color-bg));
  transform-origin: 50% 100%;
  transition: transform var(--reveal-wipe-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
  pointer-events: none;
}

.reveal-ready [data-reveal="wipe-left"]::after {
  transform-origin: 100% 50%;
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.reveal-ready [data-reveal="wipe"].is-revealed::after {
  transform: scaleY(0);
}

.reveal-ready [data-reveal="wipe-left"].is-revealed::after {
  transform: scaleX(0);
}

.home-contact__media {
  --reveal-cover: var(--color-bg-dark);
}

/* =========================================================
   Button hovers (by request, not in Figma). Mouse devices only.
   ========================================================= */
.btn,
.icon-btn,
.socials a,
.vacancies__icon {
  transition:
    background-color var(--transition-hover),
    border-color var(--transition-hover),
    color var(--transition-hover);
}

.btn__icon,
.icon-btn img,
.vacancies__icon img {
  transition: transform var(--transition-hover);
}

@media (hover: hover) {
  .btn--primary:hover {
    background: var(--color-accent);
  }

  .btn--primary:hover .btn__icon {
    transform: translate(var(--hover-nudge), calc(-1 * var(--hover-nudge)));
  }

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

  .btn--outline:hover {
    border-color: var(--color-white);
    background: var(--color-white-12);
    color: var(--color-white);
  }

  .icon-btn:not(:disabled):hover,
  .services__more-link:hover .icon-btn {
    background: var(--color-primary);
  }

  .services__more-link:hover .icon-btn img {
    transform: translateX(var(--hover-nudge));
  }

  .socials a:hover {
    border-color: var(--color-white);
    background: var(--color-white-12);
  }
}

/* Buttons that are themselves reveal targets (CTA, quick apply) keep the hover transition */
.reveal-ready .btn[data-reveal] {
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    background-color var(--transition-hover),
    border-color var(--transition-hover),
    color var(--transition-hover);
}
