:root {
  --navy: #082b3f;
  --navy-2: #0d3b52;
  --teal: #00a6a6;
  --teal-dark: #078686;
  --orange: #f4a340;
  --ink: #112330;
  --muted: #617381;
  --line: #dbe4e9;
  --soft: #f4f8fa;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(8, 43, 63, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219,228,233,.8);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 52px; }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-family: "Manrope", sans-serif; font-size: 1.02rem; letter-spacing: -.02em; color: var(--navy); }
.brand small { margin-top: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--teal); transition: .25s ease; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--navy); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s ease; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(0,166,166,.18), transparent 26%),
    linear-gradient(135deg, #f7fbfc 0%, #eef7f8 55%, #ffffff 100%);
  padding: 96px 0 90px;
}
.hero-grid-pattern { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(8,43,63,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(8,43,63,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to right, black, transparent 72%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .74rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: #74e0dc; }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.12; margin-top: 0; }
h1 { max-width: 760px; margin: 20px 0 24px; font-size: clamp(2.75rem, 6vw, 5.45rem); letter-spacing: -.055em; color: var(--navy); }
.hero-copy > p { max-width: 700px; font-size: 1.12rem; color: #526977; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border-radius: 12px; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 30px rgba(0,166,166,.25); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: rgba(255,255,255,.75); color: var(--navy); border-color: #cbdce4; }
.btn-light { background: #fff; color: var(--navy); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.trust-row span::before { content: "✓"; color: var(--teal); margin-right: 7px; font-weight: 900; }

.hero-visual { position: relative; min-height: 510px; }
.visual-card { position: absolute; inset: 32px 20px 30px 30px; border: 10px solid rgba(255,255,255,.86); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.port-scene { position: relative; width: 100%; height: 100%; background: linear-gradient(#98d8df 0 58%, #d4edf0 58% 61%, #0f7184 61% 100%); overflow: hidden; }
.sun { position: absolute; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,231,163,.9); top: 48px; right: 64px; box-shadow: 0 0 45px rgba(255,231,163,.65); }
.water { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: repeating-linear-gradient(175deg, rgba(255,255,255,.12) 0 3px, transparent 3px 16px); }
.crane { position: absolute; bottom: 39%; width: 9px; background: var(--navy); }
.crane::before { content: ""; position: absolute; width: 142px; height: 8px; background: var(--navy); left: 0; top: 7px; transform-origin: left center; transform: rotate(-9deg); }
.crane::after { content: ""; position: absolute; width: 4px; height: 105px; background: var(--navy); left: 108px; top: -7px; }
.crane i { position: absolute; width: 90px; height: 6px; background: var(--navy); bottom: 0; left: -40px; transform: rotate(-68deg); transform-origin: right center; }
.crane b { position: absolute; width: 80px; height: 6px; background: var(--navy); bottom: 0; left: 5px; transform: rotate(68deg); transform-origin: left center; }
.crane-one { left: 14%; height: 205px; }
.crane-two { left: 47%; height: 175px; transform: scale(.82); opacity: .72; }
.ship { position: absolute; left: 8%; right: 5%; bottom: 18%; height: 92px; background: #f4f7f8; clip-path: polygon(0 10%, 88% 10%, 100% 47%, 92% 100%, 10% 100%); box-shadow: inset 0 -22px 0 #0b3f5b; }
.containers { position: absolute; display: grid; grid-template-columns: repeat(5, 44px); gap: 4px; left: 64px; bottom: 68px; }
.containers span { height: 34px; background: #ef7f5b; border: 2px solid rgba(255,255,255,.45); }
.containers span:nth-child(2n) { background: #f3b54a; }
.containers span:nth-child(3n) { background: #0e95a0; }
.floating-card { position: absolute; width: 225px; padding: 16px 18px; background: rgba(255,255,255,.95); border: 1px solid rgba(219,228,233,.8); border-radius: 14px; box-shadow: 0 12px 35px rgba(8,43,63,.13); }
.floating-card strong { display: block; color: var(--navy); font-size: .95rem; }
.floating-card span { display: block; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.card-one { top: 0; left: 0; }
.card-two { right: 0; bottom: 0; }

.stats-bar { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.12); display: grid; gap: 2px; }
.stats-grid > div:first-child { padding-left: 0; }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong { font-family: "Manrope"; font-size: 1.6rem; color: #79e2de; }
.stats-grid span { color: rgba(255,255,255,.7); font-size: .84rem; }

.section { padding: 108px 0; }
.section-heading { max-width: 750px; margin: 0 auto 54px; text-align: center; }
.section-heading.left { margin: 0; text-align: left; }
.section-heading h2, .about-copy h2, .contact-copy h2, .cta-content h2 { margin: 16px 0 18px; font-size: clamp(2rem, 4vw, 3.35rem); color: var(--navy); letter-spacing: -.035em; }
.section-heading p, .about-copy p, .contact-copy p { color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 360px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s ease; overflow: hidden; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.icon-wrap { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #e8f8f7; margin-bottom: 24px; }
.icon-wrap svg { width: 28px; height: 28px; fill: none; stroke: var(--teal-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-card ul { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 9px; color: #425867; font-size: .88rem; }
.service-card li::before { content: "•"; color: var(--orange); margin-right: 9px; }
.service-card.featured { display: flex; flex-direction: column; justify-content: end; background: linear-gradient(145deg, var(--navy) 0%, #125873 100%); color: #fff; border: 0; }
.service-card.featured::after { content: ""; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; right: -75px; top: -75px; box-shadow: 0 0 0 34px rgba(255,255,255,.04), 0 0 0 68px rgba(255,255,255,.03); }
.service-card.featured h3 { color: #fff; font-size: 1.65rem; }
.service-card.featured p { color: rgba(255,255,255,.72); }
.service-card.featured a { color: #7de2df; font-weight: 800; margin-top: 14px; }
.mini-label { position: relative; z-index: 1; display: inline-block; margin-bottom: auto; align-self: flex-start; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #a7efec; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }

.section-dark { background: var(--navy); color: #fff; overflow: hidden; }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.about-copy h2 { color: #fff; }
.about-copy p { color: rgba(255,255,255,.7); }
.about-visual { position: relative; }
.photo-frame { min-height: 490px; border-radius: 28px; overflow: hidden; border: 8px solid rgba(255,255,255,.08); background: linear-gradient(145deg,#124f67,#0b344b); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.inspection-scene { position: relative; width: 100%; height: 490px; background: linear-gradient(180deg,#bde2e5 0 50%,#36556a 50% 100%); }
.helmet { position: absolute; width: 140px; height: 76px; border-radius: 80px 80px 12px 12px; background: #f5b543; left: 52%; top: 86px; transform: translateX(-50%); box-shadow: inset 0 -13px 0 #dc8d22; }
.helmet::after { content: ""; position: absolute; width: 180px; height: 14px; border-radius: 30px; background: #df931f; left: -20px; bottom: -8px; }
.clipboard { position: absolute; width: 160px; height: 210px; background: #f5f8f8; border-radius: 12px; right: 48px; bottom: 58px; transform: rotate(7deg); box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.clipboard::before { content: ""; position: absolute; width: 75px; height: 24px; border-radius: 0 0 9px 9px; background: #172f3b; left: 42px; top: -5px; }
.clipboard::after { content: "✓\A ─────\A ✓\A ─────\A ✓\A ─────"; white-space: pre; position: absolute; left: 28px; top: 52px; color: #168f8f; font-weight: 800; line-height: 1.9; }
.cargo-box { position: absolute; background: #b97a3f; border: 3px solid #815328; }
.cargo-box::before, .cargo-box::after { content: ""; position: absolute; background: rgba(255,255,255,.18); }
.cargo-box::before { width: 5px; top: 0; bottom: 0; left: 50%; }
.cargo-box::after { height: 5px; left: 0; right: 0; top: 50%; }
.box-a { width: 170px; height: 118px; left: 32px; bottom: 36px; }
.box-b { width: 130px; height: 95px; left: 76px; bottom: 154px; }
.box-c { width: 110px; height: 82px; left: 12px; bottom: 154px; }
.experience-badge { position: absolute; left: -24px; bottom: 34px; width: 245px; padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.experience-badge strong, .experience-badge span { display: block; }
.experience-badge strong { color: var(--navy); }
.experience-badge span { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.check-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-grid span { padding: 14px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: rgba(255,255,255,.86); font-weight: 600; font-size: .87rem; }
.check-grid span::before { content: "✓"; color: #75e0dc; margin-right: 8px; }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { min-height: 270px; padding: 28px; border-top: 4px solid var(--teal); background: var(--soft); border-radius: 0 0 18px 18px; }
.industry-card span { display: inline-block; color: var(--orange); font-weight: 800; font-size: .78rem; letter-spacing: .12em; margin-bottom: 54px; }
.industry-card h3 { color: var(--navy); font-size: 1.25rem; }
.industry-card p { color: var(--muted); font-size: .9rem; }

.section-muted { background: var(--soft); }
.credentials-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 86px; align-items: start; }
.credential-list { display: grid; gap: 14px; }
.credential-list > div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: center; padding: 21px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.credential-list strong { color: var(--navy); font-size: 1rem; }
.credential-list span { color: var(--muted); font-size: .88rem; }

.process-section { overflow: hidden; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; position: relative; }
.process-grid::before { content: ""; position: absolute; left: 7%; right: 7%; top: 34px; height: 2px; background: var(--line); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; }
.process-step > span { width: 68px; height: 68px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: "Manrope"; font-size: 1.2rem; box-shadow: 0 0 0 10px #fff; }
.process-step h3 { margin: 24px 0 10px; color: var(--navy); }
.process-step p { color: var(--muted); font-size: .88rem; }

.cta-band { background: linear-gradient(115deg,var(--teal-dark),#0d6a76); color:#fff; padding: 62px 0; }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-content h2 { color: #fff; margin-bottom: 0; max-width: 760px; font-size: clamp(1.8rem,4vw,3rem); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-methods { display: grid; gap: 14px; margin-top: 34px; }
.contact-methods > * { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-methods span { display: grid; }
.contact-methods small { color: var(--muted); }
.contact-methods strong { color: var(--navy); font-size: .92rem; }
.contact-icon { width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #e9f8f7; color: var(--teal-dark); font-weight: 800; }
.contact-form { padding: 32px; border-radius: 22px; background: var(--soft); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: var(--navy); font-weight: 700; font-size: .86rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cbd9e0; border-radius: 10px; padding: 13px 14px; background: #fff; color: var(--ink); outline: none; transition: .2s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.1); }
.contact-form textarea { resize: vertical; }
.form-submit { width: 100%; border: 0; }
.form-note { color: var(--muted); font-size: .77rem; margin: 12px 0 0; text-align: center; }

.site-footer { background: #061f2d; color: rgba(255,255,255,.7); padding: 70px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .7fr 1fr; gap: 50px; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: rgba(255,255,255,.58); }
.footer-grid > div:first-child p { max-width: 340px; font-size: .86rem; margin-top: 20px; }
.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; font-size: .84rem; }
.footer-grid a:hover { color: #79e2de; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .76rem; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 30px rgba(8,43,63,.25); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { min-height: 440px; max-width: 720px; width: 100%; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .industry-grid { grid-template-columns: repeat(2,1fr); }
  .split-layout, .credentials-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 650px; }
  .credentials-layout, .contact-grid { gap: 50px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; z-index: 1001; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 84px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { padding: 13px 12px; }
  .main-nav .nav-cta { margin-top: 6px; text-align: center; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .process-grid { grid-template-columns: repeat(2,1fr); row-gap: 46px; }
  .process-grid::before { display: none; }
  .cta-content { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header .brand small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hero { padding: 72px 0 70px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 365px; }
  .visual-card { inset: 32px 10px 25px 10px; }
  .floating-card { width: 185px; padding: 12px 14px; }
  .card-two { right: 0; }
  .containers { transform: scale(.72); transform-origin: left bottom; }
  .stats-grid, .services-grid, .industry-grid, .process-grid, .form-row, .check-grid { grid-template-columns: 1fr; }
  .stats-grid > div { padding-left: 0; border-right: 0; }
  .section { padding: 78px 0; }
  .service-card { min-height: auto; }
  .split-layout { gap: 54px; }
  .photo-frame, .inspection-scene { min-height: 410px; height: 410px; }
  .experience-badge { position: relative; left: 14px; bottom: auto; margin-top: -35px; }
  .credential-list > div { grid-template-columns: 1fr; gap: 7px; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

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


/* Blog and social media additions */
.main-nav .active-link { color: var(--teal); }
.section-action { display: flex; justify-content: center; margin-top: 38px; }

.social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.social-links a { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.social-links a:hover { transform: translateY(-3px); background: var(--teal); border-color: var(--teal); color: #052534; }
.social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links svg text { fill: currentColor; stroke: none; font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; }
.social-links .fill-dot, .social-links .fill-shape { fill: currentColor; stroke: none; }
.social-rail { position: fixed; right: 18px; top: 50%; z-index: 20; transform: translateY(-50%); flex-direction: column; flex-wrap: nowrap; margin: 0; padding: 8px; background: rgba(6,31,45,.94); border: 1px solid rgba(255,255,255,.12); border-radius: 30px; box-shadow: 0 14px 36px rgba(5,31,45,.22); backdrop-filter: blur(8px); }
.social-rail a { width: 34px; height: 34px; border-color: transparent; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card-visual { min-height: 190px; display: flex; align-items: flex-end; padding: 22px; color: #fff; position: relative; overflow: hidden; }
.blog-card-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(2,29,42,.82) 100%); }
.blog-card-visual::after { content: ""; position: absolute; width: 150px; height: 150px; right: -35px; top: -35px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.06), 0 0 0 56px rgba(255,255,255,.04); }
.blog-card-visual span { position: relative; z-index: 1; font-weight: 800; letter-spacing: .04em; }
.visual-damage { background: linear-gradient(135deg, #0e5d75, #0a2c42); }
.visual-lashing { background: linear-gradient(135deg, #bd631d, #7c3419); }
.visual-claims { background: linear-gradient(135deg, #376b62, #113e42); }
.blog-card-body { padding: 24px; }
.blog-meta, .article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .76rem; font-weight: 600; }
.blog-meta span, .article-category { color: var(--orange); text-transform: uppercase; letter-spacing: .07em; font-size: .74rem; font-weight: 800; }
.blog-card h3 { margin: 12px 0 11px; font-size: 1.2rem; line-height: 1.35; color: var(--navy); }
.blog-card p { color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; gap: 6px; margin-top: 18px; color: var(--navy); font-size: .88rem; font-weight: 800; }
.text-link:hover { color: var(--teal-dark); }

.blog-hero { position: relative; overflow: hidden; padding: 110px 0 92px; background: linear-gradient(145deg, #061f2d, #0c5066); color: #fff; }
.blog-hero-content { position: relative; z-index: 1; max-width: 820px; }
.blog-hero h1 { max-width: 760px; margin: 14px 0 18px; color: #fff; font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.04; }
.blog-hero p { max-width: 680px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.blog-content { min-width: 0; }
.full-article { scroll-margin-top: 110px; padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); }
.full-article:last-child { border-bottom: 0; margin-bottom: 0; }
.article-heading h2 { margin: 10px 0 12px; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
.full-article > p { color: #425867; margin: 16px 0; font-size: 1rem; line-height: 1.82; }
.full-article h3 { margin: 28px 0 8px; color: var(--navy); font-size: 1.16rem; }
.article-callout { margin-top: 26px; padding: 20px 22px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--soft); color: #294758; }
.article-list { display: grid; gap: 16px; margin: 22px 0; padding-left: 22px; color: #425867; line-height: 1.7; }
.document-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.document-checklist span { position: relative; padding: 14px 14px 14px 38px; border: 1px solid var(--line); border-radius: 10px; color: #355061; font-size: .9rem; }
.document-checklist span::before { content: "✓"; position: absolute; left: 14px; color: var(--teal-dark); font-weight: 900; }
.blog-sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(7,43,63,.05); }
.sidebar-card > a:not(.btn) { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: #355061; font-size: .88rem; font-weight: 600; }
.sidebar-card > a:not(.btn):last-child { border-bottom: 0; }
.sidebar-card h3 { color: var(--navy); margin-bottom: 10px; }
.sidebar-card p { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.sidebar-card .social-links { margin-top: 16px; }
.sidebar-card .social-links a { color: var(--navy); border-color: var(--line); }
.sidebar-card .social-links a:hover { color: #052534; border-color: var(--teal); }
.sidebar-cta { background: linear-gradient(145deg, var(--navy), #125873); border: 0; }
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p { color: rgba(255,255,255,.7); }

@media (max-width: 1050px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .social-rail { display: none; }
}

@media (max-width: 820px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-sidebar .sidebar-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 88px 0 70px; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .document-checklist { grid-template-columns: 1fr; }
  .social-links { gap: 7px; }
  .social-links a { width: 36px; height: 36px; }
}

/* Website enhancement: local photos and icons */
.local-icon { width: 100%; height: 100%; object-fit: contain; display: block; }
.section-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero photography */
.hero-photo-section .hero-visual { min-height: 540px; }
.hero-photo-frame { position: absolute; inset: 18px 12px 18px 24px; border: 10px solid rgba(255,255,255,.88); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1deg); background: #dfe9ee; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Service photography and local icons */
.service-thumb { height: 158px; margin: -30px -30px 22px; overflow: hidden; border-radius: 22px 22px 0 0; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.service-card:hover .service-thumb img { transform: scale(1.04); }
.icon-wrap img { width: 29px; height: 29px; }
.featured-icon { width: 58px; height: 58px; padding: 13px; margin: 18px 0 22px; border-radius: 16px; background: rgba(255,255,255,.92); position: relative; z-index: 1; }

/* About, industries, and credentials photography */
.photo-card { min-height: 490px; background: #0c3247; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.light-frame { border-color: rgba(8,43,63,.06); background: #fff; box-shadow: 0 20px 60px rgba(8,43,63,.12); }
.industry-showcase { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.industry-scene-card { min-height: 584px; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.industry-scene-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.industry-card { position: relative; overflow: hidden; }
.industry-card::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 78px; height: 78px; border-radius: 50%; background: rgba(0,166,166,.08); }
.industry-card > span { margin-bottom: 20px; }
.industry-icon { width: 54px; height: 54px; display: grid; place-items: center; padding: 12px; margin-bottom: 24px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(8,43,63,.08); }
.credential-visual-wrap { position: relative; }
.credential-list > div { grid-template-columns: 42px 190px 1fr; padding: 21px 24px; }
.credential-icon { width: 42px; height: 42px; display: grid; place-items: center; padding: 9px; border-radius: 12px; background: #e8f8f7; }

/* Process icons */
.process-step > .step-icon { position: relative; padding: 17px; }
.process-step > .step-icon img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.process-step > .step-icon b { position: absolute; right: -5px; bottom: -5px; min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: var(--navy); font-size: .58rem; box-shadow: 0 0 0 3px #fff; }

/* Blog photography */
.blog-card-cover { height: 205px; overflow: hidden; }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.blog-card:hover .blog-card-cover img { transform: scale(1.04); }
.blog-hero-photo { background: linear-gradient(90deg, rgba(6,31,45,.92), rgba(6,31,45,.62)), url('assets/photos/industries-port-logistics.webp') center/cover no-repeat; }
.article-cover { margin: 22px 0 24px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 340px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-image-card { padding: 0; overflow: hidden; }
.sidebar-image-card img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* Contact and social icons */
.contact-photo-bg { position: relative; background: linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.96)), url('assets/photos/hero-marine-surveyor.webp') center/cover fixed; }
.contact-icon { width: 42px; height: 42px; display: grid !important; place-items: center; padding: 10px; border-radius: 12px; background: #e8f8f7; }
.contact-social { margin-top: 26px; }
.contact-social .eyebrow { margin-bottom: 12px; }
.social-links a { background: #fff; border-color: rgba(255,255,255,.45); }
.social-links a img { width: 18px; height: 18px; object-fit: contain; display: block; transition: transform .2s ease; }
.social-links a:hover img { transform: scale(1.08); }
.sidebar-card .social-links a, .contact-social .social-links a { background: var(--soft); border-color: var(--line); }
.social-rail { gap: 10px; }

@media (max-width: 1050px) {
  .industry-showcase { grid-template-columns: 1fr; }
  .industry-scene-card { min-height: 360px; }
  .credential-list > div { grid-template-columns: 42px 180px 1fr; }
}

@media (max-width: 620px) {
  .hero-photo-section .hero-visual { min-height: 380px; }
  .hero-photo-frame { inset: 22px 10px 24px 10px; }
  .service-thumb { height: 180px; }
  .photo-card { min-height: 410px; }
  .industry-scene-card { min-height: 260px; }
  .credential-list > div { grid-template-columns: 42px 1fr; }
  .credential-list > div > span:last-child { grid-column: 1 / -1; }
  .article-cover { height: 220px; }
  .contact-photo-bg { background-attachment: scroll; }
}
