/* ============================================
   TRANSCORIM — CARGO DESIGN SYSTEM
   ============================================ */

:root {
  --black: #111111;
  --black-soft: #1a1a1a;
  --yellow: #F5C400;
  --steel: #4A4A4A;
  --steel-light: #888888;
  --white: #ffffff;
  --off-white: rgba(255,255,255,0.85);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-max: 1280px;
  --pad-x: 60px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
}
.nav-logo span { color: var(--yellow); }
.nav-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--steel-light);
  text-transform: uppercase;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.current {
  color: var(--white);
}
.nav-links a.current::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
}

.nav-cta {
  background: var(--yellow);
  color: var(--black);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 24px var(--pad-x);
    gap: 20px;
  }
}

/* ============================================
   PAGE HEADER (non-home pages)
   ============================================ */
.page-header {
  position: relative;
  padding: 90px var(--pad-x) 60px;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
  overflow: hidden;
}
.page-header-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(245,196,0,0.03) 0px, transparent 1px, transparent 80px, rgba(245,196,0,0.03) 81px),
    repeating-linear-gradient(0deg, rgba(245,196,0,0.02) 0px, transparent 1px, transparent 80px, rgba(245,196,0,0.02) 81px);
}
.page-eyebrow {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.page-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  max-width: 900px;
}
.page-title em { color: var(--yellow); font-style: normal; }
.page-sub {
  position: relative;
  z-index: 2;
  font-size: 16px;
  font-weight: 300;
  color: var(--off-white);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.7;
}

/* ============================================
   SECTION GENERICS
   ============================================ */
.section { padding: 90px var(--pad-x); }
.section-dark { background: var(--black); }
.section-soft { background: var(--black-soft); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.section-title em { color: var(--yellow); font-style: normal; }
.section-note {
  font-size: 13px;
  color: var(--steel-light);
  letter-spacing: 0.05em;
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* ============================================
   SERVICE / CONTENT CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--black-soft);
  padding: 40px 32px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-top-color: var(--yellow); }
.card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 16px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.card-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.65;
}

/* ============================================
   STATS BAND
   ============================================ */
.stats-band {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-block {
  flex: 1;
  padding: 40px var(--pad-x);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--steel-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .stats-band { flex-wrap: wrap; }
  .stat-block { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ============================================
   TESTIMONIAL / CLIENT CARDS
   ============================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
@media (max-width: 900px) {
  .client-grid { grid-template-columns: 1fr; }
}
.client-card {
  background: var(--black-soft);
  padding: 44px;
  border-left: 3px solid var(--yellow);
}
.client-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.client-sector {
  font-size: 12px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.client-text {
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   FORMS
   ============================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
}
.field input,
.field select,
.field textarea {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--yellow);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 12px; color: var(--steel-light); }

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 13px;
  font-weight: 600;
}
.form-status.ok { color: #4CAF50; }
.form-status.err { color: #e8572a; }

/* ============================================
   CONTACT BLOCKS
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--black-soft);
  border: 1px solid rgba(245,196,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-light);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.contact-info-value a:hover { color: var(--yellow); }

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px var(--pad-x) 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--yellow); }
.footer-desc {
  font-size: 13px;
  color: var(--steel-light);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--off-white);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--steel-light);
}

/* ============================================
   HOMEPAGE HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 60px var(--pad-x) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 25%, var(--black) 88%),
    repeating-linear-gradient(90deg, rgba(245,196,0,0.03) 0px, transparent 1px, transparent 80px, rgba(245,196,0,0.03) 81px),
    repeating-linear-gradient(0deg, rgba(245,196,0,0.02) 0px, transparent 1px, transparent 80px, rgba(245,196,0,0.02) 81px);
}
.hero-container-grid {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  opacity: 0.15;
}
.hero-block { height: 100%; }
.hero-block:nth-child(1) { background: var(--yellow); }
.hero-block:nth-child(2) { background: #e8572a; }
.hero-block:nth-child(3) { background: #1a6b3c; }
.hero-block:nth-child(4) { background: #1a3a6b; }
.hero-block:nth-child(5) { background: #6b1a1a; }
.hero-block:nth-child(6) { background: var(--steel); }

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
  width: 100%;
}

.hero-big-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 150px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  animation: heroFadeUp 0.8s ease both;
}
.hero-big-title span { display: block; }
.hero-big-title .outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  color: transparent;
}
.hero-big-title .highlight { color: var(--yellow); }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
}
.hero-tagline span { color: var(--yellow); margin: 0 10px; }

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--off-white);
  max-width: 480px;
  line-height: 1.7;
  margin-top: 20px;
}

.hero-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
}

@media (max-width: 700px) {
  .hero { min-height: auto; padding-top: 40px; padding-bottom: 40px; }
  .hero-content { padding-bottom: 20px; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   WHY US GRID
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
}
.why-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 16px;
}
.why-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.why-text {
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--yellow);
  color: var(--black);
  padding: 70px var(--pad-x);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}
.cta-band-sub {
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  color: rgba(17,17,17,0.75);
}
.cta-band .btn-yellow {
  background: var(--black);
  color: var(--white);
}
.cta-band .btn-yellow:hover { background: #2a2a2a; }

/* ============================================
   SERVICE DETAIL BLOCKS (services page)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: none; }
@media (max-width: 700px) {
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
}
.service-detail-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  -webkit-text-stroke: 1px var(--yellow);
}
.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.service-detail-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 18px;
}
.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-detail-list li {
  font-size: 13px;
  color: var(--steel-light);
  padding-left: 20px;
  position: relative;
}
.service-detail-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  max-width: 720px;
  margin: 0 auto;
}
.about-lead {
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 28px;
}
.about-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.8;
  margin-bottom: 20px;
}

.zones-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.zone-tag {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 28px;
}

/* ============================================
   HERO PHOTO BACKGROUND
   ============================================ */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.25;
  z-index: 0;
}

/* ============================================
   GALLERY STRIP
   ============================================ */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 300px;
  gap: 3px;
}
.gallery-item {
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.gallery-item:hover { filter: grayscale(0%); }

@media (max-width: 700px) {
  .gallery-strip { grid-template-columns: 1fr; height: auto; }
  .gallery-item { height: 200px; }
}

/* ============================================
   ABOUT PAGE LAYOUT WITH PHOTOS
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.about-photo-main {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}
.about-photo-secondary {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}

/* ============================================
   NAV LOGO IMAGE
   ============================================ */
.nav-logo img { display: block; }

/* ============================================
   UTILITIES
   ============================================ */
.mt-0 { margin-top: 0; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  :root { --pad-x: 24px; }
  .section { padding: 60px var(--pad-x); }
  .footer-grid, .footer-bottom { padding-left: 0; padding-right: 0; }
}
