/* ============================================================
   SV Brands Global — content pages (Logistics, About, Contact, 3PL detail).
   Scrollable, professional dark theme. Shares the template's glass + fonts;
   emerald primary accent (from the brand green) + soft-pink CTA accent.
   The soda home (index.html) keeps style.css; these pages load BOTH.
============================================================ */
:root {
  --s-bg: #060b0e;
  --s-bg-2: #0a1216;
  --s-ink: #eaf2f0;
  --s-muted: #9db3ae;
  --s-muted-2: #63756f;
  --s-line: rgba(160, 220, 205, 0.12);
  --s-line-2: rgba(160, 220, 205, 0.22);
  --s-accent: #10b981;      /* emerald */
  --s-accent-2: #34d8a6;
  --s-pink: #fbcfe8;        /* brand CTA accent from the template */
  --s-glass: rgba(14, 26, 24, 0.55);
  --s-glass-2: rgba(18, 32, 30, 0.7);
  --s-radius: 18px;
  --s-radius-lg: 26px;
  --s-maxw: 1160px;
  --s-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}

/* Content pages opt in with .content-page on <body> — restores scrolling
   (the template sets body{overflow:hidden;height:100vh}). */
body.content-page {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(16,185,129,0.12), transparent 60%),
    linear-gradient(180deg, var(--s-bg) 0%, var(--s-bg-2) 100%);
  color: var(--s-ink);
  font-family: var(--font-main, 'Inter', sans-serif);
  min-height: 100vh;
  transition: none;
}

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

/* ---------- shared header ---------- */
.content-page .header { padding: 1.5rem 4%; }
.content-page .nav-item:hover, .content-page .nav-item.active { background: var(--s-pink); color: #04140f; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-panel {
  display: none; position: fixed; top: 76px; left: 4%; right: 4%; z-index: 99;
  flex-direction: column; padding: 10px 18px 16px;
  background: rgba(6,11,14,0.97); border: 1px solid var(--s-line-2); border-radius: 18px;
  backdrop-filter: blur(14px);
}
.mobile-panel.open { display: flex; }
.mobile-panel a { padding: 13px 4px; color: var(--s-muted); text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--s-line); }
.mobile-panel a.active { color: var(--s-accent-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; font-family: 'Manrope', sans-serif;
  padding: 13px 24px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  text-decoration: none; transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
}
.btn-primary { color: #04140f; background: var(--s-pink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(251,207,232,0.5); }
.btn-outline { color: var(--s-ink); background: rgba(255,255,255,0.04); border-color: var(--s-line-2); }
.btn-outline:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

/* ---------- section rhythm ---------- */
.section { max-width: var(--s-maxw); margin: 0 auto; padding: clamp(56px, 9vw, 120px) 24px; }
.eyebrow {
  display: inline-block; font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--s-accent-2); margin-bottom: 16px;
}
h1, h2, h3 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; line-height: 1.06; }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--s-muted); font-size: 18px; line-height: 1.6; }

/* ---------- page hero ---------- */
.page-hero { max-width: var(--s-maxw); margin: 0 auto; padding: clamp(120px, 17vh, 190px) 24px clamp(20px, 4vh, 44px); }
.page-hero.center { text-align: center; }
.page-hero h1 { font-size: clamp(34px, 6vw, 68px); font-weight: 800; max-width: 18ch; }
.page-hero.center h1 { margin-inline: auto; }
.page-hero .lede { margin-top: 20px; max-width: 62ch; color: var(--s-muted); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; }
.page-hero.center .lede { margin-inline: auto; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero.center .hero-actions { justify-content: center; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-s {
  display: block; text-decoration: none; color: inherit; height: 100%;
  padding: 28px; border-radius: var(--s-radius);
  background: var(--s-glass); border: 1px solid var(--s-line);
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
a.card-s:hover { transform: translateY(-4px); border-color: var(--s-line-2); background: var(--s-glass-2); }
.card-ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--s-accent-2); background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.24);
}
.card-ico svg { width: 22px; height: 22px; }
.card-s h3 { font-size: 20px; font-weight: 700; margin-bottom: 9px; }
.card-s p { color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.card-more { margin-top: 14px; color: var(--s-accent-2); font-size: 14px; font-weight: 600; font-family: 'Manrope', sans-serif; }

/* bullet list */
.list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 22px; color: #cfe0db; font-size: 15px; line-height: 1.55; }
.list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 999px; background: var(--s-accent); box-shadow: 0 0 8px rgba(16,185,129,0.7); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 18px; margin-top: 8px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--s-radius); background: var(--s-glass); border: 1px solid var(--s-line); }
.stat b { display: block; font-family: 'Outfit', sans-serif; font-size: clamp(24px,3.4vw,38px); font-weight: 800;
  background: linear-gradient(180deg, #fff, var(--s-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; color: var(--s-muted); font-size: 14px; }

/* process steps */
.steps-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step { padding: 26px; border-radius: var(--s-radius); background: var(--s-glass); border: 1px solid var(--s-line); }
.step .n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--s-line-2); color: var(--s-accent-2); font-family: 'Outfit'; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--s-muted); font-size: 14.5px; line-height: 1.55; }

/* two-column feature block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.split h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.split p { margin-top: 14px; color: var(--s-muted); font-size: 17px; line-height: 1.65; }
.panel { padding: 30px; border-radius: var(--s-radius-lg); background: var(--s-glass-2); border: 1px solid var(--s-line-2); box-shadow: var(--s-shadow); }

/* CTA card */
.cta-card {
  text-align: center; max-width: 800px; margin: 0 auto; padding: clamp(44px,6vw,72px) clamp(24px,5vw,60px);
  border-radius: var(--s-radius-lg); border: 1px solid var(--s-line-2);
  background: radial-gradient(120% 140% at 50% 0%, rgba(16,185,129,0.14), transparent 55%), var(--s-glass-2);
  box-shadow: var(--s-shadow);
}
.cta-card h2 { font-size: clamp(26px,4vw,44px); font-weight: 800; }
.cta-card p { margin: 14px auto 28px; max-width: 540px; color: var(--s-muted); font-size: 18px; line-height: 1.6; }
.cta-card .hero-actions { justify-content: center; }

/* contact form */
.cform { max-width: 680px; margin: 0 auto; padding: 30px clamp(20px,3vw,38px); border-radius: var(--s-radius-lg);
  background: var(--s-glass-2); border: 1px solid var(--s-line-2); backdrop-filter: blur(16px); box-shadow: var(--s-shadow); }
.cform h2 { font-size: clamp(22px,3vw,30px); font-weight: 800; }
.cform > p { margin-top: 10px; color: var(--s-muted); font-size: 15px; line-height: 1.6; }
.cf-grid { margin-top: 20px; display: grid; gap: 13px; }
.cf-row { display: flex; gap: 13px; flex-wrap: wrap; }
.cf-row .cf-field { flex: 1; min-width: 190px; }
.cf-field { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(6,11,14,0.6);
  border: 1px solid var(--s-line-2); color: var(--s-ink); font-size: 15px; font-family: var(--font-main,'Inter',sans-serif); }
.cf-field::placeholder { color: var(--s-muted-2); }
.cf-field:focus { outline: none; border-color: var(--s-accent); }
.cf-area { min-height: 130px; resize: vertical; }

/* reach list */
.reach { display: grid; gap: 14px; margin-top: 6px; }
.reach .k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--s-accent-2); }
.reach a, .reach .v { color: var(--s-ink); font-size: 15.5px; text-decoration: none; }
.reach a:hover { color: var(--s-accent-2); }

/* ---------- shared footer ---------- */
.site-footer {
  max-width: var(--s-maxw); margin: clamp(40px,6vw,80px) auto 0; padding: 40px 24px 22px;
  display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between;
  border-top: 1px solid var(--s-line);
}
.foot-brand { max-width: 320px; }
.foot-brand .logo { font-family: 'Outfit'; font-weight: 800; font-size: 18px; color: var(--s-ink); }
.foot-brand p { margin-top: 12px; color: var(--s-muted); font-size: 14px; line-height: 1.6; }
.foot-cols { display: flex; gap: clamp(28px,5vw,56px); flex-wrap: wrap; }
.foot-cols h4 { font-family: 'Manrope'; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--s-muted-2); margin-bottom: 12px; }
.foot-cols a { display: block; color: var(--s-muted); font-size: 14.5px; margin-bottom: 8px; text-decoration: none; }
.foot-cols a:hover { color: var(--s-ink); }
.foot-copy { width: 100%; color: var(--s-muted-2); font-size: 12.5px; padding-top: 14px; border-top: 1px solid var(--s-line); margin-top: 6px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.7,.2,1), transform .7s cubic-bezier(.22,.7,.2,1); transition-delay: var(--rd, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .content-page .nav.glass { display: none; }
  .content-page .contact-btn { display: none; }
  .burger { display: flex; margin-left: auto; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
