/* /konsultan-team-r — personal concierge */

.tr {
  --tr-ink: #2a1f18;
  --tr-muted: #6b5c52;
  --tr-line: #e8dfd6;
  --tr-paper: #faf6f1;
  --tr-cream: #f3ebe2;
  --tr-accent: #7a4e35;
  --tr-gold: #b8956c;
  background: #fffdfb;
  color: var(--tr-ink);
}

.tr-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tr-accent);
}

.tr-section-head {
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.tr-section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

/* keep this title on one line */
.tr-compare .tr-section-head h2 {
  white-space: nowrap;
  font-size: clamp(1.2rem, 3.6vw, 2.35rem);
}

.tr-section-head p {
  margin: 0;
  color: var(--tr-muted);
  font-weight: 500;
  line-height: 1.65;
  font-size: 1.02rem;
}

/* buttons */
.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.45rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.tr-btn--primary {
  background: var(--tr-ink);
  color: #fffdfb;
  box-shadow: 0 10px 28px rgb(42 31 24 / 0.16);
}

.tr-btn--primary:hover {
  background: #000;
  transform: translateY(-1px);
}

.tr-btn--ghost {
  background: transparent;
  color: var(--tr-ink);
  border: 1px solid var(--tr-line);
}

.tr-btn--ghost:hover {
  background: #fff;
  border-color: #cfc3b6;
}

.tr-btn--wa {
  background: #1f6b5a;
  color: #fff;
  min-height: 3.2rem;
  padding: 0 1.7rem;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgb(31 107 90 / 0.25);
}

.tr-btn--wa:hover {
  background: #185648;
  transform: translateY(-1px);
}

/* hero split */
.tr-hero {
  padding: 3.25rem 1.25rem 3.5rem;
  background:
    linear-gradient(180deg, var(--tr-paper) 0%, #fffdfb 100%);
  border-bottom: 1px solid var(--tr-line);
}

@media (min-width: 768px) {
  .tr-hero {
    padding: 4.5rem 2rem 5rem;
  }
}

.tr-hero__grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .tr-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.tr-hero__copy h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.tr-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--tr-muted);
  font-weight: 500;
}

.tr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.9rem;
  margin-bottom: 1.5rem;
}

.tr-hero__trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
}

.tr-hero__trust li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tr-muted);
  letter-spacing: 0.01em;
}

.tr-hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--tr-gold);
}

.tr-hero__media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--tr-cream);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 24px 60px rgb(68 41 25 / 0.12);
}

.tr-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tr-hero__chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgb(255 253 251 / 0.94);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tr-ink);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
}

.tr-hero__chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #1f6b5a;
  box-shadow: 0 0 0 4px rgb(31 107 90 / 0.18);
}

/* compare as table cards */
.tr-compare {
  padding: 4rem 1.25rem;
}

@media (min-width: 768px) {
  .tr-compare {
    padding: 5rem 2rem;
  }
}

.tr-compare__table {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border: 1px solid var(--tr-line);
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
}

.tr-compare__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border-top: 1px solid var(--tr-line);
}

.tr-compare__row:first-child {
  border-top: 0;
}

@media (min-width: 720px) {
  .tr-compare__row {
    grid-template-columns: 0.85fr 1.1fr 1.15fr;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.5rem;
  }
}

.tr-compare__row--head {
  background: var(--tr-paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tr-muted);
  display: none;
}

@media (min-width: 720px) {
  .tr-compare__row--head {
    display: grid;
  }
}

.tr-compare__row > [role="rowheader"] {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

@media (min-width: 720px) {
  .tr-compare__row > [role="rowheader"] {
    margin-bottom: 0;
    font-size: 0.98rem;
  }
}

.tr-compare__row > [role="cell"] {
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--tr-muted);
}

.tr-compare__row > [role="cell"]::before {
  content: "WO · ";
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8988a;
}

.tr-compare__row > .tr-compare__hi::before {
  content: "Team-R · ";
  color: var(--tr-accent);
}

@media (min-width: 720px) {
  .tr-compare__row > [role="cell"]::before {
    content: none;
  }
}

.tr-compare__hi {
  color: var(--tr-ink) !important;
  font-weight: 600 !important;
}

@media (min-width: 720px) {
  .tr-compare__row > .tr-compare__hi {
    background: rgb(122 78 53 / 0.05);
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
  }

  .tr-compare__row--head .tr-compare__hi {
    background: transparent;
    padding: 0;
    color: var(--tr-accent) !important;
  }
}

/* services */
.tr-services {
  padding: 4rem 1.25rem 4.5rem;
  background: var(--tr-paper);
  border-top: 1px solid var(--tr-line);
  border-bottom: 1px solid var(--tr-line);
}

@media (min-width: 768px) {
  .tr-services {
    padding: 5rem 2rem 5.5rem;
  }
}

.tr-services__grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tr-services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .tr-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tr-service {
  padding: 1.45rem 1.35rem 1.55rem;
  background: #fffdfb;
  border: 1px solid var(--tr-line);
  border-radius: 1.1rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.tr-service:hover {
  border-color: #d8c9b8;
  box-shadow: 0 14px 36px rgb(68 41 25 / 0.08);
  transform: translateY(-2px);
}

.tr-service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: var(--tr-cream);
  color: var(--tr-accent);
}

.tr-service h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
}

.tr-service p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--tr-muted);
  font-weight: 500;
}

/* who */
.tr-who {
  padding: 4rem 1.25rem;
}

@media (min-width: 768px) {
  .tr-who {
    padding: 5rem 2rem;
  }
}

.tr-who__grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .tr-who__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.tr-who__text h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tr-who__text > p:last-child {
  margin: 0;
  max-width: 30rem;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--tr-muted);
  font-weight: 500;
}

.tr-who__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tr-acc {
  border: 1px solid var(--tr-line);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}

.tr-acc[open] {
  border-color: #d8c9b8;
  background: var(--tr-paper);
}

.tr-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tr-acc summary::-webkit-details-marker {
  display: none;
}

.tr-acc summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--tr-muted);
  border-bottom: 1.5px solid var(--tr-muted);
  transform: rotate(45deg);
  margin-top: -0.2rem;
  transition: transform 0.15s;
}

.tr-acc[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.tr-acc p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--tr-muted);
  font-weight: 500;
}

/* how */
.tr-how {
  padding: 4rem 1.25rem 4.5rem;
  background: var(--tr-cream);
  border-top: 1px solid var(--tr-line);
}

@media (min-width: 768px) {
  .tr-how {
    padding: 5rem 2rem 5.5rem;
  }
}

.tr-how__grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tr-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: #fffdfb;
  border: 1px solid var(--tr-line);
  border-radius: 1rem;
}

.tr-step__n {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--tr-ink);
  color: #fffdfb;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.tr-step__body h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
}

.tr-step__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--tr-muted);
  font-weight: 500;
}

/* cta + phone mock */
.tr-cta {
  padding: 4rem 1.25rem 5rem;
}

@media (min-width: 768px) {
  .tr-cta {
    padding: 5rem 2rem 5.5rem;
  }
}

.tr-cta__card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  gap: 2.25rem;
  align-items: center;
  padding: 1.75rem 1.4rem 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 10% 20%, rgb(184 149 108 / 0.18), transparent 55%),
    linear-gradient(145deg, #2f221a 0%, #1a120e 100%);
  color: #fffdfb;
  box-shadow: 0 28px 64px rgb(26 18 14 / 0.28);
}

@media (min-width: 900px) {
  .tr-cta__card {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 2.5rem 2.75rem;
    gap: 3rem;
  }
}

.tr-cta__media {
  display: flex;
  justify-content: center;
}

.tr-phone {
  width: 100%;
  max-width: 18.5rem;
  border-radius: 1.35rem;
  background: #fffdfb;
  color: var(--tr-ink);
  overflow: hidden;
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.28);
  border: 1px solid rgb(255 255 255 / 0.12);
}

.tr-phone__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--tr-paper);
  border-bottom: 1px solid var(--tr-line);
}

.tr-phone__avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tr-ink);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
}

.tr-phone__name {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.tr-phone__status {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  color: #1f6b5a;
}

.tr-phone__msgs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 0.85rem 1.15rem;
  min-height: 12rem;
  background:
    linear-gradient(180deg, #efe8df 0%, #e8dfd4 100%);
}

.tr-msg {
  max-width: 88%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
}

.tr-msg p {
  margin: 0;
}

.tr-msg--in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
}

.tr-msg--out {
  align-self: flex-end;
  background: #dcf5ea;
  border-bottom-right-radius: 0.25rem;
}

.tr-cta__text h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fffdfb;
}

.tr-cta__text p {
  margin: 0 0 1.6rem;
  max-width: 28rem;
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgb(255 253 251 / 0.74);
  font-weight: 500;
}

/* Ultra-wide: cap column widths so grids don't stretch absurdly;
   sections stay full-width, columns center at a comfortable measure. */
@media (min-width: 1536px) {
  .tr-hero__grid {
    grid-template-columns: minmax(0, 46rem) minmax(0, 42rem);
    justify-content: center;
  }
  .tr-compare__table {
    max-width: 72rem;
  }
  .tr-services__grid {
    grid-template-columns: repeat(3, minmax(0, 24rem));
    justify-content: center;
  }
  .tr-who__grid {
    grid-template-columns: minmax(0, 40rem) minmax(0, 44rem);
    justify-content: center;
  }
  .tr-how__grid {
    max-width: 72rem;
  }
  .tr-cta__card {
    grid-template-columns: minmax(0, 40rem) minmax(0, 36rem);
    justify-content: center;
  }
}
