/* FULL styles.css for LCX Logistics website */

:root {
  --bg: #050608;
  --bg-alt: #0c0e12;
  --card-bg: #101218;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #c8a96b;
  --accent-soft: rgba(200, 169, 107, 0.18);
  --text-main: #f5f5f5;
  --text-muted: #a3a7b4;
  --danger: #ff5a5f;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --max-width: 1120px;
}

/* RESET / BASE */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151824 0, #050608 55%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* LAYOUT HELPERS */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #191b25 0%, #050608 48%);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.75));
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--accent-soft);
  background: radial-gradient(circle at top left, #c8a96b 0%, #44351b 45%, #050608 100%);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.logo-text {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 6, 8, 0.86);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-main);
  margin: 0 auto;
}

/* HERO */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 1.6rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #c8a96b, #f0d59a);
  color: #17130b;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: rgba(5, 6, 8, 0.85);
  border-color: var(--accent-soft);
  color: var(--text-main);
}

.btn-full {
  width: 100%;
}

.hero-trust {
  border-left: 1px solid var(--border-subtle);
  padding-left: 1.1rem;
}

.hero-trust p {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.hero-trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

/* CARDS */

.card {
  background: radial-gradient(circle at top, #181a24 0%, #050608 80%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

.card-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* SERVICES GRID */

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid {
  display: grid;
  gap: 1.7rem;
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}

.process-step {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1.4rem 1.4rem;
  background: linear-gradient(145deg, rgba(24, 26, 36, 0.96), rgba(5, 6, 8, 0.9));
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* SECTORS */

.sectors-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pill-card {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  background: linear-gradient(120deg, rgba(16, 18, 24, 0.96), rgba(5, 6, 8, 0.96));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pill-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.pill-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* CONFIDENTIALITY */

.confidentiality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.badge-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badge-list li {
  font-size: 0.84rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-soft);
  background: rgba(5, 6, 8, 0.8);
}

.nda-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-soft);
  padding: 1.8rem 1.6rem;
  background: radial-gradient(circle at top right, #2a2220, #050608 65%);
  box-shadow: var(--shadow-soft);
}

.nda-card h3 {
  margin: 0 0 0.6rem;
}

.nda-card p {
  margin: 0 0 0.7rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.nda-note {
  font-size: 0.86rem;
  color: var(--text-main);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: start;
}

.contact-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-points li + li {
  margin-top: 0.45rem;
}

.contact-points span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-right: 0.45rem;
}

.contact-card {
  padding: 1.7rem 1.5rem 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: #06070b;
  padding: 0.7rem 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(200, 169, 107, 0.4);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.6rem 0 2.2rem;
  background: #050608;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-note {
  font-size: 0.8rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .confidentiality-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.legal-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #181a24 0%, #050608 80%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.legal-toggle {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  text-align: left;
}

.legal-toggle span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.legal-toggle-icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.legal-toggle.active .legal-toggle-icon {
  transform: rotate(45deg); /* plus sign becomes an "x" */
}

.legal-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.3rem;
  border-top: 1px solid var(--border-subtle);
  transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.legal-panel.open {
  max-height: 1200px; /* large enough for content */
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.legal-panel h3 {
  font-size: 0.95rem;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.legal-panel p,
.legal-panel ul {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-panel ul {
  padding-left: 1.1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

     .nav-links {
    position: fixed;
    top: 60px; /* adjust to your exact header height */
    left: 0;
    right: 0;
    background: rgba(5, 6, 8, 0.98);
    padding: 1.2rem 1.5rem;
    flex-direction: column;
    gap: 0.8rem;

    /* The key properties */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;

    transition:
      max-height 0.3s ease,
      opacity 0.25s ease;
    z-index: 999;
  }

  /* When menu is opened */
  .nav-links.open {
    max-height: 100vh;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    padding: 0.3rem 0;
  }
}

  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3.8rem 0;
  }
  }
  .hidden {
    display: none;
  }
  .hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}