:root{
  /* Logo palette */
  --bg: #f7fbfc;
  --bg2:#ffffff;
  --surface:#ffffff;
  --surface2:#f3f7f9;
  --text:#072636;
  --muted:#556b78;
  --brand:#072c3f;
  --brand2:#1f6f86;
  --line: rgba(7,38,54,.12);

  --shadow: 0 18px 40px rgba(7,38,54,.08);
  --shadow2: 0 10px 24px rgba(7,38,54,.06);

  --radius: 16px;
  --radius2: 20px;
  --max: 1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 18% 12%, rgba(31,111,134,.10), transparent 55%),
    radial-gradient(900px 680px at 85% 18%, rgba(7,44,63,.08), transparent 56%),
    linear-gradient(180deg, var(--bg), #f2f7f9 60%, #ffffff);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
img{max-width:100%;height:auto}

.container{max-width:var(--max);margin:0 auto;padding:0 22px}
.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}
.skip-link{position:absolute;left:-999px;top:12px;background:#fff;color:#000;padding:10px 12px;border-radius:12px;z-index:10000}
.skip-link:focus{left:12px}

:where(a, button, summary, input, textarea, select):focus-visible{
  outline: 3px solid rgba(31,111,134,.35);
  outline-offset: 2px;
  border-radius: 14px;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(247,251,252,.78);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{display:flex;align-items:center;gap:12px;min-width: 220px}
.brand-badge{
  height:46px;
  padding:6px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(7,38,54,.12);
  box-shadow: 0 10px 18px rgba(7,38,54,.06);
  overflow:hidden;
  display:flex;
  align-items:center;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  padding:8px 10px;
  border-radius: 12px;
  color: rgba(7,38,54,.82);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.nav a:hover{background: rgba(7,38,54,.04);border-color: rgba(7,38,54,.10);text-decoration:none}
.nav a[aria-current="page"]{
  background: rgba(31,111,134,.08);
  border-color: rgba(31,111,134,.18);
}

.header-actions{display:flex;gap:10px;align-items:center}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(7,38,54,.12);
  box-shadow: var(--shadow2);
}
.pill small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.pill-ic{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:10px;background: rgba(31,111,134,.10);color: var(--brand2)}
.pill svg{width:18px;height:18px}

.menu-btn{
  display:none;
  border:1px solid rgba(7,38,54,.16);
  background: rgba(255,255,255,.86);
  border-radius: 14px;
  padding:10px 12px;
  font-weight: 700;
  cursor:pointer;
}

.mobile-panel{padding: 0 0 14px 0}
.mobile-card{
  display:grid;
  gap:8px;
  padding:12px;
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  border:1px solid rgba(7,38,54,.12);
  box-shadow: var(--shadow2);
}
.mobile-card a{padding:10px 12px;border-radius: 14px;background: rgba(31,111,134,.06)}

/* Hero */
.hero{padding: 62px 0 30px 0}
.hero--compact{padding: 46px 0 18px 0}
.hero-grid{display:grid;grid-template-columns: 1.05fr .95fr;gap:28px;align-items:center}

.eyebrow{display:flex;align-items:center;gap:10px;color: rgba(7,38,54,.70);font-weight:700}
.dot{width:10px;height:10px;border-radius: 999px;background: linear-gradient(180deg, rgba(31,111,134,.95), rgba(7,44,63,.78));box-shadow: 0 10px 18px rgba(31,111,134,.18)}

h1{font-size: clamp(34px, 4.4vw, 54px);letter-spacing:-0.02em;line-height:1.06;margin:12px 0 12px}
.lead{font-size: 18px;color: rgba(7,38,54,.74);max-width: 64ch;margin:0}

.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top: 16px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(7,38,54,.12);
  background: linear-gradient(180deg, rgba(7,44,63,.96), rgba(7,44,63,.88));
  color:#fff;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(7,38,54,.14);
  text-decoration:none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover{text-decoration:none;transform: translateY(-1px);filter: brightness(1.02)}
.btn:active{transform:none}

.btn--ghost{
  background: rgba(255,255,255,.88);
  color: rgba(7,38,54,.92);
  box-shadow: var(--shadow2);
}

.hero-media img{
  width:100%;
  height: 420px;
  object-fit:cover;
  border-radius: var(--radius2);
  border:1px solid rgba(7,38,54,.12);
  box-shadow: var(--shadow);
  background: #fff;
}

/* Sections */
.section{padding: 56px 0}
.section--alt{
  background: rgba(255,255,255,.60);
  border-top: 1px solid rgba(7,38,54,.08);
  border-bottom: 1px solid rgba(7,38,54,.08);
}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom: 16px}
.section h2{font-size: 28px;letter-spacing:-0.01em;margin:0 0 8px}
.section p{margin:0;color: rgba(7,38,54,.74)}

.card{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.92);
  border:1px solid rgba(7,38,54,.12);
  box-shadow: var(--shadow2);
  padding: 20px;
}

.card-link{position:relative;transition: transform .18s ease, box-shadow .18s ease}
.card-link:hover{text-decoration:none;transform: translateY(-2px);box-shadow: var(--shadow)}
.card h3, .card h2{margin:0 0 8px}

.chev{position:absolute;right:16px;top:16px;font-size: 18px;color: rgba(7,38,54,.55)}

.grid-4{display:grid;grid-template-columns: repeat(4, minmax(0, 1fr));gap:14px}
.grid-2{display:grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap:14px}
.split{display:grid;grid-template-columns: 1fr 1fr;gap:14px;align-items:start}

/* Process */
.timeline{list-style:none;padding:0;margin: 14px 0 0;display:grid;gap:12px}
.step{display:flex;gap:12px;align-items:flex-start}
.num{width:30px;height:30px;border-radius: 10px;display:grid;place-items:center;background: rgba(31,111,134,.10);border:1px solid rgba(31,111,134,.16);font-weight: 900;color: rgba(7,38,54,.86)}
.step span{display:block;color: var(--muted);font-size: 14px;margin-top:2px}

/* Gallery */
.gallery{display:grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap:12px;margin-top: 14px}
.gallery img{width:100%;height: 200px;object-fit:cover;border-radius: 18px;border:1px solid rgba(7,38,54,.12);box-shadow: 0 12px 22px rgba(7,38,54,.06)}

/* Footer */
.site-footer{padding: 22px 0 34px;border-top:1px solid rgba(7,38,54,.10);margin-top: 10px}
.foot{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;color: rgba(7,38,54,.74)}
.foot a{text-decoration:underline;text-underline-offset:3px}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none !important}
}

/* Apple-like reveal animation (progressive enhancement)
   IMPORTANT: never hide content by default.
   If JS fails, the page must remain readable. */

@keyframes revealUp{
  from{opacity:0;transform: translateY(10px);filter: blur(6px)}
  to{opacity:1;transform:none;filter:none}
}

.js .reveal-in{
  animation: revealUp .7s cubic-bezier(.2,.7,.2,1) both;
}

/* Final state (also applies when prefers-reduced-motion triggers immediate reveal) */
.reveal-in{opacity:1;transform:none;filter:none}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr;}
  .hero-media img{height: 360px}
  .grid-4{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .split{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .nav{display:none}
  .menu-btn{display:inline-flex}
}

@media (max-width: 520px){
  .grid-4{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .gallery img{height: 160px}
}
