/* ===== Tokens ===== */
:root {
  --light:   #F1F6FA;
  --light-2: #E3EDF5;
  --light-3: #D4E5F0;
  --ink:     #1A1A1A;
  --ink-2:   #333333;
  --muted:   #677A8E;
  --sky:     #45BFEA;
  --sky-h:   #2EAAD9;
  --rule:    rgba(26, 26, 26, 0.12);

  --font-serif: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-sans:  "Inter", system-ui, sans-serif;

  --max-w: 1180px;
  --pad:   0 40px;
  --sec:   108px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
a { color: inherit; }

/* ===== Container ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 24px;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.15s;
}

.nav a:hover { color: var(--sky-h); }

.nav-phone {
  font-weight: 600;
  color: var(--sky-h) !important;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  background: var(--sky);
  border: 2px solid var(--sky);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: var(--sky-h);
  border-color: var(--sky-h);
  color: #fff;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:disabled {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ===== Hamburger ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Section scaffolding ===== */
.section { padding: var(--sec) 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sky-h);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--sky);
  flex: none;
}

.display-h {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
}
.display-h em {
  font-style: normal;
  color: var(--sky-h);
}

/* ===== About ===== */
.section-about {
  padding-top: 96px;
  padding-bottom: 96px;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

.lead {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 20px;
}

.body-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 36px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.val-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--sky);
  margin-top: 2px;
}

/* aside */
.about-aside {
  background: var(--light-2);
  border: 1px solid var(--rule);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.stat-row:first-child { padding-top: 0; }
.stat-row:last-child  { border-bottom: none; padding-bottom: 28px; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--sky-h);
  letter-spacing: -0.02em;
}
.stat-num sup {
  font-size: 0.42em;
  vertical-align: 0.5em;
  color: var(--sky-h);
}

.stat-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== Services ===== */
.section-services {
  background: var(--light-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-services .display-h { margin-bottom: 56px; }

.service {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding: 52px 0;
}
.service:last-child { border-bottom: 1px solid var(--rule); }

.svc-header { display: flex; flex-direction: column; gap: 6px; }

.svc-num {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: rgba(69, 191, 234, 0.18);
  letter-spacing: -0.03em;
  margin-bottom: 2px;
  user-select: none;
}

.svc-header h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.svc-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 24px;
}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.svc-list li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.svc-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 300;
}

.svc-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-h);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(46, 170, 217, 0.4);
  padding-bottom: 3px;
  transition: color 0.15s, gap 0.2s, border-color 0.15s;
}
.svc-cta:hover {
  color: var(--sky);
  gap: 14px;
  border-color: var(--sky);
}

/* ===== Contact ===== */
.section-contact {
  padding-bottom: 120px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .lead { margin-bottom: 0; }

.contact-details {
  margin-top: 36px;
  display: grid;
  gap: 26px;
}

.cdetail { display: flex; flex-direction: column; gap: 5px; }

.cdetail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.cdetail-val {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: block;
  line-height: 1.4;
  transition: color 0.15s;
}
.cdetail-val:hover { color: var(--sky-h); }

/* form */
.contact-form { display: flex; flex-direction: column; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--light);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  border-radius: 0;
  appearance: auto;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sky);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.7);
}

.footer-copy { font-size: 13px; }

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--sky); }

/* ===== Mobile sticky bar (hidden on desktop) ===== */
.mobile-bar { display: none; }

/* ===== Responsive — 1024px: about aside goes 3-across ===== */
@media (max-width: 1024px) {
  :root { --sec: 88px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-aside {
    padding: 0;
    background: none;
    border: none;
  }
  .stats-grid {
    flex-direction: row;
    border: 1px solid var(--rule);
    background: var(--light-2);
  }
  .stat-row {
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
    border-bottom: none;
    border-right: 1px solid var(--rule);
    align-items: flex-start;
  }
  .stat-row:first-child { padding-top: 24px; }
  .stat-row:last-child  { border-right: none; border-bottom: none; padding-bottom: 24px; }

  .about-aside .btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    padding: 16px 28px;
  }

  .service { grid-template-columns: 200px 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
}

/* ===== Responsive — 900px: hamburger nav ===== */
@media (max-width: 900px) {
  .header-inner { height: 68px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 100;
  }
  .nav.nav--open { display: flex; }
  .nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--rule);
    font-size: 16px;
    min-height: 54px;
    display: flex;
    align-items: center;
  }
  .nav a:last-child { border-bottom: none; }

  /* Mobile bar shows */
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    height: 56px;
    border-top: 1px solid var(--rule);
  }
  .mobile-bar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sky);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
  }
  .mobile-bar-call:hover { background: var(--sky-h); color: #fff; }
  .mobile-bar-inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-left: 1px solid rgba(255,255,255,0.1);
    transition: background 0.15s;
  }
  .mobile-bar-inquiry:hover { background: var(--ink-2); }

  body { padding-bottom: 56px; }
}

/* ===== Responsive — 600px: small phones ===== */
@media (max-width: 600px) {
  :root { --sec: 60px; --pad: 0 20px; }

  .stats-grid { overflow-x: auto; }
  .stat-row { padding: 18px 14px; min-width: 90px; }
  .stat-num { font-size: 36px; }
  .stat-lbl { font-size: 10px; letter-spacing: 0.1em; }

  .service {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 36px 20px;
    border-left: 3px solid var(--sky);
    border-top: none;
  }
  .service:first-of-type { border-top: 1px solid var(--rule); }
  .service:last-child { border-bottom: 1px solid var(--rule); }

  .svc-header {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
  .svc-num {
    font-size: 28px;
    margin-bottom: 0;
    line-height: 1;
    flex: none;
  }
  .svc-header h3 { font-size: 22px; }

  .cdetail-val { font-size: 18px; padding: 4px 0; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

/* ===== Responsive — 480px: very small phones ===== */
@media (max-width: 480px) {
  :root { --sec: 52px; --pad: 0 18px; }
  .display-h { font-size: clamp(30px, 8.5vw, 36px); }
  .section-services .display-h { margin-bottom: 36px; }
}
