:root {
  --ink: #172126;
  --muted: #5c6970;
  --line: #dbe4e7;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --teal: #007f7a;
  --teal-dark: #005f5b;
  --coral: #e9684c;
  --gold: #c79a37;
  --shadow: 0 24px 70px rgba(21, 35, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 228, 231, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--teal-dark);
}

.nav-cta {
  padding: 10px 18px;
  color: #fff !important;
  background: var(--teal);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

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

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 32%, rgba(255, 255, 255, 0.15) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 100px);
  padding-top: 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.32;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 24px 0 0;
  color: #3f4d53;
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(0, 127, 122, 0.22);
}

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

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.section,
.band,
.contact-layout {
  padding: 92px clamp(20px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: end;
}

.intro p:last-child,
.split p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.image-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  background: #fbfdfd;
}

.showcase-main,
.visual-split {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.showcase-main {
  grid-column: span 2;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mockup-panel,
.mini-mock {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52)),
    repeating-linear-gradient(0deg, rgba(0, 127, 122, 0.06) 0 1px, transparent 1px 28px),
    #eef6f4;
}

.mockup-panel {
  height: 430px;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid var(--line);
}

.showcase-main p:last-child,
.visual-split p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.showcase-thumbs {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.showcase-thumbs article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.06);
}

.mini-mock {
  height: 280px;
  padding: 26px;
  border-radius: 0;
}

.showcase-thumbs h3 {
  margin: 0;
  padding: 20px 22px;
}

.visual-split {
  padding-bottom: 0;
}

.visual-split-reverse .mockup-panel {
  order: 2;
}

.visual-split .mockup-panel {
  height: 390px;
  box-shadow: var(--shadow);
}

.page-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.estimate-poster {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(135deg, #123237, #007f7a 58%, #e9684c);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.estimate-poster::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border: 34px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.estimate-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px);
}

.estimate-poster > * {
  position: relative;
  z-index: 1;
}

.poster-label {
  margin-bottom: auto;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-poster strong {
  display: block;
  max-width: 520px;
  margin-bottom: 24px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12;
}

.estimate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.estimate-tags span {
  padding: 8px 12px;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.estimate-poster p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: #fbfdfd;
}

.capability-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 390px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.06);
}

.capability-card h3 {
  margin-bottom: 0;
  font-size: 23px;
}

.capability-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.capability-visual {
  position: relative;
  height: 160px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #f4f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.strategy-visual span {
  position: absolute;
  width: 58%;
  height: 34px;
  left: 24px;
  border-radius: 999px;
  background: #dbe7e6;
}

.strategy-visual span:nth-child(1) {
  top: 28px;
  background: var(--teal);
}

.strategy-visual span:nth-child(2) {
  top: 70px;
  width: 74%;
}

.strategy-visual span:nth-child(3) {
  top: 112px;
  width: 44%;
  background: var(--coral);
}

.build-visual span {
  position: absolute;
  border-radius: 8px;
}

.build-visual span:nth-child(1) {
  inset: 22px 24px auto;
  height: 34px;
  background: #203137;
}

.build-visual span:nth-child(2) {
  left: 24px;
  bottom: 24px;
  width: 38%;
  height: 72px;
  background: var(--teal);
}

.build-visual span:nth-child(3) {
  right: 24px;
  bottom: 24px;
  width: 42%;
  height: 72px;
  background: #fff;
  border: 1px solid var(--line);
}

.build-visual span:nth-child(4) {
  right: 44px;
  bottom: 48px;
  width: 26%;
  height: 14px;
  background: var(--coral);
}

.improve-visual span {
  position: absolute;
  bottom: 28px;
  width: 14%;
  border-radius: 8px 8px 0 0;
  background: var(--teal);
}

.improve-visual span:nth-child(1) {
  left: 24px;
  height: 42px;
}

.improve-visual span:nth-child(2) {
  left: 30%;
  height: 78px;
  background: var(--coral);
}

.improve-visual span:nth-child(3) {
  left: 52%;
  height: 58px;
  background: var(--gold);
}

.improve-visual span:nth-child(4) {
  right: 24px;
  height: 104px;
  background: #203137;
}

.poster-section {
  background: #fff;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.poster-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-card::before,
.poster-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.poster-card::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
}

.poster-card::after {
  right: -46px;
  top: -46px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.poster-card:hover,
.poster-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 28px 66px rgba(23, 33, 38, 0.18);
  outline: none;
}

.poster-card span,
.poster-card h3,
.poster-card p,
.poster-card em {
  position: relative;
  z-index: 1;
}

.poster-card span {
  margin-bottom: auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.poster-card h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.24;
}

.poster-card p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.poster-card em {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
  font-weight: 900;
}

.poster-card em::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.poster-card:hover em::after,
.poster-card:focus-visible em::after {
  transform: translateX(4px);
}

.poster-site {
  background: linear-gradient(145deg, #006e69, #0fa69d);
}

.poster-system {
  background: linear-gradient(145deg, #18272c, #496169);
}

.poster-payment {
  background: linear-gradient(145deg, #d95d45, #f08b6f);
}

.poster-support {
  background: linear-gradient(145deg, #8f6f20, #c79a37);
}

.ad-poster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 6vw, 88px);
  min-height: 300px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ad-poster::before,
.ad-poster::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ad-poster::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 48%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 24px);
}

.ad-poster::after {
  right: clamp(24px, 8vw, 110px);
  top: -90px;
  width: 260px;
  height: 260px;
  border: 34px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.ad-poster > * {
  position: relative;
  z-index: 1;
}

.ad-poster span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ad-poster h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.2;
}

.ad-poster p {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 16px;
}

.ad-poster a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 50px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-poster a::after {
  content: "→";
  margin-left: 10px;
}

.ad-poster a:hover,
.ad-poster a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(23, 33, 38, 0.18);
  outline: none;
}

.ad-poster-primary {
  color: #fff;
  background:
    radial-gradient(circle at 78% 52%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #005f5b, #00a59b 58%, #e9684c);
}

.ad-poster-primary p,
.ad-poster-dark p {
  color: rgba(255, 255, 255, 0.84);
}

.ad-poster-primary a,
.ad-poster-dark a {
  color: var(--teal-dark);
}

.ad-poster-light {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 34%, rgba(0, 127, 122, 0.18), transparent 26%),
    linear-gradient(135deg, #f8fbfb, #eef7f4 58%, #f8e8e3);
}

.ad-poster-light span {
  color: var(--coral);
}

.ad-poster-light p {
  color: var(--muted);
}

.ad-poster-light a {
  color: #fff;
  background: var(--teal);
}

.ad-poster-dark {
  color: #fff;
  background:
    radial-gradient(circle at 78% 34%, rgba(199, 154, 55, 0.28), transparent 28%),
    linear-gradient(135deg, #132326, #26363a 62%, #8f6f20);
}

.mock-window,
.admin-shell {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(23, 33, 38, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(23, 33, 38, 0.12);
}

.mock-topbar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.mock-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mock-topbar span:nth-child(1) {
  background: var(--coral);
}

.mock-topbar span:nth-child(2) {
  background: var(--gold);
}

.mock-topbar span:nth-child(3) {
  background: var(--teal);
}

.flow-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
}

.flow-card {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: #45545a;
  background: #f4f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.flow-card.teal {
  color: #fff;
  background: var(--teal);
}

.flow-card.coral {
  color: #fff;
  background: var(--coral);
}

.flow-card.dark {
  color: #fff;
  background: #26363a;
}

.wire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 24px 24px;
}

.wire-grid span {
  height: 54px;
  background: linear-gradient(90deg, #dfe8e9 28%, #f7faf9 28% 100%);
  border-radius: 8px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 82px 1fr;
}

.admin-shell aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 18px;
  background: #203137;
}

.admin-shell aside span {
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.admin-shell main,
.dashboard-preview {
  display: grid;
  gap: 18px;
}

.admin-shell main {
  padding: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row span {
  min-height: 74px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), #58b9b2);
}

.metric-row span:nth-child(2) {
  background: linear-gradient(135deg, var(--coral), #f09a83);
}

.metric-row span:nth-child(3) {
  background: linear-gradient(135deg, #25363b, #55666b);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 112px;
  padding: 18px;
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chart-bars i {
  flex: 1;
  min-height: 34px;
  border-radius: 6px 6px 0 0;
  background: var(--teal);
}

.chart-bars i:nth-child(2) {
  height: 72px;
  background: var(--coral);
}

.chart-bars i:nth-child(3) {
  height: 96px;
}

.chart-bars i:nth-child(4) {
  height: 58px;
  background: var(--gold);
}

.chart-bars i:nth-child(5) {
  height: 128px;
}

.table-lines,
.check-list {
  display: grid;
  gap: 10px;
}

.table-lines span,
.check-list span {
  height: 16px;
  border-radius: 999px;
  background: #dfe8e9;
}

.table-lines span:nth-child(even),
.check-list span:nth-child(even) {
  width: 72%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.06);
}

.card-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item {
  min-height: 230px;
  padding: 28px;
  background: #fff;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: 52px;
  align-items: center;
}

.split h2 {
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list div {
  padding: 18px 20px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.cta-section {
  margin: 0 clamp(20px, 6vw, 88px) 92px;
  padding: 56px;
  color: #fff;
  background: linear-gradient(135deg, #123237, #007f7a 58%, #d65d45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-section .section-kicker,
.cta-section p {
  color: rgba(255, 255, 255, 0.86);
}

/* .cta-section h2 {
  max-width: 760px;
} */

.cta-section p {
  max-width: 680px;
  margin: 18px 0 28px;
}

.cta-section .button.primary {
  color: var(--teal-dark);
  background: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 6vw, 88px);
  color: #dce8e8;
  background: #132326;
}

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

.footer-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
  font-weight: 900;
}

.site-footer p {
  margin: 4px 0 0;
  color: #9fb2b5;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-size: 14px;
}

.footer-links a {
  color: #dce8e8;
}

.page-hero {
  padding: 164px clamp(20px, 6vw, 88px) 76px;
  background: linear-gradient(135deg, #eef7f4 0%, #ffffff 48%, #f8e8e3 100%);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.page-hero p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.page-links {
  background: #fbfdfd;
}

.link-grid,
.detail-grid,
.pricing-grid,
.case-grid {
  display: grid;
  gap: 18px;
}

.link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-grid a,
.detail-card,
.price-card,
.case-grid article {
  display: block;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.06);
}

.link-grid a {
  position: relative;
  min-height: 230px;
  padding-bottom: 72px;
  border-color: rgba(0, 127, 122, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-grid a::after {
  content: "→";
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 22px 52px rgba(0, 127, 122, 0.16);
  outline: none;
}

.link-grid a:hover::after,
.link-grid a:focus-visible::after {
  transform: translateX(4px);
  background: var(--teal-dark);
}

.link-grid span,
.case-grid span,
.plan {
  display: block;
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.link-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.link-grid p,
.detail-card p,
.price-card p,
.case-grid p,
.legal-content p {
  margin: 0;
  color: var(--muted);
}

.link-grid em {
  position: absolute;
  left: 26px;
  bottom: 28px;
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-card h2,
.price-card h2,
.case-grid h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.5vw, 28px);
}

.detail-card ul,
.price-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-card li + li,
.price-card li + li {
  margin-top: 8px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  min-height: 360px;
}

.price-card.featured {
  color: #fff;
  background: #123237;
  border-color: #123237;
  transform: translateY(-10px);
}

.price-card.featured p,
.price-card.featured ul {
  color: rgba(255, 255, 255, 0.78);
}

.note-section {
  padding-top: 0;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid article {
  min-height: 240px;
}

.table-section,
.legal-content,
.faq-list {
  max-width: 980px;
  margin: 0 auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 240px;
  background: var(--soft);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.legal-content {
  color: var(--muted);
}

.legal-content h2 {
  margin: 0 0 12px;
  padding-top: 28px;
  color: var(--ink);
  font-size: 21px;
}

.legal-content h2:first-child {
  padding-top: 0;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.05);
}

.faq-list details + details {
  margin-top: 14px;
}

.faq-list summary {
  padding: 20px 22px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 104px;
}

.contact-info ul {
  margin: 24px 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-info li + li {
  margin-top: 10px;
}

.info-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-box span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row,
.privacy-check,
.form-message,
.form-button {
  grid-column: span 2;
}

.form-row:nth-child(1),
.form-row:nth-child(2),
.form-row:nth-child(3),
.form-row:nth-child(4),
.form-row:nth-child(5) {
  grid-column: span 1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

label span {
  color: var(--coral);
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f9fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 127, 122, 0.16);
  border-color: var(--teal);
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.privacy-check a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-message {
  min-height: 28px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-message.error {
  color: #b33322;
}

.form-button {
  justify-self: start;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .service-grid,
  .timeline,
  .link-grid,
  .case-grid,
  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .split,
  .contact-layout,
  .image-showcase,
  .showcase-main,
  .visual-split,
  .capability-band {
    grid-template-columns: 1fr;
  }

  .showcase-main,
  .showcase-thumbs {
    grid-column: span 1;
  }

  .visual-split-reverse .mockup-panel {
    order: 0;
  }

  .contact-info {
    position: static;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 700px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 58%, rgba(255, 255, 255, 0.2) 100%);
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section,
  .band,
  .contact-layout {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .service-grid,
  .timeline,
  .feature-list,
  .contact-form,
  .link-grid,
  .detail-grid,
  .case-grid,
  .showcase-thumbs,
  .capability-band,
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }

  .poster-card {
    min-height: 320px;
  }

  .estimate-poster {
    min-height: 320px;
  }

  .ad-poster {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 360px;
    margin-right: 20px;
    margin-left: 20px;
  }

  .ad-poster a {
    justify-self: start;
  }

  .showcase-main {
    padding: 16px;
  }

  .mockup-panel,
  .mini-mock {
    height: auto;
    min-height: 300px;
  }

  .page-photo {
    aspect-ratio: 3 / 2;
  }

  .flow-map,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 54px 1fr;
  }

  .admin-shell aside {
    padding: 18px 12px;
  }

  .form-row,
  .form-row:nth-child(1),
  .form-row:nth-child(2),
  .form-row:nth-child(3),
  .form-row:nth-child(4),
  .form-row:nth-child(5),
  .privacy-check,
  .form-message,
  .form-button {
    grid-column: span 1;
  }

  .contact-form {
    padding: 24px;
  }

  .cta-section {
    margin-bottom: 68px;
    padding: 34px 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
  }
}
