/* Sunspire Marine Solutions — classic corporate marine theme */
:root{
  --bg:#ffffff;
  --bg2:#f6f9fc;
  --card:#ffffff;
  --text:#0b1220;          /* near-black navy */
  --muted:#465569;         /* slate */
  --line:#d9e2ec;          /* light line */
  --navy:#0b2a4a;          /* marine navy */
  --accent:#1e88e5;        /* marine blue */
  --accent2:#0f5ea8;       /* deeper blue */
  --shadow: 0 10px 24px rgba(11,42,74,.10);
  --shadow2: 0 14px 34px rgba(11,42,74,.14);
  --radius: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: linear-gradient(180deg, var(--bg), var(--bg2) 65%, var(--bg));
  color: var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{
  position:absolute; left:-999px; top:-999px;
  background: var(--accent); color:white; padding:10px 12px; border-radius:10px;
}
.skip-link:focus{left:16px; top:16px; z-index:9999}

.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:12px 0;
}
.brand{display:flex; gap:12px; align-items:center; min-width: 0}
.brand-mark{
  width:64px; height:64px; border-radius:16px;
  display:grid; place-items:center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
  background:#fff;
  flex:0 0 auto;
}
.brand-logo{width:100%; height:100%; object-fit:cover}
.brand-text{display:flex; flex-direction:column; min-width:0; max-width: 420px}
.brand-name{font-weight:900; font-size:16px; line-height:1.1; color: var(--navy); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.brand-tagline{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.site-nav{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.site-nav a{
  padding:10px 10px; border-radius:12px;
  color: var(--muted);
  border:1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.site-nav a:hover{background: rgba(30,136,229,.08); border-color: rgba(30,136,229,.16); color: var(--navy)}
.site-nav a.active{color:var(--navy); border-color: var(--line); background: rgba(11,42,74,.03)}

.nav-toggle{
  display:none;
  background: transparent;
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius: 12px;
  color: var(--navy);
}
.nav-toggle-bar{display:block; width:18px; height:2px; background:var(--navy); margin:4px 0; border-radius:2px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid rgba(11,42,74,.14);
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  color:#ffffff;
  box-shadow: var(--shadow);
  font-weight:800;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow2)}
.btn:active{transform: translateY(0px); box-shadow: var(--shadow)}
.btn-small{padding:10px 12px; border-radius: 12px; font-size: 14px}
.btn-ghost{
  background: transparent;
  box-shadow:none;
  border-color: var(--line);
  color: var(--navy);
}
.btn-ghost:hover{background: rgba(30,136,229,.08); border-color: rgba(30,136,229,.18)}

/* Hero */
.hero{padding:54px 0 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.hero-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  color: var(--muted);
  padding: 8px 12px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: rgba(11,42,74,.02);
  margin-bottom: 14px;
  font-weight: 700;
}
.kicker-dot{
  width:10px; height:10px; border-radius:10px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,136,229,.14);
}
h1{margin:0 0 10px; font-size: 38px; letter-spacing:-.02em; line-height:1.12; color: var(--navy)}
.lead{color:var(--muted); font-size: 16px; margin: 0 0 18px}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top: 18px}

.metrics{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px}
.metric{
  padding:14px 14px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(11,42,74,.02);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.metric:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11,42,74,.10);
  border-color: rgba(30,136,229,.25);
}
.metric .num{font-size: 16px; font-weight: 900; color: var(--navy)}
.metric .lbl{color:var(--muted); font-size: 12px}

/* Sections */
.section{padding: 18px 0 54px}
.section h2{font-size: 24px; margin: 0 0 10px; color: var(--navy)}
.section p{color:var(--muted); margin: 0 0 16px}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(11,42,74,.08);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  will-change: transform;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
  border-color: rgba(30,136,229,.22);
}
.card h3{margin: 0 0 8px; font-size: 16px; color: var(--navy)}
.card ul{margin:10px 0 0; padding-left: 18px; color: var(--muted)}
.card li{margin: 6px 0}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
.pill{
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(30,136,229,.18);
  color: var(--muted);
  background: rgba(30,136,229,.08);
  margin: 6px 6px 0 0;
  font-size: 13px;
}

.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.95);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:18px;
  padding: 34px 0;
}
.footer-brand{display:flex; align-items:center; gap:12px; margin-bottom:12px}
.footer-title{font-weight: 900; margin-bottom: 8px; color: var(--navy)}
.footer-sub{color:var(--muted); font-size: 13px}
.footer-actions{display:flex; gap:10px; flex-wrap:wrap}
.footer-bottom{
  padding: 16px 0 26px;
  display:flex; flex-wrap:wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--muted);
}

.muted{color: var(--muted)}
.list{margin:0; padding-left: 18px; color: var(--muted)}
.list li{margin: 6px 0}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(30,136,229,.18);
  background: rgba(30,136,229,.08);
  color: var(--muted);
}

.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{display:flex; flex-direction:column; gap:6px}
label{font-weight: 800; font-size: 14px; color: var(--navy)}
input, textarea, select{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  color: var(--text);
  outline: none;
}
textarea{min-height: 130px; resize: vertical}
input:focus, textarea:focus, select:focus{border-color: rgba(30,136,229,.45); box-shadow: 0 0 0 4px rgba(30,136,229,.16)}

.form .span-2{grid-column: 1 / -1}
.notice{
  border:1px solid rgba(30,136,229,.35);
  background: rgba(30,136,229,.10);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
}

hr.sep{border:0; border-top:1px solid var(--line); margin: 18px 0}

/* Reveal (subtle) */
.reveal{opacity:0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease}
.reveal.in-view{opacity:1; transform: translateY(0)}
@media (prefers-reduced-motion: reduce){
  .btn, .card, .metric, .site-nav a, .reveal{transition:none}
  .reveal{opacity:1; transform:none}
}

/* Form error state */
.field.has-error input,
.field.has-error textarea,
.field.has-error select{border-color: rgba(239,68,68,.55); box-shadow: 0 0 0 4px rgba(239,68,68,.12)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
}
@media (max-width: 820px){
  .nav-toggle{display:inline-flex}
  .site-nav{
    position: absolute;
    right: 20px; top: 76px;
    width: min(380px, calc(100vw - 40px));
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow2);
    display:none;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open{display:flex}
  .site-nav a{padding:12px 12px}
}
@media (max-width: 420px){
  .brand-mark{width:56px; height:56px}
  h1{font-size: 32px}
}
