
:root{
  --bg:#fbfaf7;
  --surface:#ffffff;
  --ink:#0b1f2b;
  --muted:#44545f;
  --line: rgba(11,31,43,.14);
  --brand:#0f4c6a;
  --brand2:#123b4f;
  --radius:18px;
  --shadow: 0 14px 35px rgba(11,31,43,.10);
  --max: 1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:linear-gradient(180deg,var(--bg) 0%, #ffffff 55%, var(--bg) 100%);
}

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

.skip{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 14px; background:var(--surface); border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow); z-index:9999}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(251,250,247,.8);
  border-bottom:1px solid var(--line);
}
.navbar{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.brand img{height:48px; width:auto}
.brand .wordmark{display:flex; flex-direction:column; line-height:1}
.brand .wordmark strong{letter-spacing:.10em; text-transform:uppercase; font-weight:700; font-size:14px; color:var(--brand2)}
.brand .wordmark span{letter-spacing:.20em; text-transform:uppercase; font-weight:500; font-size:11px; color:var(--muted); margin-top:2px}

.navlinks{display:flex; align-items:center; gap:16px}
.navlinks a{
  font-weight:600;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--brand2);
  padding:10px 10px;
  border-radius:12px;
}
.navlinks a:hover{background:rgba(15,76,106,.08)}
.navlinks a[aria-current="page"]{background:rgba(15,76,106,.12)}

.cta{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px;
  padding:12px 16px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:12px;
  border:1px solid var(--brand2);
  transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn.primary{background:var(--brand2); color:#fff}
.btn.primary:hover{transform:translateY(-1px); background:var(--brand)}
.btn.ghost{background:transparent; color:var(--brand2)}
.btn.ghost:hover{transform:translateY(-1px); background:rgba(15,76,106,.08)}

.burger{display:none; border:1px solid var(--line); background:var(--surface); border-radius:14px; padding:10px 12px; box-shadow:0 4px 10px rgba(0,0,0,.05)}
.burger span{display:block; width:20px; height:2px; background:var(--brand2); margin:4px 0}

@media (max-width: 900px){
  .navlinks{display:none}
  .burger{display:inline-block}
  .cta{gap:8px}
}

.mobilemenu{
  display:none;
  padding:10px 0 18px;
}
.mobilemenu a{
  display:block;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--brand2);
}
.mobilemenu a:hover{background:rgba(15,76,106,.08)}
.mobilemenu .row{display:flex; gap:10px; padding:10px 12px}
.mobilemenu.open{display:block}
.mobilemenu .row a{flex:1; text-align:center; border:1px solid var(--line); background:var(--surface)}

.hero{
  padding:54px 0 28px;
  border-bottom:1px solid var(--line);
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:stretch;
}
@media (max-width: 900px){
  .heroGrid{grid-template-columns: 1fr; }
}

.kicker{
  letter-spacing:.20em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
  font-weight:600;
  margin:0 0 14px;
}
.h1{
  margin:0 0 18px;
  font-size: clamp(38px, 5vw, 74px);
  line-height:.92;
  letter-spacing:-.02em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--brand2);
}
.sub{
  margin:0 0 22px;
  font-size: clamp(16px, 1.55vw, 22px);
  color:var(--muted);
  font-weight:500;
  max-width: 56ch;
}
.pills{display:flex; flex-wrap:wrap; gap:10px; margin:26px 0 0}
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  border:1px solid var(--line);
  background:rgba(255,255,255,.75);
  padding:10px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--brand2);
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.heroCard{padding:18px; display:flex; flex-direction:column; justify-content:space-between}
.heroImg{
  border-radius: calc(var(--radius) - 4px);
  overflow:hidden;
  border:1px solid var(--line);
  background: #e9eef2;
}
.heroImg img{width:100%; height:100%; object-fit:cover}

.heroMeta{
  display:flex; justify-content:space-between; gap:14px;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  font-weight:600;
  letter-spacing:.06em;
}
.heroMeta strong{color:var(--brand2); letter-spacing:.10em; text-transform:uppercase}

section{padding:60px 0}
.sectionTitle{
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px;
  padding-bottom:18px;
  border-bottom:2px solid var(--brand2);
  margin-bottom:26px;
}
.sectionTitle h2{
  margin:0;
  font-size: clamp(28px, 3vw, 48px);
  line-height:1;
  text-transform:uppercase;
  letter-spacing:-.02em;
  font-weight:800;
}
.sectionTitle a{color:var(--brand2)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:18px}
@media (max-width: 900px){ .grid2{grid-template-columns:1fr} }

.feature{
  padding:22px;
}
.feature h3{
  margin:0 0 10px;
  font-size:16px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--brand2);
}
.feature p{margin:0; color:var(--muted); font-weight:500; line-height:1.6}

.services{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:18px;
}
.svc{
  grid-column: span 6;
  padding:18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (max-width: 900px){ .svc{grid-column: span 12;} }
.svc:hover{transform:translateY(-2px); box-shadow: 0 18px 45px rgba(11,31,43,.14)}
.svc h3{margin:0 0 8px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--brand2)}
.svc p{margin:0; color:var(--muted); font-weight:500; line-height:1.6}

.banner{
  background:linear-gradient(135deg, rgba(15,76,106,.08), rgba(18,59,79,.06));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
}
.banner strong{font-weight:900; text-transform:uppercase; letter-spacing:.14em; color:var(--brand2)}
.banner p{margin:0; color:var(--muted); font-weight:500}

.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  align-items:start;
}
@media (max-width: 900px){ .twoCol{grid-template-columns:1fr} }

.prose h1,.prose h2,.prose h3{color:var(--brand2); text-transform:uppercase; letter-spacing:.10em}
.prose h1{font-size:34px}
.prose h2{font-size:22px}
.prose p, .prose li{color:var(--muted); font-weight:500; line-height:1.7}
.prose ul{padding-left:18px}
.prose a{color:var(--brand2); text-decoration:underline}

.form{
  display:grid; gap:12px;
}
.input{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  font: inherit;
  background: rgba(255,255,255,.85);
}
textarea.input{min-height:130px; resize:vertical}
.help{font-size:12px; color:var(--muted); font-weight:600}

footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  background:rgba(251,250,247,.8);
}
.footerGrid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 900px){ .footerGrid{grid-template-columns:1fr} }
.small{font-size:12px; color:var(--muted); font-weight:600; line-height:1.7}
.footerLinks a{display:block; padding:6px 0; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--brand2)}
.footerLinks a:hover{opacity:.7}

.notice{
  border:1px dashed rgba(15,76,106,.35);
  background:rgba(255,255,255,.65);
  border-radius: var(--radius);
  padding:16px;
  color:var(--muted);
  font-weight:600;
  font-size:12px;
  line-height:1.7;
}

/* Social links */
.socials{display:flex; align-items:center; gap:10px}
.socials a{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
  transition:transform .15s ease, background .15s ease;
}
.socials a:hover{transform:translateY(-1px); background:rgba(15,76,106,.08)}
.socials svg{width:18px; height:18px; fill:var(--brand2)}
@media (max-width: 900px){
  .socials{display:none}
}
.footerSocials{margin-top:10px}
.footerSocials a{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--brand2);
}
.footerSocials a:hover{opacity:.75}
.footerSocials .dot{width:4px; height:4px; border-radius:99px; background:var(--brand2); opacity:.35; display:inline-block; margin:0 10px}

/* Emphasize logo */
.brand img{
  height:52px;
}
.brand{
  padding:8px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.9);
  box-shadow:0 6px 18px rgba(11,31,43,.08);
}

/* Shrink hero image slightly */
.heroCard{
  max-width:420px;
}
.heroImg{
  max-height:420px;
}

/* Brand badge to make logo stand out */
.brandBadge{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  box-shadow: 0 8px 22px rgba(11,31,43,.08);
}
@media (max-width: 900px){
  .brand img{height:44px}
}

/* Slightly reduce portrait dominance on the home/about cards */
.heroImg--portrait{
  aspect-ratio: 4 / 5;
  max-height: 520px;
}
@media (max-width: 900px){
  .heroImg--portrait{max-height: 520px;}
}

/* Coming Soon banner */
.comingBanner{
  width:100%;
  background:linear-gradient(135deg, var(--brand2), var(--brand));
  color:#fff;
  text-align:center;
  font-size:12px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  padding:10px 12px;
}
.comingBanner span{opacity:.9}

/* Logo-forward hero */
.logoHero{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
}
.logoHero img{  max-width:520px;
  width:100%;
  height:auto;
}
@media (max-width: 900px){
  .logoHero img{max-width:300px}
}

/* Content images */
.prose img{
  width:100%;
  height:auto;
  display:block;
  margin:16px 0 18px;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: 0 10px 26px rgba(11,31,43,.08);
}

/* Logo-only hero card: remove white panel look */
.heroCard--logo{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

/* Simple grids */
.grid3{display:grid; gap:14px; grid-template-columns: repeat(3, minmax(0, 1fr));}
.grid2{display:grid; gap:14px; grid-template-columns: repeat(2, minmax(0, 1fr));}
@media (max-width: 900px){
  .grid3{grid-template-columns:1fr;}
  .grid2{grid-template-columns:1fr;}
}
.sectionHead h2{margin:0}

/* Homepage hero logo positioning */
.logoHero--home{min-height:420px; display:flex; align-items:center; justify-content:center; padding-top:64px; padding-bottom:10px;}
@media (max-width: 900px){
  .logoHero--home{min-height:420px; display:flex; align-items:center; justify-content:center; padding-top:64px; padding-bottom:10px;}
}

/* Featured service cards (homepage) */
.featuredCards{display:grid; gap:16px; grid-template-columns: repeat(5, minmax(0, 1fr));}
@media (max-width: 1100px){ .featuredCards{grid-template-columns: repeat(2, minmax(0, 1fr));} }
@media (max-width: 700px){ .featuredCards{grid-template-columns: 1fr;} }

.serviceCard{
  padding:0 !important;
  overflow:hidden;
}
.serviceCard img{  width:100%;  height:120px;
  object-fit:cover;
  display:block;
 object-position:center; }
.serviceCard .body{
  padding:14px 14px 16px;
}
.serviceCard .body h3{margin:0 0 6px; font-size:16px;}
.serviceCard .body p{margin:0; color:var(--muted); font-size:13px; line-height:1.4;}
.serviceCard .arrow{
  margin-left:auto;
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
}
.serviceCard .row{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Right-side logo panel on homepage hero */
.logoPanel{
  background: transparent;
  border-radius: 0;
  width: 100%;
  max-width: 520px;
  padding: 0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logoPanel img{
  max-width: 460px;
  width:100%;
  height:auto;
  filter: drop-shadow(0 10px 18px rgba(11,31,43,.10));
}

.heroImgWide{
  width:100%;
  height:auto;
  max-height: 520px;
  object-fit: contain;
  background: rgba(240,235,226,.55);
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: 0 10px 26px rgba(11,31,43,.08);
  margin: 0 0 18px;
}
@media (max-width: 900px){
  .heroImgWide{
  width:100%;
  height:auto;
  max-height: 520px;
  object-fit: contain;
  background: rgba(240,235,226,.55);
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: 0 10px 26px rgba(11,31,43,.08);
  margin: 0 0 18px;
}
}

/* Pill links (clickable) */
.pills{position:relative; z-index:5;}
.pills a.pill, a.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  pointer-events:auto;
}
.pills a.pill:hover{
  transform:translateY(-1px);
  background:rgba(15,76,106,.08);
  border-color:rgba(15,76,106,.25);
}

img{max-width:100%;}

/* Smaller hero header on subpages */
.subpage .hero .h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95;
}
.subpage .hero .sub{
  font-size: 18px;
}
