:root {
  --blue: #2857ec;
  --orange: #f06647;
  --charcoal: #1c1e25;
  --muted: #626875;
  --line: #e7e9ee;
  --soft: #f7f8fb;
  --white: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,233,238,.8);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 155px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14px; }
.nav-links > a:not(.button):hover { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 14px 20px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(40,87,236,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(40,87,236,.22); }
.button-small { padding: 10px 14px; border-radius: 8px; }
.text-link { color: var(--blue); font-weight: 700; }

.hero { padding: 92px 0 86px; background: linear-gradient(180deg, #fff 0%, #fbfcff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--blue); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin-top: 0; }
h1 { font-size: clamp(46px, 6vw, 78px); margin-bottom: 24px; max-width: 900px; }
h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 18px; max-width: 850px; }
h3 { font-size: 24px; margin-bottom: 12px; }
.hero-text { font-size: 20px; color: var(--muted); max-width: 720px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.hero-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(31, 42, 69, .08);
}
.core-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 26px;
}
.focus-list { display: grid; gap: 13px; }
.focus-list span { padding: 14px 0; border-top: 1px solid var(--line); font-weight: 650; }

.section { padding: 88px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #fff; }
.card-number { color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: .12em; margin-bottom: 28px; }
.card p, .about-copy p, .contact p { color: var(--muted); }

.section-alt { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.about-copy { font-size: 19px; }
.about-copy p:first-child { margin-top: 0; }

.contact { padding-top: 76px; }
.contact-panel {
  border-radius: 26px;
  padding: 44px;
  background: var(--charcoal);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.contact-panel h2 { margin-bottom: 12px; }
.contact-panel .eyebrow { color: #9bb2ff; }
.contact-panel p { color: #c8ccd5; margin-bottom: 0; }
.contact-actions { justify-self: end; text-align: right; }

.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 14px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 62px; }
  .hero-grid, .about-grid, .contact-panel { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .contact-actions { justify-self: start; text-align: left; }
  .brand img { width: 135px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 26px, var(--max)); }
  .site-header .button-small { padding: 9px 11px; }
  .hero-card, .card, .contact-panel { border-radius: 18px; }
  .contact-panel { padding: 28px; }
}

/* Contact inquiry form */
.contact-panel {
  align-items: start;
}
.contact-intro {
  padding-top: 8px;
}
.contact-direct {
  margin-top: 22px !important;
  font-size: 15px;
}
.contact-direct a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.4);
  text-underline-offset: 4px;
}
.contact-form {
  background: #fff;
  color: var(--charcoal);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}
.contact-form label span b {
  color: var(--orange);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--charcoal);
  background: #fff;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.contact-form textarea {
  resize: vertical;
  min-height: 104px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40,87,236,.12);
}
.contact-form ::placeholder {
  color: #9298a5;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}
.form-footer p {
  margin: 0;
  max-width: 430px;
  color: #777e8b;
  font-size: 12px;
  line-height: 1.5;
}
.form-footer .button {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.form-status {
  display: none;
  border-radius: 10px;
  padding: 11px 13px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 650;
}
.form-status.success {
  display: block;
  color: #17643a;
  background: #eaf8f0;
  border: 1px solid #c5ead4;
}
.form-status.error {
  display: block;
  color: #9c2f2f;
  background: #fff0f0;
  border: 1px solid #f3cccc;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .contact-form { padding: 20px; border-radius: 16px; }
  .form-footer .button { width: 100%; }
}
