/* ===== Lighthouse Web — Design System ===== */
:root {
  /* Palette — nautical navy + warm amber beacon */
  --navy-950: #081729;
  --navy-900: #0b1f3a;
  --navy-800: #13294e;
  --navy-700: #1d3a66;
  --blue-500: #2f6fd6;
  --blue-400: #4f8bef;
  --amber: #f5b642;
  --amber-soft: #fcd58a;
  --ink: #11203a;
  --slate: #51607a;
  --slate-light: #6b7a93;
  --line: #e4e9f1;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-tint: #eef3fa;

  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(11,31,58,.08), 0 1px 2px rgba(11,31,58,.04);
  --shadow-md: 0 12px 32px rgba(11,31,58,.10);
  --shadow-lg: 0 28px 60px rgba(11,31,58,.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Typography helpers ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--amber); }
.text-accent { color: var(--amber); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--primary { background: var(--amber); color: var(--navy-950); box-shadow: 0 8px 20px rgba(245,182,66,.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(245,182,66,.42); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.40); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.20); transform: translateY(-2px); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.header--scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--navy-900); }
.brand__name-accent { color: var(--blue-500); }
.nav { display: flex; gap: 34px; }
.nav a { font-weight: 500; font-size: 16px; color: var(--slate); transition: color .15s; }
.nav a:hover { color: var(--navy-900); }
.header__cta { display: inline-flex; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2.4px; background: var(--navy-900); border-radius: 2px; transition: .25s; }
.nav__mobile { display: none; flex-direction: column; gap: 6px; padding: 0 24px 22px; }
.nav__mobile a { padding: 12px 4px; font-weight: 600; color: var(--navy-900); border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 12px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-950); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,15,28,.92) 0%, rgba(8,15,28,.72) 42%, rgba(8,15,28,.18) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 660px; padding-top: 60px; padding-bottom: 60px; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.025em;
  color: #fff; margin-bottom: 22px;
}
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #d7e0ee; max-width: 560px; margin-bottom: 34px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero__note { color: #b3c0d4; font-size: 15px; }
.hero__note strong { color: var(--amber-soft); }

/* ===== Trust strip ===== */
.trust { background: var(--navy-900); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 38px 24px; }
.trust__item { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.trust__num { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--amber); letter-spacing: -.01em; }
.trust__label { color: #b3c0d4; font-size: 14px; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; color: var(--navy-900); }
.section__sub { margin-top: 18px; font-size: 1.12rem; color: var(--slate); }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-tint); color: var(--blue-500); margin-bottom: 20px;
}
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; color: var(--navy-900); margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 1rem; }

/* ===== Work ===== */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.work__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work__item--wide { grid-column: span 1; }
.work__img { overflow: hidden; background: var(--surface-tint); aspect-ratio: 4/3; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work__item:hover .work__img img { transform: scale(1.04); }
.work__meta { flex: 1; }
.work__meta { padding: 24px 26px 28px; }
.work__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); background: var(--surface-tint); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.work__meta h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--navy-900); margin-bottom: 8px; }
.work__meta p { color: var(--slate); font-size: 1rem; }

/* ===== Process steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.step { position: relative; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--surface-tint); display: block; line-height: 1; margin-bottom: 14px; -webkit-text-stroke: 1px var(--blue-400); color: transparent; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .98rem; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan--featured { background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan--featured:hover { transform: translateY(-12px); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--navy-950); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--navy-900); margin-bottom: 8px; }
.plan--featured .plan__name { color: #fff; }
.plan__desc { color: var(--slate); font-size: .98rem; min-height: 48px; margin-bottom: 18px; }
.plan--featured .plan__desc { color: #c4d0e4; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--navy-900); letter-spacing: -.02em; line-height: 1; }
.plan--featured .plan__price { color: #fff; }
.plan__from { font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--slate-light); display: block; margin-bottom: 2px; letter-spacing: 0; }
.plan--featured .plan__from { color: #97a6c0; }
.plan__unit { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--slate-light); margin-left: 6px; }
.plan--featured .plan__unit { color: #97a6c0; }
.plan__monthly { color: var(--blue-500); font-weight: 700; font-size: 1rem; margin-top: 8px; margin-bottom: 22px; }
.plan--featured .plan__monthly { color: var(--amber); }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan__features li { position: relative; padding-left: 28px; color: var(--slate); font-size: .98rem; }
.plan--featured .plan__features li { color: #d2dcec; }
.plan__features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232f6fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan--featured .plan__features li::before { background-color: rgba(245,182,66,.18); }
.plan__cta { width: 100%; }
.pricing__note { text-align: center; margin-top: 36px; color: var(--slate); font-size: 1.02rem; }
.pricing__note a { color: var(--blue-500); font-weight: 700; }

/* ===== Final CTA ===== */
.cta { background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%); color: #fff; padding: clamp(60px, 8vw, 100px) 0; }
.cta__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; }
.cta__lede { color: #cdd8ea; font-size: 1.12rem; margin-bottom: 26px; }
.cta__points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cta__points li { position: relative; padding-left: 30px; color: #e4ebf6; font-weight: 500; }
.cta__points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23081729' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.cta__form { background: var(--surface); border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--surface-alt);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.field textarea { resize: vertical; }
.cta__formnote { text-align: center; margin-top: 16px; color: var(--slate); font-size: 14px; }
.cta__formnote a { color: var(--blue-500); font-weight: 700; }

/* ===== Footer ===== */
.footer { background: var(--navy-950); color: #fff; padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer__brand { max-width: 360px; }
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name-accent { color: var(--blue-400); }
.footer__tag { color: #9fadc6; font-size: 15px; line-height: 1.55; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer__nav a { color: #c4d0e4; font-weight: 500; font-size: 15px; transition: color .15s; }
.footer__nav a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: #8493ad; font-size: 14px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: 1fr 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav, .header__cta { display: none; }
  .nav__toggle { display: flex; }
  .header.open .nav__mobile { display: flex; }
  .work { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-5px); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero__overlay { background: linear-gradient(180deg, rgba(8,15,28,.78) 0%, rgba(8,15,28,.88) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta__form { padding: 28px 22px; }
  .footer__inner { flex-direction: column; gap: 28px; }
}
