/* =========================================================
   OliCece — U.S. Warehouse & Fulfillment Services
   Global Stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #1F3A5F;
  --navy-dark: #162B47;
  --gray-light: #F5F7FA;
  --white: #FFFFFF;
  --orange: #F27248;
  --orange-dark: #D4593A;
  --text: #1F2937;
  --text-muted: #4B5563;
  --border: #E5E7EB;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);

  --container: 1180px;
  --header-h: 100px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--gray { background: var(--gray-light); }
.section--navy { background: var(--navy); color: #E5EAF1; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.08rem; color: var(--text-muted); margin: 0; }
.section--navy .section-head p { color: #B9C4D4; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color:#fff; }
.btn--lg { padding: 16px 34px; font-size: 1.06rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: -.01em; }
.site-logo { height: 86px; width: auto; display: block; }
.brand .logo-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--navy);
  display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 800;
}
.brand .logo-mark span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: 7px; font-weight: 500; color: var(--text);
  font-size: .97rem; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--gray-light); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center;
}
.nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--gray-light) 0%, #fff 100%); padding: 76px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -.02em; }
.hero .lead { font-size: 1.18rem; color: var(--text-muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 460px; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .pin { width: 40px; height: 40px; border-radius: 50%; background: rgba(31,58,95,.1); display:grid; place-items:center; color: var(--navy); }
.hero-badge b { display: block; color: var(--navy); font-size: .98rem; }
.hero-badge small { color: var(--text-muted); font-size: .82rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.page-hero p { color: #C3CEDE; font-size: 1.12rem; max-width: 680px; margin: 0; }
.breadcrumb { font-size: .85rem; color: #91A2BC; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D6DEE8; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(31,58,95,.08);
  display: grid; place-items: center; color: var(--navy); margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .97rem; }

/* ---------- Feature (image + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 400px; object-fit: cover; }
.feature h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--text); }
.check-list li svg { flex: 0 0 auto; color: var(--orange); margin-top: 3px; }

/* ---------- Badges (channels) ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 11px 22px; font-weight: 600; color: var(--navy); font-size: .98rem; box-shadow: var(--shadow-sm);
}
.section--navy .badge { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }

/* ---------- Steps / process ---------- */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* Vertical steps (How It Works full) */
.steps-vertical { max-width: 760px; margin: 0 auto; position: relative; }
.steps-vertical::before {
  content: ''; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; background: var(--border);
}
.vstep { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 0 0 36px; }
.vstep:last-child { padding-bottom: 0; }
.vstep .num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; z-index: 1; box-shadow: 0 0 0 6px #fff;
}
.vstep h3 { font-size: 1.2rem; margin-bottom: 6px; }
.vstep p { color: var(--text-muted); margin: 0; }

/* ---------- Why list ---------- */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-list li svg { color: var(--orange); flex: 0 0 auto; margin-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: 18px; padding: 56px 48px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #C3CEDE; max-width: 620px; margin: 0 auto 28px; font-size: 1.08rem; }

/* ---------- Service detail blocks ---------- */
.svc-block { padding: 44px 0; border-bottom: 1px solid var(--border); }
.svc-block:last-child { border-bottom: 0; }
.svc-block .feature { gap: 48px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tag { background: var(--gray-light); border-radius: 7px; padding: 7px 14px; font-size: .88rem; font-weight: 500; color: var(--navy); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-size: 1.06rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.faq-q .chev { flex: 0 0 auto; transition: transform .25s; color: var(--orange); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px 30px; }
.info-card h3 { color: #fff; }
.info-card .info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-card .info-row:last-child { border-bottom: 0; }
.info-card .info-row svg { color: var(--orange); flex: 0 0 auto; margin-top: 2px; }
.info-card .info-row b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: #91A2BC; margin-bottom: 2px; font-weight: 600; }
.info-card .info-row span { color: #E5EAF1; }
.info-card a { color: #E5EAF1; }
.info-card a:hover { color: #fff; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31,58,95,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check { display: flex; align-items: center; gap: 9px; font-size: .95rem; cursor: pointer; }
.check input { width: auto; accent-color: var(--navy); }
.form-note { font-size: .85rem; color: var(--text-muted); margin: 4px 0 0; }
.form-success {
  display: none; background: #ECFDF3; border: 1px solid #ABEFC6; color: #067647;
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-weight: 500;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #B9C4D4; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .logo-mark { background: rgba(255,255,255,.1); }
.footer p { color: #93A1B8; font-size: .95rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a { color: #B9C4D4; font-size: .96rem; }
.footer-nav a:hover { color: #fff; }
.footer .contact-line { display: flex; gap: 10px; margin-bottom: 12px; font-size: .94rem; }
.footer .contact-line svg { color: var(--orange); flex: 0 0 auto; margin-top: 3px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #7E8DA6;
}

/* ---------- Language dropdown ---------- */
.lang-dropdown { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--gray-light); border: none; border-radius: 999px;
  padding: 7px 12px; cursor: pointer; font-family: var(--font);
  font-size: .84rem; font-weight: 600; color: var(--navy); white-space: nowrap;
  transition: background .15s;
}
.lang-btn:hover, .lang-btn.open { background: #E2E8F0; }
.lang-chev { transition: transform .2s ease; flex-shrink: 0; }
.lang-btn.open .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); min-width: 136px; list-style: none;
  padding: 5px; margin: 0;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; z-index: 200;
}
.lang-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-option {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; font-size: .94rem; color: var(--text);
  border-radius: 6px; transition: background .12s;
}
.lang-option:hover { background: var(--gray-light); color: var(--navy); }
.lang-option.active { color: var(--navy); font-weight: 600; }
.lang-option .check { color: var(--orange); flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .hero-media img { height: 320px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 20px; gap: 2px;
    transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; border-radius: 8px; font-size: 1.02rem; }
  .nav-links .mobile-cta { margin-top: 10px; }
  .nav .nav-cta .btn { display: none; }       /* hide desktop CTA, show inside menu on mobile */
  .why-list, .grid-2, .form-grid, .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 40px 24px; }
  .hero-badge { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* show mobile CTA only inside the menu on small screens */
.nav-links .mobile-cta { display: none; }
@media (max-width: 760px) { .nav-links .mobile-cta { display: block; } }
