/* ===================================================
   CY Logistics — style.css
   Palette: White bg, #1A3A6B brand navy, #2B5EA7 mid-blue accent
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Inter+Tight:wght@600;700;800&display=swap');

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

:root {
  --navy:       #1A3A6B;
  --navy-dark:  #112650;
  --blue:       #2B5EA7;
  --blue-light: #3B72C2;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-100:   #EEF1F6;
  --gray-200:   #D8DFE9;
  --gray-400:   #8B97A8;
  --gray-600:   #4D5F73;
  --gray-800:   #1E2D3D;
  --text-body:  #374151;

  --font-sans:   'Inter', system-ui, sans-serif;
  --font-tight:  'Inter Tight', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 4px rgba(26,58,107,.06), 0 2px 8px rgba(26,58,107,.04);
  --shadow-md:  0 4px 16px rgba(26,58,107,.10), 0 1px 4px rgba(26,58,107,.06);
  --shadow-lg:  0 12px 40px rgba(26,58,107,.14), 0 2px 8px rgba(26,58,107,.06);

  --nav-height: 72px;
  --max-width:  1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow .3s ease;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .01em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--blue) !important; transform: translateY(-1px); }
.nav-cta svg { flex-shrink: 0; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--navy);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile ul a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color .2s;
}
.nav-mobile ul a:hover { color: var(--navy); }
.nav-mobile .mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s;
}
.nav-mobile .mobile-cta:hover { background: var(--blue); }

#hero {
  padding-top: var(--nav-height);
  min-height: calc(100dvh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 64px 24px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-text { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow span {
  width: 28px; height: 2px;
  background: var(--blue);
  display: inline-block;
}

.hero-text h1 {
  font-family: var(--font-tight);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--navy-dark);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: .9375rem;
  font-weight: 600;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--off-white);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-tight);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.stat-label { font-size: .78rem; color: var(--gray-400); font-weight: 500; }

.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero-img-wrap:hover img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  bottom: -14px;
  left: -14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { color: var(--white); }
.hero-badge-text { line-height: 1.3; }
.hero-badge-text strong { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); }
.hero-badge-text span { font-size: .75rem; color: var(--gray-400); }

.hero-bottom {
  background: var(--navy-dark);
  padding: 16px 24px;
  width: 100%;
}
.hero-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .84rem;
  font-weight: 500;
}
.trust-pill svg { color: #5B9BF6; flex-shrink: 0; }
.trust-pill strong { color: #fff; font-weight: 600; }

section { padding: 88px 24px; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-tight);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

#services { background: var(--white); }

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px 24px 26px;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s;
}
.service-card:hover .service-icon { background: var(--navy); }
.service-icon svg { color: var(--navy); transition: color .25s; }
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 {
  font-family: var(--font-tight);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-detail {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-detail span {
  font-size: .78rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-detail span::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

#process { background: var(--off-white); }

.process-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-tight);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
  transition: background .25s, border-color .25s, color .25s;
  box-shadow: var(--shadow-sm);
}
.process-step:hover .process-num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.process-step h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.6;
}

#about { background: var(--white); }

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-tight);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-text p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-compliance {
  margin-top: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compliance-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.compliance-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
  flex-shrink: 0;
}
.compliance-row div strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.compliance-row div span {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.info-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }

.info-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { color: var(--white); }
.info-card-text strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.info-card-text span, .info-card-text a {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.45;
}
.info-card-text a { color: var(--blue); font-weight: 500; }
.info-card-text a:hover { text-decoration: underline; }

#contact {
  background: var(--navy-dark);
  padding: 80px 24px;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
#contact .section-label { color: rgba(255,255,255,.5); }
#contact h2 {
  font-family: var(--font-tight);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
#contact p {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 36px;
}

.contact-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.copy-email-btn:hover { background: #EEF1F6; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.copy-email-btn:active { transform: translateY(0); }
.copy-email-btn.copied svg { color: #22c55e; }

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  z-index: 2000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show { transform: translateY(0); opacity: 1; }

footer {
  background: var(--gray-800);
  padding: 24px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-reg {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  section { padding: 64px 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 36px; padding: 40px 20px 40px; }
  .hero-visual { order: -1; }
  .hero-badge { display: none; }
  .hero-stats { gap: 24px; }

  .hero-bottom-inner { gap: 16px; flex-direction: column; text-align: center; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 14px; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-img-wrap img { transition: none; }
  html { scroll-behavior: auto; }
}
