/* =============================================
   SEO SERVICES ACCORDION
   InSync Agency — seo-services-accordion.css
   ============================================= */

.seo-services-section {
  background: transparent;
  padding: 80px 40px 100px;
  position: relative;
}

.seo-services-label {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  margin-bottom: 30px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.seo-services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── List panel ── */
.seo-services-list {
  background: #0f0f0f;
  border-radius: 20px;
  overflow: hidden;
}

/* ── Row ── */
.seo-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  align-items: flex-start;
  padding: 28px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 0.3s ease;
}
.seo-row:last-child { border-bottom: none; }
.seo-row:hover { background: rgba(255,255,255,0.02); }

.seo-row-num {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  padding-top: 6px;
}

.seo-row-title {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ── Toggle button ── */
.seo-row-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: all 0.4s ease;
  flex-shrink: 0;
  user-select: none;
}
.seo-row.open .seo-row-toggle {
  background: #e91e8c;
  border-color: #e91e8c;
  transform: rotate(45deg);
}

/* ── Expand content ── */
.seo-row-content {
  grid-column: 2 / 4;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s ease, margin-top 0.5s ease, opacity 0.45s ease;
  opacity: 0;
  margin-top: 0;
}
.seo-row.open .seo-row-content {
  max-height: 400px;
  margin-top: 22px;
  opacity: 1;
}

.seo-row-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 8px;
}

/* ── Image card ── */
.seo-row-img {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.seo-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.seo-row-img-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  pointer-events: none;
}

/* ── Description + tags ── */
.seo-row-text { min-width: 0; }

.seo-row-desc {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 14px;
}

.seo-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.seo-row-tag {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
}

/* ── Sidebar ── */
.seo-services-sidebar {
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.seo-services-sidebar a {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  display: block;
  padding: 2px 0;
}
.seo-services-sidebar a:hover,
.seo-services-sidebar a.active {
  color: #e91e8c;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .seo-services-section { padding: 50px 16px 70px; }
  .seo-services-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .seo-services-sidebar { display: none; }
  .seo-row {
    grid-template-columns: 36px 1fr auto;
    gap: 14px;
    padding: 20px 18px;
  }
  .seo-row-title { font-size: 16px; }
  .seo-row-content { grid-column: 2 / 4; }
  .seo-row.open .seo-row-content { max-height: 600px; }
  .seo-row-inner {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .seo-row-img { width: 100px; height: 100px; }
}
