/* Landmark Freight — clean B2B logistics landing page */

:root {
  --navy: #0a2540;
  --navy-mid: #14324d;
  --teal: #1a6ea8;
  --teal-dark: #155a8a;
  --teal-soft: #e8f2f9;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --text: #1c2a36;
  --muted: #5a6b7a;
  --border: #d5dee6;
  --shadow: 0 8px 24px rgba(11, 31, 51, 0.08);
  --radius: 10px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

section[id] {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 0.75rem;
}

.lang-switch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--off-white);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.lang-btn.is-active {
  background: #f3c9aa;
  color: var(--navy);
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: min(220px, 55vw);
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--teal) 100%);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-left: auto;
  z-index: 2;
}

.site-nav a {
  color: var(--navy-mid);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--navy-mid);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 1px;
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #0f3d4a 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd4d4;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: #159090;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-intro p {
  margin: 0;
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Why us */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.why-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.why-list strong {
  color: var(--navy);
  font-size: 1rem;
}

.why-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.section-contact {
  background: var(--navy);
  color: var(--white);
}

.section-contact h2 {
  color: var(--white);
}

.section-contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-label {
  margin: 0 0 0.35rem !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fd4d4 !important;
}

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  word-break: break-all;
}

.contact-email:hover {
  color: #b8e8e8;
}

.contact-note {
  margin: 1rem 0 0 !important;
  font-size: 0.9rem;
}


/* News */
.news-list {
  display: grid;
  gap: 1rem;
}

.news-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.news-item time {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.news-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
}

.news-item h3 a {
  color: inherit;
  text-decoration: none;
}

.news-item h3 a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-updated {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}


.news-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  margin: 1.25rem 0 0;
}

.news-pager .news-page {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.news-pager .news-page:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.news-pager .news-page.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.news-attrib {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #071622;
  color: rgba(255, 255, 255, 0.65);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-brand {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.site-footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .header-inner {
    position: relative;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* Photo hero */
.hero-photo {
  position: relative;
  background: var(--navy) url("images/hero-port.jpg") center / cover no-repeat;
  color: var(--white);
  min-height: 28rem;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 31, 51, 0.88) 0%, rgba(11, 31, 51, 0.55) 55%, rgba(20, 50, 77, 0.35) 100%);
}

.hero-photo .hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
}

.hero-photo .eyebrow {
  color: #9fd4d4;
}

.hero-photo h1 {
  color: var(--white);
  max-width: 18ch;
}

.hero-photo .hero-lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
}

.hero-photo .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-photo .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* About with photo */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Photo cards */
.cards-photo {
  grid-template-columns: repeat(3, 1fr);
}

.card-photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-photo img {
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.card-body h3 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cards-photo {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 22rem;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .cards-photo {
    grid-template-columns: repeat(2, 1fr);
  }
}







/* Contact cards row */
.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-whatsapp .wa-qr-link {
  display: inline-block;
  margin-top: 0.85rem;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 0.5rem;
}

.contact-whatsapp .wa-qr {
  width: 9.5rem;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (min-width: 769px) {
  .section-contact .contact-inner {
    align-items: start;
  }
  .contact-cards {
    min-width: min(100%, 22rem);
  }
}

/* Language toggle — true center, independent of nav width */
.lang-switch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  width: 5.75rem;
  border: 1px solid #e8d0c0;
  border-radius: 999px;
  padding: 0.2rem;
  background: #fbf6f2;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.05);
}

.lang-btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.4rem 0.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5a7a8a;
  text-decoration: none;
  line-height: 1;
}

.lang-btn:hover {
  color: #3d5f70;
  text-decoration: none;
  background: rgba(122, 184, 200, 0.18);
}

.lang-btn.is-active {
  background: #f3c4a8;
  color: #5c3a28 !important;
  box-shadow: 0 1px 3px rgba(243, 196, 168, 0.65);
}

/* Collapse nav earlier so Spanish labels do not collide with center toggle */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    z-index: 2;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .lang-switch {
    /* keep true center on tablet too */
    left: 50%;
  }
}
