/* ==================================================================
   AAMER TRAVELS SERVICES — style.css
   Theme colours live in :root — change these to re-skin the whole site.
================================================================== */

:root {
  /* ---- BRAND COLOURS (edit these) ---- */
  --color-primary: #17335A;
  /* navy — headings & text accents */
  --color-primary-dark: #0E2038;
  /* deepest navy */
  --color-dark: #2B3354;
  /* dark section background (top bar, marquee, how it works, footer, etc.) */
  --color-dark-soft: #3a4470;
  /* lighter tone for borders/gradients on dark */
  --color-yellow: #fce700;
  /* buttons + active menu + accents */
  --color-yellow-dark: #e3d000;
  /* button hover */
  --color-secondary: #2E7D51;
  /* green — used sparingly (check ticks) */

  /* ---- NEUTRALS ---- */
  --color-white: #ffffff;
  --color-light: #f5f7fb;
  /* subtle section tint (almost white) */
  --color-tint: #eef2f8;
  /* alt tint */
  --color-ink: #1c2431;
  /* body / black text */
  --color-muted: #5b6675;
  /* muted text */
  --color-line: #e3e8f0;
  /* borders */

  /* ---- TYPE ---- */
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-data: 'Space Grotesk', sans-serif;

  /* ---- SHAPES / SHADOWS ---- */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(23, 51, 90, .08);
  --shadow-md: 0 14px 34px rgba(23, 51, 90, .12);
  --shadow-lg: 0 26px 60px rgba(23, 51, 90, .18);

  /* ---- MOTION ---- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;

  --header-h: 76px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.container,
.container-fluid {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* ==================================================================
   BASE / RESET
================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* smooth anchor scrolling */
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  /* guard against horizontal scroll */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--color-primary);
  margin: 0 0 .6rem;
}

p {
  margin: 0 0 1rem;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--dur) var(--ease);
}

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

/* highlighted words: yellow marker on light backgrounds */
.txt-accent {
  background: linear-gradient(transparent 60%, rgba(252, 231, 0, .55) 60%);
  padding: 0 .06em;
}

/* ==================================================================
   REUSABLE SECTION BITS
================================================================== */
.section {
  padding: 92px 0;
  position: relative;
}

.section--tint {
  background: var(--color-light);
}

/* DARK sections — one consistent dark colour, white text */
.section--dark {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .82);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark .txt-accent {
  background: none;
  color: var(--color-yellow);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 54px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 6px 14px;
  border: 1px solid rgba(23, 51, 90, .25);
  border-radius: 100px;
  margin-bottom: 16px;
}

.eyebrow--light {
  color: var(--color-yellow);
  border-color: rgba(252, 231, 0, .45);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
}

.section-title--light {
  color: var(--color-white);
}

.section-sub {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-sub--light {
  color: rgba(255, 255, 255, .75);
}

.lead-text {
  font-size: 1.12rem;
  color: var(--color-ink);
}

/* ==================================================================
   BUTTONS (yellow primary + varied styles)
================================================================== */
.btn-cta {
  background: var(--color-yellow);
  color: var(--color-ink);
  font-family: var(--font-head);
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 12px 26px;
  box-shadow: 0 10px 24px rgba(252, 231, 0, .32);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn-cta:hover {
  background: var(--color-yellow-dark);
  color: var(--color-ink);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(252, 231, 0, .42);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 100px;
  padding: 12px 26px;
  font-weight: 600;
  font-family: var(--font-head);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
}

/* ==================================================================
   1. TOP BAR
================================================================== */
.topbar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar__contacts {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__link {
  color: rgba(255, 255, 255, .8);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__link:hover {
  color: var(--color-yellow);
}

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

.topbar__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .7);
}

.topbar__social {
  display: flex;
  gap: 12px;
}

.topbar__social a {
  color: rgba(255, 255, 255, .75);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.topbar__social a:hover {
  background: var(--color-yellow);
  color: var(--color-ink);
  transform: translateY(-2px);
}

/* ==================================================================
   2. STICKY HEADER (white bg, black text, yellow active)
================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .navbar {
  min-height: var(--header-h);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 100px;
  width: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--color-primary);
  letter-spacing: .5px;
}

.brand-text small {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--color-ink);
  padding: 8px 16px;
  border-radius: 100px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

/* hover = light yellow tint, ACTIVE = solid #fce700 pill */
.navbar-nav .nav-link:hover {
  background: rgba(252, 231, 0, .22);
  color: var(--color-ink);
}

.navbar-nav .nav-link.active {
  background: var(--color-yellow);
  color: var(--color-ink);
  font-weight: 600;
}

/* custom hamburger */
.navbar-toggler {
  border: none;
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ==================================================================
   3. HERO CAROUSEL
================================================================== */
.hero {
  position: relative;
}

.hero__carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: clamp(520px, 82vh, 760px);
}

.hero .carousel-item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
}

/* Only the visible/transitioning slides use flex — prevents the
   classic Bootstrap carousel "stacking" bug where all slides show. */
.hero .carousel-item.active,
.hero .carousel-item-next,
.hero .carousel-item-prev {
  display: flex;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.3) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Content is LEFT-aligned, never centered */
.hero__content {
  max-width: 640px;
  color: #fff;
  text-align: left;
}

.hero__content .txt-accent {
  background: none;
  color: var(--color-yellow);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-yellow);
  background: rgba(252, 231, 0, .12);
  border: 1px solid rgba(252, 231, 0, .4);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero__text {
  color: rgba(255, 255, 255, .82);
  font-size: 1.12rem;
  margin-bottom: 28px;
  max-width: 540px;
}

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

/* controls */
.hero__ctrl {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  opacity: 1;
  margin: 0 18px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.hero__ctrl:hover {
  background: var(--color-yellow);
  color: var(--color-ink);
}

.carousel-control-prev.hero__ctrl {
  left: 0;
}

.carousel-control-next.hero__ctrl {
  right: 0;
}

.hero__dots {
  margin-bottom: 26px;
}

.hero__dots [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: .7;
  transition: all var(--dur) var(--ease);
}

.hero__dots .active {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  width: 30px;
  border-radius: 100px;
}

/* floating decorative icons */
.floaty {
  position: absolute;
  color: rgba(255, 255, 255, .14);
  z-index: 2;
  pointer-events: none;
}

.floaty--plane {
  top: 22%;
  right: 8%;
  font-size: 3rem;
  animation: floatY 6s ease-in-out infinite;
}

.floaty--globe {
  bottom: 14%;
  right: 20%;
  font-size: 4.4rem;
  animation: floatY 8s ease-in-out infinite reverse;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-18px) rotate(6deg);
  }
}

/* ==================================================================
   4. MARQUEE (rAF driven — JS handles motion, no CSS keyframes)
================================================================== */
.marquee {
  background: var(--color-dark);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  position: relative;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  will-change: transform;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0 38px;
  position: relative;
}

.marquee__item i {
  color: var(--color-yellow);
  font-size: 1.15rem;
}

.marquee__item::after {
  content: "\2726";
  position: absolute;
  right: -6px;
  color: rgba(255, 255, 255, .3);
}

/* ==================================================================
   5. ABOUT
================================================================== */
.about__media {
  position: relative;
  padding: 10px 30px 40px 0;
}

.about__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about__img--main {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about__img--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 220px;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  top: 26px;
  left: -14px;
  background: var(--color-yellow);
  color: var(--color-ink);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.1;
}

.about__badge-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.7rem;
}

.about__badge-label {
  font-size: .74rem;
  font-weight: 600;
}

.about__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.about__list i {
  color: var(--color-secondary);
  font-size: 1.15rem;
}

/* ==================================================================
   6. SERVICES (image cards — lift + image zoom hover)
================================================================== */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--color-line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card__img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.service-card:hover .service-card__img img {
  transform: scale(1.08);
}

.service-card__icon {
  position: absolute;
  bottom: -22px;
  right: 22px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-yellow);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease);
}

.service-card:hover .service-card__icon {
  transform: rotate(-8deg) scale(1.08);
}

.service-card__body {
  padding: 30px 24px 26px;
}

.service-card__body h3 {
  font-size: 1.22rem;
}

.service-card__body p {
  color: var(--color-muted);
  font-size: .96rem;
}

.service-card__link {
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link i {
  transition: transform var(--dur) var(--ease);
}

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

.service-card__link:hover i {
  transform: translateX(5px);
}

/* ==================================================================
   PLACE-NAME TICKER (text-only, rAF marquee) — dark section
================================================================== */
.destinations {
  background: var(--color-dark);
  padding: 74px 0 84px;
  overflow: hidden;
}

.destinations__head {
  margin-bottom: 34px;
}

.place-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.place-marquee--alt {
  margin-top: 8px;
}

.place-marquee__track {
  display: inline-flex;
  will-change: transform;
}

.place-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: #fff;
  margin: 0 26px;
  letter-spacing: .01em;
}

.place-chip::before {
  content: "\2022";
  color: var(--color-yellow);
  margin-right: 52px;
  font-size: 1rem;
}

.place-chip--outline {
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .7);
  color: transparent;
}

.place-chip--outline::before {
  color: rgba(252, 231, 0, .7);
}

/* ==================================================================
   7. WHY CHOOSE US (blink-wave lighting)
================================================================== */
.why-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px 24px;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--color-tint);
  color: var(--color-primary);
  font-size: 1.7rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.why-card h3 {
  font-size: 1.16rem;
}

.why-card p {
  color: var(--color-muted);
  font-size: .94rem;
  margin: 0;
}

/* the JS adds .is-lit in a left-to-right wave */
.why-card.is-lit {
  border-color: var(--color-yellow);
  box-shadow: 0 18px 40px rgba(252, 231, 0, .3);
  transform: translateY(-6px);
}

.why-card.is-lit .why-card__icon {
  background: var(--color-yellow);
  color: var(--color-ink);
  transform: rotate(-6deg) scale(1.05);
}

/* also lift on manual hover */
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ==================================================================
   8. HOW IT WORKS (passport-trail timeline) — dark section
================================================================== */
.how__trail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

/* dashed connecting line */
.how__trail::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed rgba(255, 255, 255, .28);
  z-index: 0;
}

.how__step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.how__num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-yellow);
  letter-spacing: .1em;
}

.how__stamp {
  width: 86px;
  height: 86px;
  margin: 10px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px dashed rgba(252, 231, 0, .6);
  background: rgba(255, 255, 255, .06);
  color: var(--color-yellow);
  font-size: 2rem;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.how__step:hover .how__stamp {
  transform: rotate(-10deg) scale(1.06);
  background: rgba(252, 231, 0, .16);
}

.how__step h3 {
  color: #fff;
  font-size: 1.18rem;
}

.how__step p {
  color: rgba(255, 255, 255, .72);
  font-size: .94rem;
}

/* ==================================================================
   9. VACANCIES (image grid + lightbox — 4 per row desktop)
================================================================== */
.vacancy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.vacancy__item {
  padding: 0;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 0 / 1;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.vacancy__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.vacancy__item::after {
  content: "\F4FD";
  font-family: "bootstrap-icons";
  /* zoom icon */
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  font-size: 1rem;
  opacity: 0;
  transform: scale(.6);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.vacancy__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vacancy__item:hover img {
  transform: scale(1.08);
}

.vacancy__item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.vacancy__note {
  margin-top: 34px;
  color: var(--color-muted);
}

.vacancy__note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* LIGHTBOX overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 32, 56, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.92);
  transition: transform .35s var(--ease);
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--dur) var(--ease);
}

.lightbox__close:hover {
  transform: rotate(90deg);
}

/* ==================================================================
   10. GALLERY (desktop 4/row, mobile 2/row)
================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery__item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  background: linear-gradient(to top, rgba(14, 32, 56, .82), transparent 60%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.12);
}

.gallery__item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================================
   11. FAQ
================================================================== */
.faq__accordion .accordion-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq__accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  padding: 20px 22px;
  box-shadow: none;
}

.faq__accordion .accordion-button:not(.collapsed) {
  background: var(--color-tint);
  color: var(--color-primary);
}

.faq__accordion .accordion-button:focus {
  box-shadow: none;
}

.faq__accordion .accordion-button::after {
  background-image: none;
  content: "\F64D";
  font-family: "bootstrap-icons";
  transform: none;
  transition: transform var(--dur) var(--ease);
  width: auto;
  height: auto;
}

.faq__accordion .accordion-button:not(.collapsed)::after {
  content: "\F63B";
}

.faq__accordion .accordion-body {
  color: var(--color-muted);
  padding: 0 22px 22px;
}

/* ==================================================================
   12. TESTIMONIALS
================================================================== */
.testi__carousel {
  max-width: 820px;
  margin: 0 auto;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 46px 46px 40px;
  text-align: center;
  position: relative;
  margin: 0 10px;
}

.testi-card__quote {
  font-size: 3rem;
  color: var(--color-primary);
  opacity: .28;
}

.testi-card__text {
  font-size: 1.16rem;
  color: var(--color-ink);
  font-style: italic;
  margin: 6px 0 26px;
}

.testi-card__person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testi-card__person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-yellow);
}

.testi-card__person strong {
  display: block;
  font-family: var(--font-head);
  color: var(--color-primary);
}

.testi-card__person span {
  font-size: .86rem;
  color: var(--color-muted);
}

.testi__ctrl {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 1;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.testi__ctrl:hover {
  background: var(--color-yellow);
  color: var(--color-ink);
}

.carousel-control-prev.testi__ctrl {
  left: -8px;
}

.carousel-control-next.testi__ctrl {
  right: -8px;
}

.testi__dots {
  position: static;
  margin-top: 26px;
}

.testi__dots [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-line);
  border: none;
  opacity: 1;
}

.testi__dots .active {
  background: var(--color-primary);
  width: 26px;
  border-radius: 100px;
}

/* ==================================================================
   14. CONTACT — dark section
================================================================== */
.contact__info {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.contact__info li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact__ic {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(252, 231, 0, .16);
  color: var(--color-yellow);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.contact__info strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
}

.contact__info p {
  color: rgba(255, 255, 255, .72);
  margin: 2px 0 0;
  font-size: .95rem;
}

.contact__info a {
  color: rgba(255, 255, 255, .85);
}

.contact__info a:hover {
  color: var(--color-yellow);
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-label {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--color-primary);
  font-size: .9rem;
  margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .96rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 .2rem rgba(252, 231, 0, .28);
}

.contact-form__note {
  margin: 16px 0 0;
  font-weight: 600;
  font-family: var(--font-head);
  text-align: center;
}

.contact-form__note.ok {
  color: var(--color-secondary);
}

.contact-form__note.err {
  color: #c0392b;
}

/* ==================================================================
   15. FOOTER — dark section
================================================================== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 0;
}

.footer__brand img {
  height: 52px;
  margin-bottom: 18px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}

.footer__about {
  font-size: .94rem;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.footer__social a:hover {
  background: var(--color-yellow);
  color: var(--color-ink);
  transform: translateY(-3px);
}

.footer__title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer__links,
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 11px;
}

.footer__links a {
  color: rgba(255, 255, 255, .72);
  font-size: .94rem;
}

.footer__links a:hover {
  color: var(--color-yellow);
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .92rem;
}

.footer__contact i {
  color: var(--color-yellow);
  margin-top: 3px;
}

.footer__contact a {
  color: rgba(255, 255, 255, .72);
}

.footer__contact a:hover {
  color: var(--color-yellow);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 54px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* ==================================================================
   13. FLOATING BUTTONS + TO TOP
================================================================== */
.float-btn {
  position: fixed;
  bottom: 26px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease);
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-btn--wa {
  left: 22px;
  background: #25D366;
}

.float-btn--call {
  right: 22px;
  background: var(--color-primary);
}

/* pulse ring */
.float-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  opacity: .5;
  animation: pulseRing 2s ease-out infinite;
}

.float-btn--wa::before {
  color: #25D366;
}

.float-btn--call::before {
  color: var(--color-primary);
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 currentColor;
    opacity: .5;
  }

  100% {
    box-shadow: 0 0 0 16px currentColor;
    opacity: 0;
  }
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--color-yellow-dark);
}

/* ==================================================================
   SCROLL-REVEAL (IntersectionObserver adds .is-visible)
================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================================
   RESPONSIVE
================================================================== */
@media (max-width: 991.98px) {
  .topbar__contacts {
    gap: 14px;
  }

  .topbar__tag {
    display: none;
  }

  .site-header .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .btn-cta {
    display: inline-block;
    margin-top: 8px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(14, 32, 56, .94), rgba(14, 32, 56, .7));
  }

  .how__trail {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .how__trail::before {
    display: none;
  }

  .about__media {
    padding: 0 0 30px;
  }

  .about__img--sub {
    width: 50%;
    height: 170px;
  }
}

@media (max-width: 767.98px) {
	.cu-ds-nn{
		display:none!important
	}
  .section {
    padding: 64px 0;
  }

  .topbar__contacts .topbar__link span {
    font-size: .78rem;
  }

  .topbar__inner {
    justify-content: center;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__ctrl {
    display: none;
  }

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

  /* mobile 2 per row for image grids */
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .vacancy__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .testi-card {
    padding: 34px 24px 30px;
  }
}

@media (max-width: 575.98px) {
  .how__trail {
    grid-template-columns: 1fr;
  }

  .place-chip {
    font-size: 1.5rem;
    margin: 0 16px;
  }
}

/* ==================================================================
   ACCESSIBILITY — reduced motion
   NOTE: marquees are rAF-driven and INTENTIONALLY keep running here
   (they never rely on CSS keyframes, so they don't freeze).
   Only decorative CSS animations + reveals are calmed.
================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floaty {
    animation: none;
  }

  .float-btn::before {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}