:root{
  --bg:#f3efea;
  --surface:#ffffff;
  --text:#1c1f26;
  --muted:rgba(28,31,38,.68);
  --border:rgba(28,31,38,.10);
  --shadow:0 18px 40px rgba(28,31,38,.10);
  --shadow-soft:0 14px 26px rgba(28,31,38,.08);
  --blue:#2f66ff;
  --blue2:#2457f2;
  --radius-lg:22px;
  --radius-md:14px;
  --container:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(900px 600px at 50% -200px, rgba(255,255,255,.9), transparent 60%), var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--container);margin:0 auto;padding:0 22px}
@media (max-width:980px){ .container{padding:0 18px} }

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(243,239,234,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(28,31,38,.06);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 0;gap:18px
}
.brand{display:flex;align-items:center;gap:12px;font-weight:700}

/* Logo sizing: larger on mobile, modest on desktop */
.brand-logo{height:48px;width:auto}
@media (min-width:981px){
  .brand-logo{height:44px}
}
@media (max-width:980px){
  .brand-logo{height:60px} /* ✅ much larger on mobile header */
  .nav{padding:14px 0}     /* keeps header tidy */
}

.brand-text{display:none}
@media (min-width:900px){ .brand-text{display:inline} }

.nav-links{display:none;gap:28px;align-items:center;color:rgba(28,31,38,.70);font-size:15px}
@media (min-width:980px){ .nav-links{display:flex} }

.nav-link{position:relative;padding:6px 0}
.nav-link.is-active{color:rgba(28,31,38,.92)}
.nav-link.is-active:after{
  content:"";position:absolute;left:0;right:0;bottom:-10px;height:2px;
  background:rgba(28,31,38,.35);border-radius:999px;
}

.nav-cta{display:none;gap:10px;align-items:center}
@media (min-width:980px){ .nav-cta{display:flex} }

.burger{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:12px;
  border:1px solid rgba(28,31,38,.18);
  background:rgba(255,255,255,.65);
  cursor:pointer;
}
@media (min-width:980px){ .burger{display:none} }

.mobile-menu{
  display:none;
  padding:12px 0 18px;
  border-top:1px solid rgba(28,31,38,.06);
}
.mobile-menu.open{display:block}
.mobile-link{display:block;padding:12px 8px;border-radius:12px;color:rgba(28,31,38,.78)}
.mobile-link:hover{background:rgba(255,255,255,.7)}
.mobile-cta{display:flex;gap:10px;padding:10px 8px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 18px;border-radius:10px;font-weight:650;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(180deg,var(--blue),var(--blue2));
  color:#fff;
  box-shadow:0 12px 20px rgba(47,102,255,.22);
}
.btn-ghost{
  background:rgba(255,255,255,.70);
  border:1px solid rgba(28,31,38,.12);
  color:rgba(28,31,38,.88);
}

/* Home hero */
.hero{padding:36px 0 24px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
@media (max-width:980px){ .hero-grid{grid-template-columns:1fr; gap:42px} }

.h1{margin:16px 0 10px;font-size:56px;line-height:1.02;letter-spacing:-1.3px;font-weight:800}
@media (max-width:980px){ .h1{font-size:42px} }

.sub{margin:0;max-width:60ch;color:var(--muted);font-size:16px;line-height:1.65}
.hero-actions{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}

.kpis{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}
.kpi{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(28,31,38,.10);
  border-radius:14px;
  padding:12px 14px;
  min-width:180px;
  box-shadow:var(--shadow-soft);
}
.kpi b{display:block;font-size:16px}
.kpi span{color:var(--muted);font-size:13px}

.hero-media{
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--surface);
  border:1px solid rgba(28,31,38,.08);
  box-shadow:var(--shadow);
}
/* ✅ Adds space ABOVE hero image on desktop (your request) */
@media (min-width:981px){
  .hero-media{margin-top:28px;}
}

.hero-media img{width:100%;height:290px;object-fit:cover}
@media (max-width:980px){ .hero-media img{height:260px} }

/* Sections */
.section{padding:54px 0}
.section-alt{
  padding:54px 0;
  background:rgba(255,255,255,.45);
  border-top:1px solid rgba(28,31,38,.05);
  border-bottom:1px solid rgba(28,31,38,.05)
}
.section-title{margin:0;text-align:center;font-size:34px;letter-spacing:-.6px;font-weight:800}
.section-sub{margin:10px auto 28px;text-align:center;color:var(--muted);max-width:80ch;line-height:1.6}

.cards{display:grid;gap:18px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:980px){
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
}

.card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(28,31,38,.08);
  border-radius:16px;
  padding:18px 18px 16px;
  box-shadow:var(--shadow-soft);
}
.card h3{margin:10px 0 10px;font-size:20px;letter-spacing:-.3px}
.card p{margin:0;color:var(--muted);line-height:1.65;font-size:14px}

.icon-badge{
  width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:rgba(28,31,38,.06);
  border:1px solid rgba(28,31,38,.10);
}
.icon-badge.blue{
  background:rgba(47,102,255,.10);
  border:1px solid rgba(47,102,255,.18);
}

/* Steps */
.steps{display:grid;gap:12px;max-width:920px;margin:0 auto;}
.step{
  display:flex;justify-content:space-between;gap:14px;align-items:flex-start;
  padding:14px 16px;border-radius:16px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(28,31,38,.08);
  box-shadow:var(--shadow-soft);
}
.step b{font-weight:750}
.step span{color:var(--muted)}
@media (max-width:980px){ .step{flex-direction:column} }

/* CTA */
.cta{
  margin-top:22px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  padding:20px 22px;border-radius:18px;
  border:1px solid rgba(47,102,255,.16);
  background:radial-gradient(900px 320px at 10% 0%, rgba(47,102,255,.14), transparent 55%),
             radial-gradient(900px 320px at 90% 0%, rgba(47,102,255,.08), transparent 55%),
             rgba(255,255,255,.80);
  box-shadow:var(--shadow-soft);
}
.cta h3{margin:0 0 6px}
.cta p{margin:0;color:var(--muted)}

/* Page hero */
.page-hero{padding:44px 0 14px}
.page-title{margin:0;font-size:44px;letter-spacing:-1px;font-weight:850}
.page-sub{margin:10px 0 0;color:var(--muted);max-width:70ch;line-height:1.65}
@media (max-width:980px){
  .page-hero{padding:34px 0 10px}
  .page-title{font-size:36px}
}

/* Form */
.form-wrap{max-width:820px}
.form{display:grid;gap:14px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:980px){ .form-grid{grid-template-columns:1fr} }

.field{display:grid;gap:8px}
label{color:var(--muted);font-size:14px}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(28,31,38,.14);
  background:rgba(255,255,255,.90);
  outline:none;
}
textarea{min-height:160px;resize:vertical}

/* About intro */
.intro-card{max-width:920px;margin:0 auto 18px;}
.intro-title{margin:0 0 10px;font-size:24px;letter-spacing:-.4px;font-weight:850;}
.intro-text{margin:0;color:var(--muted);line-height:1.75;font-size:15px;}

/* Logo band */
.logo-band{display:flex;justify-content:center;padding:34px 0 0}
.logo-band-img{height:84px;width:auto;opacity:.95}
@media (max-width:980px){ .logo-band-img{height:92px} }

/* Footer */
.footer{padding:34px 0;border-top:1px solid rgba(28,31,38,.08)}
.footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-left{max-width:520px}
.footer-left p{margin:10px 0 0;color:var(--muted)}
.footer-logo{height:56px;width:auto}
@media (max-width:980px){ .footer-logo{height:64px} }
.footer-right{display:flex;gap:16px;align-items:center;color:rgba(28,31,38,.78)}
.footer-bottom{padding-top:14px;color:rgba(28,31,38,.55);font-size:13px}

/* ✅ Mobile polish: clearer “white boxes” + better vertical rhythm */
@media (max-width:980px){
  .section{padding:44px 0;}
  .cards{gap:16px;}
  .card{
    background:#fff;
    border:1px solid rgba(28,31,38,.14);
    box-shadow:0 14px 26px rgba(28,31,38,.10);
  }
}