/* ========== Base ========== */
:root{
  --bg:#F1F5F9;
  --text:#334155;
  --accent:#64748B;
  --muted:#94A3B8;
  --card:#FFFFFF;
  --border:rgba(51,65,85,.14);
  --shadow:0 14px 40px rgba(15,23,42,.10);
  --hero1:#64748B;
  --hero2:#CBD5E1;
  --radius:18px;
  --radius-lg:26px;
  --max:1180px;
  --pad:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 12px}
ul{margin:10px 0 0; padding-left:18px}
small{color:var(--muted)}
.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ========== Typography ========== */
h1,h2,h3{
  font-family:"Source Serif Pro", Georgia, serif;
  margin:0 0 10px;
  letter-spacing:.2px;
}
h1{font-size:44px; line-height:1.05}
h2{font-size:30px; line-height:1.15}
h3{font-size:20px; line-height:1.25}
.kicker{
  text-transform:uppercase;
  letter-spacing:.16em;
  color:rgba(51,65,85,.72);
  font-weight:700;
  font-size:12px;
}

/* ========== Header / Nav ========== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(241,245,249,.85);
  backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--border);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{width:190px; height:auto}
.navlinks{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
}
.navlinks a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:rgba(51,65,85,.92);
}
.navlinks a:hover{
  background:rgba(100,116,139,.10);
  border-color:rgba(100,116,139,.18);
}
.navlinks a[aria-current="page"]{
  background:rgba(100,116,139,.14);
  border-color:rgba(100,116,139,.26);
  font-weight:700;
}

/* ========== Hero ========== */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero::before{
  content:"";
  position:absolute; inset:-40px;
  background:linear-gradient(135deg, var(--hero1), var(--hero2));
  opacity:.88;
}
.hero::after{
  content:"";
  position:absolute; inset:-60px;
  background:
    radial-gradient(circle at 25% 25%, rgba(241,245,249,.55), transparent 50%),
    radial-gradient(circle at 75% 55%, rgba(241,245,249,.35), transparent 55%),
    radial-gradient(circle at 45% 85%, rgba(241,245,249,.25), transparent 55%);
  filter:blur(2px);
  opacity:.9;
  transform:translate3d(0,0,0);
}
.hero .hero-inner{
  position:relative;
  padding:60px 0 44px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:22px;
  align-items:stretch;
}
.hero-card{
  background:rgba(241,245,249,.72);
  border:1px solid rgba(241,245,249,.55);
  box-shadow:var(--shadow);
  border-radius:var(--radius-lg);
  padding:24px;
}
.hero-card p{color:rgba(51,65,85,.88)}
.hero-badges{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;
}
.badge{
  border:1px solid rgba(51,65,85,.18);
  background:rgba(241,245,249,.68);
  padding:8px 10px;
  border-radius:999px;
  font-size:13px;
}
.hero-visual{
  border-radius:var(--radius-lg);
  border:1px solid rgba(241,245,249,.55);
  box-shadow:var(--shadow);
  overflow:hidden;
  background:rgba(241,245,249,.65);
  position:relative;
  min-height:260px;
}
.hero-visual img{
  width:100%; height:100%;
  object-fit:cover;
  opacity:.85;
  transform:scale(1.04);
}
.hero-visual .overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(51,65,85,.12), rgba(51,65,85,.32));
}
.hero-actions{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:18px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(51,65,85,.22);
  background:rgba(241,245,249,.72);
  font-weight:800;
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  background:rgba(51,65,85,.88);
  color:var(--bg);
  border-color:rgba(51,65,85,.88);
}
.btn.ghost{
  background:rgba(241,245,249,.55);
}

/* ========== Sections ========== */
.section{padding:42px 0}
.section .head{
  display:flex; justify-content:space-between; gap:18px; align-items:flex-end;
  margin-bottom:16px;
}
.section .head .meta{max-width:640px}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:18px}

.feature{
  padding:18px;
}
.feature p{color:rgba(51,65,85,.86)}
.feature .mini{
  font-weight:800;
  color:rgba(51,65,85,.92);
  margin:0 0 6px;
}
figure.photo{
  margin:0;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--border);
}
figure.photo img{width:100%; height:340px; object-fit:cover}
figure.photo figcaption{
  padding:10px 12px;
  color:rgba(51,65,85,.80);
  font-size:13px;
  border-top:1px solid var(--border);
  background:rgba(241,245,249,.55);
}

.note{
  padding:16px 18px;
  border-left:4px solid rgba(100,116,139,.7);
  background:rgba(100,116,139,.08);
  border-radius:14px;
}
.pills{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.pill{
  font-size:13px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(51,65,85,.16);
  background:rgba(241,245,249,.70);
}

/* ========== Pros / Cons ========== */
.procon{
  display:grid; grid-template-columns:1fr 1fr; gap:18px;
}
.procon .box{padding:18px}
.procon h3{margin-bottom:6px}
.procon ul{margin-top:10px}
.procon li{margin:7px 0; color:rgba(51,65,85,.88)}

/* ========== Contact ========== */
.form{
  padding:18px;
}
.form label{
  display:block;
  font-weight:800;
  margin:12px 0 6px;
}
.input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(51,65,85,.20);
  background:rgba(241,245,249,.72);
  outline:none;
  font:inherit;
  color:var(--text);
}
textarea{min-height:140px; resize:vertical}
.input:focus, textarea:focus{
  border-color:rgba(100,116,139,.55);
  box-shadow:0 0 0 4px rgba(100,116,139,.16);
}
.form-row{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.form-actions{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}

/* Styled alert / toast */
.toast{
  position:fixed;
  right:18px; bottom:18px;
  width:min(420px, calc(100% - 36px));
  background:rgba(51,65,85,.94);
  color:var(--bg);
  border:1px solid rgba(203,213,225,.22);
  border-radius:18px;
  padding:14px 14px;
  box-shadow:0 18px 50px rgba(15,23,42,.22);
  transform:translateY(16px);
  opacity:0;
  pointer-events:none;
  transition:transform .25s ease, opacity .25s ease;
}
.toast.show{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}
.toast .top{
  display:flex; justify-content:space-between; align-items:flex-start; gap:12px;
}
.toast .title{
  font-weight:900;
  letter-spacing:.2px;
}
.toast button{
  border:1px solid rgba(241,245,249,.22);
  background:transparent;
  color:var(--bg);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.toast button:hover{background:rgba(241,245,249,.10)}

/* ========== Footer ========== */
.footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  color:rgba(51,65,85,.82);
}
.footer-grid{
  display:grid; grid-template-columns:1.2fr .8fr; gap:18px;
}
.footer a{color:rgba(51,65,85,.88)}
.footer a:hover{text-decoration:underline}
.legal{
  display:flex; gap:12px; flex-wrap:wrap; margin-top:10px;
}

/* ========== Responsive ========== */
@media (max-width: 980px){
  h1{font-size:38px}
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .procon{grid-template-columns:1fr}
  figure.photo img{height:280px}
  .footer-grid{grid-template-columns:1fr}
}
