/* Shipcare Marine Consultants */
:root {
  --navy: #14213d;
  --navy-2: #1f3263;
  --red: #a10000;
  --red-dark: #7a0000;
  --ink: #1d2433;
  --muted: #5b6478;
  --line: #e3e6ee;
  --soft: #f4f6fa;
  --white: #fff;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-size: 1.15rem; }
.brand strong { color: var(--red); letter-spacing: .02em; }
.brand img { width: 56px; height: 56px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 6px; text-decoration: none; color: var(--navy); font-weight: 500; }
.main-nav a:hover { background: var(--soft); }
.main-nav a[aria-current="page"] { color: var(--red); background: var(--soft); }
.nav-toggle, .nav-button { display: none; }

@media (max-width: 860px) {
  .brand span { font-size: 1rem; }
  .nav-button { display: block; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .nav-button span, .nav-button span::before, .nav-button span::after {
    content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--navy); transition: .2s;
  }
  .nav-button span { top: 21px; }
  .nav-button span::before { left: 0; top: -7px; }
  .nav-button span::after { left: 0; top: 7px; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); }
  .main-nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav-toggle:checked ~ .main-nav { display: block; }
}

/* Hero */
.hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; }
.slides img.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,33,61,.1) 0%, rgba(20,33,61,.85) 100%); }
.hero-text { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 48px; width: 100%; }
.hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 8px; }
.hero h1 span { display: block; }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 0 20px; }

.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; background: var(--red); color: var(--white); text-decoration: none; font-weight: 600; margin: 4px 6px 4px 0; }
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-light:hover { background: var(--soft); color: var(--navy); }

/* Sections */
.intro { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.intro .tagline { font-size: 1.2rem; color: var(--navy); }
.band { background: var(--soft); padding: 48px 0 56px; }
.band h2, .news h2, .partners h2 { text-align: center; font-size: 1.8rem; margin: 0 0 28px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 8px 0 40px; }
.band .cards { padding-bottom: 0; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--navy); font-weight: 600; transition: transform .15s, box-shadow .15s; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card span { padding: 14px 16px; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,33,61,.12); color: var(--red); }

.news { padding-top: 56px; padding-bottom: 56px; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.news article { border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 4px 24px 12px; }

.partners { background: var(--soft); padding: 40px 0 48px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; }
.logos img { max-height: 90px; width: auto; filter: grayscale(30%); transition: filter .2s; }
.logos a:hover img { filter: none; }

.page-title { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: var(--white); padding: 44px 0 36px; }
.page-title h1 { color: var(--white); margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.page-title p { margin: 6px 0 0; opacity: .85; }

.prose { padding-top: 40px; padding-bottom: 56px; }
.prose .lead { font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.split > img { justify-self: center; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.pillars > div { background: var(--soft); border-radius: var(--radius); padding: 4px 22px 14px; }

ul.ticks { list-style: none; padding: 0; }
ul.ticks li { position: relative; padding-left: 28px; margin: 6px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
ol.yards li { margin: 8px 0; }

.service-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.service-menu { padding-top: 40px; }
.service-menu h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.service-menu ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.service-menu a { display: block; padding: 7px 14px; text-decoration: none; color: var(--navy); margin-left: -2px; border-left: 2px solid transparent; }
.service-menu a:hover { color: var(--red); }
.service-menu a[aria-current="page"] { color: var(--red); border-left-color: var(--red); font-weight: 600; }
.service-img { float: right; width: 300px; max-width: 45%; border-radius: var(--radius); margin: 0 0 16px 24px; }
.cta { clear: both; margin-top: 32px; padding: 20px 24px; background: var(--soft); border-radius: var(--radius); }
.cta p { margin: 0 0 8px; font-weight: 600; color: var(--navy); }

.brochure { border-radius: 6px; box-shadow: 0 10px 30px rgba(20,33,61,.2); }

.contact { padding-top: 40px; padding-bottom: 56px; align-items: start; grid-template-columns: 1fr 1fr; }
.contact .prose { padding: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.contact-list .label { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #c9d0e0; padding: 44px 0 20px; font-size: .95rem; }
.site-footer h2 { color: var(--white); font-size: 1rem; margin: 0 0 12px; }
.site-footer a { color: #e7ebf5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 16px; font-size: .85rem; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .intro, .split, .service-layout, .news-grid, .pillars, .footer-grid, .contact { grid-template-columns: 1fr; }
  .intro { text-align: center; gap: 16px; }
  .intro img { justify-self: center; width: 150px; }
  .service-menu { display: none; }
  .service-img { float: none; width: 100%; max-width: 100%; margin: 0 0 16px; }
  .hero { min-height: 380px; }
}
