/* ===== Design tokens ===== */
:root {
  --navy:      #0b2a4a;
  --navy-700:  #123a63;
  --blue:      #1f8a5b; /* accent: calm green */
  --blue-600:  #176b46;
  --mint-soft: #74d3a6; /* light green (on dark bg) */
  --ink:       #1b2430;
  --muted:     #5b6573;
  --line:      #e4e8ee;
  --bg:        #ffffff;
  --bg-alt:    #f5f7fa;
  --radius:    14px;
  --maxw:      1080px;
  --shadow:    0 10px 30px rgba(11, 42, 74, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: baseline; gap: 6px; }
.brand-mark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  color: var(--navy);
}
.brand-sub {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav a { font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s; }
.gnav a:hover { color: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 138, 91, .35);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.gnav .btn-sm.btn { background: var(--navy); color: #fff; }
.gnav .btn-sm.btn:hover { background: var(--navy-700); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(31,138,91,.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mint-soft);
  margin: 0 0 18px;
  font-weight: 700;
}
.hero-title {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: .5px;
}
.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 10px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--navy);
}
.section-desc {
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 48px;
  font-size: 16px;
}
.section-eyebrow.light { color: var(--mint-soft); }
.section-title.light, .section-desc.light { color: #fff; }
.section-desc.light { color: rgba(255,255,255,.82); }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,42,74,.12); }
.card-no {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--navy);
}
.card-text { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Service list ===== */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.service-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 22px 26px;
}
.service-list h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.service-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Qualifications ===== */
.qual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.qual-label { font-weight: 800; color: var(--navy); margin: 0 0 14px; }
.qual-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qual-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ===== Company table ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 180px;
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.company-table td { color: var(--ink); }

/* ===== Header logo ===== */
.brand-logo { display: block; height: 40px; width: auto; }

/* ===== Contact ===== */
.contact {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
}
.contact .section-eyebrow,
.contact .section-title,
.contact .section-desc { text-align: center; }
.contact .section-desc { margin-left: auto; margin-right: auto; margin-bottom: 40px; }

.contact-form {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  text-align: left;
}
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-row .req { color: #e03131; font-size: 12px; margin-left: 4px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 138, 91, .15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn-primary { width: 100%; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* status banner */
.form-banner {
  max-width: 620px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}
.form-banner.ok    { background: #e6fcf5; color: #0b7285; border: 1px solid #63e6be; }
.form-banner.error { background: #fff0f0; color: #c92a2a; border: 1px solid #ffa8a8; }

/* ===== Footer ===== */
.site-footer {
  background: #08203a;
  color: rgba(255, 255, 255, .8);
  padding: 48px 0;
}
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.footer-brand { display: flex; align-items: baseline; gap: 6px; }
.footer-brand .brand-mark { color: #fff; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.8); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .gnav { gap: 16px; }
  .gnav a:not(.btn) { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 84px 0 90px; }
}
@media (max-width: 520px) {
  .company-table th { width: 110px; padding: 14px 14px; font-size: 14px; }
  .company-table td { padding: 14px 14px; font-size: 14px; }
  .hero-actions { width: 100%; }
  .btn-primary, .btn-ghost { flex: 1; }
  .form-row.two { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}
