/* Real Estate App — 06 Services */

@keyframes cw-re-services-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-real-estate-app-services {
  background: #141210;
  color: #f3efe7;
  border-top: 1px solid rgba(243, 239, 231, 0.08);
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-real-estate-app-services__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-real-estate-app-services__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-real-estate-app-services__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-real-estate-app-services__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #7cf5c8;
}

.cw-real-estate-app-services__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.7);
}

.cw-real-estate-app-services__layout {
  display: grid;
  grid-template-columns: minmax(min(100%, 340px), 1fr) minmax(0, 2fr);
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .cw-real-estate-app-services__layout {
    grid-template-columns: 1fr;
  }
}

.cw-real-estate-app-services__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.cw-real-estate-app-services__nav-btn {
  border: 0;
  border-top: 1px solid rgba(243, 239, 231, 0.1);
  background: transparent;
  color: #8e877c;
  padding: 16px 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  font-family: inherit;
  transition: color 0.2s;
}

.cw-real-estate-app-services__nav-btn:first-child {
  border-top: 0;
}

.cw-real-estate-app-services__nav-btn.is-active {
  color: #f3efe7;
}

.cw-real-estate-app-services__nav-btn:focus-visible {
  outline: 2px solid #7cf5c8;
  outline-offset: 2px;
}

.cw-real-estate-app-services__nav-no {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: #4a443d;
  transition: color 0.2s;
}

.cw-real-estate-app-services__nav-btn.is-active .cw-real-estate-app-services__nav-no {
  color: #7cf5c8;
}

.cw-real-estate-app-services__nav-title {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cw-real-estate-app-services__panel {
  border: 1px solid rgba(124, 245, 200, 0.3);
  border-radius: 28px;
  padding: clamp(24px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  background: radial-gradient(500px 300px at 90% 0%, rgba(124, 245, 200, 0.1), transparent 70%);
}

.cw-real-estate-app-services__panel.is-updating {
  animation: cw-re-services-in 0.35s ease;
}

.cw-real-estate-app-services__panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cw-real-estate-app-services__panel-no {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(70px, 9vw, 130px);
  line-height: 0.8;
  color: #7cf5c8;
  letter-spacing: -0.06em;
}

.cw-real-estate-app-services__autoplay {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #8e877c;
  text-align: right;
}

.cw-real-estate-app-services__panel-title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.cw-real-estate-app-services__panel-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #cfc9be;
  max-width: 640px;
}

.cw-real-estate-app-services__panel-extra {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #a39c90;
  max-width: 640px;
}

.cw-real-estate-app-services__panel-extra[hidden] {
  display: none !important;
}
