/* ─── TOKENS ─────────────────────────── */
:root {
  --c-bg:        #0B0E13;
  --c-surface:   #141820;
  --c-card:      #1C2130;
  --c-border:    rgba(255,255,255,0.08);
  --c-red:       #D72B2B;
  --c-red-hi:    #FF3B3B;
  --c-blue:      #6FA8FF;
  --c-text:      #E8EAF0;
  --c-muted:     #A7ADBE;
  --c-white:     #FFFFFF;

  --f-display: 'Barlow Condensed', sans-serif;
  --f-body:    'Inter', sans-serif;

  --r: 6px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-red); border-radius: 3px; }

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ─── HERO / LANDING SECTION ─────────────────────────── */
#hero {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 5vw;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: center top bottom;
  object-position: center top bottom;
  z-index: 0;
  background: var(--c-bg);
  padding-top: 38px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,14,19,0.92) 0%, rgba(11,14,19,0.6) 45%, rgba(11,14,19,0.35) 100%),
    linear-gradient(0deg, rgba(11,14,19,0.5) 0%, transparent 30%);
}

/* decorative corner bracket, echoes the reference design */
.hero-bracket {
  position: absolute;
  top: 10%; right: 6%;
  width: 90px; height: 90px;
  border-top: 3px solid var(--c-red);
  border-right: 3px solid var(--c-red);
  z-index: 2;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-white);
}

.hero-h1 .accent {
  display: block;
  background: linear-gradient(90deg, var(--c-blue), #C9D9FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-divider {
  width: 100%;
  max-width: 460px;
  height: 3px;
  margin: 18px 0 26px;
  background: linear-gradient(90deg, var(--c-red), var(--c-blue));
  border-radius: 2px;
}

.hero-desc {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-text);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-red);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(215,43,43,0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--c-red-hi);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(215,43,43,0.45);
}
.btn-primary svg {
  width: 18px; height: 18px;
  transition: transform var(--transition);
}
.btn-primary:hover svg { transform: translateX(3px); }

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 860px) {
  #hero { min-height: 80vh; padding: 0 6vw; text-align: left; }
  .hero-bracket { display: none; }
  .hero-divider { max-width: 100%; }
}

@media (max-width: 500px) {
  .hero-desc { font-size: 14px; }
  .btn-primary { padding: 14px 26px; font-size: 14px; }
}
/* ─── TRUST / VALUE STRIP ─────────────────────── */
#trust-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 36px 5vw;
}

.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 220px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(215,43,43,0.12);
  border: 1px solid rgba(215,43,43,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  color: var(--c-red-hi);
}

.trust-text strong {
  display: block;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-white);
  line-height: 1.3;
}

.trust-text span {
  display: block;
  font-size: 12.5px;
  color: var(--c-muted);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--c-border);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .trust-divider { display: none; }
}

@media (max-width: 600px) {
  .trust-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ─── PARALLAX SUPPORT ─────────────────────── */
.hero-bg-image,
.about-bg-image {
  will-change: transform;
  transform: scale(1.15); /* slight zoom so the drifting image never shows its edges */
}

/* ─── HERO CONTENT ENTRANCE ANIMATION ─────────────────────── */
.hero-content {
  opacity: 0;
  transform: translateX(-60px);
  animation: heroSlideIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes heroSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
/* ─── SCROLL REVEAL: ABOUT CARDS ─────────────────────── */
.about-card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each card slightly so they don't all pop in at once */
.about-card:nth-child(1) { transition-delay: 0s; }
.about-card:nth-child(2) { transition-delay: 0.15s; }
.about-card:nth-child(3) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .about-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── GALLERY MARQUEE SECTION ─────────────────────── */
#gallery-strip {
  background: var(--c-surface);
  padding: 80px 0 70px;
  border-top: 1px solid var(--c-border);
  overflow: hidden;
}

.gallery-strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 5vw;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}
.gallery-strip-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--c-red);
  border-radius: 2px;
}

.gallery-strip-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-white);
  letter-spacing: 0.01em;
  line-height: 1;
}

.gallery-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 24px rgba(215,43,43,0.3);
  flex-shrink: 0;
}
.gallery-strip-btn svg { width: 16px; height: 16px; }
.gallery-strip-btn:hover {
  background: var(--c-red-hi);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(215,43,43,0.4);
}

/* ── Marquee outer (clips overflow) ── */
.marquee-outer {
  width: 100%;
  overflow: hidden;
}

/* ── Each row ── */
.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  margin-bottom: 14px;
}
.marquee-row:last-child { margin-bottom: 0; }

/* ── Inner scrolling strip ── */
.marquee-inner {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  will-change: transform;
}

/* Row 1 scrolls left */
.marquee-left .marquee-inner {
  animation: marqueeLeft 30s linear infinite;
}

/* Row 2 scrolls right */
.marquee-right .marquee-inner {
  animation: marqueeRight 30s linear infinite;
}

/* Pause on hover */
.marquee-row:hover .marquee-inner {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Individual image items ── */
.marquee-item {
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-card);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.marquee-item:hover img {
  transform: scale(1.06);
}

/* Pause animation on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee-left .marquee-inner,
  .marquee-right .marquee-inner {
    animation: none;
  }
}

/* ── Responsive ── */
@media (max-width: 860px) {
  #gallery-strip { padding: 60px 0 56px; }
  .marquee-item { width: 240px; height: 170px; }
  .gallery-strip-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .marquee-item { width: 180px; height: 130px; }
  .marquee-inner { gap: 10px; }
  .marquee-row { margin-bottom: 10px; }
}