:root{
  --brand:#1e73be;
  --brand-dark:#155a91;
  --bg:#ffffff;
  --bg2:#f6f9fe;
  --text:#1b2733;
  --muted:#5b6b78;
  --card:#ffffff;
  --line:#e5eef7;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.site-header{position:sticky;top:0;background:#fff;border-bottom:2px solid var(--line);z-index:10}
.header-flex{display:flex;align-items:center;justify-content:space-between;padding:8px 0}
.logo{height:60px;width:auto}
.nav .link{margin-left:16px;text-decoration:none;color:#2b3b4a;font-weight:700}
.nav .link:hover{color:var(--brand)}
.nav-cta{margin-left:12px;border:2px solid var(--brand);color:var(--brand);padding:.55rem .95rem;border-radius:10px;font-weight:800;text-decoration:none}
.nav-cta:hover{background:var(--brand);color:#fff}
.hero{background:linear-gradient(180deg,var(--bg2),#fff 70%);padding:3.2rem 1rem;text-align:center}
.hero h1{font-size:clamp(2.2rem,6vw,3.4rem);font-weight:900;margin-bottom:.6rem}
.hero p{max-width:70ch;margin:0 auto 1rem;color:var(--muted)}
.hero a{color:var(--brand)}
.cta-row{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap;margin-top:.4rem;margin-bottom:.8rem}
.cta{display:inline-block;border-radius:10px;font-weight:800;text-decoration:none;padding:.8rem 1.2rem}
.cta.primary{background:var(--brand);color:#fff;box-shadow:0 6px 18px rgba(30,115,190,.25)}
.cta.primary:hover{background:var(--brand-dark)}
.cta.ghost{border:2px solid var(--brand);color:var(--brand)}
.trust-row{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap;color:#334655;margin-top:.8rem}
.trust-row li{background:#eaf2fc;border:1px solid #d6e4f7;border-radius:999px;padding:.35rem .7rem;font-weight:700}
section{max-width:1000px;margin:0 auto;padding:2.2rem 1rem}
h2{text-align:center;color:var(--brand);margin-bottom:1.2rem}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:1rem;text-align:center;font-weight:700}
/* Video section */
.video-section{background:#f2f7fd;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:2.2rem 0}
.videobox{max-width:900px;margin:0 auto;border-radius:12px;overflow:hidden;box-shadow:0 10px 35px rgba(0,0,0,.12);border:1px solid #dbe7f6;position:relative}
/* Aspect-ratio helpers */
.ratio-16x9{aspect-ratio:16/9}
.ratio-4x5{aspect-ratio:4/5}
.videobox video,
.thumb img{width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.video-note{color:#52677a;text-align:center;margin-top:.6rem}
/* Projects grid */
#projects .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
#projects figure{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 4px 10px rgba(0,0,0,.04)}
#projects figcaption{padding:.6rem .8rem;color:#34495e}
form{display:flex;flex-direction:column;gap:1rem;max-width:520px;margin:auto}
form input,form select,form textarea{padding:.8rem;border:1px solid #cfe0ef;border-radius:8px;background:#fff}
form button{padding:.9rem;background:var(--brand);color:#fff;border:none;border-radius:10px;font-weight:900}
form button:hover{background:var(--brand-dark)}
footer{text-align:center;background:var(--brand);color:#fff;padding:1.5rem;margin-top:2rem}
footer .logo.small{height:50px;margin-bottom:.3rem}
footer .ver{opacity:.85;font-size:.85rem}
.sticky-bar{display:none;position:fixed;left:0;right:0;bottom:0;background:var(--brand);z-index:20}
.sticky-bar a{flex:1;color:#fff;text-decoration:none;text-align:center;padding:.9rem 0;font-weight:900}
@media (max-width:780px){
  .logo{height:44px}
  .only-desktop{display:none}
  body{padding-bottom:60px}
  .sticky-bar{display:flex}
}