
:root{
  --bg:#0a1118;
  --panel:#0f1720;
  --panel2:#111b26;
  --text:#e8eef6;
  --muted:rgba(232,238,246,0.74);
  --line:rgba(255,255,255,0.10);
  --shadow: 0 16px 50px rgba(0,0,0,0.42);
  --radius:18px;

  --accent1:#fb923c;
  --accent2:#7dd3fc;
  --accent3:#a78bfa;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 900px at 15% -10%, rgba(251,146,60,0.12), transparent 58%),
    radial-gradient(900px 650px at 92% 5%, rgba(125,211,252,0.12), transparent 60%),
    radial-gradient(800px 520px at 60% 120%, rgba(167,139,250,0.07), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit}
.container{max-width:1140px;margin:0 auto;padding:0 22px}
.small{font-size:12.5px;color:rgba(232,238,246,0.68)}
.kicker{font-weight:700;letter-spacing:0.12em;text-transform:uppercase;font-size:12px;color:rgba(232,238,246,0.62)}
h1,h2,h3{margin:0}
h1{font-size:clamp(34px,4.2vw,56px);line-height:1.05;letter-spacing:-0.02em}
h2{font-size:clamp(22px,2.1vw,28px);letter-spacing:-0.01em}
h3{font-size:18px;letter-spacing:-0.01em}

/* Header */
.site-header{
  position:sticky;top:0;z-index:100;
  backdrop-filter:saturate(160%) blur(12px);
  background:rgba(10,17,24,0.72);
  border-bottom:1px solid var(--line);
}
.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.mark{
  width:14px;height:14px;border-radius:7px;
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  box-shadow:0 0 0 7px rgba(255,255,255,0.03);
}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-title{font-weight:700;letter-spacing:0.01em}
.brand-sub{font-size:12.5px;color:rgba(232,238,246,0.70);font-weight:600}
.tm{opacity:0.85;font-weight:600}

/* Nav */
.nav ul{display:flex;gap:14px;list-style:none;margin:0;padding:0;align-items:center}
.nav a{
  text-decoration:none;
  color:rgba(232,238,246,0.72);
  font-weight:650;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
  transition:background .15s ease,color .15s ease, transform .15s ease;
}
.nav a:hover{color:var(--text);background:rgba(255,255,255,0.05)}
.nav a.active{color:var(--text);background:rgba(125,211,252,0.14)}

/* Mobile nav */
.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--text);margin:4px 0;opacity:0.9}
@media (max-width: 980px){
  .nav-toggle{display:block}
  .nav{
    position:fixed;top:74px;left:0;right:0;
    background:rgba(10,17,24,0.96);
    border-bottom:1px solid var(--line);
    transform:translateY(-10px);
    opacity:0;pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
  }
  .nav ul{flex-direction:column;align-items:stretch;padding:14px 22px;gap:6px}
  .nav a{padding:12px 12px;font-size:15px}
  .nav.open{opacity:1;pointer-events:auto;transform:translateY(0)}
}

/* Hero */
.hero{
  position:relative;overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero-media{
  position:absolute;inset:0;
  background:url('assets/hero.jpg') center/cover no-repeat;
  opacity:0.80;
  transform:scale(1.03);
}
.hero:before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(10,17,24,0.92), rgba(10,17,24,0.56) 58%, rgba(10,17,24,0.86));
}
.hero-inner{position:relative;padding: 104px 0 78px}
.hero p{
  margin:16px 0 22px;
  max-width:68ch;
  font-size:clamp(16px,1.65vw,20px);
  color:rgba(232,238,246,0.86);
}
.pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.pill{
  border:1px solid var(--line);
  background:rgba(255,255,255,0.04);
  padding:8px 12px;
  border-radius:999px;
  font-weight:650;
  font-size:13px;
  color:rgba(232,238,246,0.82);
}

/* Layout blocks */
.section{padding:62px 0}
.grid{display:grid;grid-template-columns:1.15fr 0.85fr;gap:22px}
@media (max-width: 980px){
  .grid{grid-template-columns:1fr}
}
.card{
  background:linear-gradient(180deg, rgba(17,27,38,0.86), rgba(15,23,32,0.86));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}
.card p{margin:10px 0 0;color:rgba(232,238,246,0.84)}
.card ul{margin:12px 0 0 18px;color:rgba(232,238,246,0.84)}
.card .kicker{margin-bottom:8px}
.divider{height:1px;background:var(--line);margin:20px 0}

/* Founder */
.founder-wrap{display:grid;grid-template-columns:0.9fr 1.1fr;gap:22px;align-items:start}
@media (max-width: 980px){.founder-wrap{grid-template-columns:1fr}}
.founder-photo{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  object-fit:cover;
  max-height:560px;
}

/* Buttons & forms */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 14px;border-radius:14px;
  border:1px solid rgba(125,211,252,0.40);
  background:rgba(125,211,252,0.12);
  color:var(--text);
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}
.btn:hover{background:rgba(125,211,252,0.18);transform:translateY(-1px)}
.btn.secondary{
  border:1px solid rgba(251,146,60,0.36);
  background:rgba(251,146,60,0.10);
}
.btn.secondary:hover{background:rgba(251,146,60,0.14)}

.form{display:grid;gap:12px;margin-top:10px}
label{font-size:13px;font-weight:750;color:rgba(232,238,246,0.80);display:grid;gap:8px}
input,textarea,select{
  width:100%;
  padding:12px 12px;border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  outline:none;
}
textarea{min-height:140px;resize:vertical}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width: 980px){.split{grid-template-columns:1fr}}

/* Footer */
.site-footer{
  border-top:1px solid var(--line);
  padding:44px 0 52px;
  background:rgba(10,17,24,0.62);
}
.footer-grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:18px}
@media (max-width: 980px){.footer-grid{grid-template-columns:1fr}}
.footer-kicker{font-weight:800;letter-spacing:0.12em;text-transform:uppercase;font-size:12px;color:rgba(232,238,246,0.58)}
.footer-strong{font-weight:800}
.tel{text-decoration:none}


/* Card visual */
.card-visual{display:flex; align-items:center; gap:12px; margin-bottom:8px}
.card-visual img{width:44px; height:44px; flex:0 0 44px}
.card-visual .kicker{margin:0}
.card-visual + h2, .card-visual + h3{margin-top:6px}

/* Brand logo */
.brand-logo{
  height:44px;
  width:auto;
  display:block;
}
@media (max-width: 980px){
  .brand-logo{height:36px}
}



/* --- Patch: logo sizing for header --- */
.site-header .logo img,
.site-header img.logo,
header .logo img,
header img.logo,
.navbar .brand img,
.brand img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

/* Mobile: slightly smaller but still readable */
@media (max-width: 480px){
  .site-header .logo img,
  .site-header img.logo,
  header .logo img,
  header img.logo,
  .navbar .brand img,
  .brand img {
    height: 46px;
    max-width: 200px;
  }
}



/* --- Patch: mobile side padding --- */
@media (max-width: 520px){
  .container, .wrap, main, .content, .section, .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ===== Mobile bottom-sheet menu (75% height) ===== */
.sheet-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 80;
}
.sheet-backdrop.open{
  opacity: 1;
  pointer-events: auto;
}
.menu-sheet{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 75vh;
  background: #ffffff;
  transform: translateY(102%);
  transition: transform .26s ease;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -16px 44px rgba(0,0,0,.18);
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.menu-sheet.open{ transform: translateY(0); }
.menu-sheet__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e6ebf0;
}
.menu-sheet__title{ font-weight: 700; letter-spacing: .2px; }
.menu-sheet__close{
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid #e6ebf0;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.menu-sheet__nav{
  padding: 10px 10px 18px;
  overflow: auto;
}
.menu-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #0b0f14;
  font-weight: 600;
}
.menu-item:hover{ background: #f6f8fa; }
.menu-item__icon{ width: 22px; height: 22px; flex: 0 0 22px; opacity: .9; }

/* Mobile-only: hide desktop nav, use sheet */
@media (max-width: 900px){
  #primary-nav{ display: none !important; }
}

/* ===== Compact footer ===== */
.site-footer.compact-footer .compact-footer__inner{
  text-align: center;
  padding: 18px 14px;
  line-height: 1.6;
}
.site-footer.compact-footer a.tel{ white-space: nowrap; }

/* ===== Homepage hero fixes (mobile) ===== */
@media (max-width: 520px){
  /* Tighten top whitespace in hero */
  .hero, .hero-section{ padding-top: 9px !important; }
  /* Ensure hero content has side padding */
  .hero .hero-content, .hero-section .hero-content, .hero .container, .hero-section .container{
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  /* CTA buttons: blue + same line */
  .hero .cta, .hero .cta-buttons, .hero .hero-cta, .hero-section .cta, .hero-section .cta-buttons{
    display: flex !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }
  .hero .cta a, .hero .cta button,
  .hero-section .cta a, .hero-section .cta button,
  .hero .cta-buttons a, .hero-section .cta-buttons a{
    flex: 1 1 0;
    text-align: center;
    background: #1f5fbf !important;
    border-color: #1f5fbf !important;
    color: #fff !important;
  }
}



/* Footer license visibility */
.site-footer.compact-footer .small{
  color: rgba(11,15,20,.72) !important;
}
.site-footer.compact-footer strong{
  color: #0b0f14;
}
.site-footer.compact-footer{
  color: rgba(11,15,20,.88);
}

/* --- Logo sizing (auto-injected) --- */
/* --- Logo sizing (auto-injected) --- */
img.site-logo, .site-logo img, header img.logo, header .logo img, .navbar img, .brand img {
  height: 44px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}
@media (max-width: 520px){
  img.site-logo, .site-logo img, header img.logo, header .logo img, .navbar img, .brand img {
    height: 38px;
    max-width: 260px;
  }
}

/* --- Logo sizing (auto) --- */
.brand-logo, .brand img, header img.logo, .navbar img, .site-logo img {
  height: 44px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}
@media (max-width: 520px){
  .brand-logo, .brand img, header img.logo, .navbar img, .site-logo img {
    height: 38px;
    max-width: 260px;
  }
}

.menu-sheet{
  background: #ffffff;
}
.menu-item{
  color: #0b0f14;
}
.menu-item:hover{ background: #f6f8fa; }
.menu-sheet__close{
  background: #fff;
}
