@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Outfit:wght@500;600;700&display=swap');

:root {
  --navy-950: #031426;
  --navy-900: #061b30;
  --navy-800: #0a2945;
  --blue-700: #0865b9;
  --blue-600: #087fd8;
  --blue-500: #16a3f5;
  --blue-100: #d9efff;
  --ink: #071d31;
  --muted: #5a6d80;
  --line: #dbe6ef;
  --surface: #f4f8fb;
  --white: #fff;
  --green: #0eaa65;
  --shadow: 0 24px 60px rgba(3, 25, 46, .11);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: "Outfit", "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(3rem, 6.2vw, 6.3rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2rem; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin: 0 0 18px;
  color: #72c8ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--blue-700); }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: linear-gradient(135deg, var(--blue-600), #0065bc);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 119, 210, .28);
}
.button.secondary { border-color: rgba(255,255,255,.44); background: rgba(2,20,38,.32); color: var(--white); backdrop-filter: blur(8px); }
.button.white { background: var(--white); color: var(--navy-900); }
.button.outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.button.whatsapp { background: var(--green); color: var(--white); }
.button.full { width: 100%; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--blue-700); font-weight: 800; }
.text-link span { font-size: 1.35rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link.light { color: #8dd4ff; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { background: rgba(3, 20, 38, .95); box-shadow: 0 8px 30px rgba(0,0,0,.18); backdrop-filter: blur(14px); }
.nav-shell { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 34px; }
.brand img { width: 220px; height: auto; filter: brightness(0) invert(1); }
.primary-nav { display: flex; align-items: center; gap: 30px; color: #e5eff8; font-size: .94rem; font-weight: 700; }
.primary-nav > a:not(.nav-cta) { position: relative; padding: 34px 0; }
.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue-500);
  content: "";
  transition: transform .2s ease;
}
.primary-nav > a:hover::after, .primary-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(255,255,255,.32); border-radius: 9px; background: rgba(255,255,255,.08); color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { position: relative; min-height: 820px; display: grid; align-items: end; overflow: hidden; background: var(--navy-950); color: var(--white); }
.hero-media { position: absolute; inset: 0; background: url("/assets/mesma-fleet-port-hero.png") center 47% / cover no-repeat; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,17,33,.94) 0%, rgba(3,21,39,.75) 42%, rgba(3,21,39,.2) 70%), linear-gradient(0deg, rgba(3,18,34,.88), transparent 46%); }
.hero-content { position: relative; z-index: 2; padding-top: 180px; padding-bottom: 54px; }
.hero-content h1 { max-width: 900px; text-wrap: balance; }
.hero-copy { max-width: 720px; margin-top: 26px; color: #d5e4ef; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-top: 78px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-trust span { display: flex; gap: 12px; align-items: center; padding: 24px 28px 0 0; color: #d7e5ef; font-size: .88rem; font-weight: 700; }
.hero-trust b { color: var(--blue-500); font-size: .72rem; letter-spacing: .1em; }

.local-service-strip { background: var(--navy-900); color: var(--white); }
.local-service-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.local-service-inner > div { display: flex; gap: 16px; align-items: center; padding: 25px 24px; border-right: 1px solid rgba(255,255,255,.12); }
.local-service-inner > div:last-child { border-right: 0; }
.local-service-inner > div > span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: rgba(20,159,241,.14); color: #7bcfff; }
.local-service-inner p { margin: 0; }
.local-service-inner small, .local-service-inner b { display: block; }
.local-service-inner small { margin-bottom: 2px; color: #8eabc0; font-size: .7rem; }
.local-service-inner b { color: #e9f3f9; font-size: .82rem; }

.intro-section { background: var(--white); }
.split-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 9%; align-items: start; }
.split-intro h2 { max-width: 560px; }
.split-intro > div:last-child { padding-top: 40px; color: var(--muted); font-size: 1.08rem; }
.split-intro .text-link { margin-top: 12px; font-size: .95rem; }

.services-section { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 8%; margin-bottom: 52px; }
.section-heading > div { max-width: 740px; }
.section-heading > p { max-width: 390px; margin-bottom: 6px; color: var(--muted); }
.section-heading.centered { justify-content: center; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 335px; padding: 38px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 12px 34px rgba(7,29,49,.05); }
.service-card.feature { grid-row: span 2; min-height: 692px; display: flex; flex-direction: column; justify-content: end; color: var(--white); background: linear-gradient(0deg, rgba(4,24,43,.96), rgba(4,24,43,.18)), url("/assets/mesma-fleet-port-hero.png") center / cover; border: 0; }
.service-number { position: absolute; top: 30px; right: 34px; color: #7c8f9f; font-family: "Outfit", sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .14em; }
.service-card.feature .service-number { color: #98ccea; }
.service-icon { display: grid; width: 58px; height: 58px; margin-bottom: 64px; place-items: center; border-radius: 16px; background: #e6f4ff; color: var(--blue-700); font-size: 1.5rem; }
.service-card.feature .service-icon { margin-bottom: 24px; background: rgba(12,144,229,.18); color: #77ceff; backdrop-filter: blur(7px); }
.service-card h3 { margin-bottom: 14px; font-size: 1.8rem; }
.service-card p { max-width: 520px; color: var(--muted); }
.service-card.feature p { color: #d6e5f0; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #e3f1f9; font-size: .76rem; }

.process-section { background: var(--white); }
.process-panel { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; background: linear-gradient(135deg, var(--navy-950), #0a3a61); border-radius: var(--radius-xl); color: var(--white); box-shadow: var(--shadow); }
.process-copy { padding: 74px 66px; background: radial-gradient(circle at 0 0, rgba(0,137,225,.24), transparent 48%); }
.process-copy h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.process-copy > p:not(.eyebrow) { margin-top: 24px; color: #c5d6e3; }
.process-copy .button { margin-top: 20px; }
.process-list { margin: 0; padding: 38px 54px; list-style: none; background: rgba(255,255,255,.04); }
.process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.process-list li:last-child { border-bottom: 0; }
.process-list li > span { color: var(--blue-500); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.process-list h3 { margin-bottom: 6px; font-size: 1.18rem; letter-spacing: -.01em; }
.process-list p { margin: 0; color: #b6cad9; font-size: .9rem; }

.why-section { padding-top: 40px; }
.why-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 9%; }
.why-grid > div:first-child { position: sticky; top: 140px; align-self: start; }
.why-grid > div:first-child p:not(.eyebrow) { max-width: 470px; margin-top: 24px; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit-grid article { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.benefit-grid span, .value-grid span { display: inline-block; margin-bottom: 52px; color: var(--blue-700); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.benefit-grid h3, .value-grid h3 { margin-bottom: 12px; }
.benefit-grid p, .value-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.cta-strip { padding: 72px 0; background: linear-gradient(120deg, #0467b8, #0a8bde); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.cta-actions { display: flex; align-items: center; gap: 26px; }
.phone-link { border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 800; white-space: nowrap; }

.page-hero { position: relative; min-height: 590px; display: flex; align-items: end; overflow: hidden; padding: 190px 0 82px; background: var(--navy-950); color: var(--white); }
.page-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,18,34,.94), rgba(3,18,34,.42)), url("/assets/mesma-fleet-port-hero.png") center 52% / cover; content: ""; }
.page-hero::after { position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, rgba(3,18,34,.65)); content: ""; }
.contact-hero::before { background-position: center 62%; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { max-width: 940px; font-size: clamp(3rem, 5.6vw, 5.7rem); }
.page-hero p:not(.eyebrow) { max-width: 740px; margin-top: 24px; color: #d0dfeb; font-size: 1.12rem; }

.story-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 8%; align-items: center; }
.story-image { position: relative; }
.story-image img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.image-note { position: absolute; right: -34px; bottom: 28px; max-width: 280px; padding: 24px; background: rgba(4,26,47,.94); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); color: var(--white); backdrop-filter: blur(12px); }
.image-note b, .image-note span { display: block; }
.image-note span { margin-top: 5px; color: #bcd0de; font-size: .78rem; }
.story-copy p:not(.eyebrow) { color: var(--muted); }
.story-copy h2 { margin-bottom: 26px; }
.story-copy .text-link { margin-top: 12px; }

.values-section { background: var(--surface); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-grid article { min-height: 310px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mission-section { background: var(--navy-950); color: var(--white); }
.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.mission-grid article { padding: 66px; background: var(--navy-950); }
.mission-grid h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.operating-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; }
.operating-list article { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.operating-list article:last-child { border-bottom: 1px solid var(--line); }
.operating-list span { color: var(--blue-700); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.operating-list h3 { margin-bottom: 8px; }
.operating-list p { margin: 0; color: var(--muted); }

.contact-section { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 7%; align-items: start; }
.contact-details > p:not(.eyebrow) { color: var(--muted); }
.contact-details h2 { margin-bottom: 22px; }
.contact-cards { display: grid; gap: 12px; margin: 34px 0; }
.contact-cards > * { display: flex; gap: 15px; align-items: center; padding: 17px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border .2s ease, transform .2s ease; }
.contact-cards a:hover { transform: translateX(3px); border-color: #93caed; }
.contact-icon { display: grid; flex: 0 0 45px; width: 45px; height: 45px; place-items: center; border-radius: 13px; background: #e9f5fd; color: var(--blue-700); font-size: 1.2rem; }
.contact-cards small, .contact-cards b { display: block; }
.contact-cards small { color: var(--muted); font-size: .72rem; }
.contact-cards b { font-size: .9rem; }
.enquiry-panel { padding: 48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); scroll-margin-top: 120px; }
.enquiry-panel h2 { margin-bottom: 30px; font-size: 2.5rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.enquiry-panel label { display: block; margin-bottom: 17px; color: #243b50; font-size: .82rem; font-weight: 800; }
.enquiry-panel input, .enquiry-panel textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid #cfdde8;
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  transition: border .2s ease, box-shadow .2s ease;
}
.enquiry-panel textarea { resize: vertical; }
.enquiry-panel input:focus, .enquiry-panel textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(8,127,216,.12); }
.form-honeypot { position: absolute; left: -9999px; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.form-message { margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; font-size: .9rem; }
.form-message.success { color: #075c36; background: #e6f8ef; border: 1px solid #9ddabc; }
.form-message.error { color: #8a1d24; background: #fff0f1; border: 1px solid #efb4b8; }

.site-footer { padding: 80px 0 26px; background: #021321; color: #c5d5e1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .65fr 1fr 1fr; gap: 60px; }
.footer-brand img { width: 200px; height: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 330px; color: #8fa8ba; font-size: .88rem; }
.site-footer h2 { margin-bottom: 20px; color: var(--white); font-family: "Manrope", sans-serif; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a, .site-footer div > p { display: block; margin-bottom: 10px; color: #9fb4c3; font-size: .86rem; }
.site-footer a:hover { color: var(--white); }
.social-share { display: flex; gap: 8px; margin-top: 22px; }
.social-share a { display: grid; width: 36px; height: 36px; margin: 0; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #cae0ee; font-size: .72rem; font-weight: 800; }
.social-share a:hover { border-color: #63baf0; background: rgba(29,145,216,.18); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 66px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: #718b9e; font-size: .76rem; }
.whatsapp-float { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: grid; width: 56px; height: 56px; place-items: center; border: 4px solid rgba(255,255,255,.8); border-radius: 50%; background: var(--green); color: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.23); font-size: 1.35rem; }
.not-found { min-height: 74vh; display: grid; place-items: center; padding: 180px 0 100px; background: var(--surface); text-align: center; }
.not-found h1 { font-size: clamp(3rem, 6vw, 5rem); }
.not-found p:not(.eyebrow) { max-width: 650px; margin: 24px auto; color: var(--muted); }
.not-found .hero-actions { justify-content: center; }

@media (max-width: 1020px) {
  .section { padding: 86px 0; }
  .menu-toggle { position: relative; z-index: 60; display: grid; width: 44px; height: 44px; padding: 10px; gap: 5px; align-content: center; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; background: var(--white); }
  .primary-nav { position: fixed; z-index: 55; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; transform: translateX(100%); background: rgba(3,20,38,.985); font-size: 1.35rem; transition: transform .25s ease; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > a:not(.nav-cta) { padding: 8px; }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 12px; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 150px; }
  .hero-media { background-position: 58% center; }
  .split-intro, .why-grid, .story-grid, .contact-layout { gap: 6%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-copy { padding: 60px 46px; }
  .process-list { padding: 32px 38px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .section { padding: 72px 0; }
  .nav-shell { min-height: 78px; }
  .brand img { width: 178px; }
  .hero { min-height: 760px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(2,17,33,.94), rgba(3,21,39,.55)), linear-gradient(0deg, rgba(3,18,34,.92), transparent 50%); }
  .hero-content { padding-top: 130px; padding-bottom: 38px; }
  .hero-copy { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-trust { grid-template-columns: 1fr; margin-top: 45px; padding-top: 10px; }
  .hero-trust span { padding-top: 10px; }
  .local-service-inner { grid-template-columns: 1fr; padding: 12px 0; }
  .local-service-inner > div { padding: 14px 4px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .local-service-inner > div:last-child { border-bottom: 0; }
  .split-intro, .section-heading, .why-grid, .story-grid, .operating-grid, .contact-layout { display: block; }
  .split-intro > div:last-child { padding-top: 28px; }
  .section-heading > p { margin-top: 22px; }
  .service-grid, .benefit-grid, .value-grid, .mission-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.feature { min-height: 390px; grid-row: auto; }
  .service-card:not(.feature) { min-height: 300px; }
  .process-panel { grid-template-columns: 1fr; }
  .process-copy { padding: 45px 28px; }
  .process-list { padding: 20px 28px; }
  .why-grid > div:first-child { position: static; margin-bottom: 35px; }
  .benefit-grid span, .value-grid span { margin-bottom: 34px; }
  .cta-inner, .cta-actions { align-items: flex-start; flex-direction: column; }
  .cta-actions { gap: 18px; }
  .page-hero { min-height: 540px; padding-top: 150px; }
  .story-image { margin-bottom: 60px; }
  .story-image img { aspect-ratio: 4 / 3.4; }
  .image-note { right: 12px; bottom: -32px; }
  .mission-grid { display: grid; gap: 1px; }
  .mission-grid article { padding: 44px 24px; }
  .operating-list { margin-top: 36px; }
  .contact-details { margin-bottom: 54px; }
  .enquiry-panel { padding: 30px 22px; border-radius: var(--radius-lg); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 28px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
