:root {
  --ink: #17212b;
  --muted: #64717f;
  --line: #d9e0e6;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #008c95;
  --teal-dark: #006870;
  --coral: #e86f51;
  --sun: #f2b84b;
  --shadow: 0 20px 55px rgba(23, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

.line {
  display: block;
}

.section-heading p,
.split-copy p,
.contact p,
.service-card p,
.strength-list p,
.process-list p {
  line-break: strict;
  overflow-wrap: break-word;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: rgba(23, 33, 43, 0.32);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-logo {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.brand-name {
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 28, 0.88), rgba(7, 18, 28, 0.58), rgba(7, 18, 28, 0.24)),
    linear-gradient(180deg, rgba(7, 18, 28, 0.16), rgba(7, 18, 28, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.quick-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 40px));
  margin: -58px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-stats div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-stats div:last-child {
  border-right: 0;
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  color: var(--teal-dark);
  font-size: 22px;
}

.quick-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.split-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.section-heading p:not(.eyebrow),
.split-copy p:not(.eyebrow),
.contact p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card h3,
.strength-list h3,
.process-list h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p,
.strength-list p,
.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.strength-list {
  display: grid;
  gap: 16px;
}

.strength-list div {
  padding: 26px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
}

.strength-list span,
.process-list span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--sun);
  font-weight: 800;
}

.process {
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.contact p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-copy {
  line-break: strict;
  overflow-wrap: break-word;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}

.footer-brand img {
  width: 110px;
  height: auto;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.9), rgba(23, 33, 43, 0.7)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.thanks {
  width: min(680px, 100%);
  padding: clamp(32px, 6vw, 58px);
  border-radius: 8px;
  color: var(--white);
  background: rgba(23, 33, 43, 0.78);
  box-shadow: var(--shadow);
}

.thanks-brand {
  margin-bottom: 42px;
}

.thanks h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.15;
}

.thanks p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    display: none;
    width: min(280px, calc(100vw - 40px));
    padding: 12px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 18, 28, 0.78), rgba(7, 18, 28, 0.5));
  }

  .quick-stats,
  .service-grid,
  .split,
  .process-list,
  .contact {
    grid-template-columns: 1fr;
  }

  .quick-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-logo {
    width: 116px;
  }

  .brand-name {
    display: none;
  }

  .line {
    display: inline;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .quick-stats,
  .contact {
    width: calc(100% - 32px);
  }

  .contact {
    margin-bottom: 72px;
    padding: 28px 20px;
  }
}
