/* ERMAS — O&E Logistics and Shipping (Gabon)
   Recreated from the client's Duda site. Flexo (Duda's proprietary font) is
   replaced with Archivo (headings) + Source Sans Pro (body) — closest free
   equivalents, same weights/italics used throughout the original. */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Source+Sans+Pro:wght@400;600;700&display=swap');

:root {
  --brown: #471c09;
  --orange: #e47625;
  --rose: #d77676;
  --slate: #284053;
  --gray-heading: #4e4e50;
  --gray-body: #6d6e71;
  --footer-orange: #f2a35a;
  --bg-page: #eeeeee;
  --font-head: 'Archivo', sans-serif;
  --font-body: 'Source Sans Pro', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: #333;
  background: #fff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--brown);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  color: #fff;
  font-size: 26px;
  letter-spacing: 0.5px;
}
.logo-text .tag {
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 600;
}
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-nav a.active,
.main-nav a:hover { border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.btn-login {
  background: var(--rose);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 4px;
  display: inline-block;
}
.btn-login:hover { opacity: 0.9; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 200;
}
.whatsapp-float img { width: 28px; height: 28px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(71, 28, 9, 0.45);
}
.page-hero h1 {
  position: relative;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 56px;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

/* ---------- Home hero ---------- */
.home-hero {
  height: 620px;
  background-size: cover;
  background-position: center;
  transition: background-image 1.2s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.home-hero h1 {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 34px;
  text-transform: uppercase;
  line-height: 1.25;
}
.home-hero .divider {
  max-width: 1200px;
  margin: 22px auto 0;
  width: 60px;
  height: 3px;
  background: var(--orange);
}

.subtext-band {
  padding: 64px 24px;
  text-align: center;
}
.subtext-band p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--orange);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
}

.kicker {
  text-align: center;
  color: var(--gray-heading);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 42px;
  text-transform: uppercase;
  padding: 44px 24px 40px;
  margin: 0;
}

.photo-band {
  height: 340px;
  background-size: cover;
  background-position: center;
}

.compromises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 0 24px 70px;
  max-width: 1200px;
  margin: 0 auto;
}
.compromises img { width: 100%; height: 100%; object-fit: cover; }
.compromises-list h3 {
  color: var(--slate);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  margin: 0 0 8px;
}
.compromises-list p {
  color: var(--gray-body);
  font-style: italic;
  font-size: 16px;
  margin: 0 0 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: #fff;
  padding: 60px 24px 40px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
}
.footer-grid h4 {
  color: var(--footer-orange);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
}
.footer-grid a, .footer-grid p {
  display: block;
  color: #fff;
  font-size: 15px;
  margin: 0 0 10px;
}
.footer-grid a:hover { text-decoration: underline; }

/* ---------- Chat widget (decorative, matches source) ---------- */
.chat-bubble {
  position: fixed;
  right: 88px;
  bottom: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  padding: 14px 18px;
  min-width: 200px;
  z-index: 199;
  cursor: pointer;
}
.chat-bubble .status { font-weight: 700; font-size: 14px; color: #333; margin: 0; }
.chat-bubble .msg { font-size: 13px; color: #666; margin: 4px 0 0; }

/* ---------- Card grids (Logistics / Shipping) ---------- */
.section-pad { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 34px;
  margin: 0 0 10px;
}
.section-head .lead {
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  margin: 0 0 14px;
}
.section-head .sub { color: #999; font-size: 20px; margin: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .cap {
  padding: 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  color: var(--gray-heading);
  font-size: 16px;
}
.card-grid.cols-2 .cap { text-align: left; }
.card-grid.cols-2 .cap .tag { color: var(--rose); font-weight: 700; margin: 8px 0; display: block; }
.card-grid.cols-2 .cap .lines { color: var(--gray-body); font-style: normal; font-size: 15px; line-height: 1.5; }

/* ---------- Company page ---------- */
.band-gradient {
  background: linear-gradient(90deg, var(--orange) 0%, #d9d9d9 100%);
  padding: 70px 24px;
}
.band-gradient .grid2 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.icon-line { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.icon-line svg { flex: none; width: 40px; height: 40px; }
.icon-line strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  color: var(--brown);
  font-size: 20px;
}
.band-gradient h2, .band-pink h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  font-size: 44px;
  color: #222;
  margin: 0 0 14px;
}
.band-gradient p, .band-pink p { font-size: 16px; color: #333; margin: 0; }

.band-pink {
  background: #efdfe0;
  padding: 70px 24px;
}
.band-pink .grid2 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
  align-items: start;
}
.founder img { width: 100%; object-fit: cover; filter: grayscale(100%); }
.founder h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 34px;
  color: var(--brown);
  margin: 0 0 6px;
}
.founder .name {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  color: var(--orange);
  font-size: 20px;
  margin: 0 0 18px;
}
.founder p { color: #555; margin: 0 0 18px; }

.foundation {
  background: var(--bg-page);
  padding: 70px 24px;
}
.foundation h2 {
  text-align: center;
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 40px;
}
.foundation-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.foundation-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(100%); }
.foundation-grid h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  color: #222;
  text-align: center;
  margin: 16px 0 10px;
}
.foundation-grid p { font-size: 14px; color: #555; margin: 0; }

.map-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 10px;
}
.map-block a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddd;
  padding: 14px 20px;
  border-radius: 6px;
  color: var(--brown);
  font-weight: 600;
}
.map-block a:hover { background: #f7f7f7; }

.talk {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  padding: 70px 24px;
}
.talk h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  font-size: 40px;
  color: var(--brown);
  margin: 0 0 10px;
}
.talk h2 .underline {
  display: block;
  width: 70px;
  height: 3px;
  background: #4aa3d9;
  margin-top: 10px;
}
.contact-row { display: flex; gap: 16px; align-items: flex-start; margin: 26px 0; }
.contact-row svg { width: 26px; height: 26px; flex: none; color: var(--brown); }
.contact-row span { color: var(--rose); font-size: 16px; line-height: 1.4; }

.talk form { display: flex; flex-direction: column; gap: 18px; }
.talk label { font-size: 15px; color: #333; margin-bottom: 6px; display: block; }
.talk input, .talk select, .talk textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 3px;
}
.talk textarea { min-height: 110px; resize: vertical; }
.btn-send {
  align-self: flex-start;
  background: var(--rose);
  color: #fff;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 4px;
  cursor: pointer;
}
.btn-send:hover { opacity: 0.9; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--brown); flex-direction: column; padding: 30px; gap: 24px; transform: translateX(100%); transition: transform 0.25s; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .compromises, .founder, .band-gradient .grid2, .band-pink .grid2, .talk { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .foundation-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 36px; }
  .kicker { font-size: 28px; }
}
