/* =====================================================
   ATLANTIC LEO MARINE — Modern light layout (Finlytix-style)
   Used by the new home page. Geist, pill tags, mint cards,
   full-bleed photo hero, photo feature cards, accordions.
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #06324f;
  --primary-2: #0a4a73;
  --accent: #00a9c9;
  --tint: rgba(6, 50, 79, 0.055);
  --ink: #14202b;
  --body: rgba(20, 32, 43, 0.72);
  --line: rgba(6, 50, 79, 0.12);
  --r1: 12px; --r2: 20px; --r3: 28px;
  --max: 1150px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html { scroll-behavior: smooth; }
body { font-family: 'Geist', system-ui, sans-serif; font-size: 16px; line-height: 1.4; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: calc(var(--max) + 30px); margin: 0 auto; padding: 0 15px; }
.section { padding: 120px 0 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.01em; }
p { color: var(--body); }

/* ---------- tag pill ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 0.82rem; color: var(--ink); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.tag--glass { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag--glass::before { background: #7fe3f5; box-shadow: 0 0 8px #7fe3f5; }

/* ---------- section head ---------- */
.head { text-align: center; max-width: 640px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.head p { max-width: 520px; }

/* ---------- button ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 22px; border-radius: 100px; background: var(--primary); color: #fff; font-size: 0.95rem; font-weight: 500; transition: background .3s, transform .3s var(--ease); }
.btn:hover { background: var(--primary-2); transform: translateY(-2px); }
.btn__arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn__arrow svg { width: 14px; height: 14px; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: #eaf4fa; }
.btn--light .btn__arrow { background: var(--primary); color: #fff; }
.btn--sm { padding: 5px 5px 5px 18px; font-size: 0.88rem; }
.btn--sm .btn__arrow { width: 30px; height: 30px; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: background .35s, padding .35s, box-shadow .35s; }
.nav.is-solid { background: rgba(6, 50, 79, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 84px; width: auto; transition: height .35s var(--ease); }
.nav.is-solid .nav__logo img { height: 62px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; color: #fff; font-size: 0.95rem; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 18px; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 150px 0 150px; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url('/images/hero/ship.jpg') 62% 62% / cover no-repeat; transform: scale(1.06); animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,28,46,0.72) 0%, rgba(4,28,46,0.32) 42%, rgba(4,28,46,0.5) 100%); }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.1rem); text-shadow: 0 2px 30px rgba(0,0,0,0.25); }
.hero p { color: rgba(255,255,255,0.88); max-width: 540px; font-size: 1.05rem; line-height: 1.5; }
.hero__logos { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__logos span { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; padding: 0 15px; }
.chip { padding: 7px 16px; border-radius: 100px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.82rem; color: #fff; }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--tint); border-radius: var(--r2); padding: 18px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s var(--ease); }
.stat:hover { transform: translateY(-6px); }
.stat__icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--primary); }
.stat__icon svg { width: 18px; height: 18px; }
.stat__num { font-size: 2.7rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-weight: 400; margin-bottom: 10px; }
.stat p { font-size: 0.95rem; max-width: 230px; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fcard { background: var(--tint); border-radius: var(--r2); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fcard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(6,50,79,0.28); }
.fcard__media { position: relative; height: 270px; overflow: hidden; margin: 0; }
.fcard__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fcard:hover .fcard__media > img { transform: scale(1.06); }
.fcard__ui { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(74%, 360px); background: #fff; border-radius: var(--r1) var(--r1) 0 0; padding: 18px 20px 16px; box-shadow: 0 -10px 40px rgba(0,0,0,0.12); }
.fcard__ui b { display: block; font-weight: 500; font-size: 0.8rem; color: var(--body); margin-bottom: 10px; }
.fcard__ui li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--ink); padding: 5px 0; }
.fcard__ui li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }
.fcard__body { padding: 22px 22px 26px; }
.fcard__body h3 { margin-bottom: 8px; }
.fcard__body p { font-size: 0.95rem; max-width: 380px; }
.fcard__link { display: inline-flex; margin-top: 14px; font-size: 0.9rem; color: var(--primary); font-weight: 500; gap: 6px; }
.fcard__link span { transition: transform .3s var(--ease); }
.fcard__link:hover span { transform: translateX(4px); }

/* ---------- preview / accordion split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.acc { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.acc__item { background: var(--tint); border-radius: var(--r1); overflow: hidden; }
.acc__q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; font-size: 1rem; color: var(--ink); }
.acc__q .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }
.acc__q .plus { margin-left: auto; width: 14px; height: 14px; position: relative; flex: none; }
.acc__q .plus::before, .acc__q .plus::after { content: ""; position: absolute; background: var(--ink); left: 0; top: 50%; width: 100%; height: 1.5px; transition: transform .35s var(--ease); }
.acc__q .plus::after { transform: rotate(90deg); }
.acc__item.open .plus::after { transform: rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__item.open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 18px 18px 50px; font-size: 0.95rem; }
.acc--faq .acc__q { padding: 20px 22px; font-size: 1.05rem; }
.acc--faq .acc__a p { padding: 0 22px 22px; }
.split__media { position: relative; border-radius: var(--r2); overflow: hidden; min-height: 400px; }
.split__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel { position: absolute; left: 7%; right: -4%; bottom: 8%; background: #fff; border-radius: var(--r1); padding: 20px 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.panel small { color: var(--body); font-size: 0.8rem; }
.panel strong { display: block; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 2px 0 16px; }
.panel__bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.panel__bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--primary-2), var(--primary)); }
.panel__bars i:nth-child(odd) { background: rgba(6,50,79,0.16); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--tint); border-radius: var(--r2); padding: 26px; display: flex; flex-direction: column; gap: 56px; transition: transform .5s var(--ease), background .4s; }
.step:hover { transform: translateY(-6px); background: var(--primary); }
.step:hover h3, .step:hover p, .step:hover .step__n { color: #fff; }
.step__n { font-size: 2.6rem; letter-spacing: -0.03em; color: var(--primary); line-height: 1; transition: color .4s; }
.step h3 { margin-bottom: 8px; transition: color .4s; }
.step p { font-size: 0.95rem; transition: color .4s; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { position: relative; min-height: 400px; border-radius: var(--r2); overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 26px; }
.sector > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sector:hover > img { transform: scale(1.07); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,28,46,0) 35%, rgba(4,28,46,0.88) 100%); }
.sector > div { position: relative; z-index: 2; }
.sector h3 { color: #fff; margin: 12px 0 6px; font-size: 1.6rem; }
.sector p { color: rgba(255,255,255,0.82); font-size: 0.92rem; }

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { background: var(--tint); border-radius: var(--r2); padding: 26px; display: flex; flex-direction: column; gap: 22px; transition: transform .5s var(--ease); }
.person:hover { transform: translateY(-6px); }
.person__top { display: flex; align-items: center; gap: 14px; }
.person__top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.person__top b { display: block; color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.person__top small { font-size: 0.85rem; color: var(--body); }
.person__badge { align-self: flex-start; padding: 6px 14px; border-radius: 100px; background: #fff; font-size: 0.8rem; color: var(--primary); font-weight: 500; }
.person p { font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; }

/* ---------- cta ---------- */
.cta { margin-top: 120px; padding: 0 15px; }
.cta__box { position: relative; max-width: var(--max); margin: 0 auto; border-radius: var(--r3); overflow: hidden; text-align: center; padding: 96px 24px; color: #fff; }
.cta__box > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__box::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,28,46,0.7), rgba(4,28,46,0.82)); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { color: #fff; max-width: 680px; }
.cta p { color: rgba(255,255,255,0.85); max-width: 460px; }

/* ---------- footer ---------- */
.footer { margin-top: 120px; padding: 80px 0 28px; background: var(--primary); color: rgba(255,255,255,0.75); }
.footer p, .footer li a, .footer__bottom { color: rgba(255,255,255,0.72); }
.footer h4 { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin: 16px 0 18px; max-width: 300px; font-size: 0.95rem; }
.footer__brand a.mail { display: block; font-size: 0.92rem; color: #fff; margin-top: 6px; }
.footer h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; font-size: 0.93rem; }
.footer li a { transition: color .25s; }
.footer li a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font-size: 0.85rem; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero__bg { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .section { padding-top: 90px; }
  .stats, .steps, .sectors, .people { grid-template-columns: 1fr; }
  .stat { min-height: 190px; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split__media { min-height: 340px; }
  .panel { right: 7%; }
  .sector { min-height: 320px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__toggle { display: flex; z-index: 102; }
  .nav__logo img { height: 64px; }
  .nav.is-solid .nav__logo img { height: 52px; }
  .nav__links { position: fixed; inset: 0; z-index: 101; background: var(--primary); flex-direction: column; justify-content: center; align-items: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .nav__links a { font-size: 1.4rem; }
  .nav.menu-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 190px; }
  .fcard__media { height: 230px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__box { padding: 64px 20px; }
  .chip { font-size: 0.74rem; padding: 6px 12px; }
}

/* ---------- hero: left-aligned ---------- */
.hero { align-items: stretch; text-align: left; }
.hero__inner { align-items: flex-start; max-width: calc(var(--max) + 30px); width: 100%; margin: 0 auto; }
.hero__inner h1 { max-width: 720px; }
.hero__inner p { max-width: 540px; }
.hero__logos { align-items: flex-start; left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: calc(var(--max) + 30px); padding: 0 15px; }
.hero__chips { justify-content: flex-start; padding: 0; }
@media (max-width: 560px) { .hero__logos { bottom: 22px; } }
