/* Home page — The Designers Hub */

/* ---- Hero ---- */
.hero {
  background: #f4f3f1;
  padding: 40px 0 96px;
  overflow: visible;
}

.hero .container { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 24px;
  align-items: end;
  background: var(--color-dark);
  padding: 22px;
  position: relative;
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero__panel {
  background: var(--color-bg);
  border: none;
  padding: 40px;
  align-self: stretch;
}

@media (max-width: 600px) {
  .hero__panel {
    padding: 24px;
  }
}

.hero__tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero__tab {
  font-family: var(--font-display);
  font-size: 12px;
  color: #AAA8A8;
  padding: 5px 19px;
}

.hero__tab--active {
  background: var(--color-dark);
  color: var(--color-bg);
}

.hero__panel h1 {
  margin-bottom: 20px;
  max-width: none;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.15;
}

.hero__panel p {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 14px;
  max-width: 46ch;
}

.hero__panel p + p { margin-top: -4px; }

.hero__panel .btn {
  margin-top: 16px;
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  align-self: end;
  margin-top: -44px;
  margin-bottom: -92px;
}

/* ---- Problem section ---- */
.problem {
  text-align: center;
}

.problem h2 {
  max-width: 42ch;
  margin: 0 auto 56px;
}

.problem__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.problem__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 280px;
  font-size: 16px;
  line-height: 1.3;
}

.problem__item .badge-dot {
  margin-top: 8px;
  flex-shrink: 0;
  background: var(--color-gold);
}

/* ---- Promo banner ---- */
.promo-banner {
  position: relative;
  min-height: 344px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-bg);
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,45,45,0.55), rgba(45,45,45,0.75));
}

.promo-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.promo-banner h2 {
  color: var(--color-bg);
  max-width: 26ch;
}

.promo-banner p {
  font-size: 18px;
}

.promo-banner .btn {
  margin-top: 12px;
}

/* ---- Quote card / system diagram ---- */
.quote-card {
  background: var(--color-dark);
  color: var(--color-bg);
  padding: 56px 48px;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

.quote-card h2 {
  color: var(--color-bg);
  max-width: 20ch;
  margin: 0 auto 12px;
}

.quote-card > p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(248,248,248,0.75);
  max-width: 40ch;
  margin: 0 auto;
}

.system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.15fr minmax(0, 1fr);
  gap: 48px;
  margin-top: 44px;
  text-align: left;
}

@media (max-width: 800px) {
  .system-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

.system-col__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(248,248,248,0.22);
}

.system-col__title--muted { color: rgba(248,248,248,0.55); }

.system-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.system-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 300;
  color: var(--color-bg);
}

.system-list .badge-dot {
  margin-top: 6px;
  flex-shrink: 0;
  background: var(--color-gold);
}

.system-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.system-flow__node {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-bg);
}

.system-flow__node--mid { margin-left: 40px; }
.system-flow__node--end { margin-left: 80px; }

.system-flow__arrow {
  color: var(--color-gold);
  font-size: 18px;
  line-height: 1;
  margin: 0 0 0 22px;
}

/* second arrow steps further right, between Strategy and Execution */
.system-flow__node--mid + .system-flow__arrow {
  margin-left: 62px;
}

/* ---- Steps ---- */
.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: 24px;
  background: var(--color-dark);
  padding: 24px;
  align-items: end;
}

@media (max-width: 900px) {
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
}

.steps-panel {
  background: var(--color-bg);
  padding: 40px;
  align-self: stretch;
}

.steps-panel h2 { margin-bottom: 44px; }

.steps-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  align-self: end;
  margin-bottom: -24px;
}

@media (max-width: 900px) {
  .steps-photo { display: none; }
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 28px;
}

@media (max-width: 600px) {
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
}

.step-card {
  background: var(--color-dark);
  color: var(--color-bg);
  border-radius: 2px;
  padding: 20px 22px 22px;
  position: relative;
  margin-top: 22px;
}

.step-card__badge {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-gold);
}

.step-card h3 {
  color: var(--color-gold);
  text-transform: none;
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0 0;
  padding: 0 0 10px 40px;
  border-bottom: 1px solid rgba(248,248,248,0.2);
}

.step-card p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.35;
  margin-top: 12px;
}

.step-card__arrow {
  position: absolute;
  top: 18px;
  left: calc(100% - 2px);
  color: var(--color-gold);
  font-size: 20px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 600px) {
  .step-card__arrow { display: none; }
}

/* ---- Client results ---- */
.results h2 {
  text-align: center;
  margin-bottom: 56px;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.result-card {
  background: var(--color-dark);
  color: var(--color-bg);
  border-radius: 2px;
  padding: 22px;
  position: relative;
}

.result-card__brand {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(248,248,248,0.15);
  text-align: center;
  display: block;
}

.result-card__row:last-child .result-card__label {
  background: var(--color-gold);
  color: var(--color-dark);
  display: inline-block;
  align-self: flex-start;
  padding: 3px 12px;
}

.result-card__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.result-card__row:last-child {
  margin-bottom: 0;
}

.result-card__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

.result-card__row p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3;
}

/* ---- Stats / atelier banner ---- */
.stats-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.stats-banner__card {
  background: var(--color-dark);
  color: var(--color-bg);
  padding: 56px 48px;
  max-width: 640px;
}

.stats-banner h2 {
  color: var(--color-bg);
  max-width: 20ch;
  margin-bottom: 40px;
}

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .stats-banner__grid { grid-template-columns: minmax(0, 1fr); }
}

.stats-banner__stat {
  max-width: 200px;
}

.stats-banner__stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--color-gold);
}

.stats-banner__stat span {
  font-size: 12px;
  color: var(--color-bg);
}

.stats-banner__stat .gold {
  color: var(--color-gold);
}

/* ---- Worked with carousel ---- */
.worked-with h2 {
  text-align: center;
  margin-bottom: 44px;
}

.worked-with__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  max-width: 1060px;
  margin: 0 auto;
}

.worked-with__logo {
  flex: 0 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.worked-with__logo img {
  max-height: 68px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .worked-with__row { gap: 26px 32px; }
  .worked-with__logo { height: 58px; }
  .worked-with__logo img { max-height: 52px; max-width: 140px; }
}

/* (legacy nav — kept harmless) */
.worked-with__nav {
  display: none;
}

.worked-with__nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-dark);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.worked-with__nav button:hover {
  background: var(--color-dark);
  color: var(--color-bg);
}

/* ---- Final CTA ---- */
.final-cta {
  background: #f4f3f1;
  color: var(--color-dark);
}

.final-cta__panel {
  background: var(--color-dark);
  color: var(--color-bg);
  border: 1px solid rgba(255,255,255,0.55);
  outline: 1px solid var(--color-border);
  outline-offset: 12px;
  padding: 56px 40px;
  text-align: center;
  max-width: 960px;
  margin: 12px auto;
}

.final-cta h2 {
  color: var(--color-bg);
  max-width: 24ch;
  margin: 0 auto 16px;
}

.final-cta p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 24px;
}
