/* Services Tabbed Section */
.services-section {
  width: 100%;
  padding: clamp(5rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem);
  background: var(--grey-bg);
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  font-family: inherit;
}

.services-container {
  width: 100%;
  padding: 0 clamp(2rem, 5vw, 4rem);
}

.services-header {
  margin-bottom: 3rem;
  text-align: center;
}

.services-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid-grey);
  margin-bottom: 1rem;
}

.services-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -2px;
  margin: 0 0 1rem 0;
}

.services-desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* Tabs Navigation */
.services-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 auto 3rem;
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: none;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid-grey);
  cursor: pointer;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}

.tab-btn:hover {
  color: var(--dark);
  background: var(--grey-bg);
}

.tab-btn.active {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
}

/* Tab Content Areas */
.tab-pane {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Left side */
.tab-left {
  display: flex;
  flex-direction: column;
}

.tab-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.tab-left h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
}

.tab-left p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 2rem 0;
}

.tab-cta {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start;
}

.tab-cta:hover {
  text-decoration: underline;
}

/* Right side — editorial line list */
.tab-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.4;
}

.tab-features li:first-child {
  border-top: 1px solid var(--light-grey);
}

.tab-features li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .tab-pane.active {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .services-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .services-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    white-space: nowrap;
  }
  .services-container {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 4rem 1.25rem;
  }

  .services-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: -1px;
  }

  .tab-left h3 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .tab-features li {
    font-size: 0.9rem;
    gap: 0.75rem;
  }
}
