/* Meridian Logistics — original brand UI */
:root {
  --ink: #0c1a24;
  --ink-soft: #1a2f3d;
  --steel: #2c4556;
  --muted: #5c7385;
  --line: #d5dee6;
  --sand: #f3f1ec;
  --paper: #faf9f6;
  --white: #ffffff;
  --sea: #1a6b6b;
  --sea-deep: #134f4f;
  --copper: #c47a3a;
  --copper-soft: #e8c9a8;
  --max: 1180px;
  --header-h: 76px;
  --radius: 4px;
  --ease: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 16px 40px rgba(12, 26, 36, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--steel);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-title.center,
.section-sub.center,
.center {
  text-align: center;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-sub.center {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--ease);
}

.btn-primary {
  background: var(--sea);
  color: var(--white);
  border-color: var(--sea);
}

.btn-primary:hover {
  background: var(--sea-deep);
  border-color: var(--sea-deep);
  transform: translateY(-1px);
}

.btn-copper {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn-copper:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--sea);
  border-color: var(--sea);
}

.btn-ghost:hover {
  background: var(--sea);
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(213, 222, 230, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, var(--sea), var(--ink));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 3px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 1.02rem;
}

.logo-text span {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav > li > a:hover,
.nav > li.active > a,
.nav > li:hover > a {
  color: var(--sea);
}

.nav .caret {
  font-size: 0.6rem;
  opacity: 0.65;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--ease);
  z-index: 100;
}

.nav > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--steel);
}

.dropdown a:hover {
  background: var(--sand);
  color: var(--sea);
}

.header-cta {
  padding: 10px 18px;
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn:hover {
  border-color: var(--sea);
  color: var(--sea);
}

.lang-caret {
  font-size: 0.65rem;
  opacity: 0.7;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  z-index: 120;
  list-style: none;
}

.lang-menu.open {
  display: block;
}

.lang-option {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.lang-option:hover,
.lang-option.active {
  background: var(--sand);
  color: var(--sea);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(12, 26, 36, 0.35) 0%, rgba(12, 26, 36, 0.78) 70%, rgba(12, 26, 36, 0.92) 100%),
    url("../assets/images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
  max-width: 720px;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.08rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  background: rgba(250, 249, 246, 0.96);
  color: var(--ink);
  z-index: 2;
}

.hero-strip div {
  padding: 18px 28px;
  border-left: 1px solid var(--line);
  min-width: 140px;
}

.hero-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  color: var(--sea);
  margin-bottom: 2px;
}

.hero-strip span {
  font-size: 0.78rem;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Network bar */
.network-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 22px 0;
}

.network-bar .inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.network-bar .label {
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-soft);
  white-space: nowrap;
}

.network-bar .cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.9rem;
}

.network-bar .cities b {
  color: var(--white);
  font-weight: 600;
}

/* Services */
.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card .thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 26, 36, 0.55));
}

.service-card .body {
  padding: 22px 22px 26px;
}

.service-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 14px;
}

.service-card .more {
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sea);
}

/* Regions */
.regions {
  background: var(--sand);
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}

.region-tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--steel);
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--ease);
}

.region-tab:hover,
.region-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.region-panel {
  display: none;
  animation: rise 0.35s ease both;
}

.region-panel.active {
  display: block;
}

.region-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.region-links a {
  display: block;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 500;
  transition: all var(--ease);
}

.region-links a:hover {
  border-color: var(--sea);
  color: var(--sea);
}

/* Why */
.why-us {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.why-us .section-title {
  color: var(--white);
}

.why-us .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  transition: all var(--ease);
}

.why-card:hover {
  background: rgba(26, 107, 107, 0.25);
  border-color: rgba(26, 107, 107, 0.5);
}

.why-card .num {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--copper-soft);
  margin-bottom: 12px;
}

.why-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* About + quote */
.about-quote {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.about-media {
  display: grid;
  gap: 12px;
}

.about-media .main {
  height: 280px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius);
}

.about-media .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-media .pair img {
  height: 140px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-copy h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
  line-height: 1.35;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 12px;
}

.branch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.branch-list span {
  padding: 6px 12px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.branch-list span.hq {
  background: var(--sea);
  border-color: var(--sea);
  color: var(--white);
}

.quote-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.quote-box h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.quote-box > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--sea);
  background: var(--white);
}

.form-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.form-grid .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  background: #e8f5f2;
  color: var(--sea-deep);
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.form-note.show {
  display: block;
}

/* Capability / warehouse spotlight */
.capability {
  background: var(--white);
}

.cap-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.cap-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
}

.cap-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.cap-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(250, 249, 246, 0.95);
  padding: 16px 18px;
  border-radius: var(--radius);
  max-width: 240px;
}

.cap-badge strong {
  display: block;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  margin-bottom: 4px;
}

.cap-badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cap-copy h2 {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cap-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.cap-points {
  display: grid;
  gap: 12px;
}

.cap-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cap-points .dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
}

.cap-points strong {
  display: block;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.cap-points span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Solutions */
.solutions {
  background: var(--sand);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--ease);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solution-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover img {
  transform: scale(1.04);
}

.solution-card .body {
  padding: 20px;
}

.solution-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.solution-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Feedback */
.feedback {
  background: var(--paper);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feedback-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.feedback-card .stars {
  color: var(--copper);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.feedback-card blockquote {
  font-size: 0.94rem;
  color: var(--steel);
  margin-bottom: 18px;
  font-style: italic;
}

.feedback-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  font-size: 0.9rem;
}

.feedback-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* News */
.news {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  transition: all var(--ease);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.news-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.news-card .body {
  padding: 18px;
}

.news-card .date {
  font-size: 0.78rem;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
}

.news-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

/* Footer */
.site-footer {
  background: #07131c;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col a:hover {
  color: var(--copper-soft);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .services-grid,
  .why-grid,
  .solutions-grid,
  .feedback-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .cap-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero-strip {
    display: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 24px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: 10px;
  }

  .nav > li.open > .dropdown {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .services-grid,
  .why-grid,
  .solutions-grid,
  .feedback-grid,
  .news-grid,
  .about-grid,
  .cap-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-grid .row-2 {
    grid-template-columns: 1fr;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }

  .hero {
    min-height: 540px;
    align-items: center;
  }

  .hero-content {
    padding: 60px 0;
  }
}
