:root {
  --navy: #0a1628;
  --navy-mid: #002b5c;
  --navy-light: #1a365d;
  --red: #c41e3a;
  --red-dark: #8b0000;
  --red-bright: #e31e24;
  --gold: #d4af37;
  --white: #ffffff;
  --gray-100: #f5f7fa;
  --gray-200: #e0e0e0;
  --gray-400: #4a4a4a;
  --gray-600: #333;
  --highlight-bg: #f9ebeb;
  --highlight-row: #dce6f1;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --container: min(1200px, 92vw);
  --section-pad: clamp(3rem, 6vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy-mid);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { width: var(--container); margin-inline: auto; }

/* Grid pattern utility */
.grid-bg {
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 48px 48px;
}

.diamond {
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.logo-link img { width: 40px; height: auto; }

.nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav a:hover { color: var(--red-bright); }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: #051020;
  color: var(--white);
  position: relative;
  padding-top: 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 32, 0.75) 0%, rgba(5, 16, 32, 0.35) 42%, rgba(5, 16, 32, 0.1) 65%, transparent 85%),
    url("../assets/hero-bg.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(80, 110, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 110, 160, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2rem, 5vh, 4rem);
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(200px, 34%) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  flex: 1;
}

.hero-logo {
  width: 100%;
  max-width: clamp(220px, 28vw, 360px);
  height: auto;
  justify-self: start;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.45));
}

.hero-content {
  max-width: 680px;
  padding-top: 0.5rem;
}

.hero-label {
  font-size: clamp(0.6rem, 1vw, 0.78rem);
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.hero-footer {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: auto;
  padding-top: clamp(2rem, 5vh, 3.5rem);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  letter-spacing: 0.12em;
  flex-wrap: wrap;
}

.hero-bracket {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.hero-divider {
  width: 3px;
  height: 2.75rem;
  background: var(--red-bright);
  flex-shrink: 0;
}

.diamond-3d {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #e8334a 0%, #c41e3a 45%, #8b0000 100%);
  box-shadow: 0 1px 3px rgba(139, 0, 0, 0.35);
  margin-top: 0.35rem;
}

/* About — Bento grid */
.about {
  background: var(--white);
  padding-block: var(--section-pad);
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(120px, auto) minmax(200px, auto) minmax(140px, auto);
  gap: 1rem;
  align-items: stretch;
}

.bento-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 92, 0.08);
  box-shadow: 0 4px 24px rgba(0, 43, 92, 0.06);
  padding: clamp(1rem, 2vw, 1.75rem);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  container-type: inline-size;
  height: 100%;
  min-height: 0;
}

.bento-card:hover {
  box-shadow: 0 12px 40px rgba(0, 43, 92, 0.1);
  transform: translateY(-2px);
}

.bento-title {
  grid-column: 1 / 8;
  grid-row: 1;
  display: flex;
  align-items: center;
  min-height: 140px;
}

.bento-title h2 {
  font-size: clamp(1.35rem, 7cqi, 2.35rem);
  color: #002b5b;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  width: 100%;
}

.bento-desc {
  grid-column: 1 / 5;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.5rem, 2cqi, 1rem);
  min-height: 200px;
}

.bento-brand {
  font-size: clamp(1.5rem, 11cqi, 3rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1.08;
  margin: 0;
}

.bento-desc-text {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.bento-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 100%;
}

.bento-item .diamond-3d {
  width: 12px;
  height: 12px;
  margin-top: 0;
  flex-shrink: 0;
}

.bento-item p {
  color: var(--gray-600);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.bento-item:nth-of-type(3) {
  grid-column: 5 / 8;
  grid-row: 2;
  min-height: 200px;
}

.bento-item:nth-of-type(4) {
  grid-column: 1 / 4;
  grid-row: 3;
  min-height: 140px;
}

.bento-item:nth-of-type(5) {
  grid-column: 4 / 8;
  grid-row: 3;
  min-height: 140px;
}

.bento-item--accent {
  background: linear-gradient(135deg, #002b5c 0%, #0a1628 100%);
  border-color: transparent;
}

.bento-item--accent p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.bento-media {
  grid-column: 8 / 13;
  grid-row: 1 / 4;
  padding: 0;
  min-height: 420px;
}

.bento-media:hover { transform: none; }

.bento-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Section common */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--navy-mid);
  margin-bottom: 2rem;
  max-width: 900px;
}

.section-subtitle {
  color: var(--gray-400);
  margin-top: -1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* Structure — три равные карточки в ряд */
.structure-section {
  background-color: #dce6f1;
}

.structure-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1rem;
  align-items: stretch;
}

.structure-bento-title {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.structure-bento .structure-card {
  grid-row: 2;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(0, 43, 92, 0.1);
  box-shadow: 0 8px 32px rgba(0, 43, 92, 0.08);
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.structure-bento .structure-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 43, 92, 0.12);
}

.structure-bento .card-white { grid-column: 1; }
.structure-bento .card-navy { grid-column: 2; }
.structure-bento .card-red { grid-column: 3; }

.structure-bento .structure-conclusion {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 43, 92, 0.06);
}

.structure-card::before,
.structure-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gray-200);
  transform: rotate(45deg);
  top: 12px;
}

.structure-card::before { left: 12px; }
.structure-card::after { right: 12px; }

.structure-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.structure-card hr {
  width: 60%;
  border: none;
  border-top: 1px solid currentColor;
  opacity: 0.3;
  margin-bottom: 0.75rem;
}

.structure-card .year { font-size: 0.85rem; opacity: 0.85; margin-bottom: auto; padding-bottom: 1rem; }

.structure-card .card-logo {
  width: 200px;
  height: 230px;
  margin-top: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  flex-shrink: 0;
}

.card-white { background: var(--white); color: var(--navy-mid); }
.card-navy { background: var(--navy-light); color: var(--white); border-color: var(--navy-light); }
.card-red { background: #8b1a2e; color: var(--white); border-color: #8b1a2e; }

.card-navy::before, .card-navy::after,
.card-red::before, .card-red::after { border-color: rgba(255,255,255,0.25); }

.structure-conclusion {
  border: 2px solid var(--navy-mid);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.structure-conclusion strong { color: var(--navy-mid); }

/* Matrix — Bento grid (MeetingPackage style) */
#matrix,
.matrix-section {
  background-color: #dce6f1;
}

.matrix-bento {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.matrix-bento-title {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

.matrix-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 92, 0.08);
  box-shadow: 0 4px 24px rgba(0, 43, 92, 0.06);
  padding: clamp(1rem, 2vw, 1.35rem);
  font-size: 18px;
  line-height: 1.55;
  color: var(--gray-600);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.matrix-card--value:hover,
.matrix-card--label:hover {
  box-shadow: 0 10px 32px rgba(0, 43, 92, 0.1);
  transform: translateY(-2px);
}

.matrix-card--head {
  font-weight: 700;
  color: var(--navy-mid);
  background: var(--gray-100);
  min-height: 72px;
  display: flex;
  align-items: center;
}

.matrix-card--company-white { border-top: 4px solid var(--navy-mid); }
.matrix-card--company-navy { border-top: 4px solid var(--navy-light); }
.matrix-card--company-red { border-top: 4px solid #8b1a2e; }

.matrix-card--label {
  font-weight: 700;
  color: var(--navy-mid);
  display: flex;
  align-items: center;
}

.matrix-card--value strong {
  color: var(--navy-mid);
  font-weight: 700;
}

.matrix-card--highlight {
  background: var(--highlight-row);
  border-color: rgba(0, 43, 92, 0.12);
}

/* Excellence — Bento grid (Monly style) */
.excellence-section {
  background-color: var(--white);
}

.excellence-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.excellence-bento-title {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

.excellence-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 92, 0.08);
  box-shadow: 0 4px 24px rgba(0, 43, 92, 0.06);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.excellence-card:hover {
  box-shadow: 0 12px 40px rgba(0, 43, 92, 0.1);
  transform: translateY(-2px);
}

.excellence-card.highlight {
  background: var(--highlight-bg);
  border-color: rgba(139, 0, 0, 0.25);
  box-shadow: 0 8px 32px rgba(139, 0, 0, 0.1);
}

.excellence-card .icon {
  width: 48px;
  height: 48px;
  color: var(--navy-mid);
  flex-shrink: 0;
}

.excellence-card .icon-img {
  object-fit: contain;
  display: block;
}

.excellence-card.highlight .icon { color: var(--red-dark); }

.excellence-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-mid);
  line-height: 1.35;
}

.excellence-card p {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.55;
}

/* Flywheel — Bento grid */
.flywheel-section {
  background-color: #dce6f1;
}

.flywheel-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.flywheel-bento-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.flywheel-bento-subtitle {
  grid-column: 1 / -1;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
}

.flywheel-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 92, 0.08);
  box-shadow: 0 4px 24px rgba(0, 43, 92, 0.06);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.flywheel-card:not(.flywheel-card--center):hover {
  box-shadow: 0 12px 40px rgba(0, 43, 92, 0.1);
  transform: translateY(-2px);
}

.flywheel-card--tl,
.flywheel-card--tr,
.flywheel-card--bl,
.flywheel-card--br {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 120px;
}

.flywheel-card--tl { grid-column: 1 / 4; grid-row: 3; }
.flywheel-card--tr { grid-column: 10 / 13; grid-row: 3; }
.flywheel-card--bl { grid-column: 1 / 4; grid-row: 4; }
.flywheel-card--br { grid-column: 10 / 13; grid-row: 4; }

.flywheel-card--center {
  grid-column: 4 / 10;
  grid-row: 3 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  min-height: 320px;
}

.flywheel-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy-mid);
  line-height: 1.55;
}

.flywheel-card .diamond {
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.flywheel-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
}

/* Timeline */
.timeline { position: relative; padding-top: 1rem; }

.timeline-curve {
  width: 100%;
  height: 80px;
  margin-bottom: 2rem;
}

.timeline-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-top: 3px solid var(--navy-mid);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 1.25rem;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--navy-mid), var(--red));
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.timeline-item:last-child { border-top-color: var(--red); }
.timeline-item:last-child::before { background: var(--red); }

.timeline-year {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-mid);
}

.timeline-item:last-child .timeline-year,
.timeline-item:last-child h3,
.timeline-item:last-child p { color: var(--red); }

.timeline-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy-mid); }
.timeline-item p { font-size: 0.8rem; color: var(--gray-400); line-height: 1.5; }

/* Clients — Bento grid */
.clients-section {
  background-color: var(--white);
}

.clients-section .section-subtitle {
  margin-bottom: 0;
  text-align: left;
}

.clients-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.clients-bento-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0, 43, 92, 0.08);
  box-shadow: 0 4px 24px rgba(0, 43, 92, 0.06);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  min-height: 240px;
}

.clients-bento-card:hover {
  box-shadow: 0 12px 40px rgba(0, 43, 92, 0.1);
  transform: translateY(-2px);
}

.clients-bento-head {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-height: auto;
}

.clients-bento-head .section-title {
  margin-bottom: 0;
  text-align: left;
}

.clients-bento-head .section-subtitle {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  white-space: nowrap;
}

.clients-bento-card--industry,
.clients-bento-card--retail,
.clients-bento-card--logistics,
.clients-bento-card--finance {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  background: #dce6f1;
}

.client-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.client-card-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fce8ec;
  position: relative;
  flex-shrink: 0;
}

.client-card-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.clients-bento-card--industry .client-category,
.clients-bento-card--retail .client-category,
.clients-bento-card--logistics .client-category,
.clients-bento-card--finance .client-category {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.client-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a5fb4;
  background: #e8f2fc;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  margin-left: auto;
}

.client-card-badge--muted {
  color: var(--gray-600);
  background: #eef1f4;
}

.client-card-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-600);
  margin: 0;
}

.clients-bento-card--industry .client-logos,
.clients-bento-card--retail .client-logos,
.clients-bento-card--logistics .client-logos,
.clients-bento-card--finance .client-logos {
  margin-top: 0.25rem;
}

.client-logos--row {
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.client-logo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  white-space: nowrap;
  background: var(--gray-100);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.client-logo.client-logo--brand-blue {
  color: #1e5aa8;
  font-weight: 700;
  background: #e8f4fc;
  border-color: #b8d9f0;
}

.client-logo.client-logo--brand-green {
  color: #1a7a3a;
  font-weight: 700;
  background: #e8f6ed;
  border-color: #b8dfc8;
}

.client-logo.client-logo--brand-red {
  color: #c41e3a;
  font-weight: 700;
  background: #fdecee;
  border-color: #f0b8c4;
}

.client-logo.client-logo--brand-navy {
  color: #002b5c;
  font-weight: 700;
  background: #e8edf5;
  border-color: #b8c8e0;
}

.client-logo:hover {
  border-color: var(--navy-mid);
  color: var(--navy-mid);
  background: var(--white);
}

.client-logo.client-logo--brand-blue:hover { color: #1e5aa8; background: #dceefb; }
.client-logo.client-logo--brand-green:hover { color: #1a7a3a; background: #d4eedd; }
.client-logo.client-logo--brand-red:hover { color: #c41e3a; background: #f8d4da; }
.client-logo.client-logo--brand-navy:hover { color: #002b5c; background: #d4e0f0; }

.client-category {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
}

.consultation {
  background: var(--gray-100);
  padding-block: var(--section-pad);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.consultation-label {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.consultation-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy-mid);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.consultation-text {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}

.consultation-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.consultation-contacts li {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-mid);
}

.consultation-contacts a {
  color: var(--navy-mid);
  transition: color 0.2s;
}

.consultation-contacts a:hover { color: var(--red); }

.consultation-note {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.consultation-form-wrap {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 43, 92, 0.12);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.consultation-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin-bottom: 1.5rem;
}

.form-field {
  display: block;
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin-bottom: 0.4rem;
}

.form-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-600);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-field input:focus {
  outline: none;
  border-color: var(--navy-mid);
}

.form-field input.is-invalid,
.form-checkbox.is-invalid input {
  border-color: var(--red);
}

.form-field input.is-invalid:focus {
  border-color: var(--red);
}

.form-field input::placeholder { color: #aaa; }

.form-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--red);
  line-height: 1.4;
  min-height: 0;
}

.form-error:empty { display: none; }

.form-error--checkbox {
  margin-top: -0.75rem;
  margin-bottom: 1rem;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-status[hidden] { display: none; }

.form-status--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-status--error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--navy-mid);
}

.form-checkbox span {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.form-checkbox.is-invalid span {
  color: var(--red);
}

.form-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--navy-mid);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: #003d7a; }

/* Footer */
.site-footer {
  background: var(--navy-mid);
  color: var(--white);
  padding: clamp(2.25rem, 4vw, 3.25rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 380px;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: clamp(1rem, 2vw, 1.25rem);
  margin: 0;
}

/* Decorative corners */
.corner-deco {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.6;
}

.corner-deco.tr { top: 1rem; right: 1rem; border-top: 2px solid var(--red); border-right: 2px solid var(--gray-200); }
.corner-deco.bl { bottom: 1rem; left: 1rem; border-bottom: 2px solid var(--gray-200); border-left: 2px solid var(--red); }

/* Responsive */
@media (max-width: 1024px) {
  .burger { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.65rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav a:last-child { border-bottom: none; }

  .structure-bento {
    grid-template-columns: 1fr;
  }

  .structure-bento .card-white,
  .structure-bento .card-navy,
  .structure-bento .card-red,
  .structure-bento .structure-conclusion {
    grid-column: 1;
    grid-row: auto;
  }

  .structure-bento .structure-card {
    min-height: 280px;
  }

  .about-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-title,
  .bento-desc,
  .bento-item,
  .bento-media {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-media {
    min-height: 300px;
    order: -1;
  }

  .bento-media img {
    min-height: 300px;
  }

  .excellence-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .flywheel-bento {
    grid-template-columns: 1fr;
  }

  .flywheel-bento-title,
  .flywheel-bento-subtitle,
  .flywheel-card--tl,
  .flywheel-card--tr,
  .flywheel-card--center,
  .flywheel-card--bl,
  .flywheel-card--br {
    grid-column: 1;
    grid-row: auto;
  }

  .flywheel-card--center {
    min-height: 260px;
    order: -1;
  }

  .flywheel-img {
    max-width: 300px;
    margin-inline: auto;
  }

  .clients-bento {
    grid-template-columns: 1fr;
  }

  .clients-bento-head .section-subtitle {
    white-space: normal;
  }

  .matrix-section .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .matrix-bento {
    grid-template-columns: minmax(150px, 1fr) repeat(3, minmax(190px, 1fr));
    min-width: 760px;
  }

  .timeline-items {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: clamp(2.25rem, 5vw, 3.5rem);
  }

  .section-title {
    margin-bottom: 1.25rem;
  }

  .structure-bento-title,
  .matrix-bento-title,
  .excellence-bento-title,
  .flywheel-bento-title,
  .clients-bento-head .section-title {
    margin-bottom: 0;
  }

  .structure-bento .structure-card {
    min-height: auto;
    padding: 1.25rem 1rem;
  }

  .structure-card .card-logo {
    width: min(180px, 55vw);
    height: auto;
    max-height: 210px;
  }

  .structure-conclusion {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }

  .excellence-bento {
    grid-template-columns: 1fr;
  }

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

  .excellence-card h3,
  .excellence-card p {
    font-size: 16px;
  }

  .flywheel-card p {
    font-size: 16px;
  }

  .matrix-section .container {
    overflow-x: visible;
  }

  .matrix-bento {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .matrix-card--head {
    display: none;
  }

  .matrix-card--company-white,
  .matrix-card--company-navy,
  .matrix-card--company-red {
    display: none;
  }

  .matrix-card--label,
  .matrix-card--value {
    grid-column: 1;
  }

  .matrix-card--value::before {
    content: attr(data-company);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-mid);
    margin-bottom: 0.35rem;
  }

  .matrix-card {
    font-size: 16px;
  }

  .timeline-curve {
    height: 56px;
    margin-bottom: 1.25rem;
  }

  .timeline-items {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding: 1rem;
  }

  .client-card-desc {
    font-size: 0.9rem;
  }

  .hero-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
    max-width: 220px;
  }

  .hero-content {
    margin-inline: auto;
  }

  .hero-footer {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .hero-divider {
    width: 3rem;
    height: 3px;
  }

  .hero-tagline br {
    display: none;
  }

  .consultation-info h2 {
    font-size: 1.35rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 2rem;
  }

  .logo-link span {
    font-size: 0.72rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .bento-brand {
    font-size: 1.75rem;
  }

  .bento-item p,
  .bento-desc-text {
    font-size: 16px;
  }

  .structure-card h3 {
    font-size: 0.9rem;
  }

  .matrix-card {
    padding: 0.9rem 1rem;
    font-size: 15px;
  }

  .excellence-card h3,
  .excellence-card p,
  .flywheel-card p {
    font-size: 15px;
  }

  .client-logo {
    font-size: 0.72rem;
    padding: 0.35rem 0.55rem;
  }

  .consultation-form-wrap {
    padding: 1.25rem;
  }
}
