/* ============================================================
   KERDIM8 Logistics — Static site styles
   Palette: ink (charcoal), gold (amber), paper (off-white), white
   Fonts: Oswald (display) + Inter (body)
   ============================================================ */

:root {
  --ink: #17140f;
  --ink-2: #1f1c17;
  --ink-3: #2a2620;
  --gold: #e8a52e;
  --gold-dark: #cf8f1f;
  --paper: #efece5;
  --white: #ffffff;
  --text: #211d17;
  --muted: #6f695f;
  --muted-light: #b9b2a6;
  --border: rgba(0, 0, 0, 0.1);
  --border-light: rgba(255, 255, 255, 0.12);
  --maxw: 1200px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--paper);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background-color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}

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

.section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  padding: 13px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn .arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background-color: var(--gold-dark);
  transform: translateY(-1px);
}
.btn-block { width: 100%; justify-content: center; }

/* ---------- Eyebrows / titles ---------- */
.eyebrow {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow-gold { color: var(--gold); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--ink);
}
.section-title.light { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--ink);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-size: 1.1rem;
}
.brand span { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.main-nav a {
  color: var(--muted-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--white); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("public/images/warehouse-hero.png");
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 13, 10, 0.85) 0%, rgba(15, 13, 10, 0.55) 55%, rgba(15, 13, 10, 0.7) 100%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-top: 2px solid var(--gold);
  padding-top: 26px;
  max-width: 300px;
}
.stat-num {
  display: block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.1;
}
.stat-label {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: var(--muted-light);
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 20px;
  max-width: 12ch;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
}

/* ---------- Services ---------- */
.services { background-color: var(--paper); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-lead-gold {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1.3;
  max-width: 22ch;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service-card {
  padding: 34px 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: transparent;
}
.service-icon {
  display: inline-flex;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.service-card-cta {
  background-color: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.service-card-cta p {
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1rem;
  line-height: 1.25;
}
.service-card-cta .btn { align-self: flex-start; }

/* ---------- Why Choose Us ---------- */
.why { background-color: var(--ink); }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.why-content { color: var(--white); }
.why-lead {
  color: var(--muted-light);
  max-width: 48ch;
  margin: 16px 0 34px;
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-list li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
}
.why-list li:last-child { border-bottom: 1px solid var(--border-light); }
.why-num {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  color: var(--gold);
  background-color: var(--ink-3);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.why-list h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}
.why-list p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.92rem;
}
.why-media {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
}
.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-badge {
  position: absolute;
  left: 0;
  bottom: 40px;
  background-color: var(--gold);
  color: var(--ink);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  font-size: 0.82rem;
  padding: 14px 22px;
  line-height: 1.2;
}

/* ---------- How It Works ---------- */
.process { background-color: var(--paper); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.step-num {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted-light);
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- About ---------- */
.about { background-color: var(--ink-2); }
.about-text {
  color: var(--white);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 60ch;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact { background-color: var(--ink); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info { color: var(--white); }
.contact-lead {
  color: var(--muted-light);
  max-width: 42ch;
  margin: 16px 0 32px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background-color: var(--ink-3);
  flex-shrink: 0;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-label {
  display: block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.68rem;
  color: var(--muted-light);
}
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--gold); }

.quote-form {
  background-color: var(--ink-2);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background-color: var(--ink);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #6b665c; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--gold);
  min-height: 1.2em;
}
.form-status a {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--ink);
  border-top: 1px solid var(--border-light);
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; max-width: none; gap: 24px 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 24px;
    background-color: var(--ink);
    border-top: 1px solid var(--border-light);
  }
  .mobile-nav.open a {
    color: var(--muted-light);
    padding: 10px 0;
    font-weight: 500;
  }
  .mobile-nav.open .btn { margin-top: 8px; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote-form { padding: 24px; }
}

/* Honeypot anti-spam field (visually hidden) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Thank-you page */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink);
  color: var(--muted-light);
  text-align: center;
}
.thankyou-inner {
  max-width: 640px;
}
.thankyou h1 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  margin: 12px 0 20px;
}
.thankyou-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}
