/* Colombo Shipping Solutions: site styles */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F4F7F7;
  --surface: #FFFFFF;
  --ink: #13232A;
  --muted: #51646B;
  --accent: #0E8A74;
  --accent-dark: #0B6F5D;
  --accent-soft: #E3F2EF;
  --deep: #0D2A33;
  --deep-2: #0A2128;
  --line: #D9E3E3;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --container: 1180px;
  --gutter: 20px;
  --section: clamp(56px, 8vw, 104px);
  --header-h: 72px;
  --shadow: 0 10px 30px -12px rgba(13, 42, 51, .22);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
:where(body, h1, h2, h3, h4, p, figure, dl, dd, ul) { margin: 0; }
:where(ul) { padding: 0; list-style: none; }
:where(img) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; }
:where(button, input, textarea) { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) {
  :where(html) { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.005em; }
p + p { margin-top: 1em; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 2px solid var(--accent); border-radius: var(--r-sm);
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(13,42,51,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 28px; }
.nav-list a { position: relative; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink); padding: 6px 0; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(13,42,51,.45);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .nav-list { flex-direction: column; gap: 0; margin-bottom: 16px; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .brand-logo { height: 46px; }
}

/* Hero */
.hero, .page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--deep); }
.hero { min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,33,40,.92) 0%, rgba(10,33,40,.72) 45%, rgba(10,33,40,.25) 100%);
}
.hero-content { padding-block: 96px; }
.hero h1, .page-hero h1 { color: #fff; max-width: 14ch; }
.hero .eyebrow { color: #9FE3D4; margin-bottom: 18px; }
.hero-lead { margin-top: 20px; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 34ch; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.page-hero { min-height: 340px; display: flex; align-items: flex-end; }
.page-hero .hero-content { padding-block: 120px 56px; }
.page-hero--plain { min-height: 0; }
.page-hero--plain::before { display: none; }
.page-hero--plain .container { padding-block: 72px 48px; }

/* Sections */
.section { padding-block: var(--section); }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; background: var(--accent); border-radius: 2px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split-media { order: 2; }
}
.split-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.split-media--tall { aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .split-media--tall { aspect-ratio: 4 / 5; } }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { color: var(--muted); max-width: 62ch; }
.split-text .lead { color: var(--ink); }

/* Services */
.services { background: var(--surface); }
.service-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.service-card { background: var(--bg); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 26px 28px 30px; }
.service-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-body p { color: var(--muted); }

/* Logistics band */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--deep); }
.band-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,33,40,.9) 0%, rgba(10,33,40,.6) 60%, rgba(10,33,40,.35) 100%); }
.band-content { padding-block: clamp(72px, 10vw, 128px); }
.band h2 { color: #fff; }
.band p { margin-top: 16px; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 36ch; color: rgba(255,255,255,.9); }

/* Agency list */
.agency-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .agency-list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1040px) { .agency-list { grid-template-columns: repeat(3, 1fr); } }
.agency-item { display: flex; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.agency-icon { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); }
.agency-item h3 { margin-bottom: 6px; }
.agency-item p { color: var(--muted); font-size: 1rem; }

/* Why choose us */
.why { background: var(--surface); }
.reasons { display: grid; }
.reason { padding: 22px 0 22px 20px; border-left: 3px solid var(--line); transition: border-color .2s ease; }
.reason + .reason { margin-top: 4px; }
.reason:hover { border-left-color: var(--accent); }
.reason dt { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; color: var(--ink); }
.reason dd { color: var(--muted); max-width: 60ch; }

/* About pillars */
.pillars { background: var(--surface); }
.pillar-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .pillar-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pillar-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 28px; background: var(--line); }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar h2 { margin-bottom: 18px; }
.pillar p { color: var(--muted); }

/* Contact */
.contact { background: var(--deep); color: rgba(255,255,255,.86); }
.contact h2 { color: #fff; margin-bottom: 20px; }
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.contact-intro p { max-width: 58ch; }
.contact-details { margin-top: 32px; display: grid; gap: 20px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .icon { flex-shrink: 0; color: #7ED9C6; margin-top: 2px; }
.contact-details strong { display: block; color: #fff; font-weight: 700; margin-bottom: 2px; }
.contact-details a { color: rgba(255,255,255,.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-details a:hover { color: #fff; border-color: #fff; }

.contact-form { background: var(--surface); color: var(--ink); border-radius: var(--r-md); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #BCCBCC; border-radius: var(--r-sm); background: #fff;
  font-size: 1rem; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,138,116,.22); }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: .95rem; font-weight: 600; margin: 0; }
.form-status.is-sent { color: var(--accent-dark); }
.form-status.is-error { color: #B3261E; }

/* Footer */
.site-footer { background: var(--deep-2); color: rgba(255,255,255,.72); font-size: .97rem; }
.footer-grid { display: grid; gap: 36px; padding-block: 64px 40px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 56px; } }
.footer-name { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand p:not(.footer-name) { max-width: 36ch; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.78); }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom p + p { margin-top: 0; }

/* Plain content pages */
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin: 1.6em 0 .6em; }

@media (max-width: 600px) {
  .hero { min-height: 78vh; }
  .hero-content { padding-block: 72px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .service-body { padding: 22px 22px 26px; }
}

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; }
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 860px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: 0 18px 40px -18px rgba(13,42,51,.45);
}
.cookie-text { flex: 1 1 380px; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.cookie-text strong { color: var(--ink); }
.cookie-text a { color: var(--accent-dark); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn--alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.cookie-btn--alt:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-cookie-link { background: none; border: 0; padding: 0; color: rgba(255,255,255,.6); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-cookie-link:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.6); }
.footer-legal a:hover { color: #fff; }
@media (max-width: 600px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 0; }
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--surface); }
.prose td { color: var(--muted); }
@media (max-width: 600px) { .prose table { display: block; overflow-x: auto; } }
