/* ── Top Bar ── */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--navy);
  height: 38px;
  display: flex;
  align-items: center;
}
.top-bar .container { display: flex; align-items: center; justify-content: space-between; }
.top-bar-left { display: flex; align-items: center; gap: 24px; }
.top-bar-left a {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.top-bar-left a:hover { color: var(--teal); }
.top-bar-left svg { width: 12px; height: 12px; stroke: var(--teal); fill: none; stroke-width: 2; flex-shrink: 0; }
.top-bar-right { display: flex; align-items: center; gap: 8px; }
.top-bar-social {
  width: 26px; height: 26px;
  border-radius: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.top-bar-social:hover { background: var(--teal); border-color: var(--teal); }
.top-bar-social svg { width: 12px; height: 12px; stroke: rgba(255,255,255,0.65); fill: none; stroke-width: 2; }
.top-bar-social:hover svg { stroke: white; }

/* ── Header override for top bar ── */
.site-header { top: 38px; }

/* ── Hero Swiper ── */
.hero-swiper-section { margin-top: 114px; }
.hero-swiper { width: 100%; height: 92vh; min-height: 580px; }
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,20,35,0.93) 0%,
    rgba(10,26,42,0.82) 42%,
    rgba(10,30,48,0.48) 75%,
    rgba(10,30,48,0.15) 100%
  );
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 24px;
}
/* Hero h1 white color (overrides global navy default) */
.hero-slide h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-slide h1 em { font-style: italic; color: var(--teal); }

/* Staggered entrance animation per slide */
.hero-slide-content .hero-eyebrow { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease 0.15s, transform 0.65s ease 0.15s; }
.hero-slide-content h1 { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease 0.35s, transform 0.65s ease 0.35s; }
.hero-slide-content .hero-sub { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease 0.52s, transform 0.65s ease 0.52s; }
.hero-slide-content .hero-actions { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease 0.65s, transform 0.65s ease 0.65s; }
.hero-slide-content .hero-trust { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease 0.82s, transform 0.65s ease 0.82s; }

.swiper-slide-active .hero-slide-content .hero-eyebrow,
.swiper-slide-active .hero-slide-content h1,
.swiper-slide-active .hero-slide-content .hero-sub,
.swiper-slide-active .hero-slide-content .hero-actions,
.swiper-slide-active .hero-slide-content .hero-trust {
  opacity: 1; transform: translateY(0);
}

/* Swiper nav + pagination */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  color: white;
  transition: var(--transition);
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover { background: var(--teal); border-color: var(--teal); }
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 15px; font-weight: 800; }
.hero-swiper .swiper-pagination { bottom: 28px; }
.hero-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.45);
  opacity: 1;
  transition: all 0.35s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--teal);
  width: 34px;
  border-radius: 5px;
}

/* Floating badge */
.hero-floating-badge {
  position: absolute;
  bottom: 72px;
  right: 96px;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  display: flex; align-items: center; gap: 14px;
  z-index: 10;
  animation: floatBadge 3.5s ease-in-out infinite;
}
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.hbadge-icon {
  width: 50px; height: 50px;
  background: var(--teal); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hbadge-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.8; }
.hbadge-num { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 700; color: var(--navy); line-height: 1; }
.hbadge-label { font-size: 0.76rem; color: var(--muted); font-weight: 500; margin: 0; line-height: 1.3; }

/* Second badge — clients served */
.hero-floating-badge2 {
  position: absolute;
  top: 100px;
  right: 120px;
  background: var(--teal);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(42,180,180,0.4);
  display: flex; align-items: center; gap: 12px;
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite 1s;
}
.hbadge2-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hbadge2-icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 1.8; }
.hbadge2-num { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: white; line-height: 1; }
.hbadge2-label { font-size: 0.72rem; color: rgba(255,255,255,0.85); font-weight: 500; margin: 0; }

/* ── Features Strip ── */
.features-strip { background: var(--teal); }
.features-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-strip-item {
  display: flex; align-items: center; gap: 16px;
  padding: 26px 36px;
  border-right: 1px solid rgba(255,255,255,0.18);
  transition: var(--transition);
  cursor: default;
}
.feature-strip-item:last-child { border-right: none; }
.feature-strip-item:hover { background: rgba(255,255,255,0.08); }
.fstrip-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,0.18); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.fstrip-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.8; }
.fstrip-text h5 { color: white; font-size: 0.98rem; margin: 0 0 3px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.fstrip-text p { color: rgba(255,255,255,0.78); font-size: 0.81rem; margin: 0; line-height: 1.4; }

/* ── Gallery grid refinement ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e0e0e0;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.5) 0%, transparent 55%);
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ── Testimonials swiper ── */
.testimonials-swiper-wrap { position: relative; }
.testimonials-swiper { padding-bottom: 52px !important; }
.testimonials-swiper .swiper-pagination-bullet { background: var(--border); opacity: 1; width: 9px; height: 9px; }
.testimonials-swiper .swiper-pagination-bullet-active { background: var(--teal); width: 28px; border-radius: 5px; }

/* ── Contact CTA section ── */
.cta-section {
  background: linear-gradient(130deg, #0a1826 0%, #12283e 45%, #0e3040 100%);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(42,180,180,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(42,180,180,0.08) 0%, transparent 45%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-form input, .cta-form textarea, .cta-form select {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--teal); background: rgba(255,255,255,0.1); }
.cta-form-full { grid-column: 1 / -1; }
.cta-contact-info { display: flex; flex-direction: column; gap: 28px; }
.cta-contact-item { display: flex; align-items: flex-start; gap: 16px; }
.cta-contact-icon { width: 50px; height: 50px; background: rgba(42,180,180,0.15); border: 1px solid rgba(42,180,180,0.3); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-contact-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.cta-contact-text h5 { color: white; font-size: 0.9rem; font-family: 'DM Sans', sans-serif; font-weight: 600; margin: 0 0 4px; }
.cta-contact-text p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }

/* Mobile menu offset on desktop (top bar 38px + nav 76px) */
#mobileMenu { top: 114px; }
@media (max-width: 768px) {
  #mobileMenu { top: 76px; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-floating-badge, .hero-floating-badge2 { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .site-header { top: 0; }
  .hero-swiper-section { margin-top: 76px; }
  .hero-swiper { height: 85vh; }
  .features-strip-inner { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 18px 24px; }
  .feature-strip-item:last-child { border-bottom: none; }
  .cta-form { grid-template-columns: 1fr; }
  .cta-form-full { grid-column: 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-slide-content { padding: 0 16px; }
}
