:root{
  --bg:#F8FAFC;
  --panel:#ffffff;
  --text:#0F172A;
  --muted:#475569;
  --muted2:#64748B;
  --brand:#0EA5E9;
  --brand2:#14B8A6;
  --border:rgba(15,23,42,.10);
  --shadow: 0 18px 50px rgba(2,6,23,.08);
  --radius:18px;
  --max:1120px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: radial-gradient(900px 500px at 15% 5%, rgba(14,165,233,.10), transparent 60%),
              radial-gradient(800px 520px at 85% 10%, rgba(20,184,166,.10), transparent 60%),
              var(--bg);
  line-height: 1.5;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.topbar{
  position: sticky; top:0; z-index:50;
  background: rgba(248,250,252,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand img{width:34px;height:34px}
.brand strong{letter-spacing:.2px}
.brand span{font-size:12px; color: var(--muted2)}
.navlinks{display:flex; flex-wrap:wrap; gap:6px; align-items:center; justify-content:flex-end}
.navlinks a{
  text-decoration:none;
  padding:9px 10px;
  border-radius:999px;
  color: rgba(15,23,42,.86);
  border: 1px solid transparent;
}
.navlinks a:hover{background: rgba(15,23,42,.04); border-color: rgba(15,23,42,.06)}
.navlinks a.active{
  background: linear-gradient(90deg, rgba(14,165,233,.14), rgba(20,184,166,.14));
  border-color: rgba(15,23,42,.08);
}
.button{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90);
  text-decoration:none;
  box-shadow: 0 10px 26px rgba(2,6,23,.06);
  white-space: nowrap;
}
.button:hover{transform: translateY(-1px); transition: transform .12s ease}
.button.primary{
  border-color: rgba(14,165,233,.25);
  background: linear-gradient(90deg, rgba(14,165,233,.20), rgba(20,184,166,.20));
}
.hero{padding: 18px 0 0;}
.heroCard{
  border-radius: 28px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.heroMedia{position:relative;height:420px;background:#e5e7eb;}
.heroMedia img{width:100%;height:100%;object-fit:cover;display:block;}
.heroOverlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.70) 45%, rgba(255,255,255,.20) 70%, rgba(255,255,255,.08) 100%);
  display:flex; align-items:center;
}
.heroText{max-width: 620px; padding: 26px;}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12.5px;
  color: rgba(15,23,42,.80);
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.70);
}
.kicker .dot{
  width:10px;height:10px;border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--brand), var(--brand2));
  box-shadow: 0 0 18px rgba(14,165,233,.18);
}
h1{margin:14px 0 10px;font-size: 44px;line-height: 1.05;letter-spacing: -1px;}
.lead{margin:0 0 14px; color: rgba(15,23,42,.78); font-size: 16.5px}
.heroActions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.section{padding: 34px 0}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
@media (max-width: 920px){ .grid3{grid-template-columns:1fr} }
.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(2,6,23,.05);
  padding: 16px;
}
.card h3{margin:0 0 6px}
.card p{margin:0; color: rgba(15,23,42,.72)}
.split{display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:stretch;}
@media (max-width: 920px){ .split{grid-template-columns:1fr} }
.pagehead{padding: 24px 0 8px}
.pagehead h1{font-size: 34px; margin:0 0 8px}
.pagehead p{margin:0; color: rgba(15,23,42,.72)}
.wrap{
  border:1px solid var(--border);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hr{height:1px;background: rgba(15,23,42,.08); margin: 14px 0}
.form{display:grid; gap:12px; margin-top: 12px}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width: 720px){ .row2{grid-template-columns:1fr} }
.field{display:grid; gap:6px}
label{font-size:12.5px;color: rgba(15,23,42,.78)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(248,250,252,.92);
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(14,165,233,.35);
  box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}
textarea{min-height:120px; resize:vertical}
.checks{
  display:grid; gap:10px;
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(14,165,233,.06);
}
.check{display:flex; gap:10px; align-items:flex-start}
.check input{width:18px;height:18px;margin-top:2px}
.small{font-size:12.5px;color: rgba(15,23,42,.68)}
.notice{
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(20,184,166,.22);
  background: rgba(20,184,166,.06);
  color: rgba(15,23,42,.80);
}
.testimonials{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
@media (max-width: 920px){ .testimonials{grid-template-columns:1fr} }
.quote{display:flex; gap:12px; align-items:flex-start}
.quote img{width:54px;height:54px;border-radius:16px;border:1px solid rgba(15,23,42,.10); background:#fff}
.quote blockquote{margin:0; color: rgba(15,23,42,.75)}
.quote .who{margin-top:8px; font-size: 12.5px; color: rgba(15,23,42,.62)}
.footer{
  margin-top: 22px;
  border-top:1px solid var(--border);
  padding: 24px 0 34px;
  background: rgba(248,250,252,.85);
}
.footergrid{display:grid; grid-template-columns:1.2fr .8fr .8fr; gap: 18px}
@media (max-width: 920px){ .footergrid{grid-template-columns:1fr} }
.footer a{color: rgba(15,23,42,.76); text-decoration:none}
.footer a:hover{text-decoration:underline}
.mini{font-size:12px;color: rgba(15,23,42,.55); margin-top: 12px}
.form-msg{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.82);
  font-size:13px;
}
.form-msg.error{
  border-color: rgba(239,68,68,.25);
  background: rgba(239,68,68,.08);
}

/* Photo hero treatment (more premium) */
.heroMediaPhoto .heroOverlay{
  background: linear-gradient(90deg,
    rgba(2,6,23,.78) 0%,
    rgba(2,6,23,.55) 42%,
    rgba(2,6,23,.18) 70%,
    rgba(2,6,23,.05) 100%);
}
.heroMediaPhoto .kicker{
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
}
.heroMediaPhoto h1,
.heroMediaPhoto .lead{
  color: rgba(255,255,255,.96);
}
.heroMediaPhoto .lead{opacity:.92}
.heroMediaPhoto .button{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.92);
}
.heroMediaPhoto .button.primary{
  background: linear-gradient(90deg, rgba(14,165,233,.30), rgba(20,184,166,.28));
  border-color: rgba(14,165,233,.35);
}
