:root {
  --project-hero-surface: rgba(255, 252, 247, 0.92);
  --project-card-surface: rgba(252, 248, 242, 0.95);
  --project-soft-line: rgba(213, 200, 195, 0.62);
}

.project-main {
  padding-bottom: clamp(3rem, 5vw, 5.2rem);
}

.project-header-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem 1rem;
  flex-wrap: wrap;
}

.project-header-nav a {
  font-size: 0.84rem;
}

.project-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-anchor-nav a {
  text-decoration: none;
  color: #5f4a4f;
  font-size: 0.8rem;
  border: 1px solid #d7c8c9;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.project-anchor-nav a:hover,
.project-anchor-nav a:focus-visible {
  color: var(--accent-strong);
  background: #f6edef;
}

.project-hero {
  padding-top: 2.15rem;
  padding-bottom: 1.7rem;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: start;
}

.project-render-frame {
  border-radius: 26px;
}

.project-render-frame img {
  aspect-ratio: 16 / 10;
}

.project-hero-side {
  display: grid;
  gap: 0.75rem;
}

.project-commercial-card,
.project-state-card {
  border: 1px solid var(--project-soft-line);
  border-radius: 20px;
  background: var(--project-hero-surface);
}

.project-commercial-card {
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.project-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(125, 57, 69, 0.1);
  color: #6b3640;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.72rem;
  margin-bottom: 0.45rem;
}

.project-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7f4650;
}

.project-meta-inline {
  color: #6d5b59;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.6rem;
}

.project-commercial-card h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.54rem, 2.65vw, 2.4rem);
}

.project-commercial-card .hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-metrics {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.hero-metric-card {
  border: 1px solid #d9cac7;
  border-radius: 13px;
  padding: 0.62rem 0.7rem;
  background: #fffdf8;
}

.hero-metric-label {
  color: #6e5d5c;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-metric-value {
  color: var(--accent-strong);
  font-family: "Manrope", "Plus Jakarta Sans", sans-serif;
  font-size: 1.22rem;
  font-weight: 760;
  line-height: 1.2;
}

.hero-metric-note {
  color: #736462;
  margin-top: 0.2rem;
  font-size: 0.76rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 0.9rem;
}

.hero-trust-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #6c5d5f;
}

.project-state-card {
  padding: 0.78rem;
}

.state-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b5858;
  margin-bottom: 0.55rem;
}

.project-state-content {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.62rem;
  align-items: start;
}

.state-thumb {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d9cac7;
}

.state-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 88px;
}

.project-state-content p {
  margin: 0;
  color: #645553;
  font-size: 0.82rem;
  line-height: 1.45;
}

.project-quickstats-strip {
  padding: 0.25rem 0 1.45rem;
}

.quickstats-grid {
  border: 1px solid var(--project-soft-line);
  border-radius: 18px;
  background: var(--project-card-surface);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.quickstat-item {
  padding: 0.84rem 0.72rem;
  border-right: 1px solid var(--project-soft-line);
}

.quickstat-item:last-child {
  border-right: none;
}

.quickstat-label {
  margin: 0 0 0.22rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a6865;
  font-weight: 700;
}

.quickstat-value {
  margin: 0;
  color: #4b3f3d;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
}

.project-block {
  border-top: 1px solid var(--project-soft-line);
}

.project-block .section-head p {
  max-width: 78ch;
}

.intro-layout,
.scope-layout,
.model-layout,
.value-layout,
.trust-layout-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
}

.text-card {
  border: 1px solid var(--project-soft-line);
  border-radius: var(--radius-m);
  background: var(--project-card-surface);
  padding: 1rem 1.05rem;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  color: #554845;
}

.bullet-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: #91505a;
  flex: 0 0 auto;
}

.scope-list,
.value-reasons-grid {
  display: grid;
  gap: 0.75rem;
}

.scope-item,
.value-item {
  border: 1px solid var(--project-soft-line);
  border-radius: 14px;
  background: var(--project-card-surface);
  padding: 0.85rem 0.9rem;
}

.scope-item h3,
.value-item h3 {
  font-size: 1.03rem;
  margin-bottom: 0.36rem;
}

.project-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.68rem;
}

.project-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.62rem;
  align-items: start;
  border: 1px solid var(--project-soft-line);
  border-radius: 12px;
  background: #fffcf8;
  padding: 0.68rem 0.74rem;
}

.project-steps .step-number {
  width: 28px;
  height: 28px;
  font-size: 0.78rem;
}

.project-steps h3 {
  font-size: 0.98rem;
  margin: 0 0 0.25rem;
}

.project-steps p {
  font-size: 0.86rem;
  color: #4f4341;
  margin: 0;
}

.project-model-note,
.project-pricing-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #7a6866;
}

.typology-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-bottom: 0.85rem;
}

.typology-summary-card {
  border: 1px solid var(--project-soft-line);
  border-radius: 14px;
  background: #fffdf9;
  padding: 0.82rem 0.88rem;
}

.typology-summary-card h3 {
  font-size: 0.97rem;
  margin: 0 0 0.42rem;
}

.typology-summary-main {
  color: var(--accent-strong);
  font-weight: 700;
  margin: 0;
}

.typology-summary-sub {
  color: #6f5e5c;
  margin: 0.22rem 0 0;
  font-size: 0.82rem;
}

.typology-details {
  border: 1px solid var(--project-soft-line);
  border-radius: 16px;
  background: #fffcf8;
  overflow: hidden;
}

.typology-details summary {
  cursor: pointer;
  padding: 0.74rem 0.9rem;
  font-weight: 700;
  color: #564949;
}

.typology-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--project-soft-line);
}

.typology-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.typology-table th,
.typology-table td {
  text-align: left;
  padding: 0.62rem 0.74rem;
  border-bottom: 1px solid #e3d9d5;
  font-size: 0.84rem;
}

.typology-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: #7a6763;
  background: #faf3f1;
}

.typology-table td {
  color: #4f4341;
  background: #fffdf9;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.image-comparison-card {
  padding: 0.75rem;
}

.comparison-tag {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a6564;
  font-weight: 700;
}

.comparison-caption {
  margin: 0.56rem 0 0;
  font-size: 0.84rem;
  color: #615352;
}

.comparison-card {
  border: 1px solid var(--project-soft-line);
  border-radius: 16px;
  background: #fffdf8;
}

.trust-icons-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.72rem;
}

.trust-icons-row img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}

.project-cta-box {
  border: 1px solid var(--project-soft-line);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(125, 57, 69, 0.09), rgba(255, 255, 255, 0.52));
  padding: clamp(1rem, 2.3vw, 1.9rem);
}

.project-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.project-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.project-form input,
.project-form select,
.project-form textarea {
  border: 1px solid #cab7b8;
  border-radius: 11px;
  background: #fffdf8;
  font: inherit;
  padding: 0.63rem 0.74rem;
}

.project-form textarea,
.project-form button,
.project-form label:last-of-type {
  grid-column: 1 / -1;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 57, 69, 0.14);
}

@media (max-width: 1080px) {
  .quickstats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quickstat-item:nth-child(3n) {
    border-right: none;
  }

  .quickstat-item {
    border-bottom: 1px solid var(--project-soft-line);
  }

  .quickstat-item:nth-last-child(-n + 3) {
    border-bottom: none;
  }
}

@media (max-width: 980px) {
  .project-hero-grid,
  .intro-layout,
  .scope-layout,
  .model-layout,
  .value-layout,
  .trust-layout-project,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .typology-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .project-anchor-nav {
    display: none;
  }

  .project-hero {
    padding-top: 1.3rem;
  }

  .project-state-content {
    grid-template-columns: 1fr;
  }

  .state-thumb img {
    min-height: 120px;
  }

  .quickstats-grid,
  .project-form {
    grid-template-columns: 1fr;
  }

  .quickstat-item {
    border-right: none;
  }

  .quickstat-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--project-soft-line);
  }

  .quickstat-item:last-child {
    border-bottom: none;
  }
}
